/* ELEGANT CSS THEME */
:root {
    --bg-light: #Faf7f5;
    --text-main: #2a2522;
    --text-light: #7c726c;
    --accent-dark: #6e242a;   /* Deep elegant romantic red */
    --accent-soft: #dca3a3;   /* Blush pink */
}

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

body, html {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

/* Elegant Typography */
h1, h2, .signature {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
}

.kicker {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.massive-title { font-size: 5rem; line-height: 1.1; margin: 0.5rem 0; color: var(--accent-dark); }
.section-title { font-size: 3.5rem; line-height: 1.2; color: var(--accent-dark); }
.elegant-title { font-size: 3rem; margin-bottom: 1rem; color: var(--text-main);}
.subtitle { font-size: 1.1rem; color: var(--text-light); font-weight: 300; font-style: italic;}
.handwritten { font-style: italic; font-size: 1.8rem; color: var(--accent-dark); }
.light-text { color: #fbf8f8; }
.pink-text { color: var(--accent-soft); }

/* Layout Controls */
.full-screen {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    position: relative;
    z-index: 10;
}
.flex-center { justify-content: center; align-items: center; text-align: center; }
.column { flex-direction: column; }
.absolute-top { position: absolute; top: 0; left: 0; z-index: 50; background: var(--bg-light); }
.section-padding { padding: 4rem 10%; }
.dark-panel { background-color: var(--accent-dark); color: #fff; }
.text-right { text-align: right; margin-top: 2rem;}
.hidden { display: none !important; opacity: 0; }

/* Elegant Animated Background Orbs */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    z-index: 0;
}
.bg-shape-1 { width: 400px; height: 400px; background: var(--accent-soft); top: -100px; right: -100px; animation: float 15s ease-in-out infinite;}
.bg-shape-2 { width: 500px; height: 500px; background: #eac5c5; bottom: -200px; left: -100px; animation: float 12s ease-in-out infinite reverse;}

@keyframes float {
    0% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(30px) scale(1.1); }
    100% { transform: translateY(0px) scale(1); }
}

/* === SCROLL REVEAL ANIMATIONS === */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* The Line Divider */
.divider { width: 1px; height: 60px; background-color: var(--accent-soft); margin: 2rem auto; }
.light-divider { background-color: #dca3a3; opacity: 0.4;}

/* Input / Form Design */
.input-group { margin: 2.5rem 0; }
input[type="password"] {
    width: 300px;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--text-light);
    padding: 10px 5px;
    font-size: 1.1rem;
    font-family: inherit;
    text-align: center;
    color: var(--text-main);
    transition: 0.3s;
    outline: none;
}
input[type="password"]:focus { border-bottom-color: var(--accent-dark); }
.error-text { color: #e74c3c; font-size: 0.9rem; margin-bottom: 1.5rem; letter-spacing: 1px; }

/* Buttons */
.outline-btn, .solid-btn, .icon-btn {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.4s ease;
}
.outline-btn {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-light);
    padding: 1rem 3rem;
}
.outline-btn:hover { background: var(--text-main); color: var(--bg-light); border-color: var(--text-main); }

.solid-btn {
    background: var(--bg-light);
    color: var(--accent-dark);
    border: none;
    padding: 1rem 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.solid-btn:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(0,0,0,0.2); }

/* The Letter Panel */
.editorial-layout { max-width: 700px; text-align: left; }
.editorial-layout .section-title { text-align: center; }
.letter-content { font-size: 1.1rem; line-height: 2; font-weight: 300; }
.letter-content p { margin-bottom: 1.5rem; }

/* ==================================== */
/* 50 REASONS - PHOTO BACKGROUND UPGRADE */
/* ==================================== */

#reasons-section {
    position: relative;
    /* Put your picture in the background */
    background-image: url('assets/photo5.jpg');
    background-size: cover;
    background-position: center;
    background-color: transparent; /* Overrides the flat dark-panel red */
    z-index: 1; /* Creates a layer structure */
}

/* The red blurry glass layer placed over the photo */
#reasons-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;

    /* Elegant deep red with 65% opacity so photo shows through (not too much) */
    background-color: rgba(110, 36, 42, 0.65);

    /* The magic blur effect */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px); /* Needed for iPhones/Safari */

    /* Keeps the red blur exactly between the background image and your white text */
    z-index: -1;
}
/* 50 Reasons Box */
.reason-box { height: 200px; display: flex; flex-direction: column; justify-content: center; }
.reason-text-wrapper { position: relative; height: auto; min-height: 80px;}
.reason-main-text {
    font-size: 1.8rem;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    line-height: 1.4;
    transition: opacity 0.5s ease;
}
.text-fade-out { opacity: 0; }

