/* 
   Utkalika 2026 - Festival Directory
   Main Stylesheet
*/

:root {
    --color-maroon: #801515;
    --color-charcoal: #333333;
    --color-offwhite: #F9F9F9;
    --color-border: #E0E0E0;
    --color-hover: #a31e1e;
    --color-text-light: #666666;
    --font-serif: 'Merriweather', serif;
    --font-sans: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: #ffffff;
    color: var(--color-charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    color: var(--color-charcoal);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==================
   Header
   ================== */
.site-header {
    background-color: #fff;
    border-bottom: 2px solid var(--color-offwhite);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 48px;
    width: 48px;
}

.logo-text h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-maroon);
    line-height: 1.1;
}

.logo-text span {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-charcoal);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-maroon);
    text-decoration: underline;
    text-underline-offset: 6px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.search-bar {
    display: flex;
    align-items: center;
    background: var(--color-offwhite);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
}

.search-bar:focus-within {
    border-color: var(--color-border);
}

.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.9rem;
    width: 180px;
}

.search-bar button {
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
}

.user-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
}

/* ==================
   Hero
   ================== */
.hero-section {
    padding: 4rem 0 2rem;
}

.page-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 700px;
}

/* ==================
   Sections Generic
   ================== */
.section {
    padding: 3rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0;
    /* Reset for flex alignment */
}

/* ==================
   Manual Slider Controls & Container
   ================== */
.slider-container {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 2rem;
    /* Space for scrollbar if visible, layout breathing room */
    /* Hide scrollbar for standard browsers */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.slider-container::-webkit-scrollbar {
    display: none;
}

.slider-controls {
    display: flex;
    gap: 1rem;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: #fff;
    color: var(--color-charcoal);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--color-maroon);
    color: #fff;
    border-color: var(--color-maroon);
}

/* ==================
   Leadership Team
   ================== */
.leader-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    border: 1px dashed var(--color-maroon);
    background: #fff;
    transition: box-shadow 0.3s ease;
    /* Fixed width for scroll items */
    width: 400px;
    max-width: 400px;
    flex-shrink: 0;
}

.leader-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.profile-img.circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.profile-info {
    flex: 1;
}

.leader-card .name {
    color: var(--color-maroon);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.leader-card .role {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.leader-card .description {
    font-size: 0.95rem;
    color: var(--color-text-light);
    font-style: italic;
    line-height: 1.5;
}

/* ==================
   Advisors Section
   ================== */
.advisor-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    padding: 1.5rem;
    /* Fixed width for scroll items */
    min-width: 300px;
    flex-shrink: 0;
}

.card-image-wrapper {
    width: 100%;
    height: 180px;
    background: #e0f2f1;
    margin-bottom: 1.25rem;
    border-radius: 8px;
    overflow: hidden;
}

.advisor-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.advisor-card:nth-child(even) .card-video-wrapper {
    background: #dceefb;
}

.advisor-card .name {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.advisor-card .dept {
    display: block;
    font-size: 0.85rem;
    color: var(--color-maroon);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.advisor-card .bio {
    font-size: 0.85rem;
    color: #777;
}

/* ==================
   Members
   ================== */
.members-section .container {
    background-color: var(--color-offwhite);
    padding: 3rem;
    border-radius: 1rem;
}

.members-container {
    padding-top: 1rem;
    display: flex;
    flex-wrap: nowrap;
    /* Ensure sliding */
    gap: 1.5rem;
}

.member-tag {
    background: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--color-charcoal);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
    flex-shrink: 0;
}

.member-tag::before {
    content: "•";
    color: var(--color-maroon);
    font-size: 1.5rem;
    line-height: 0;
}

/* ==================
   Footer
   ================== */
.site-footer {
    background-color: #801515;
    /* Deep Maroon */
    color: #fff;
    padding: 4rem 0 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 4rem;
    padding-bottom: 3rem;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 32px;
    filter: brightness(0) invert(1);
    /* Make logo white */
}

.footer-logo h3 {
    color: #fff;
    font-size: 1.25rem;
}

.about-col p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    background: rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

.links-col ul li {
    margin-bottom: 0.75rem;
}

.links-col a {
    font-size: 0.95rem;
    opacity: 0.9;
}

.links-col a:hover {
    opacity: 1;
    text-decoration: underline;
}

.venue-col p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.map-snippet {
    border-radius: 12px;
    overflow: hidden;
    opacity: 0.8;
}

.map-snippet img {
    width: 100%;
    display: block;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.1);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    opacity: 0.6;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ==================
   Responsiveness
   ================== */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .main-nav ul {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}