/* 
   Nexum Adicciones - Sanctuary Modernism Style
   Palette: Deep Teal, Off-White, Terracotta
*/

:root {
    --bg-dark: #0A1F25; /* Deep Teal/Petroleum */
    --bg-light: #F4F1EA; /* Off-White/Bone */
    --text-dark: #1A1A1A;
    --text-light: #ECECEC;
    --accent: #C76D50; /* Terracotta */
    --accent-hover: #b05c41;
    --glass: rgba(255, 255, 255, 0.05);
    
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    
    --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-card: all 0.4s ease-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-card);
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 2px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: var(--transition-card);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    border: 1px solid var(--accent);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent);
}

.btn-secondary {
    border: 1px solid var(--text-dark);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background-color: var(--text-dark);
    color: white;
}

.btn-text {
    color: var(--text-light);
    margin-left: 1.5rem;
    position: relative;
}

.btn-text::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: var(--text-light);
    transition: var(--transition-card);
}

.btn-text:hover::after {
    width: 100%;
}

/* Intro Curtain */
#intro-curtain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 1.2s cubic-bezier(0.7, 0, 0.3, 1);
}

.logo-reveal {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--accent);
    letter-spacing: 0.5rem;
    opacity: 0;
    animation: fadeInLogo 1.5s ease-out forwards;
}

@keyframes fadeInLogo {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

body.loaded #intro-curtain {
    transform: translateY(-100%);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 900;
    transition: padding 0.3s ease, background 0.3s ease;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(10, 31, 37, 0.9);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    font-size: 0.9rem;
    opacity: 0.8;
}

.nav-item:hover {
    opacity: 1;
    color: var(--accent);
}

.btn-nav {
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    transition: 0.3s;
}

.btn-nav:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Hero */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.cinematic-gradient {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(10,31,37,0.4) 0%, rgba(10,31,37,0.95) 90%);
}

/* Add a pseudo-element for background image placeholder if needed */
.hero-video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1470115636492-6d2b56f9146d?q=80&w=2070&auto=format&fit=crop'); /* Calm forest/fog */
    background-size: cover;
    background-position: center;
    z-index: -2;
    filter: saturate(0.6) brightness(0.7);
    transform: scale(1.1);
    animation: breathe 20s infinite alternate;
}

@keyframes breathe {
    from { transform: scale(1.1); }
    to { transform: scale(1.2); }
}

.hero-content {
    text-align: center;
    z-index: 10;
    margin-top: 5vh;
}

.hero-eyebrow {
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.italic-accent {
    font-style: italic;
    font-family: var(--font-serif); /* Already serif, but emphasized */
    opacity: 0.9;
    font-weight: 300;
}

.hero-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    opacity: 0.8;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
}

.mouse {
    width: 20px;
    height: 32px;
    border: 1px solid white;
    border-radius: 20px;
    position: relative;
    display: flex;
    justify-content: center;
}

.wheel {
    width: 2px;
    height: 6px;
    background: white;
    margin-top: 5px;
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(10px); opacity: 0; }
}

.label {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Sections General */
.section {
    padding: 8rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 1rem;
}

/* Manifesto */
.dark-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.manifesto-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.highlight {
    color: var(--accent);
    font-style: italic;
}

.separator-line {
    width: 50px;
    height: 1px;
    background: var(--accent);
    margin: 2rem auto;
}

.body-large {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.highlight-text {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: white;
}

/* Methods */
.light-section {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.dark-text {
    color: var(--text-dark);
}

.center-text {
    text-align: center;
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 4rem;
}

.step-card {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
    background: white;
    /* subtle border like paper */
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition-card);
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.step-number {
    font-family: var(--font-serif);
    font-size: 4rem;
    color: rgba(0,0,0,0.05);
    position: absolute;
    top: -10px;
    right: 10px;
}

.step-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--bg-dark);
}

.step-card p {
    color: #555;
    font-size: 0.95rem;
}

/* Families Split */
.split-section {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    min-height: 80vh;
}

.split-image {
    flex: 1;
    min-width: 400px;
    background-image: url('https://images.unsplash.com/photo-1544717305-2782549b5136?q=80&w=1974&auto=format&fit=crop'); /* Hands/Tea/Calm */
    background-size: cover;
    background-position: center;
}

.split-content {
    flex: 1;
    min-width: 400px;
    background-color: #E8E4DB; /* Slightly darker than light bg */
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem;
}

.split-content .section-title {
    color: var(--bg-dark);
}

.split-content p {
    margin-bottom: 1.5rem;
    color: #444;
}

/* Footer */
.footer-title {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
}

.footer-text {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.8;
}

.big-btn {
    padding: 1.5rem 3rem;
    font-size: 1rem;
    box-shadow: 0 10px 30px rgba(199, 109, 80, 0.3);
}

.footer-links {
    margin-top: 5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.8rem;
    opacity: 0.5;
}

.legal {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .nav-links {
        display: none; /* simple hidden for mobile for now, would need JS toggle */
    }
    
    .menu-toggle {
        display: block; /* assume toggle logic in JS or CSS */
    }
    
    .split-section {
        flex-direction: column;
    }
    
    .split-image {
        min-height: 300px;
    }
    
    .split-content {
        padding: 3rem;
    }
}
