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

:root {
    --primary-color: #000000;
    --secondary-color: #D4AF37;
    --text-color: #333333;
    --light-bg: #F5F5F5;
    --white: #FFFFFF;
    --border-color: #E0E0E0;
    --success-color: #4CAF50;
    --font-main: 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Focus styles for keyboard users */
button:focus, a:focus, .nav-link:focus {
    outline: 3px solid rgba(212,175,55,0.18);
    outline-offset: 2px;
    border-radius: 6px;
    box-shadow: 0 0 0 3px rgba(212,175,55,0.08);
}

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

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo h1 {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.tagline {
    font-size: 12px;
    color: var(--secondary-color);
    font-weight: 600;
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: block; margin-left: 12px; }

    /* Mobile nav: hidden by default, appears as column when active */
    .nav {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        display: none;
        padding: 10px 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.12);
        z-index: 999;
    }

    .nav.active { display: flex; }

    .nav-link {
        padding: 12px 0;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
        color: var(--text-color);
    }

    .hero-title { font-size: 32px; }
    .hero-slogan { font-size: 16px; }
    .hero-subtitle { font-size: 14px; }

    .product-image { height: 250px; }
    .add-to-cart-btn { padding: 12px 16px; }

    /* Full-width cart on mobile */
    .cart-sidebar { width: 100%; right: -100%; }
    .cart-sidebar.active { right: 0; }

    /* Modal adjustments */
    .product-modal .modal-content { width: 95%; padding: 20px; }
} 

/* stronger mobile overrides placed after desktop rules to avoid being reset */
@media (max-width: 768px) {
    /* Ensure cart covers full screen and slides in from right on mobile */
    .cart-sidebar { position: fixed !important; width: 100% !important; right: -100% !important; top: 0 !important; height: 100vh !important; box-shadow: none !important; }
    .cart-sidebar.active { right: 0 !important; }

    /* Slightly more compact cart header for mobile */
    .cart-header { padding: 14px; }
    .close-cart { font-size: 28px; width: 44px; height: 44px; }

    /* Ensure modal content is comfortably sized on small screens */
    .modal-content { max-width: 95% !important; border-radius: 12px; }
    .close-modal { width: 48px; height: 48px; }

    /* Larger, easier touch targets for primary actions */
    .btn, .btn-primary, .btn-secondary { padding: 14px 18px; font-size: 16px; }
    .add-to-cart-btn { padding: 14px 18px; }

    /* Product grid tweaks for narrow screens */
    .products-grid { gap: 20px; }
    .product-image { height: 240px !important; }
    .product-info { padding: 16px; }

    /* Slightly larger size option touch target */
    .size-option { padding: 12px 22px; }

    /* Mobile nav overlay darkens background and sits under the nav */
    .mobile-nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 900; }
    .mobile-nav-overlay.active { display: block; }

    /* Make primary header actions easier to tap */
    .cart-btn { padding: 10px 14px; }

    /* Prevent body scroll when mobile nav is open */
    body.no-scroll { height: 100%; overflow: hidden; }
}


.cart-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: transform 0.3s;
    position: relative;
}

.cart-btn:hover {
    transform: scale(1.05);
}

.cart-count {
    background: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #000000 0%, #D4AF37 100%); /* black to gold */
    color: var(--white);
    padding: 120px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Hero video background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* subtle dark overlay for legibility */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.3));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

@media (max-width: 768px) {
    .hero { padding: 80px 20px; }
} 

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-slogan {
    font-size: 20px;
    margin: 10px 0 12px;
    color: var(--secondary-color);
    font-weight: 700;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    color: #f7ecd0; /* softer contrast on dark hero */
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-block {
    width: 100%;
}

/* Products Section */
.products-section {
    padding: 80px 20px;
    background: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 18px;
    color: #666;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 12px 30px;
    border: 2px solid var(--border-color);
    background: var(--white);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 12px;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-name {
    font-size: 18px;
    font-weight: 700;
    margin: 10px 0;
    color: var(--primary-color);
}

.product-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

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

.product-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
}

.add-to-cart-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.add-to-cart-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* About Section */
.about-section {
    padding: 80px 20px;
    background: var(--white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
}

.about-content > p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 50px;
    color: #666;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature {
    padding: 30px;
    background: var(--light-bg);
    border-radius: 15px;
    transition: transform 0.3s;
}

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

.feature h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.feature p {
    color: #666;
}

/* Contact Section */
.contact-section {
    padding: 80px 20px;
    background: var(--light-bg);
    text-align: center;
}

.contact-section h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
}

.contact-section > p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-size: 18px;
}

/* Contact links: black text with yellow underline */
.contact-info a {
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-color: var(--secondary-color);
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-info a strong {
    color: inherit;
    font-weight: 700;
}

/* Make inline SVG icons inherit the text color */
.contact-info a svg * {
    stroke: currentColor !important;
    fill: currentColor !important;
}

.contact-info a:hover {
    opacity: 0.95;
}

/* Contact grid and card styles */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.contact-card {
    background: var(--white);
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    display: flex;
    gap: 12px;
    align-items: center;
    transition: transform 0.12s, box-shadow 0.12s;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.contact-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
    border-radius: 10px;
    color: var(--primary-color);
}

.contact-body h5 {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 700;
}

.contact-body a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-body a:hover,
.contact-body a:focus {
    color: var(--secondary-color);
    text-decoration: underline;
}

@media (max-width: 480px) {
    .contact-card { padding: 12px; gap: 10px; }
    .contact-icon { width: 40px; height: 40px; }
    .contact-body a { font-size: 15px; }
}

/* Size Guide */
.size-section {
    padding: 60px 20px;
    background: var(--white);
    display: none;
}

.size-section.active,
.size-section[aria-hidden="false"] {
    display: block;
}

.size-section h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
}

.size-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.size-table th,
.size-table td {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    text-align: center;
    font-size: 15px;
}

.size-table thead th {
    background: var(--light-bg);
    font-weight: 700;
}

.size-note {
    color: #666;
    margin-top: 12px;
}

@media (max-width: 600px) {
    .size-table th, .size-table td { padding: 10px; font-size: 14px; }
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 20px rgba(0,0,0,0.2);
    transition: right 0.3s;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 24px;
    font-weight: 700;
}

.close-cart {
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--text-color);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.empty-cart {
    text-align: center;
    color: #999;
    padding: 40px 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-size {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.cart-item-price {
    font-weight: 700;
    color: var(--secondary-color);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.qty-btn {
    background: var(--light-bg);
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 700;
}

.remove-item {
    background: none;
    border: none;
    color: #ff4444;
    cursor: pointer;
    font-size: 20px;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
}

.overlay.active {
    display: block;
}

/* Product Modal */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

.modal-content {
    background: var(--white);
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--white);
    border: none;
    font-size: 32px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 10;
}

.modal-body {
    padding: 40px;
}

.modal-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.modal-product-image {
    width: 100%;
    border-radius: 15px;
}

.modal-product-details h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.modal-product-price {
    font-size: 36px;
    font-weight: 800;
    color: var(--secondary-color);
    margin: 20px 0;
}

.modal-product-description {
    line-height: 1.8;
    margin-bottom: 30px;
    color: #666;
}

.size-selector {
    margin-bottom: 30px;
}

.size-selector h4 {
    margin-bottom: 15px;
}

.size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-option {
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.size-option:hover,
.size-option.selected {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-section a {
    display: block;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }
    
    .nav {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 15px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .modal-product-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeIn 0.5s ease-out;
}
