:root {
    /* Palette: Polished Silver & Deep Steel */
    --bg-color: #EFF2F5;
    --text-primary: #202d3a;
    --text-secondary: #5e6d7a;
    --accent: #5E8BA3;
    --line-color: #CBD5E1;
    --card-bg: #FFFFFF;

    /* Fonts */
    --font-names: 'Great Vibes', cursive;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: radial-gradient(circle at center, #FFFFFF 0%, var(--bg-color) 80%);
}

.names {
    font-family: var(--font-names);
    font-size: clamp(4rem, 10vw, 7rem);
    color: var(--text-primary);
    margin-bottom: 20px;
    animation: fadeZoom 1.5s ease-out;
}

/* Brand Logo (Simple Monogram) */
.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: -10px;
    /* Connect with names */
    animation: fadeZoom 1.5s ease-out;
}

.brand-logo .letter {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 2px;
}

.brand-logo .ring-wrapper {
    position: relative;
    top: -2px;
}

.brand-logo .ring-wrapper i {
    font-size: 2rem;
    color: var(--accent);
    /* Simple shine effect */
    animation: shine 4s infinite ease-in-out;
}

@keyframes shine {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
        filter: drop-shadow(0 0 0px transparent);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
        filter: drop-shadow(0 0 5px var(--accent));
    }
}

.names .amp {
    font-family: var(--font-heading);
    font-size: 0.6em;
    color: var(--accent);
    font-style: italic;
    position: relative;
    top: -10px;
}

.tagline {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 60px;
    animation: fadeInUp 1.5s ease-out 0.5s backwards;
}

/* Action Scroll Button */
.scroll-hint {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);

    /* Pill Shape */
    padding: 14px 40px;
    background: #fff;
    border-radius: 50px;
    border: 1px solid rgba(94, 139, 163, 0.3);

    /* Text */
    color: var(--accent);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 600;

    /* Flex for icon */
    display: flex;
    align-items: center;
    gap: 10px;

    /* Shadows & Anim */
    box-shadow: 0 10px 30px rgba(94, 139, 163, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 10;
    animation: fadeInUp 1.2s ease-out 0.8s backwards;
}

.scroll-hint:hover {
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 15px 40px rgba(94, 139, 163, 0.2);
    border-color: var(--accent);
    color: var(--accent);
    /* Keep text accent */
}

/* Icon / Line replacement */
.scroll-hint i {
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

@keyframes scrollWheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(5px);
    }

    60% {
        transform: translateY(3px);
    }
}

/* Timeline Section */
.timeline-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.timeline-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}

/* Central Line */
.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--line-color);
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Timeline Dots (JS Injected) */
.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--line-color);
    border-radius: 50%;
    z-index: 1;
}

.timeline-dot.start {
    top: 0;
}

.timeline-dot.end {
    bottom: 0;
}

.event-item {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* Align top for bubbles */
    margin-bottom: 80px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.event-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Bubble Card */
.event-content {
    background: var(--card-bg);
    padding: 25px 30px;
    border-radius: 20px;
    /* Bubble roundness */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    width: 42%;
    position: relative;
    transition: transform 0.3s ease;
    text-align: left;
}

.event-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Left Item (Odd) */
.event-item:nth-child(odd) .event-content {
    margin-right: auto;
    margin-left: 20px;
    /* Offset from screen edge */
}

/* Bubble Tail Left */
.event-item:nth-child(odd) .event-content::before {
    content: "";
    position: absolute;
    right: -10px;
    top: 25px;
    border-width: 10px 0 10px 12px;
    border-style: solid;
    border-color: transparent transparent transparent var(--card-bg);
}

/* Right Item (Even) */
.event-item:nth-child(even) .event-content {
    margin-left: auto;
    margin-right: 20px;
}

/* Bubble Tail Right */
.event-item:nth-child(even) .event-content::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 25px;
    border-width: 10px 12px 10px 0;
    border-style: solid;
    border-color: transparent var(--card-bg) transparent transparent;
}


/* Markers (Emoji) */
.event-marker {
    position: absolute;
    left: 50%;
    top: 15px;
    /* Align with top of bubble */
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--bg-color);
    /* Cutout effect from line */
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    font-size: 1.8rem;
    /* Emoji size */
    box-shadow: 0 0 0 5px var(--bg-color);
    /* Spacing from line */
    transition: transform 0.3s ease;
}

.event-item:hover .event-marker {
    transform: translateX(-50%) scale(1.1);
}

/* Years - Opposite positioning */
.event-year {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: rgba(94, 139, 163, 0.15);
    /* Visible watermark */
    position: absolute;
    top: 10px;
    z-index: 0;
    font-weight: 700;
    pointer-events: none;
    line-height: 1;
}

/* Left Content -> Year on Right */
.event-item:nth-child(odd) .event-year {
    left: 55%;
    /* Start from center + margin */
    text-align: left;
}

/* Right Content -> Year on Left */
.event-item:nth-child(even) .event-year {
    right: 55%;
    /* End at center - margin */
    text-align: right;
}

/* Text Stylings */
.event-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.2;
}

.event-date {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 10px;
    font-weight: 600;
}

.event-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Footer */
footer {
    padding: 60px 0;
    text-align: center;
    background-color: #2C3E50;
    color: #ECF0F1;
    margin-top: 100px;
}

.footer-links {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #BDC3C7;
}

.footer-links a {
    text-decoration: none;
    color: inherit;
    margin: 0 15px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.copyright {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Animations */
@keyframes fadeZoom {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .names {
        font-size: 3.5rem;
    }

    .timeline-container::before {
        left: 30px;
    }

    .event-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 70px;
        /* Space for marker */
    }

    .event-content {
        width: 100%;
        margin: 0 !important;
        /* Reset margins */
        text-align: left;
    }

    .event-content::before {
        /* Move tail to left for all */
        right: auto;
        left: -10px;
        border-width: 10px 12px 10px 0;
        border-color: transparent var(--card-bg) transparent transparent;
    }

    .event-marker {
        left: 30px;
        top: 25px;
    }

    .event-year {
        /* Mobile year positioning */
        position: relative;
        left: auto !important;
        right: auto !important;
        top: auto;
        font-size: 2rem;
        margin-bottom: -20px;
        display: block;
        /* Stack */
        text-align: left !important;
    }
}