/* İTÜRO Subsection Styles */
/* Extends existing OTOKON CSS variables from footerheader.css */

/* Prevent horizontal overflow */
html {
    overflow-x: hidden;
}

body.ituro-page {
    overflow-x: hidden;
    max-width: 100vw;
}

body.ituro-page main {
    overflow-x: hidden;
    max-width: 100%;
    box-sizing: border-box;
}

body.ituro-page section {
    max-width: 100%;
    box-sizing: border-box;
}

/* ========== İTÜRO SUBHEADER ========== */
.ituro-subheader {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: rgba(22, 23, 35, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: fixed;
    top: 80px;
    left: 80px;
    right: 80px;
    z-index: 998;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    box-sizing: border-box;
    max-width: calc(100% - 160px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scrolled state - full width subheader */
.ituro-subheader.scrolled {
    top: 60px;
    left: 0;
    right: 0;
    max-width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border: none;
}

/* Tablet/medium screens - header is 60px */
@media (max-width: 899px) {
    .ituro-subheader {
        top: 70px;
        /* Touch header (10px + 60px) */
        left: 40px;
        right: 40px;
        padding: 5px 10px;
        gap: 4px;
        max-width: calc(100% - 80px);
    }

    .ituro-subheader.scrolled {
        top: 60px;
        left: 0;
        right: 0;
        max-width: 100%;
    }
}

/* Small mobile - header is 54px */
@media (max-width: 600px) {
    .ituro-subheader {
        top: 62px;
        /* Touch header (8px + 54px) */
        left: 20px;
        right: 20px;
        padding: 4px 8px;
        gap: 3px;
        max-width: calc(100% - 40px);
    }

    .ituro-subheader.scrolled {
        top: 54px;
        left: 0;
        right: 0;
        max-width: 100%;
    }
}

.ituro-subheader a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 4px 10px;
    transition: background 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

/* Tablet screens */
@media (max-width: 899px) {
    .ituro-subheader a {
        font-size: 0.7rem;
        padding: 3px 6px;
    }
}

/* Small mobile */
@media (max-width: 600px) {
    .ituro-subheader a {
        font-size: 0.65rem;
        padding: 4px 6px;
    }
}

.ituro-subheader a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.ituro-subheader a.active {
    background: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

.ituro-subheader a.register-btn {
    background: #ffffff;
    color: var(--ituro-color);
    font-weight: 700;
}

.ituro-subheader a.register-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* Adjust body padding for dual headers on İTÜRO pages */
body.ituro-page {
    padding-top: 0 !important;
    /* Hero will extend behind headers */
}

/* ========== COMPACT HEADER FOR ITURO PAGES ========== */
/* Hide the main desktop navigation on ITURO pages */
body.ituro-page .desktop-menu {
    display: none !important;
}

/* Make the main header shorter on ITURO pages */
body.ituro-page .header {
    height: 50px;
    padding: 5px 20px;
}

body.ituro-page .header .header-logo {
    height: 32px;
}

body.ituro-page .header .ituro-header-logo {
    height: 28px;
}

body.ituro-page .header .logo-separator {
    font-size: 1.4rem;
}

/* Position subheader closer to header */
body.ituro-page .ituro-subheader {
    top: 65px;
}

body.ituro-page .ituro-subheader.scrolled {
    top: 50px;
}

/* Hide ITURO button in main header when on İTÜRO pages */
body.ituro-page .header .ituro-link {
    display: none !important;
}

/* Keep the register button visible at header right */
body.ituro-page .header-right-buttons {
    display: flex;
}

/* Hide register button on subheader when on ITURO pages (moved to header) */
body.ituro-page .ituro-subheader .register-btn {
    display: none !important;
}

/* ========== HEADER REGISTER BUTTON ========== */
/* Show register button on ITURO pages - fits compact header */
body.ituro-page .header-register-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: var(--ituro-color);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 7px 24px;
    height: 100%;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, font-size 0.15s ease;
}

body.ituro-page .header-register-btn:hover {
    background: #ffffff;
    color: var(--ituro-color);
    font-size: 1rem;
}

/* Responsive styles for register button */
@media (max-width: 899px) {
    body.ituro-page .header-register-btn {
        font-size: 0.8rem;
        padding: 0 14px;
    }

    body.ituro-page .header-register-btn:hover {
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    body.ituro-page .header-register-btn {
        font-size: 0.75rem;
        padding: 0 12px;
    }

    body.ituro-page .header-register-btn:hover {
        font-size: 0.85rem;
    }
}

/* Tablet/medium screens - compact header adjustments */
@media (max-width: 899px) {
    body.ituro-page {
        padding-top: 0 !important;
    }

    body.ituro-page .header {
        height: 45px;
        padding: 5px 15px;
    }

    body.ituro-page .header .header-logo {
        height: 28px;
    }

    body.ituro-page .header .ituro-header-logo {
        height: 24px;
    }

    body.ituro-page .ituro-subheader {
        top: 55px;
    }

    body.ituro-page .ituro-subheader.scrolled {
        top: 45px;
    }
}

/* Small mobile - compact header adjustments */
@media (max-width: 600px) {
    body.ituro-page {
        padding-top: 0 !important;
    }

    body.ituro-page .header {
        height: 42px;
        padding: 4px 12px;
    }

    body.ituro-page .header .header-logo {
        height: 24px;
    }

    body.ituro-page .header .ituro-header-logo {
        height: 20px;
    }

    body.ituro-page .header .logo-separator {
        font-size: 1.2rem;
    }

    body.ituro-page .ituro-subheader {
        top: 50px;
    }

    body.ituro-page .ituro-subheader.scrolled {
        top: 42px;
    }
}

/* ========== İTÜRO HERO ========== */
.ituro-hero {
    position: relative;
    width: 100%;
    min-height: 70vh;
    background: linear-gradient(rgba(22, 23, 35, 0.6), rgba(22, 23, 35, 0.8)),
        url('/assets/ituro/images/ituro-bg2.png') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Add padding to account for fixed headers: 70px header + 50px subheader */
    padding: 140px 20px 40px;
    color: #ffffff;
}

/* Smaller hero for subpages - override with inline style min-height on main page */
.ituro-hero {
    min-height: 30vh;
}

@media (max-width: 899px) {
    .ituro-hero {
        padding: 130px 20px 30px;
        /* 60px + 50px + extra */
    }
}

@media (max-width: 600px) {
    .ituro-hero {
        padding: 115px 15px 25px;
        /* 54px + 46px + extra */
    }
}

.ituro-hero-logo {
    width: 180px;
    height: auto;
    margin-bottom: 24px;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.3));
    animation: floatLogo 3s ease-in-out infinite;
}

@keyframes floatLogo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.ituro-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 12px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.ituro-hero .event-date {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.ituro-hero .event-location {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

/* ========== COUNTDOWN TIMER ========== */
.countdown-container {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 24px;
    min-width: 80px;
}

.countdown-item .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.countdown-item .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 6px;
}

/* ========== CTA BUTTONS ========== */
.ituro-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.ituro-btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ituro-btn-primary {
    background: var(--ituro-color);
    color: #ffffff;
}

.ituro-btn-primary:hover {
    background: #c45c1e;
    transform: translateY(-2px);
}

.ituro-btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--text-color);
}

.ituro-btn-secondary:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--ituro-color);
    color: var(--ituro-color);
}

