/* Reset & Base Variables */
:root {
    --primary-color: #D4AF37;
    /* Gold */
    --primary-hover: #b5952f;
    --background-dark: #0F172A;
    /* Deep Navy/Dark */
    --card-bg: #1E293B;
    --text-light: #F8FAFC;
    --text-muted: #94A3B8;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--background-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-speed);
    background: transparent;
}

.btn:hover {
    background: var(--primary-color);
    color: var(--background-dark);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--background-dark);
}

.btn-primary:hover {
    background: var(--primary-hover);
    color: white;
}

.highlight-text {
    color: var(--primary-color);
    font-weight: 600;
}

/* Header */
.site-header {
    padding: 1.5rem 0;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 50;
    /* Higher z-index for mobile menu overlay interaction */
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.9), transparent);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-color);
    position: relative;
    z-index: 52;
    /* Above mobile menu overlay */
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.main-nav a:hover {
    opacity: 1;
    color: var(--primary-color);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 52;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    margin-bottom: 5px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-toggle span:last-child {
    margin-bottom: 0;
}

/* Active State for Hamburger */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: url('../assets/hero_bg.png') no-repeat center center/cover;
    background-color: #050a14;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: var(--text-light);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #cbd5e1;
    font-weight: 300;
}

/* Collection Section */
.collection-section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.divider {
    width: 60px;
    height: 2px;
    background: var(--primary-color);
    margin: 0 auto;
}

/* Filters */
.categories-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.95rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 0.5rem;
    position: relative;
    transition: var(--transition-speed);
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--primary-color);
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: var(--transition-speed);
}

.filter-btn.active::after {
    width: 100%;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: var(--card-bg);
    border-radius: 4px;
    overflow: hidden;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    position: relative;
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.product-image {
    width: 100%;
    height: 300px;
    background-color: #334155;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.product-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.btn-inquire {
    font-size: 0.8rem;
    padding: 0.6rem 1.5rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    /* Enable scrolling if content is tall */
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--card-bg);
    padding: 2.5rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    margin: 2rem 0;
    /* Add margin to ensure it's not cut off on small screens */
}

.modal.show .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal-body h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.modal-body p {
    margin-bottom: 2rem;
    color: var(--text-muted);
}

/* Form */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #334155;
    border-radius: 4px;
    color: white;
    font-family: var(--font-body);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

.btn-full {
    width: 100%;
    background: var(--primary-color);
    color: var(--background-dark);
    font-weight: 600;
}

.btn-full:hover {
    background: var(--primary-hover);
}

/* Footer */
.site-footer {
    padding: 4rem 0 2rem;
    text-align: center;
    /* Default center for mobile */
    border-top: 1px solid #334155;
    margin-top: 5rem;
    background-color: rgba(15, 23, 42, 0.5);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
    text-align: left;
}

.footer-section {
    flex: 1 1 250px;
    /* Responsive basis */
}

.footer-section h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.footer-section p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    font-size: 1.8rem;
    color: var(--text-muted);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #64748b;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Logo Image Styles */
/* Logo Image Styles */
.logo-img {
    height: 200px;
    /* Maximum visibility */
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.9));
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .logo-img {
        height: 120px;
        /* Still large on mobile */
    }
}


/* Responsive & Mobile Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    /* Mobile Header */
    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--background-dark);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.4s ease-in-out;
        z-index: 51;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }

    .main-nav a {
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--text-light);
    }

    /* Hero */
    .hero h1 {
        font-size: 2.75rem;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* Filters */
    .categories-nav {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        /* Smooth scroll on iOS */
        scrollbar-width: none;
        /* Firefox */
    }

    .categories-nav::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }

    .filter-btn {
        flex: 0 0 auto;
        /* Don't shrink */
        white-space: nowrap;
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 20px;
        border: 1px solid transparent;
    }

    .filter-btn.active {
        background: rgba(212, 175, 55, 0.15);
        border-color: var(--primary-color);
        color: var(--primary-color);
    }

    .filter-btn::after {
        display: none;
        /* Remove underline for buttons on mobile */
    }

    /* Product Grid */
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
        /* Full width cards on mobile */
        gap: 2rem;
    }

    .product-image {
        height: 350px;
        /* Taller images on mobile */
    }

    /* Modal */
    .modal-content {
        padding: 1.5rem;
        width: 95%;
        margin: 1rem;
    }

    .modal-body h3 {
        font-size: 1.5rem;
    }
}

.titlecontac {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
    margin-top: 0px;
}