/* Minimalist Carousel Gallery */
.elegant-gallery { width: 100%; max-width: 600px; margin-top: 2rem;}
.image-wrapper { position: relative; overflow: hidden; height: 500px; background: #e1dfde;}
#carousel-img { width: 100%; height: 100%; object-fit: cover; }
.img-transition-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--bg-light); opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
}
.img-transition-overlay.active { opacity: 1; }

.gallery-controls {
    display: flex; justify-content: space-between; align-items: center; margin-top: 1.5rem;
}
.icon-btn { background: none; border: none; color: var(--text-main); }
.icon-btn:hover { color: var(--accent-soft); }
.gallery-counter { font-size: 0.9rem; font-weight: 300; letter-spacing: 2px;}

/* Custom Scroll Mouse Graphic */
.scroll-indicator {
    position: absolute; bottom: 5%; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-light);
}
.mouse { width: 22px; height: 34px; border: 1px solid var(--text-light); border-radius: 12px; position: relative; }
.mouse::before { content: ''; position: absolute; width: 2px; height: 6px; background: var(--text-light); top: 6px; left: 50%; transform: translateX(-50%); border-radius: 2px; animation: mouseScroll 1.5s infinite; }

@keyframes mouseScroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 12px); opacity: 0; }
}

footer { margin-top: 5rem; padding-bottom: 2rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; opacity: 0.5;}

/* Mobile Optimization */
@media(max-width: 768px) {
    .massive-title { font-size: 3.5rem; }
    .section-title { font-size: 2.8rem; }
    .image-wrapper { height: 400px; }
}
/* ========================================= */
/* PREMIUM "AWWWARDS-STYLE" FEATURES UPGRADE */
/* ========================================= */

/* 1. Custom Elegant Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-soft);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-dark);
}

/* 2. Falling Pink Leaves System */
#falling-leaves-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    pointer-events: none; /* Allows her to click things underneath */
    z-index: 1; /* Puts leaves behind main text but above background */
    overflow: hidden;
}
.leaf {
    position: absolute;
    top: -50px;
    background-color: var(--accent-soft);
    opacity: 0.6;
    /* This shape trick makes a perfect soft flower petal/leaf shape */
    border-radius: 0 100% 0 100%;
    animation: fall linear forwards, sway 3s ease-in-out infinite alternate;
}
@keyframes fall {
    0% { top: -50px; }
    100% { top: 110vh; opacity: 0; transform: rotate(180deg) scale(0.8); }
}
@keyframes sway {
    0% { margin-left: 0px; }
    100% { margin-left: 50px; }
}

/* 3. The Custom Mouse Cursor (Advanced) */
* {
    /* Hides default browser cursor for the pure elegant experience */
    cursor: none !important;
}
.custom-cursor {
    position: fixed;
    top: 0; left: 0;
    width: 12px;
    height: 12px;
    background: var(--accent-dark);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 99999;
    transition: width 0.3s, height 0.3s, background 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}
.cursor-heart {
    opacity: 0;
    transition: opacity 0.3s;
}

/* Cursor shape changes when hovering buttons! */
.custom-cursor.hovering-btn {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
}
.custom-cursor.hovering-btn .cursor-heart {
    opacity: 1;
}

/* Custom SVG Heart drawn entirely in CSS via background-image */
.cursor-heart {
    width: 25px; height: 25px;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236e242a'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
    background-size: cover;
}

/* Add Magnetic Physics to Buttons */
button {
    transition: transform 0.1s ease;
    will-change: transform;
}