/* Secondary button on dark backgrounds (hero section) */
.ituro-hero .ituro-btn-secondary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.ituro-hero .ituro-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff;
}

/* ========== ANNOUNCEMENTS SECTION ========== */
.ituro-announcements {
    padding: 40px 3%;
    background: var(--background-color);
}

.ituro-section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-color);
}

.announcements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.announcement-card {
    background: var(--menu-bg-color);
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}

/* Acil duyuru stili */
.announcement-card.urgent {
    border: 2px solid var(--ituro-color);
}

.announcement-card.urgent::before {
    content: 'ACİL';
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--ituro-color);
    color: white;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 1;
}

.announcement-card {
    position: relative;
}

.announcement-card:hover {
    border-color: var(--ituro-color);
}

.announcement-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Cards without images - vertically centered in grid, proper click area */
.announcement-link:has(.announcement-card.no-image) {
    align-self: center;
}

.announcement-card.no-image {
    min-height: auto;
}

.announcement-card .content {
    padding: 20px;
}

.announcement-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 10px;
    color: var(--text-color);
}

.announcement-card p {
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0.8;
    margin: 0;
    line-height: 1.6;
}

.announcement-card .date {
    font-size: 0.85rem;
    color: var(--ituro-color);
    margin-top: 12px;
    display: block;
}

