:root {
    --primary-navy: #0A2540;
    --luxury-gold: #D4AF37;
    --ivory-white: #F7F7F5;
    --emerald-green: #2E7D32;
    --pure-white: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-muted: #999999;
    --border-light: #e5e5e5;
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--ivory-white);
    overflow-x: hidden;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 37, 64, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.nav.scrolled {
    background: var(--primary-navy);
    box-shadow: var(--shadow-medium);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--pure-white);
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--luxury-gold);
}

.logo-text {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

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

.nav-link {
    color: var(--pure-white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--luxury-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--luxury-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger {
    width: 25px;
    height: 3px;
    background: var(--pure-white);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.8) 0%, rgba(46, 125, 50, 0.6) 100%);
}

.hero-content {
    text-align: center;
    color: var(--pure-white);
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease 0.5s both;
}

.hero-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.hero-logo-icon {
    width: 80px;
    height: 80px;
    color: var(--luxury-gold);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hero-brand {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -2px;
    margin: 0;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
    font-family: var(--font-primary);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
    margin-bottom: 16px;
    color: var(--luxury-gold);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-button {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background: linear-gradient(135deg, var(--luxury-gold), #e6c547);
    color: var(--primary-navy);
    border: none;
    padding: 16px 24px;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-heavy);
    transition: var(--transition);
    z-index: 999;
    opacity: 0;
    transform: translateY(100px);
}

.cta-button.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.4);
}

.cta-arrow {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.cta-button:hover .cta-arrow {
    transform: translateX(4px);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 16px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--luxury-gold), #e6c547);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Collection Section */
.collection {
    padding: 120px 0;
    background: var(--pure-white);
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.product-card {
    background: var(--pure-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.9), rgba(46, 125, 50, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    text-align: center;
    color: var(--pure-white);
    padding: 20px;
}

.product-info h4 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-info p {
    margin-bottom: 16px;
    opacity: 0.9;
}

.color-options {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.color-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--pure-white);
    cursor: pointer;
    transition: var(--transition);
}

.color-dot:hover {
    transform: scale(1.2);
}

.product-details {
    padding: 24px;
}

.product-details h3 {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 8px;
}

.product-details p {
    color: var(--text-light);
    line-height: 1.5;
}

/* Testimonials Section */
.testimonials {
    padding: 120px 0;
    background: var(--ivory-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: var(--pure-white);
    border-radius: var(--border-radius);
    padding: 32px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(40px);
}

.testimonial-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.testimonial-image {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.customer-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--luxury-gold);
}

.testimonial-content {
    text-align: center;
}

.quote-icon {
    width: 40px;
    height: 40px;
    color: var(--luxury-gold);
    margin: 0 auto 16px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 24px;
    font-style: italic;
}

.customer-info h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 4px;
}

.customer-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Featured Section */
.featured {
    padding: 120px 0;
    background: var(--pure-white);
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.carousel {
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.featured-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.featured-image {
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-product:hover .featured-image img {
    transform: scale(1.05);
}

.featured-content {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--ivory-white);
}

.featured-content h3 {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 16px;
}

.featured-description {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.featured-features {
    list-style: none;
}

.featured-features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.featured-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--emerald-green);
    font-weight: bold;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    background: rgba(10, 37, 64, 0.8);
    border: none;
    border-radius: 50%;
    color: var(--pure-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    pointer-events: all;
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: var(--primary-navy);
    transform: scale(1.1);
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: var(--border-light);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active,
.dot:hover {
    background: var(--luxury-gold);
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-navy), var(--emerald-green));
}

.newsletter-content {
    text-align: center;
    color: var(--pure-white);
}

.newsletter-text h2 {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 16px;
}

.newsletter-text p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 0;
    margin-bottom: 16px;
}

.form-group input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: 50px 0 0 50px;
    font-size: 1rem;
    outline: none;
    background: var(--pure-white);
}

.form-group input:focus {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

.submit-btn {
    padding: 16px 24px;
    background: var(--luxury-gold);
    color: var(--primary-navy);
    border: none;
    border-radius: 0 50px 50px 0;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.submit-btn:hover {
    background: #e6c547;
    transform: translateX(4px);
}

.submit-icon {
    width: 20px;
    height: 20px;
}

.form-error {
    color: #ff6b6b;
    font-size: 0.9rem;
    text-align: left;
    margin-top: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-error.visible {
    opacity: 1;
}

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

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

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.25rem;
}

.footer-logo-icon {
    width: 32px;
    height: 32px;
    color: var(--luxury-gold);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.footer-nav h4,
.footer-products h4,
.footer-social h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--luxury-gold);
}

.footer-nav ul,
.footer-products ul {
    list-style: none;
}

.footer-nav li,
.footer-products li {
    margin-bottom: 8px;
}

.footer-nav a,
.footer-products a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-nav a:hover,
.footer-products a:hover {
    color: var(--luxury-gold);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--luxury-gold);
    color: var(--primary-navy);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--luxury-gold);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--pure-white);
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    max-height: 90%;
    overflow-y: auto;
    transform: scale(0.7);
    transition: var(--transition);
}

.modal-overlay.visible .modal {
    transform: scale(1);
}

.modal-content {
    padding: 48px;
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    color: var(--emerald-green);
    margin: 0 auto 24px;
}

.modal-content h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 16px;
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.5;
}

.modal-close {
    background: var(--luxury-gold);
    color: var(--primary-navy);
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: #e6c547;
    transform: translateY(-2px);
}

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

.fade-in-element {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

.fade-in-element.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 16px;
    }
    
    .featured-product {
        grid-template-columns: 1fr;
    }
    
    .featured-content {
        padding: 32px;
    }
    
    .collection-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--primary-navy);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 40px;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .hamburger:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active .hamburger:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .hamburger:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-content {
        padding: 0 16px;
    }
    
    .hero-logo-icon {
        width: 60px;
        height: 60px;
    }
    
    .cta-button {
        bottom: 20px;
        right: 20px;
        padding: 14px 20px;
    }
    
    .collection-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .carousel-controls {
        display: none;
    }
    
    .form-group {
        flex-direction: column;
        gap: 12px;
    }
    
    .form-group input {
        border-radius: var(--border-radius);
    }
    
    .submit-btn {
        border-radius: var(--border-radius);
        align-self: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .modal-content {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .product-card {
        margin: 0 -8px;
    }
    
    .product-image-wrapper {
        height: 200px;
    }
    
    .product-details {
        padding: 20px;
    }
    
    .testimonial-card {
        padding: 24px;
    }
    
    .newsletter {
        padding: 60px 0;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        gap: 32px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.3);
        --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.4);
        --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.5);
    }
}

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus {
    outline: 3px solid var(--luxury-gold);
    outline-offset: 2px;
}

.nav-link:focus::after {
    width: 100%;
}

/* Print styles */
@media print {
    .nav,
    .cta-button,
    .carousel-controls,
    .carousel-dots,
    .modal-overlay {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .hero {
        height: auto;
        padding: 2cm 0;
    }
    
    .section-title {
        color: #000;
    }
}