/* =========================
   GLOBAL
========================= */

:root {
    --primary: #7b1e1e;
    --dark: #1f1a17;
    --cream: #f7f1e8;
    --gold: #b68b40;
    --white: #ffffff;
    --text: #4b4540;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.7;
}

h1,
h2,
h3 {
    font-family: "Playfair Display", serif;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    width: 100%;
    display: block;
}

.container {
    width: min(1100px, 90%);
    margin: auto;
}

.section {
    padding: 100px 0;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 7%;

    background: rgba(31, 26, 23, 0.95);

    color: white;

    z-index: 1000;
}

.logo {
    font-family: "Playfair Display", serif;
    font-size: 1.6rem;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.7rem;
    cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        linear-gradient(
            rgba(31, 26, 23, 0.65),
            rgba(31, 26, 23, 0.8)
        ),
        url("images/hero.jpg");

    background-size: cover;
    background-position: center;

    color: white;

    padding: 100px 20px 40px;
}

.hero-content {
    max-width: 800px;
}

.subtitle {
    color: var(--gold);
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 600;
    line-height: 1;
    margin-bottom: 25px;
}

.hero-description {
    max-width: 650px;
    margin: auto;
    font-size: 1.05rem;
    color: #eee;
}

.hero-buttons {
    margin-top: 35px;

    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}


/* =========================
   BUTTONS
========================= */

.btn {
    padding: 13px 28px;
    display: inline-block;
    transition: 0.3s;
}

.primary-btn {
    background: var(--primary);
    color: white;
}

.primary-btn:hover {
    transform: translateY(-3px);
    background: #5f1616;
}

.secondary-btn {
    border: 1px solid var(--gold);
    color: white;
}

.secondary-btn:hover {
    background: var(--gold);
}


/* =========================
   HEADINGS
========================= */

.section-tag {
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-heading {
    text-align: center;
    max-width: 650px;
    margin: auto auto 55px;
}

.section-heading h2,
.about h2,
.contact h2,
.resume-content h2 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--dark);
    margin-bottom: 20px;
}

.section-description {
    color: #777;
}


/* =========================
   ABOUT
========================= */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-image img {
    height: 600px;
    object-fit: cover;
}

.about-content p {
    margin-bottom: 18px;
}

.text-link {
    color: var(--primary);
    font-weight: 600;
}


/* =========================
   JOURNEY
========================= */

.journey {
    background: var(--dark);
}

.journey .section-heading h2 {
    color: white;
}

.journey-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.journey-card {
    background: #2b2522;

    padding: 35px 25px;

    color: #ddd;

    transition: 0.3s;
}

.journey-card:hover {
    transform: translateY(-8px);
}

.journey-number {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.journey-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
}


/* =========================
   EVENTS
========================= */