/* Announcement links */
.announcement-link {
    text-decoration: none;
    display: block;
}

.announcement-link:hover .announcement-card {
    border-color: var(--ituro-color);
}

/* ========== SPONSOR TIERS ========== */
.ituro-sponsors {
    padding: 40px 5%;
    background: var(--background-color);
}

.sponsor-tier {
    margin-bottom: 25px;
    text-align: center;
}

.sponsor-tier h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--ituro-color);
    display: inline-block;
}

.sponsor-tier.ana h3 {
    color: #FFD700;
    border-color: #FFD700;
}

.sponsor-tier.altin h3 {
    color: #FFD700;
    border-color: #FFD700;
}

.sponsor-tier.gumus h3 {
    color: #C0C0C0;
    border-color: #C0C0C0;
}

.sponsor-tier.bronz h3 {
    color: #CD7F32;
    border-color: #CD7F32;
}

.sponsor-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    align-items: center;
}

.sponsor-logos img {
    max-height: 80px;
    max-width: 180px;
    object-fit: contain;
    filter: grayscale(30%);
    transition: filter 0.2s ease, transform 0.2s ease;
    background: #FFFEF5;
    padding: 12px 16px;
}

.sponsor-logos img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.sponsor-tier.ana .sponsor-logos img {
    max-height: 100px;
    max-width: 220px;
}

.sponsor-logos .no-sponsor {
    color: var(--text-color);
    opacity: 0.5;
    font-style: italic;
    margin: 20px 0;
}

/* ========== CATEGORIES GRID ========== */
.ituro-categories {
    padding: 40px 5%;
    background: var(--background-color);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    display: block;
    background: var(--menu-bg-color);
    text-decoration: none;
    transition: transform 0.2s ease;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-4px) scale(1.02);
}

.category-card .category-preview {
    width: 100%;
    height: auto;
    display: block;
}

/* ========== ARCHIVE ACCORDION ========== */
.ituro-archive {
    padding: 40px 5%;
    background: var(--background-color);
}

.archive-list {
    max-width: 800px;
    margin: 0 auto;
}

.archive-year {
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--menu-bg-color);
}

.archive-year-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-color);
    transition: background 0.2s ease;
}

.archive-year-header:hover {
    background: rgba(213, 104, 40, 0.1);
}

.archive-year-header i {
    transition: transform 0.2s ease;
}

.archive-year.open .archive-year-header i {
    transform: rotate(180deg);
}

.archive-year-content {
    display: none;
    padding: 0 20px 20px;
    color: var(--text-color);
}

.archive-year.open .archive-year-content {
    display: block;
}

