@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Inter:wght@300;400;500&display=swap');

:root {
    /* Traditional Arangetram Palette */
    --bg-color: #fdfbf7;
    /* Cream/Ivory */
    --text-color: #2c2420;
    /* Dark warm grey */
    --primary-color: #8b0000;
    /* Deep Red / Maroon */
    --primary-light: #a52a2a;
    --accent-color: #d4af37;
    /* Gold */
    --secondary-bg: #fffcf5;
    --dark-bg: #1a0f0f;
    /* Very dark red/black for contrast sections */
    --border-color: #e5e0d5;

    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Utilities */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gold {
    color: var(--accent-color);
}

section a {
    text-decoration: underline;
    text-decoration-color: rgba(212, 175, 55, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.3s ease;
}

section a:hover {
    text-decoration-color: rgba(212, 175, 55, 1);
}

.nav-links a {
    text-decoration: none;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0;
}

.divider::before,
.divider::after {
    content: '';
    height: 1px;
    width: 60px;
    background-color: var(--accent-color);
    margin: 0 1rem;
}

.divider span {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Header */
header {
    position: fixed;
    width: 100%;
    top: 0;
    background-color: rgba(255, 252, 245, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-color);
    font-size: 1.1rem;
    /*text-transform: uppercase; */
    letter-spacing: 1px;
    font-weight: 500;
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-color);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    padding-top: 80px;
    padding-bottom: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-slideshow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 252, 245, 0.1), rgba(255, 252, 245, 0.1));
    pointer-events: none;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 60% auto;
    background-repeat: no-repeat;
    background-position: center top;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

@media (max-width: 768px) {
    .hero-slideshow {
        top: 60px;
    }

    .hero-slide {
        background-size: 90% auto;
    }
}

.hero-image {
    width: 50%;
    max-width: 50%;
    height: auto;
    border-radius: 4px;
    /* Slight roundness or frame */
    margin-top: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--accent-color);
    padding: 10px;
    background: white;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.hero-date {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-rsvp {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-rsvp:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* About Sections */
.section {
    padding: 60px 0;
}

#guru {
    padding-bottom: 0;
}

#dancer {
    padding-top: 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title h2 {
    font-size: 1.5rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.profile-img-container {
    position: relative;
}

.guru-img-container {
    max-width: 50%;
    margin: 0 auto;
}

.guru-img-container::after {
    top: -12px;
    left: -12px;
    width: calc(100% + 24px);
    height: calc(100% + 24px);
}

/*
.profile-img-container::after {
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-color);
    z-index: -1;
}
*/

.profile-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 2px;
}

/* Event Details */
.event-details {
    background-color: var(--dark-bg);
    color: #fff;
    padding: 60px 0;
}

.event-details h2 {
    color: var(--accent-color);
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.detail-card h3 {
    color: var(--accent-color);
    margin-bottom: 0.0rem;
    font-size: 1.2rem;
}

.detail-card p {
    color: rgba(255, 255, 255, 0.8);
}

.orchestra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    text-align: center;
    margin-top: 3rem;
}

.orchestra-member {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.orchestra-img {
    width: 230px;
    height: 300px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 3px solid var(--accent-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.orchestra-member h3 {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.orchestra-member p.member-name {
    font-family: var(--font-header);
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.orchestra-member .bio-text {
    font-size: 0.9rem;
    color: rgba(30, 30, 30, 0.8);
    line-height: 1.5;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--accent-color);
    padding: 8px;
    background: white;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

footer {
    background-color: #111;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        display: block;
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        border-bottom: 2px solid var(--primary-color);
        transition: 0.3s;
        text-align: center;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 2.5rem 0;
    }

    .hero {
        min-height: 40vh;
        padding-top: 60px;
        padding-bottom: 1rem;
    }

    .hero::before {
        background-size: 90% auto;
    }

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

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

    .section {
        padding: 2rem 0;
    }

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

    .orchestra-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}