/* style.css - Lili By Zuania */

/* --- CSS Variables --- */
:root {
    --color-bg: #FAF8F5; /* Warm cream/ivory */
    --color-text: #2A2A2A; /* Soft charcoal */
    --color-accent: #9D7E5A; /* Leather brown */
    --color-accent-light: #C2A888;
    --color-white: #FFFFFF;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    --transition-smooth: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- Resets & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* --- Preloader --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(42, 42, 42, 0.2);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* --- Section 1: Hero Video --- */
.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 Aspect Ratio */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 Aspect Ratio */
    transform: translate(-50%, -50%);
    z-index: -2;
    pointer-events: none;
}

.video-container iframe {
    width: 100%;
    height: 100%;
}

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

.hero-content {
    text-align: center;
    color: var(--color-white);
    padding: 0 20px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.2;
    margin-bottom: 2rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.mute-btn {
    background: transparent;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    margin-bottom: 2rem;
    opacity: 0.8;
    transition: var(--transition-smooth);
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mute-btn:hover {
    opacity: 1;
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.1);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.8;
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-family: var(--font-body);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: var(--color-white);
    animation: scrollLine 2s infinite ease-in-out;
}

@keyframes scrollLine {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}

/* Hero Entrance Animation */
.fade-up-hero {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpHero 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.5s;
}

@keyframes fadeUpHero {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Section 2: Value Proposition --- */
.value-prop-section {
    padding: 12vmax 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--color-bg);
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

.value-prop-section p {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.6;
    color: var(--color-text);
    font-style: italic;
    opacity: 0.9;
}

.decorative-line {
    width: 60px;
    height: 1px;
    background-color: var(--color-accent);
    margin: 3rem auto 0;
}

/* --- Section 3: Contact Info --- */
.contact-section {
    padding: 5rem 5%;
    text-align: center;
    background-color: var(--color-white);
}

.section-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--color-accent);
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.contact-link {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
    position: relative;
    display: inline-block;
}

.contact-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.contact-link:hover {
    color: var(--color-accent);
}

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

@media (min-width: 768px) {
    .contact-links {
        flex-direction: row;
        justify-content: center;
        gap: 4rem;
    }
}

/* --- Section 4: About Zuania --- */
.about-section {
    width: 100vw;
    min-height: 100vh;
    background-color: var(--color-bg);
}

.about-grid {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.about-image-col {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
}

.about-img {
    width: 100%;
    height: 120%; /* For parallax effect */
    object-fit: cover;
    object-position: center 20%;
    /* Parallax handled in JS */
}

.about-text-col {
    width: 100%;
    padding: 5rem 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 2.5rem;
    color: var(--color-text);
}

.about-body p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: rgba(42, 42, 42, 0.85);
    max-width: 600px;
}

.social-follow {
    display: inline-block;
    margin-top: 2rem;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-accent);
    position: relative;
    font-style: italic;
}

.social-follow::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--color-accent-light);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.social-follow:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

@media (min-width: 992px) {
    .about-grid {
        flex-direction: row;
    }
    
    .about-image-col {
        width: 50vw;
        height: 100vh;
        position: sticky;
        top: 0;
    }
    
    .about-text-col {
        width: 50vw;
        padding: 8vmax 6vmax;
    }
}

/* --- Footer --- */
.footer {
    text-align: center;
    padding: 3rem 0;
    background-color: var(--color-white);
    font-size: 0.9rem;
    color: rgba(42, 42, 42, 0.6);
    font-family: var(--font-body);
}

/* --- Scroll Reveal Animations --- */
.reveal-text {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-slow);
}

.reveal-text.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-element {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.reveal-element.active {
    opacity: 1;
    transform: translateY(0);
}