/* Archive Content Sections */
.archive-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.archive-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.archive-section h4 {
    color: var(--ituro-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.archive-section h4 i {
    font-size: 1rem;
}

.archive-summary p {
    margin-bottom: 8px;
    line-height: 1.7;
}

.archive-panel-title {
    font-weight: 600;
    font-style: italic;
    margin-bottom: 10px;
    color: var(--text-color);
}

.archive-list-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.archive-list-items li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.archive-list-items li:last-child {
    border-bottom: none;
}

.archive-list-items li strong {
    color: var(--text-color);
}

.archive-speaker {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* Archive Sponsors */
.archive-sponsors h4 {
    margin-bottom: 16px;
}

.archive-sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.archive-sponsor-category h5 {
    color: var(--ituro-color);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--ituro-color);
}

.archive-sponsor-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.archive-sponsor-category ul li {
    padding: 4px 0;
    font-size: 0.9rem;
    color: var(--text-color);
}

@media (max-width: 600px) {
    .archive-sponsor-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .archive-sponsor-category h5 {
        font-size: 0.85rem;
    }

    .archive-sponsor-category ul li {
        font-size: 0.8rem;
    }
}

/* ========== GALLERY ========== */
.ituro-gallery {
    padding: 40px 5%;
    background: var(--background-color);
}

/* Gallery Filters */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-filter-btn {
    padding: 10px 20px;
    background: var(--menu-bg-color);
    border: 2px solid transparent;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gallery-filter-btn:hover {
    border-color: var(--ituro-color);
}

.gallery-filter-btn.active {
    background: var(--ituro-color);
    color: #ffffff;
    border-color: var(--ituro-color);
}

/* Gallery Year Section */
.gallery-year-section {
    margin-bottom: 50px;
}

.gallery-year-section:last-child {
    margin-bottom: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: var(--menu-bg-color);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-item img.lazy {
    opacity: 0;
}

.gallery-item img.loaded {
    opacity: 1;
}

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

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.gallery-item-overlay i {
    color: #ffffff;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.gallery-item:hover .gallery-item-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.gallery-item:hover .gallery-item-overlay i {
    opacity: 1;
}

/* Load More Button */
.gallery-load-more {
    text-align: center;
    margin-top: 30px;
}

/* Empty Gallery State */
.gallery-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-color);
    opacity: 0.7;
}

.gallery-empty i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--ituro-color);
}

.gallery-empty p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.gallery-empty-sub {
    font-size: 0.95rem;
    opacity: 0.7;
}

/* ========== LIGHTBOX ========== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: #ffffff;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 2001;
}

.lightbox-close:hover {
    color: var(--ituro-color);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #ffffff;
    cursor: pointer;
    padding: 20px;
    transition: color 0.2s ease;
    z-index: 2001;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--ituro-color);
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .gallery-filter-btn {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 1.5rem;
        padding: 10px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

/* ========== FAQ ACCORDION (same pattern as archive) ========== */
.ituro-faq {
    padding: 40px 5%;
    background: var(--background-color);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 8px;
    overflow: hidden;
    background: var(--menu-bg-color);
}

.faq-item .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 18px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-color);
    background: transparent;
    border: none;
    text-align: left;
}

