/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --navy-blue: #001F3F;
    --navy-light: #1a3a5c;
    --navy-dark: #000d1a;
    --gold: #d4af37;
    --gold-light: #f4d164;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-max-width: 1200px;
    --border-radius: 12px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    color: var(--navy-blue);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--medium-gray);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 16px 32px;
    background: transparent;
    color: var(--navy-blue);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 2px solid var(--navy-blue);
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    height: 40px;
    width: auto;
    margin-right: 0.5rem;
    display: block;
}

/* SVG logo specific styling */
.logo-image[src$=".svg"] {
    fill: var(--navy-blue);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy-blue);
}

/* Hide logo text if image is loaded */
.nav-logo a:has(.logo-image:not([src*="placeholder"])) .logo-text {
    display: none;
}

/* Fallback: hide image if it fails to load */
.logo-image:not([src]) {
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.nav-link:hover {
    color: var(--navy-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--navy-blue);
    transition: var(--transition);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--navy-blue);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--navy-light) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    color: var(--white);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 300;
}

.hero-visual {
    position: relative;
    height: 400px;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: -1s;
}

.floating-element:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 20%;
    animation-delay: -3s;
}

.floating-element:nth-child(3) {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 60%;
    animation-delay: -5s;
}

.floating-element:nth-child(4) {
    width: 120px;
    height: 120px;
    top: 70%;
    left: 20%;
    animation-delay: -2s;
}

.floating-element:nth-child(5) {
    width: 60px;
    height: 60px;
    top: 10%;
    right: 10%;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.about-content {
    margin-top: 2rem;
}

.about-text {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--navy-blue);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--navy-blue), var(--navy-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
}

