/* =========================================
   1. VARIABLES & SETUP
========================================= */
:root {
    --bg-gradient: linear-gradient(135deg, #fff5fa, #fde2f3, #f8c8dc);
    --accent: #d04a6d;
    --dark: #2a1b22;
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.8);
    --timeline-color: rgba(208, 74, 109, 0.3);
    --primary-pink: #ff1493; /* Added for the logo highlight */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: var(--bg-gradient);
    background-attachment: fixed;
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
}

/* =========================================
   2. EDITORIAL NAVIGATION & LOGO
========================================= */
.editorial-nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(255, 255, 255, 0.3); /* Frosted glass effect */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    z-index: 1000;
}

.editorial-nav .logo {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

/* The Circular Icon */
.logo-icon-circle {
    width: 45px;  
    height: 45px; 
    border-radius: 50%;
    overflow: hidden; 
    flex-shrink: 0; 
    border: 2px solid rgba(248, 200, 220, 0.8); 
    background: #fff; 
    box-shadow: 0 0 10px rgba(208, 74, 109, 0.2); 
}

.nav-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent);
}

.nav-links { 
    display: flex; 
    gap: 30px; 
    list-style: none; 
}

.nav-links a { 
    text-decoration: none; 
    color: var(--dark); 
    font-weight: 600; 
    text-transform: uppercase; 
    font-size: 0.85rem; 
    letter-spacing: 1px;
    transition: color 0.3s ease; 
}

.nav-links a.active, .nav-links a:hover { 
    color: var(--accent); 
}

/* =========================================
   3. AMBIENT FLOATING BLOBS
========================================= */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
    animation: floatBlob 15s infinite alternate ease-in-out;
}
.blob-1 {
    width: 400px; height: 400px;
    background: #ffb6c1;
    top: 10%; left: 10%;
}
.blob-2 {
    width: 500px; height: 500px;
    background: #f8c8dc;
    bottom: 10%; right: 10%;
    animation-delay: -5s;
}

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 100px) scale(1.2); }
}

/* =========================================
   4. CUSTOM CURSOR
========================================= */
#cursor-dot {
    position: fixed; width: 8px; height: 8px; background: var(--accent);
    border-radius: 50%; pointer-events: none; z-index: 9999;
    transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s;
}
#cursor-ring {
    position: fixed; width: 40px; height: 40px; border: 2px solid var(--accent);
    border-radius: 50%; pointer-events: none; z-index: 9998;
    transform: translate(-50%, -50%); transition: 0.1s ease-out;
}

/* =========================================
   5. HERO SECTION
========================================= */
.hero-timeline {
    min-height: 50vh; display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 120px 5% 50px;
}
.hero-text h1 { font-family: 'Playfair Display', serif; font-size: 4.5rem; color: var(--accent); margin-bottom: 20px; line-height: 1; }
.hero-text p { font-size: 1.3rem; font-weight: 600; color: #555; }

/* =========================================
   6. TIMELINE LAYOUT
========================================= */
.timeline-wrapper {
    position: relative; max-width: 1200px; margin: 0 auto; padding: 50px 0;
}
/* Background Line */
.timeline-wrapper::after {
    content: ''; position: absolute; width: 6px; background: var(--timeline-color);
    top: 0; bottom: 0; left: 50%; transform: translateX(-50%); border-radius: 10px;
}
/* Glowing Active Progress Line */
.timeline-progress-bar {
    position: absolute; width: 6px; background: var(--accent);
    top: 0; left: 50%; transform: translateX(-50%); border-radius: 10px;
    height: 0%; z-index: 1; transition: height 0.1s ease-out;
    box-shadow: 0 0 15px var(--accent);
}

.timeline-item {
    padding: 20px 50px; position: relative; width: 50%; z-index: 2;
}
.timeline-item.left { left: 0; }
.timeline-item.right { left: 50%; }
.timeline-item.full-width { width: 100%; left: 0; text-align: center; padding-top: 60px; }

/* The Connection Dots */
.timeline-item::after {
    content: ''; position: absolute; width: 20px; height: 20px;
    background: white; border: 4px solid var(--accent); border-radius: 50%;
    top: 50px; z-index: 3; box-shadow: 0 0 10px rgba(208, 74, 109, 0.5);
}
.timeline-item.left::after { right: -10px; }
.timeline-item.right::after { left: -10px; }
.timeline-item.full-width::after { display: none; }

/* =========================================
   7. GLASS TIMELINE CARDS
========================================= */
.timeline-card {
    background: var(--glass-bg); backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border); padding: 40px;
    border-radius: 30px; box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.timeline-card:hover {
    transform: translateY(-10px); box-shadow: 0 30px 60px rgba(208, 74, 109, 0.15);
}

.timeline-card img {
    width: 100%; max-height: 350px; object-fit: cover;
    border-radius: 20px; margin: 20px 0; border: 2px solid white;
}
.timeline-card h2 { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--accent); margin-bottom: 15px; }
.timeline-card p { font-size: 1.1rem; line-height: 1.7; margin-bottom: 15px; }

