/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-font: 'Cormorant Garamond', serif;
    --secondary-font: 'Montserrat', sans-serif;
    --color-dark: #1a1a1a;
    --color-light: #ffffff;
    --color-gray: #f5f5f5;
    --color-accent: #8b7355;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 0;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

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

.logo {
    font-family: var(--primary-font);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--color-light);
    text-decoration: none;
    transition: var(--transition);
}

.header.scrolled .logo {
    color: var(--color-dark);
}

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

.nav-link {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--color-light);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.header.scrolled .nav-link {
    color: var(--color-dark);
}

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

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

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

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-light);
    transition: var(--transition);
}

.header.scrolled .nav-toggle span {
    background: var(--color-dark);
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 1rem;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-image-mobile {
    display: none;
}

@media (max-width: 768px) {
    .hero-image {
        display: none;
    }
    
    .hero-image-mobile {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -1;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.6));
    z-index: 0;
}

.hero-content {
    text-align: center;
    color: var(--color-light);
    z-index: 1;
    animation: fadeInUp 1s ease-out;
    padding: 0 1rem;
    max-width: 100%;
}

.hero-title {
    font-family: var(--primary-font);
    font-size: clamp(2rem, 8vw, 6rem);
    font-weight: 300;
    letter-spacing: 0.3em;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    word-break: break-word;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.8rem);
    font-weight: 300;
    letter-spacing: 0.15em;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    padding: 0 1rem;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 2px solid var(--color-light);
    background: transparent;
    color: var(--color-light);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary:hover {
    background: var(--color-light);
    color: var(--color-dark);
}

/* ===== SECTIONS ===== */
.section {
    padding: 8rem 0;
}

.section-title {
    font-family: var(--primary-font);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    letter-spacing: 0.2em;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.125rem;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto 4rem;
}

/* ===== BRAND GRID ===== */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

@media (min-width: 768px) and (max-width: 1199px) {
    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .brand-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.brand-card {
    position: relative;
    height: 600px;
    overflow: hidden;
    cursor: pointer;
    border-radius: 4px;
}

.brand-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-card:hover .brand-card-image {
    transform: scale(1.05);
}

.brand-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 3rem;
    color: var(--color-light);
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 2rem;
    transition: var(--transition);
}

.brand-card:hover .brand-card-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.8));
}

.brand-card-title {
    font-family: var(--primary-font);
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    margin-bottom: 0.5rem;
    text-align: center;
}

.brand-card-tagline {
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    margin-bottom: 2rem;
    text-align: center;
}

.brand-card-cta {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.brand-card:hover .brand-card-cta {
    opacity: 1;
    transform: translateY(0);
}

/* ===== PHILOSOPHY ===== */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    margin-top: 4rem;
}

.philosophy-item {
    text-align: center;
    padding: 2rem;
}

.philosophy-icon {
    width: 1px;
    height: 80px;
    background: var(--color-dark);
    margin: 0 auto 2rem;
}

.philosophy-title {
    font-family: var(--primary-font);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    text-align: center;
}

.philosophy-text {
    color: #666;
    line-height: 1.8;
    font-weight: 300;
    text-align: center;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--color-dark);
    color: var(--color-light);
    padding: 4rem 0 2rem;
}

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

.footer-title {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}

.footer-text {
    color: #999;
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 300;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #666;
    font-size: 0.875rem;
    font-weight: 300;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 10vw, 3rem);
        letter-spacing: 0.2em;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: clamp(0.9rem, 4vw, 1.2rem);
        letter-spacing: 0.1em;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }
    
    .btn-primary {
        padding: 0.875rem 2rem;
        font-size: 0.75rem;
        letter-spacing: 0.15em;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--color-light);
        padding: 6rem 2rem;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 2rem;
    }
    
    .nav-link {
        color: var(--color-dark);
        font-size: 1.125rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .brand-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .brand-card {
        height: 500px;
    }
    
    .brand-card-title {
        font-size: 2rem;
        letter-spacing: 0.2em;
    }
    
    .brand-card-tagline {
        font-size: 1rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: clamp(2rem, 8vw, 3rem);
        letter-spacing: 0.15em;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .philosophy-item {
        padding: 1.5rem;
    }
    
    .philosophy-title {
        font-size: 1.5rem;
        letter-spacing: 0.15em;
        text-align: center;
    }
    
    .philosophy-text {
        font-size: 0.95rem;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}