.events {
    background: white;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-card {
    display: grid;

    grid-template-columns:
        100px 1fr auto;

    align-items: center;

    gap: 30px;

    padding: 25px;

    border: 1px solid #e7e1d9;

    transition: 0.3s;
}

.event-card:hover {
    box-shadow:
        0 10px 30px
        rgba(0, 0, 0, 0.08);
}

.event-date {
    text-align: center;
    padding: 15px;

    background: var(--cream);
}

.day {
    display: block;

    font-family:
        "Playfair Display",
        serif;

    font-size: 2rem;

    color: var(--primary);
}

.month {
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.event-info h3 {
    font-size: 1.5rem;
    color: var(--dark);
}

.event-link {
    color: var(--primary);
    font-weight: 600;
}


/* =========================
   GALLERY
========================= */

.gallery-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;
}

.gallery-grid img {
    height: 300px;
    object-fit: cover;

    transition: 0.4s;
}

.gallery-grid img:hover {
    transform: scale(1.03);
}


/* =========================
   RESUME
========================= */

.resume-section {
    padding: 80px 0;
    background: var(--primary);
    color: white;
}

.resume-content {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.resume-content h2 {
    color: white;
}

.resume-content .section-tag {
    color: #e8c27c;
}

.resume-content .primary-btn {
    background: white;
    color: var(--primary);
}


/* =========================
   CONTACT
========================= */

.contact-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 70px;
}

.contact-details {
    background: white;
    padding: 40px;
}

.contact-details p {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.social-links a {
    color: var(--primary);
    font-weight: 600;
}


/* =========================
   FOOTER
========================= */

footer {
    background: var(--dark);
    color: white;

    text-align: center;

    padding: 50px 20px;
}

footer h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

footer p {
    color: #bbb;
}

.copyright {
    margin-top: 25px;
    font-size: 0.8rem;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .journey-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image img {
        height: 500px;
    }

}


@media (max-width: 700px) {

    .menu-btn {
        display: block;
    }

    .nav-links {
        position: absolute;

        top: 70px;
        left: 0;

        width: 100%;

        background: var(--dark);

        flex-direction: column;

        text-align: center;

        padding: 25px;

        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .journey-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .event-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .event-date {
        width: 100px;
        margin: auto;
    }

    .resume-content {
        flex-direction: column;
        align-items: flex-start;
    }

}


/* =========================
JOURNEY PAGE
========================= */

/* HERO */

.journey-hero {
min-height: 100vh;

display: flex;
align-items: center;
justify-content: center;

text-align: center;

background:
    linear-gradient(
        rgba(31, 26, 23, 0.72),
        rgba(31, 26, 23, 0.9)
    ),
    url("images/Sangeetalaya_logo.png");  /* for top cover */

background-size: cover;
background-position: center;

color: white;

padding: 120px 20px 60px;

}

.journey-hero-content {
max-width: 850px;
}

.journey-hero h1 {

font-size: clamp(3.5rem, 8vw, 7rem);

line-height: 1.05;

margin: 20px 0;

color: white;
}

.journey-hero p {
max-width: 650px;

margin: auto;

color: #e8e2dc;

font-size: 1.1rem;
}

.scroll-btn {
display: inline-block;

margin-top: 40px;

color: var(--gold);

font-weight: 500;

}

/* INTRO */

.journey-intro {

padding: 130px 0;

text-align: center;

background: var(--cream);
}

.journey-intro .container {
max-width: 850px;
}

.journey-intro h2 {

font-size: clamp(2.5rem, 6vw, 4.5rem);

color: var(--dark);

margin-bottom: 40px;

}

.intro-text {

font-size: 1.1rem;

margin-bottom: 25px;

color: #625a54;
}

/* TIMELINE */

.timeline-section {

padding: 120px 0;

background: white;

}

.timeline {

position: relative;

max-width: 950px;

margin: auto;

}

/* CENTRAL LINE */

.timeline::before {

content: "";

position: absolute;

left: 50%;

top: 0;

bottom: 0;

width: 1px;

background: #d8d0c6;

transform: translateX(-50%);
}

/* TIMELINE ITEM */

.timeline-item {

position: relative;

width: 50%;

padding: 0 70px 80px 0;

}

/* ALTERNATING ITEMS */

.timeline-item.reverse {

margin-left: 50%;

padding:
    0
    0
    80px
    70px;

}

/* DOT */

.timeline-dot {

position: absolute;

top: 0;

right: -28px;

width: 56px;

height: 56px;

border-radius: 50%;

background: var(--primary);

color: white;

display: flex;

align-items: center;

justify-content: center;

font-size: 0.75rem;

font-weight: 600;

z-index: 2;
}

.timeline-item.reverse .timeline-dot {

left: -28px;

}

/* CONTENT */

.timeline-content {

background: var(--cream);

padding: 40px;

position: relative;
}

.timeline-content::after {

content: "";

position: absolute;

top: 22px;

right: -12px;

width: 24px;

height: 24px;

background: var(--cream);

transform: rotate(45deg);
}

.timeline-item.reverse
.timeline-content::after {

left: -12px;

right: auto;

}

.timeline-label {

color: var(--gold);

font-size: 0.72rem;

letter-spacing: 2px;

font-weight: 600;

margin-bottom: 12px;

}

.timeline-content h3 {

font-size: 2rem;

color: var(--dark);

margin-bottom: 20px;
/*  */

}

.timeline-content p {

/*  */
margin-bottom: 16px;
/*  */

}

/* HIGHLIGHT */

.highlight-text {

/*  */
font-family:
    "Playfair Display",
    serif;

font-size: 1.35rem;

color: var(--primary);

margin-top: 25px;
/*  */

}

/* FINAL SECTION */

.final-item .timeline-content {

/*  */
background: var(--dark);

color: #ddd;
/*  */

}

.final-item .timeline-content h3 {
color: white;
}

.final-item .timeline-content::after {
background: var(--dark);
}

/* ROLES */

.roles {

/*  */
display: grid;

grid-template-columns:
    repeat(2, 1fr);

gap: 12px;

margin: 30px 0;
/*  */

}

.role {

/*  */
background: #322c28;

padding: 18px;

display: flex;

align-items: center;

gap: 10px;

font-size: 0.85rem;
/*  */

}

/* QUOTE */

.final-quote {

/*  */
margin-top: 35px;

font-family:
    "Playfair Display",
    serif;

font-size: 1.4rem;

font-style: italic;

color: var(--gold);
/*  */

}

/* CLOSING */

.journey-closing {

/*  */
padding: 130px 20px;

text-align: center;

background:
    linear-gradient(
        rgba(123, 30, 30, 0.9),
        rgba(80, 15, 15, 0.95)
    );
/*  */

}

.journey-closing .container {
max-width: 750px;
}

.journey-closing h2 {

/*  */
color: white;

font-size: clamp(2.5rem, 6vw, 4.5rem);

margin-bottom: 25px;
/*  */

}

.journey-closing p {

/*  */
color: #f0dddd;

margin-bottom: 35px;
/*  */

}

.journey-closing .section-tag {
color: #e8c27c;
}

.journey-closing .primary-btn {

/*  */
background: white;

color: var(--primary);
/*  */

}

/* =========================
MOBILE TIMELINE
========================= */

@media (max-width: 800px) {

/*  */
.timeline::before {

    left: 28px;
}


.timeline-item,
.timeline-item.reverse {

    width: 100%;

    margin-left: 0;

    padding:
        0
        0
        60px
        80px;
}


.timeline-dot,
.timeline-item.reverse .timeline-dot {

    left: 0;

    right: auto;
}


.timeline-content::after,
.timeline-item.reverse
.timeline-content::after {

    left: -12px;

    right: auto;
}


.roles {

    grid-template-columns: 1fr;
}


.journey-intro {

    padding: 90px 0;
}


.timeline-section {

    padding: 90px 0;
}
}
