/* CSS Variables for a clean black and white theme */
:root {
    --bg-color: #ffffff;
    --text-color: #111111;
    --accent-color: #000000;
    --muted-color: #777777;
    --border-color: #eeeeee;
    --font-main: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    font-size: 14px;
    font-weight: 300; /* As requested: poppins 14px line 300 (weight) */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    padding: 30px 0;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}

header.scrolled {
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header.scrolled .logo, header.scrolled .nav-links a {
    color: #fff;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a:hover {
    opacity: 0.6;
}

/* Adjust padding for fixed header */
body {
    padding-top: 100px;
}

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('img/hero.avif');
    background-size: cover;
    background-position: center center;
    color: #fff;
    padding: 60px 20px;
    position: relative;
    filter: grayscale(100%);
    transition: filter 0.8s ease;
}

.hero:hover {
    filter: grayscale(0%);
}

.hero h1 {
    font-size: 80px;
    font-weight: 800;
    letter-spacing: 15px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    letter-spacing: 3px;
    margin-bottom: 30px;
}

.btn-white {
    padding: 15px 40px;
    background: white;
    color: black;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 2px;
    transition: 0.3s;
}

.btn-white:hover {
    background: #ccc;
}

.btn-black {
    background: #000;
    color: #fff;
    padding: 15px 40px;
    font-weight: 600;
    display: inline-block;
}

/* Category Menu */
.category-menu-container {
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.category-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.category-select-mobile {
    display: none;
    width: 100%;
    padding: 15px;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
}

.category-item {
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid transparent;
    transition: 0.3s ease;
}

.category-item:hover, .category-item.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* Product Section */
.products {
    padding: 80px 0;
}

.products h2 {
    text-align: center;
    margin-bottom: 50px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 columns as requested */
    gap: 20px;
}

.product-card {
    border: 1px solid var(--border-color);
    padding-bottom: 20px;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    background: #f4f4f4;
    aspect-ratio: 3/4;
    margin-bottom: 15px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease, filter 0.8s ease;
    filter: grayscale(100%);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.product-info {
    padding: 0 15px;
}

.product-info h3 {
    font-size: 14px;
    margin-bottom: 5px;
}

.product-price {
    font-weight: 600;
}

/* CTA Section */
.cta {
    padding: 120px 0;
    text-align: center;
    background: #f9f9f9;
}

.cta h2 {
    margin-bottom: 20px;
    font-size: 28px;
    letter-spacing: 2px;
}

.cta p {
    margin-bottom: 40px;
    font-size: 16px;
    color: var(--muted-color);
}

/* Location Section */
.location {
    padding: 80px 0;
}

.location h2 {
    text-align: center;
    margin-bottom: 40px;
}

.map-container {
    height: 400px;
    width: 100%;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #000;
    color: #fff;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3, .contact-form h3 {
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item i {
    font-size: 20px;
    margin-top: 5px;
}

.contact-item p {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.8;
}

.contact-item a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.contact-item a:hover {
    opacity: 0.7;
}

.contact-item.hidden {
    display: none;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.3);
    background: transparent;
    color: #fff;
    font-family: var(--font-main);
    font-size: 14px;
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: rgba(255,255,255,0.5);
}

.form-group textarea {
    height: 120px;
    resize: none;
}

.btn-submit {
    background: #fff;
    color: #000;
    padding: 15px 40px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.3s ease;
}

.btn-submit:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Product Interest Button */
.product-actions {
    display: grid;
    grid-template-columns: 1fr 50px;
    gap: 10px;
    margin: 15px 15px 0;
}

.btn-detail {
    padding: 10px;
    background: transparent;
    color: #000;
    border: 1px solid #000;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-detail:hover {
    background: #000;
    color: #fff;
}

.btn-interest {
    padding: 10px;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-interest:hover {
    background: #333;
}

/* Product Modal specific styles */
.product-modal {
    max-width: 800px !important;
    padding: 0 !important;
    overflow: hidden;
}

.product-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
}

.product-details-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-details-info {
    padding: 50px 40px;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.product-details-info h2 {
    font-size: 32px;
    margin-bottom: 5px;
}

.category-label {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--muted-color);
    margin-bottom: 20px;
}

.price-large {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
}

.product-description {
    font-size: 14px;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .product-details-grid {
        grid-template-columns: 1fr;
    }
    .product-details-img {
        height: 350px;
    }
    .product-details-info {
        padding: 30px 20px;
    }
}

/* WhatsApp Chat Widget */
.whatsapp-chat-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-chat-box {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 300px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    display: none;
    overflow: hidden;
    flex-direction: column;
}

.whatsapp-chat-box.active {
    display: flex;
}

.chat-header {
    background: #000;
    color: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-header i { font-size: 24px; }
.chat-header span { font-weight: 600; }

.chat-body {
    padding: 20px;
    background: #f4f4f4;
    font-size: 13px;
    color: #111;
}

.chat-body p {
    background: #fff;
    padding: 10px 15px;
    border-radius: 0 15px 15px 15px;
    margin-bottom: 0;
}

.chat-footer {
    padding: 15px;
    background: #fff;
}

.btn-start-chat {
    display: block;
    width: 100%;
    padding: 12px;
    background: #000;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-start-chat:hover {
    opacity: 0.8;
}

.whatsapp-trigger {
    background-color: #000000;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.whatsapp-trigger:hover {
    transform: scale(1.1);
}

/* Dark Map Styling */
.map-container {
    filter: invert(90%) hue-rotate(180deg) brightness(1.2) contrast(1.2);
    border: 1px solid #111;
}

/* Subscription Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #000;
    color: #fff;
    padding: 40px;
    width: 90%;
    max-width: 450px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    opacity: 0.7;
    transition: 0.3s;
}

.modal-close:hover {
    opacity: 1;
}

.modal-content h2 {
    margin-bottom: 10px;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.modal-content p {
    margin-bottom: 30px;
    font-size: 14px;
    opacity: 0.7;
}

.modal-form .form-group {
    margin-bottom: 20px;
}

.login-select {
    width: 100%;
    padding: 12px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    margin-top: 8px;
    cursor: pointer;
}

.modal-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-form input, .modal-form select {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-family: var(--font-main);
    font-size: 14px;
}

.modal-form select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.modal-form select option {
    background: #000;
    color: #fff;
}

.btn-popup-submit {
    width: 100%;
    padding: 15px;
    background: #fff;
    color: #000;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

.btn-popup-submit:hover {
    opacity: 0.8;
}

/* Footer */
footer {
    padding: 40px 0;
    background: #000;
    color: #fff;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-right a {
    color: #fff;
    text-decoration: none;
}

.footer-right a:hover {
    text-decoration: underline;
}

.settings-link {
    margin-left: 10px;
    opacity: 0.7;
    transition: 0.3s;
}

.settings-link:hover {
    opacity: 1;
}

/* Mobile menu icon hidden by default */
.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: inherit;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        padding: 20px 0;
        text-align: center;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        color: #fff;
        padding: 15px 0;
        display: block;
        font-weight: 600;
        letter-spacing: 1px;
    }

    .hero h1 {
        font-size: 40px;
        letter-spacing: 5px;
    }

    .hero p {
        font-size: 14px;
        letter-spacing: 1px;
    }

    .category-select-mobile {
        display: block;
    }

    .category-menu {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