/* =========================================
   8. CUSTOM LISTS & TEXT BLOCKS
========================================= */
.chic-list { list-style: none; margin: 20px 0; }
.chic-list li {
    background: white; padding: 15px 20px; margin-bottom: 10px;
    border-radius: 15px; font-weight: 600; display: flex; align-items: center; gap: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03); transition: 0.3s; text-align: left;
}
.chic-list li::before { content: '✔️'; color: var(--accent); }
.chic-list li:hover { transform: scale(1.02); border-left: 5px solid var(--accent); }

.highlight-text { font-weight: 800; color: var(--accent); font-size: 1.2rem; margin-top: 20px; }
.rule-box { background: rgba(208, 74, 109, 0.1); padding: 20px; border-left: 5px solid var(--accent); border-radius: 10px; margin-top: 20px; font-weight: 600; }

/* =========================================
   9. FAQ SECTION
========================================= */
.faq-item { margin-bottom: 25px; padding-bottom: 25px; border-bottom: 1px solid rgba(208, 74, 109, 0.2); text-align: left; }
.faq-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.faq-item h3 { color: var(--dark); margin-bottom: 10px; font-size: 1.2rem; }

/* =========================================
   10. FOOTER
========================================= */
.footer { background: #1a0a10; color: white; padding: 60px 8%; border-radius: 40px 40px 0 0; margin-top: 50px;}
.footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 30px; text-align: left; }
.footer-section h3, .footer-section h4 { font-family: 'Playfair Display', serif; color: #f8c8dc; margin-bottom: 15px; }
.footer ul { list-style: none; padding: 0; }
.footer a { color: #ccc; text-decoration: none; font-size: 0.9rem; transition: 0.3s; }
.footer a:hover { color: white; padding-left: 5px; }
.copyright { text-align: center; border-top: 1px solid #333; padding-top: 20px; color: #666; font-size: 0.8rem; }

/* =========================================
   11. SCROLL ANIMATIONS
========================================= */
.reveal { opacity: 0; transition: 1s cubic-bezier(0.19, 1, 0.22, 1); }
.slide-in-left { transform: translateX(-100px); }
.slide-in-right { transform: translateX(100px); }
.slide-up { transform: translateY(100px); }

.reveal.active { opacity: 1; transform: translate(0); }

/* =========================================
   12. MOBILE RESPONSIVE TIMELINE
========================================= */
@media screen and (max-width: 768px) {
    .nav-links { display: none; } /* Hides links on mobile for a hamburger menu */
    .hero-text h1 { font-size: 3rem; }
    
    .timeline-wrapper::after, .timeline-progress-bar { left: 30px; }
    
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 20px; }
    .timeline-item.right { left: 0; }
    .timeline-item.left::after, .timeline-item.right::after { left: 20px; right: auto; }
    
    .slide-in-left, .slide-in-right { transform: translateY(50px); } /* Override side-slide for mobile */
}