.about-card h3 {
    font-size: 1.5rem;
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* Brands Section */
.brands {
    padding: var(--section-padding);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.brand-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

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

.brand-card.active {
    border-color: var(--navy-blue);
}

.brand-card.active .brand-status {
    background: var(--navy-blue);
    color: var(--white);
}

.brand-card.coming-soon .brand-status {
    background: var(--medium-gray);
    color: var(--white);
}

.brand-status {
    position: absolute;
    top: -10px;
    right: 20px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.brand-name {
    font-size: 2rem;
    color: var(--navy-blue);
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.brand-description {
    color: var(--medium-gray);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.brand-description a {
    color: var(--navy-blue);
    font-weight: 600;
    text-decoration: none;
}

.brand-description a:hover {
    color: var(--navy-light);
    text-decoration: none;
}

.brand-regions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.region {
    background: var(--light-gray);
    color: var(--navy-blue);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Brand Content as Anchor */
a.brand-content {
    text-decoration: none;
    color: inherit;
    display: block;
}

a.brand-content:hover {
    text-decoration: none;
    color: inherit;
}

a.brand-content .brand-name {
    color: var(--navy-blue);
}

a.brand-content .brand-description {
    color: var(--medium-gray);
}

a.brand-content .region {
    color: var(--navy-blue);
}

/* Brand Link Button */
.brand-link {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.visit-brand-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 20px;
    background: var(--navy-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid var(--navy-blue);
}

.visit-brand-btn:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 31, 63, 0.3);
}

.visit-brand-btn svg {
    transition: var(--transition);
}

.visit-brand-btn:hover svg {
    transform: translateX(2px);
}

/* Skeleton Loading Styles */
.skeleton-loading {
    background: var(--white);
    border: 2px solid #e9ecef;
    opacity: 0.7;
}

.skeleton-loading:hover {
    transform: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.skeleton-status {
    position: absolute;
    top: -10px;
    right: 20px;
    width: 80px;
    height: 24px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 20px;
}

.skeleton-title {
    width: 60%;
    height: 32px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 6px;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.skeleton-text {
    margin-bottom: 1.5rem;
}

.skeleton-line {
    height: 16px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 8px;
}

.skeleton-line.short {
    width: 75%;
}

.skeleton-regions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skeleton-region {
    width: 70px;
    height: 28px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 20px;
}

/* Add slight delay to each skeleton for staggered effect */
.skeleton-loading:nth-child(2) .skeleton-status,
.skeleton-loading:nth-child(2) .skeleton-title,
.skeleton-loading:nth-child(2) .skeleton-line,
.skeleton-loading:nth-child(2) .skeleton-region {
    animation-delay: 0.2s;
}

.skeleton-loading:nth-child(3) .skeleton-status,
.skeleton-loading:nth-child(3) .skeleton-title,
.skeleton-loading:nth-child(3) .skeleton-line,
.skeleton-loading:nth-child(3) .skeleton-region {
    animation-delay: 0.4s;
}

/* Mémoire Section */
.memoire {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--navy-light) 100%);
    color: var(--white);
}

.memoire-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.memoire-text .section-title {
    color: var(--white);
    text-align: left;
    font-size: 3.5rem;
    margin-bottom: 0.1rem;
}

.memoire-text .section-subtitle {
    color: var(--white);
    text-align: left;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.memoire .cta-button {
    border: 2px solid var(--white);
    color: var(--white);
}

.memoire .cta-button:hover {
    border: 2px solid var(--gold);
    color: var(--gold);
}

.hero .cta-button {
    border: 2px solid var(--white);
    color: var(--white);
}

.hero .cta-button:hover {
    border: 2px solid var(--gold);
    color: var(--gold);
}

.memoire-description {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.memoire-visual {
    position: relative;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.memoire-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slideshow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--navy-light) 100%);
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--navy-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: var(--medium-gray);
    text-decoration: none;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--navy-blue);
}

.contact-details small {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--navy-blue);
    box-shadow: 0 0 0 3px rgba(0, 31, 63, 0.1);
}

.contact-form .cta-button {
    width: 100%;
    text-align: center;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
}

/* Thank You Page */
.thank-you-page {
    min-height: 100vh;
    padding: 150px 20px 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thank-you-content {
    text-align: center;
    max-width: 600px;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.thank-you-icon {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.thank-you-icon svg {
    animation: checkmark 0.6s ease-in-out;
}

@keyframes checkmark {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.thank-you-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--navy-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.thank-you-subtitle {
    font-size: 1.2rem;
    color: var(--medium-gray);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.next-steps {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
}

.next-steps-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.next-steps-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--navy-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.next-steps-text {
    color: var(--medium-gray);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.next-steps-text:last-child {
    margin-bottom: 0;
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.primary {
    background: var(--navy-blue);
    color: var(--white);
    border: 2px solid var(--navy-blue);
}

.cta-button.primary:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
}



/* Footer */
.footer {
    background: var(--navy-dark);
    color: var(--white);
    padding: 1rem 0 1rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.footer-logo-image {
    height: 32px;
    width: auto;
    margin-right: 0.5rem;
    filter: brightness(0) invert(1); /* Makes any logo white */
    display: block;
}

/* SVG footer logo specific styling */
.footer-logo-image[src$=".svg"] {
    fill: white;
}

.footer-logo-text {
    font-size: 1.8rem;
    margin-bottom: 0;
}

/* Hide footer logo text if image is loaded */
.footer-logo:has(.footer-logo-image:not([src*="placeholder"])) .footer-logo-text {
    display: none;
}

/* Fallback: hide image if it fails to load */
.footer-logo-image:not([src]) {
    display: none;
}

.footer-tagline {
    opacity: 0.9;
    font-size: 1.1rem;
    margin: 0;
}

.footer-copyright {
    opacity: 0.7;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container,
    .memoire-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .memoire-text .section-title {
        text-align: center;
    }
    
    .memoire-text .section-subtitle {
        text-align: center;
    }
    
    .memoire-visual {
        height: 300px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero {
        height: auto;
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .brands-grid {
        grid-template-columns: 1fr;
    }
    
    .about-text {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .about-card,
    .brand-card,
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Thank You Page Responsive */
    .thank-you-page {
        padding: 120px 20px 80px;
    }
    
    .thank-you-content {
        padding: 2rem;
    }
    
    .thank-you-title {
        font-size: 2.5rem;
    }
    
    .thank-you-subtitle {
        font-size: 1.1rem;
    }
    
    .next-steps {
        padding: 2rem;
    }
    
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 250px;
    }
    
    .memoire-visual {
        height: 250px;
    }
} 