/* ===================================
   Responsive Design
   =================================== */

/* Tablet: 768px - 1023px */
@media screen and (max-width: 1023px) {
    :root {
        --font-size-h1: 42px;
        --font-size-h2: 32px;
        --font-size-h3: 22px;
        --section-margin: 60px;
    }

    .hero__logo-image {
        max-width: 600px;
    }

    .hero__date,
    .hero__venue {
        font-size: 20px;
    }

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

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

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

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

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

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

    .sponsors__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cta__title {
        font-size: 36px;
    }

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

    /* Countdown */
    .countdown__number {
        font-size: 32px;
    }

    .countdown__item {
        min-width: 70px;
        padding: 12px 16px;
    }

    /* Program Section */
    .timeline__time {
        width: 80px;
    }

    .timeline__hour {
        font-size: 20px;
    }

    /* Tickets Section */
    .tickets__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ticket-card__amount {
        font-size: 28px;
    }

    /* Sponsors Tiered */
    .sponsors__grid--platinum {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .sponsors__grid--silver {
        grid-template-columns: repeat(3, 1fr);
    }

    .speaker-modal__body {
        padding: 2rem;
    }

    .speaker-modal__image {
        width: 180px;
        height: 180px;
    }
}

/* Mobile: 767px and below */
@media screen and (max-width: 767px) {
    /* Photo Marquee */
    .marquee-item {
        width: 200px;
        height: 130px;
    }

    /* Program */
    .program__timetable {
        overflow-x: auto;
    }

    .program__header,
    .program__row {
        min-width: 600px;
    }

    :root {
        --font-size-h1: 32px;
        --font-size-h2: 28px;
        --font-size-h3: 20px;
        --font-size-body: 14px;
        --font-size-small: 12px;
        --section-margin: 50px;
        --container-padding: 15px;
    }

    /* Header & Navigation */
    .nav {
        height: 60px;
    }

    .nav__menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        background-color: var(--color-white);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transition: 0.3s ease;
        padding: 2rem 0;
    }

    .nav__menu.show {
        left: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 0;
        text-align: center;
    }

    .nav__item {
        padding: 1rem 0;
        border-bottom: 1px solid var(--color-light-gray);
    }

    .nav__link::after {
        display: none;
    }

    .nav__toggle {
        display: flex;
    }

    /* Hero Section */
    .hero {
        min-height: 90vh;
        padding-top: 60px;
    }

    .hero__logo-image {
        max-width: 500px;
    }

    .hero__date,
    .hero__venue {
        font-size: 18px;
    }

    /* About Section */
    .about__compact {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about__image-compact {
        max-width: 400px;
        margin: 0 auto;
    }

    .about__value {
        font-size: 16px;
    }

    /* Features Section */
    .feature-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .feature-item__number {
        font-size: 42px;
        min-width: auto;
    }

    .cta-box {
        padding: 1.5rem;
    }

    /* Venue Section */
    .venue__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .venue__info h3 {
        font-size: 24px;
    }

    .venue__address {
        font-size: 16px;
    }

    .venue__facilities h4 {
        font-size: 18px;
    }

    .map-placeholder {
        height: 300px;
        font-size: 16px;
    }

    /* Results Section */
    .results__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-card {
        padding: 1.5rem 1rem;
    }

    .stat-card__number {
        font-size: 48px;
    }

    .results__companies {
        padding: 1.5rem;
    }

    .companies-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Media Info Section */
    .media-info__description {
        font-size: 16px;
        margin-bottom: 2rem;
    }

    .media-info__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .media-stat {
        padding: 1.5rem;
    }

    .media-stat__number {
        font-size: 32px;
    }

    .media-stat__label {
        font-size: 14px;
    }

    /* Sponsors Section */
    .sponsors__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .sponsor-logo {
        padding: 1.5rem;
        min-height: 100px;
    }

    .sponsor-placeholder {
        font-size: 16px;
    }

    /* Sponsors Tiered - Mobile */
    .sponsors__grid--platinum,
    .sponsors__grid--gold {
        grid-template-columns: 1fr;
        max-width: 300px;
    }

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

    .sponsor-logo--platinum {
        min-height: 120px;
    }

    .sponsor-logo--gold {
        min-height: 100px;
    }

    .sponsor-logo--silver {
        min-height: 80px;
    }

    /* Countdown - Mobile */
    .hero__countdown {
        gap: 8px;
    }

    .countdown__item {
        min-width: 60px;
        padding: 10px 12px;
    }

    .countdown__number {
        font-size: 24px;
    }

    .countdown__label {
        font-size: 10px;
    }

    .countdown__separator {
        font-size: 24px;
        margin: 0 -4px;
    }

    /* Program Section - Mobile */
    .program__categories {
        gap: 8px;
    }

    .program__category {
        padding: 8px 16px;
        font-size: 12px;
    }

    .timeline__item {
        flex-direction: column;
        gap: 0;
    }

    .timeline__time {
        width: 100%;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding: 0 0 8px 0;
    }

    .timeline__hour {
        font-size: 18px;
    }

    .timeline__content {
        border-left: none;
        border-top: 4px solid var(--color-light-gray);
        padding: 1rem;
    }

    .timeline__content--highlight {
        border-top-color: var(--color-primary);
    }

    .timeline__hall {
        position: static;
        display: inline-block;
        margin-bottom: 8px;
    }

    .timeline__title {
        padding-right: 0;
        font-size: 16px;
    }

    .timeline__description {
        font-size: 14px;
    }

    .timeline__speaker {
        font-size: 12px;
    }

    /* Tickets Section - Mobile */
    .tickets__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .ticket-card__header {
        padding: 1.5rem;
    }

    .ticket-card--featured .ticket-card__header {
        padding-top: calc(1.5rem + 20px);
    }

    .ticket-card__name {
        font-size: 18px;
    }

    .ticket-card__amount {
        font-size: 28px;
    }

    .ticket-card__body {
        padding: 1.5rem;
    }

    .ticket-card__feature {
        font-size: 13px;
    }

    /* Speakers Section */
    .speakers__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .speaker-card__info {
        padding: 0.75rem;
    }

    .speaker-card__name {
        font-size: 14px;
    }

    .speaker-card__company {
        font-size: 11px;
    }

    .speaker-card__title {
        font-size: 10px;
    }

    /* Speaker Modal */
    .speaker-modal__body {
        flex-direction: column;
        padding: 1.5rem;
        padding-top: 3rem;
    }

    .speaker-modal__image {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }

    .speaker-modal__name {
        font-size: 22px;
        text-align: center;
    }

    .speaker-modal__company,
    .speaker-modal__title {
        text-align: center;
    }

    .speaker-modal__profile {
        font-size: 14px;
    }

    /* CTA Section */
    .cta__title {
        font-size: 28px;
    }

    .cta__text {
        font-size: 16px;
    }

    .btn--large {
        padding: 14px 32px;
        font-size: 16px;
    }

    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer__content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer__title {
        font-size: 16px;
    }

    .footer__bottom p {
        font-size: 12px;
    }
}

/* Extra Small Mobile: 480px and below */
@media screen and (max-width: 480px) {
    .hero__logo-image {
        max-width: 300px;
    }

    .hero__date,
    .hero__venue {
        font-size: 14px;
    }

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

    .companies-list {
        grid-template-columns: 1fr;
    }

    .feature-item__number {
        font-size: 36px;
    }

    .media-info__stats {
        grid-template-columns: 1fr;
    }

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

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Landscape Mobile */
@media screen and (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 0 50px;
    }

    .hero__logo-image {
        max-width: 400px;
    }

    .hero__logo {
        margin-bottom: 1.5rem;
    }

    .hero__info {
        margin-bottom: 1.5rem;
    }

    .hero__date,
    .hero__venue {
        font-size: 16px;
    }
}

/* Print Styles */
@media print {
    .header,
    .nav__toggle,
    .btn,
    .cta {
        display: none;
    }

    body {
        font-size: 12pt;
    }

    .section {
        page-break-inside: avoid;
        padding: 20px 0;
    }

    a {
        text-decoration: underline;
    }
}
