@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
    --bg-color: #0c0c0c;
    --text-color: #f5f5f5;
    --text-muted: #a0a0a0;
    --accent-color: #c9a063;
    --secondary-color: #1a1a1a;
    --border-color: rgba(201, 160, 99, 0.2);
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-color);
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-color);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    background: linear-gradient(to bottom, rgba(12, 12, 12, 0.8), transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

nav.scrolled {
    padding: 15px 0;
    background: rgba(12, 12, 12, 0.95);
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.7;
    transition: var(--transition);
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

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

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: block;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 30px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.hero-image-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: url('assets/img/hero.png') no-repeat center center/cover;
    mask-image: linear-gradient(to left, black 60%, transparent);
    -webkit-mask-image: linear-gradient(to left, black 60%, transparent);
    z-index: 1;
}

/* Narrative Sections */
section {
    padding: 150px 0;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.section-image {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    height: 600px;
}

.section-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s var(--transition);
}

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

.section-text-content {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.section-text-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 40px;
    position: relative;
}

.section-title span {
    display: block;
    font-size: 0.8rem;
    font-family: 'Montserrat', sans-serif;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 300;
    max-width: 90%;
}

/* Glass Card */
.glass-box {
    background: rgba(26, 26, 26, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px;
    border-radius: 8px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

/* Footer */
footer {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.word-count-badge {
    display: inline-block;
    padding: 5px 15px;
    background: var(--accent-color);
    color: var(--bg-color);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 20px;
    margin-top: 20px;
    text-transform: uppercase;
}

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

.animate-in {
    animation: fadeInUp 1s forwards;
}

/* Responsive */
@media (max-width: 968px) {
    .section-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero-image-bg {
        width: 100%;
        opacity: 0.4;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .section-image {
        height: 400px;
        order: -1;
    }
}