.faq-item .faq-question i {
    transition: transform 0.15s ease;
    font-size: 0.9rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item .faq-answer {
    display: none;
    padding: 0 24px 20px;
    color: var(--text-color);
    line-height: 1.6;
}

.faq-item .faq-answer p {
    margin: 0;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ========== TEAM GRID ========== */
.ituro-team {
    padding: 40px 5%;
    background: var(--background-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
    border: 3px solid var(--ituro-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.team-member h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 4px;
    color: var(--text-color);
}

.team-member p {
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.7;
    margin: 0;
}

/* ========== MOBILE RESPONSIVE ========== */
@media (max-width: 768px) {
    .ituro-hero h1 {
        font-size: 2rem;
    }

    .ituro-hero .event-date {
        font-size: 1.1rem;
    }

    .countdown-item {
        padding: 12px 16px;
        min-width: 60px;
    }

    .countdown-item .number {
        font-size: 1.8rem;
    }

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

    /* Sections padding on mobile */
    .ituro-announcements,
    .ituro-sponsors,
    .ituro-categories,
    .ituro-archive,
    .ituro-gallery,
    .ituro-faq,
    .ituro-team {
        padding: 25px 4%;
    }

    .ituro-section-title {
        margin-bottom: 20px;
    }

    .announcements-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sponsor-logos {
        gap: 15px;
    }

    .sponsor-logos img {
        max-height: 60px;
        max-width: 140px;
        padding: 8px 12px;
    }

    .sponsor-tier.ana .sponsor-logos img {
        max-height: 80px;
        max-width: 180px;
    }
}

@media (max-width: 480px) {
    .ituro-hero-logo {
        width: 120px;
    }

    .ituro-hero h1 {
        font-size: 1.6rem;
    }

    .ituro-hero .event-location {
        font-size: 0.9rem;
    }

    .countdown-container {
        gap: 8px;
    }

    .countdown-item {
        padding: 8px 10px;
        min-width: 45px;
    }

    .countdown-item .number {
        font-size: 1.4rem;
    }

    .countdown-item .label {
        font-size: 0.65rem;
    }

    .ituro-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .ituro-cta-group {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        padding: 0 20px;
    }

    .ituro-cta-group .ituro-btn {
        width: 100%;
        text-align: center;
    }

    .ituro-section-title {
        font-size: 1.3rem;
        margin-bottom: 30px;
    }
}

/* ========== CONTACT PAGE ========== */
.ituro-contact {
    padding: 60px 5%;
    background: var(--background-color);
}

.contact-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Contact Info Section */
.contact-info {
    background: var(--menu-bg-color);
    padding: 40px;
    border: 1px solid var(--border-color);
}

.contact-info h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--ituro-color);
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    font-size: 1.4rem;
    color: var(--ituro-color);
    width: 30px;
    flex-shrink: 0;
    text-align: center;
}

.contact-item h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 6px;
}

.contact-item p,
.contact-item a {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.85;
    margin: 0;
    text-decoration: none;
    line-height: 1.5;
}

.contact-item a:hover {
    color: var(--ituro-color);
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-size: 1.1rem;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.social-links a:hover {
    background: var(--ituro-color);
    border-color: var(--ituro-color);
    color: #ffffff;
}

/* Contact Map Section */
.contact-map {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.contact-map h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-map h3 i {
    color: var(--ituro-color);
    font-size: 1rem;
}

.contact-map iframe {
    width: 100%;
    height: 200px;
    border: 1px solid var(--border-color);
}

.contact-map .map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--ituro-color);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.contact-map .map-link:hover {
    opacity: 0.8;
}

/* Contact Form Section */
.contact-form-wrapper {
    background: var(--menu-bg-color);
    padding: 40px;
    border: 1px solid var(--border-color);
}

.contact-form-wrapper h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--ituro-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-color);
    opacity: 0.4;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--ituro-color);
    background: rgba(255, 255, 255, 0.05);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--menu-bg-color);
    color: var(--text-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    color: #ffffff;
    background: var(--ituro-color);
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    align-self: flex-start;
}

.form-submit-btn:hover {
    background: #c45c1e;
    transform: translateY(-2px);
}

.form-submit-btn i {
    font-size: 0.9rem;
}

/* Responsive Contact Page */
@media (max-width: 899px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info,
    .contact-form-wrapper {
        padding: 30px;
    }
}

@media (max-width: 600px) {
    .ituro-contact {
        padding: 40px 4%;
    }

    .contact-info,
    .contact-form-wrapper {
        padding: 24px;
    }

    .contact-info h2,
    .contact-form-wrapper h2 {
        font-size: 1.3rem;
    }

    .form-submit-btn {
        width: 100%;
    }

    .social-links a {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

/* Mobile button fixes and footer padding */
@media (max-width: 600px) {

    /* Fix button overflow in hero CTA group */
    .ituro-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        padding: 0 20px;
    }

    .ituro-cta-group .ituro-btn {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    /* Add bottom padding for footer on all pages */
    main {
        padding-bottom: 80px;
    }
}