@media (max-width: 1220px) {
    .site-header {
        grid-template-columns: 220px 1fr auto;
        padding: 0 26px;
        gap: 22px;
    }

    .main-nav {
        gap: 18px;
        font-size: 10px;
    }

    .header-cta {
        padding: 15px 18px;
    }

    .moon-stage {
        right: 36px;
        width: clamp(330px, 34vw, 500px);
        height: clamp(330px, 34vw, 500px);
    }

    .card-grid {
        gap: 20px;
    }
}

@media (max-width: 1040px) {
    .site-header {
        height: 82px;
        grid-template-columns: 1fr auto;
        padding: 0 22px;
    }

    .brand span {
        font-size: 25px;
    }

    .brand small {
        font-size: 10px;
    }

    .main-nav,
    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: inline-block;
    }

    .main-nav.is-open {
        position: fixed;
        inset: 82px 0 auto 0;
        display: grid;
        gap: 0;
        padding: 18px 24px 28px;
        background: rgba(0,0,0,.97);
        border-top: 1px solid rgba(255,255,255,.14);
        max-height: calc(100vh - 82px);
        overflow-y: auto;
    }

    .main-nav.is-open a {
        padding: 17px 0;
        border-bottom: 1px solid rgba(255,255,255,.12);
        font-size: 12px;
    }

    .hero-section {
        min-height: 820px;
        padding: 104px 24px 64px;
        align-items: flex-start;
    }

    .hero-content {
        width: 100%;
        padding-top: 16px;
    }

    .hero-content h1 {
        font-size: clamp(76px, 18vw, 132px);
        line-height: .74;
    }

    .hero-content h1 span {
        margin-top: .10em;
        font-size: .82em;
        text-align: center;
        transform: translateX(.014em);
    }

    .hero-text {
        max-width: 400px;
        margin-top: 34px;
        font-size: 16px;
    }

    .moon-stage {
        top: auto;
        right: 50%;
        bottom: 80px;
        transform: translateX(50%);
        width: min(70vw, 420px);
        height: min(70vw, 420px);
    }

    .scroll-indicator {
        display: none;
    }

    .sub-hero {
        min-height: 340px;
        padding-top: 106px;
        padding-bottom: 44px;
        align-items: flex-end;
    }

    .section-grid,
    .service-detail,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .paper-section,
    .dark-section {
        padding: 70px 24px;
    }

    .about-section {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 64px 24px;
    }

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

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

    .info-panel {
        position: static;
    }

    .site-footer {
        grid-template-columns: 1fr 1fr;
        padding: 56px 24px;
    }

    .footer-bottom {
        padding: 20px 24px;
    }
}

@media (max-width: 767px) {
    .moon-stage {
        pointer-events: none;
    }

    .moon-loader {
        display: none;
    }

    .hero-section {
        min-height: 820px;
    }

    .hero-kicker {
        font-size: 27px;
    }

    .hero-content h1 {
        font-size: clamp(72px, 22vw, 112px);
        line-height: .72;
    }

    .hero-content h1 span {
        margin-top: .105em;
        line-height: .72;
        transform: translateX(.012em);
    }

    .moon-stage {
        bottom: 46px;
        width: min(78vw, 350px);
        height: min(78vw, 350px);
        opacity: .78;
    }

    .moon-preview {
        opacity: .92 !important;
    }

    .nasa-moon-viewer {
        display: none;
    }

    .sub-hero {
        min-height: 430px;
    }

    .sub-hero .page-title {
        font-size: clamp(48px, 14vw, 76px);
    }

    .page-intro {
        font-size: 15px;
        margin-top: 26px;
    }

    .discipline-strip,
    .card-grid {
        grid-template-columns: 1fr;
    }

    .discipline-card {
        min-height: 210px;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.12);
    }

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

    .gallery-item,
    .gallery-item.large,
    .gallery-item.medium,
    .gallery-item.small {
        grid-column: auto;
        min-height: 300px;
    }

    .event-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .event-row .dark-button {
        justify-self: start;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .image-frame,
    .image-frame img {
        min-height: 300px;
    }

    .quote-section {
        min-height: 280px;
    }

    .site-footer {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 0 16px;
    }

    .brand span {
        font-size: 22px;
    }

    .brand small {
        font-size: 9px;
    }

    .hero-content h1 {
        font-size: 70px;
    }

    .eyebrow {
        font-size: 11px;
        margin-bottom: 22px;
    }

    .hero-text {
        font-size: 15px;
    }

    .hero-button,
    .dark-button,
    .light-button {
        width: 100%;
        justify-content: space-between;
        padding: 17px 20px;
    }

    .moon-stage {
        width: 290px;
        height: 290px;
        max-width: 86vw;
        max-height: 86vw;
    }

    .paper-section,
    .dark-section {
        padding: 58px 18px;
    }

    .about-section {
        padding: 58px 18px;
    }

    .modern-card-content,
    .contact-card,
    .info-panel,
    .faq-item {
        padding: 24px;
    }
}

/* Panel entegrasyonu sonrası mobil görünüm düzeltmeleri */
@media (max-width: 1040px) {
    .site-header {
        z-index: 100;
    }

    .main-nav.is-open {
        left: 0;
        right: 0;
        width: 100%;
        box-shadow: 0 24px 50px rgba(0,0,0,.34);
    }

    .hero-section:not(.sub-hero) {
        min-height: 920px;
    }

    .hero-section:not(.sub-hero) .hero-content {
        padding-right: 0;
        max-width: 680px;
    }
}

@media (max-width: 767px) {
    html,
    body {
        width: 100%;
        overflow-x: hidden;
    }

    .site-header {
        height: 76px;
    }

    .main-nav.is-open {
        inset: 76px 0 auto 0;
        max-height: calc(100svh - 76px);
    }

    .hero-section {
        padding-top: 112px;
    }

    .hero-section:not(.sub-hero) {
        min-height: 860px;
        padding-bottom: 360px;
    }

    .hero-section:not(.sub-hero) .hero-content {
        padding-top: 18px;
    }

    .hero-content h1 {
        font-size: clamp(58px, 18vw, 96px);
        line-height: .82;
    }

    .hero-kicker {
        max-width: 100%;
        letter-spacing: .14em;
        line-height: 1.18;
    }

    .hero-text,
    .page-intro {
        max-width: 100%;
    }

    .moon-stage {
        bottom: 38px;
        width: min(76vw, 330px);
        height: min(76vw, 330px);
    }

    .sub-hero {
        min-height: 390px;
        padding-bottom: 54px;
    }

    .contact-card {
        word-break: break-word;
    }

    .modern-card img {
        height: 210px;
    }

    .quote-section {
        padding-inline: 18px;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 0 14px;
    }

    .brand {
        letter-spacing: .1em;
    }

    .brand span {
        font-size: clamp(18px, 6vw, 22px);
        letter-spacing: .1em;
    }

    .brand small {
        max-width: 180px;
        letter-spacing: .18em;
        white-space: normal;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
    }

    .hero-section:not(.sub-hero) {
        min-height: 820px;
        padding-bottom: 320px;
    }

    .hero-content h1 {
        font-size: clamp(54px, 17vw, 76px);
    }

    .hero-kicker {
        font-size: 22px;
    }

    .hero-button,
    .dark-button,
    .light-button {
        max-width: 100%;
        text-align: left;
        gap: 18px;
        letter-spacing: .12em;
    }

    .moon-stage {
        width: min(82vw, 280px);
        height: min(82vw, 280px);
        bottom: 34px;
    }

    .gallery-item,
    .gallery-item.large,
    .gallery-item.medium,
    .gallery-item.small {
        min-height: 240px;
    }

    .modern-card-content,
    .contact-card,
    .info-panel,
    .faq-item {
        padding: 22px;
    }
}


@media (max-width: 1220px) {
    .slider-card {
        flex-basis: calc((100vw - 124px) / 2.35);
        min-width: 330px;
    }

    .event-teaser-card {
        flex-basis: calc((100vw - 132px) / 3);
        min-width: 280px;
    }
}

@media (max-width: 1040px) {
    .event-carousel-section,
    .workshop-carousel-section {
        padding-left: 24px;
        padding-right: 24px;
    }

    .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .slider-card {
        flex-basis: min(72vw, 420px);
        min-width: min(72vw, 420px);
    }

    .event-teaser-card {
        flex-basis: min(46vw, 360px);
        min-width: min(46vw, 360px);
    }
}

@media (max-width: 767px) {
    .event-carousel-section {
        padding: 58px 18px 22px;
    }

    .workshop-carousel-section {
        padding-top: 58px;
    }

    .horizontal-scroll {
        padding-top: 30px;
        margin-left: -18px;
        margin-right: -18px;
        padding-left: 18px;
        scroll-snap-type: x mandatory;
    }

    .horizontal-track {
        gap: 18px;
        padding-right: 18px;
    }

    .auto-scroll.is-animated .horizontal-track {
        animation: none;
    }

    .slider-card,
    .event-teaser-card {
        flex-basis: 82vw;
        min-width: 82vw;
        scroll-snap-align: start;
    }

    .event-teaser-image {
        height: 170px;
    }

    .event-teaser-body {
        min-height: auto;
        padding: 22px;
    }

    .event-teaser-body h3 {
        font-size: 25px;
    }
}

@media (max-width: 480px) {
    .slider-card,
    .event-teaser-card {
        flex-basis: 86vw;
        min-width: 86vw;
    }

    .event-teaser-image {
        height: 158px;
    }
}


/* v6 - mobil/tablet iyileştirmeleri */
@media (max-width: 1220px) {
    .event-archive-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .detail-hero {
        grid-template-columns: 1fr;
    }

    .detail-hero-image {
        min-height: 420px;
        order: 2;
    }

    .detail-hero-content {
        order: 1;
        padding: 56px 40px;
    }
}

@media (max-width: 1040px) {
    .about-section {
        padding-top: 54px;
        padding-bottom: 54px;
    }

    .quote-section blockquote {
        white-space: normal;
        font-size: clamp(32px, 8vw, 56px);
    }

    .item-modal-panel {
        grid-template-columns: 1fr;
    }

    .item-modal-image {
        min-height: 300px;
    }

    .item-modal-content {
        padding: 34px;
    }

    .map-section {
        padding: 0 24px 70px;
    }

    .detail-section {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .detail-meta {
        position: static;
    }

    .detail-hero {
        padding-top: 82px;
    }
}

@media (max-width: 767px) {
    .discipline-strip + .event-carousel-section {
        padding-top: 68px;
    }

    .event-archive-list {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .event-archive-image {
        height: 210px;
    }

    .event-archive-content {
        padding: 24px;
    }

    .event-archive-content h3 {
        font-size: 30px;
    }

    .detail-hero-content {
        padding: 42px 20px;
    }

    .detail-hero-image {
        min-height: 300px;
    }

    .detail-hero-content h1 {
        font-size: clamp(42px, 13vw, 70px);
    }

    .detail-hero-content p,
    .detail-content p {
        font-size: 16px;
    }

    .item-modal {
        padding: 12px;
        align-items: flex-end;
    }

    .item-modal-panel {
        width: 100%;
        max-height: 92svh;
    }

    .item-modal-image {
        min-height: 210px;
        height: 210px;
    }

    .item-modal-content {
        padding: 26px 20px;
    }

    .item-modal-actions .dark-button,
    .item-modal-actions .light-button {
        width: 100%;
    }

    .map-frame {
        height: 330px;
    }

    .map-section {
        padding: 0 18px 58px;
    }
}

@media (max-width: 480px) {
    .event-archive-image {
        height: 190px;
    }

    .detail-meta div strong {
        font-size: 52px;
    }

    .quote-section blockquote {
        font-size: clamp(28px, 9vw, 42px);
        line-height: 1.15;
    }
}


/* v7 - mobil görünüm sıkılaştırma */
@media (max-width: 1040px) {
    .hero-section {
        min-height: 740px;
        padding-top: 88px;
        padding-bottom: 48px;
    }

    .hero-content {
        padding-top: 0;
    }

    .moon-stage {
        bottom: 58px;
        width: min(62vw, 380px);
        height: min(62vw, 380px);
    }

    .about-section {
        padding-top: 46px;
        padding-bottom: 46px;
        gap: 30px;
    }

    .about-image,
    .about-image img,
    .image-frame,
    .image-frame img {
        min-height: 280px;
    }

    .detail-hero {
        min-height: auto;
        padding-top: 82px;
    }

    .detail-hero-image {
        min-height: 330px;
        max-height: 430px;
    }

    .detail-hero-content {
        padding: 42px 34px;
    }

    .quote-section {
        min-height: 220px;
        padding: 42px 22px;
    }

    .quote-section blockquote {
        font-size: clamp(30px, 6vw, 54px);
        line-height: 1.12;
    }
}

@media (max-width: 767px) {
    .hero-section {
        min-height: 690px;
        padding-top: 86px;
        padding-bottom: 38px;
    }

    .hero-content h1 {
        font-size: clamp(58px, 18vw, 96px);
    }

    .hero-kicker {
        font-size: clamp(24px, 8vw, 38px);
    }

    .hero-text {
        margin-top: 22px;
        max-width: 320px;
    }

    .moon-stage {
        bottom: 36px;
        width: min(68vw, 290px);
        height: min(68vw, 290px);
    }

    .about-section {
        padding: 38px 18px;
    }

    .about-copy h2 {
        font-size: clamp(34px, 10vw, 46px);
    }

    .about-image,
    .about-image img {
        min-height: 220px;
    }

    .paper-section,
    .dark-section {
        padding-top: 54px;
        padding-bottom: 54px;
    }

    .image-frame,
    .image-frame img {
        min-height: 230px;
    }

    .detail-hero-image {
        min-height: 240px;
        max-height: 300px;
    }

    .detail-hero-content {
        padding: 32px 20px;
    }

    .detail-hero-content h1 {
        font-size: clamp(38px, 12vw, 58px);
    }

    .quote-section {
        min-height: 190px;
        padding: 34px 18px;
    }

    .quote-section blockquote {
        width: 96vw;
        font-size: clamp(28px, 8vw, 40px);
        line-height: 1.16;
    }

    .event-archive-image {
        height: 190px;
    }

    .modern-card img {
        height: 190px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 650px;
    }

    .moon-stage {
        width: min(72vw, 260px);
        height: min(72vw, 260px);
    }

    .quote-section blockquote {
        font-size: clamp(25px, 7.5vw, 34px);
    }
}


/* v10 mobile hero spacing and moon layering fixes */
@media (max-width: 1040px) {
    .site-header {
        height: 76px;
    }

    .main-nav.is-open {
        inset: 76px 0 auto 0;
        max-height: calc(100vh - 76px);
    }

    .hero-section:not(.sub-hero) {
        min-height: 100svh;
        padding: 92px 24px 64px;
        display: flex;
        align-items: center;
    }

    .hero-section:not(.sub-hero) .hero-content {
        padding-top: 0;
        width: 100%;
        max-width: 620px;
        position: relative;
        z-index: 6;
    }

    .hero-section:not(.sub-hero) .moon-stage {
        top: 51%;
        right: -10vw;
        bottom: auto;
        transform: translateY(-50%);
        width: min(86vw, 430px);
        height: min(86vw, 430px);
        opacity: .55;
        z-index: 2;
        pointer-events: none;
    }

    .sub-hero {
        min-height: 280px;
        padding-top: 84px;
        padding-bottom: 34px;
        align-items: flex-end;
    }

    .sub-hero .page-title {
        font-size: clamp(44px, 12vw, 68px);
        line-height: .86;
    }
}

@media (max-width: 720px) {
    .site-header {
        height: 72px;
        padding: 0 16px;
    }

    .brand span {
        font-size: 23px;
    }

    .brand small {
        font-size: 9px;
    }

    .hero-section:not(.sub-hero) {
        min-height: 100svh;
        padding: 82px 18px 46px;
        align-items: center;
    }

    .hero-kicker {
        font-size: 12px;
        margin-bottom: 22px;
    }

    .hero-content h1 {
        font-size: clamp(72px, 19vw, 100px);
        line-height: .78;
        max-width: 94vw;
    }

    .hero-text {
        margin-top: 28px;
        max-width: 92vw;
        font-size: 16px;
        line-height: 1.82;
    }

    .hero-actions {
        margin-top: 26px;
        max-width: 100%;
    }

    .hero-section:not(.sub-hero) .moon-stage {
        top: 56%;
        right: -20vw;
        width: min(94vw, 390px);
        height: min(94vw, 390px);
        opacity: .48;
    }

    .sub-hero {
        min-height: 250px;
        padding: 76px 18px 28px;
    }

    .sub-hero .page-title {
        font-size: clamp(42px, 11.5vw, 60px);
    }

    .detail-hero {
        padding-top: 72px;
    }

    .detail-hero-content {
        padding: 30px 18px 28px;
    }

    .detail-hero-content h1 {
        font-size: clamp(36px, 10.5vw, 54px);
        line-height: .92;
    }

    .detail-hero-image {
        min-height: 220px;
        max-height: 280px;
    }
}

@media (max-width: 480px) {
    .site-header {
        height: 68px;
        padding: 0 14px;
    }

    .menu-toggle {
        width: 58px;
        height: 58px;
    }

    .hero-section:not(.sub-hero) {
        min-height: 100svh;
        padding: 76px 15px 34px;
    }

    .hero-content h1 {
        font-size: clamp(62px, 18vw, 82px);
        letter-spacing: .01em;
    }

    .hero-text {
        font-size: 15px;
        line-height: 1.72;
        margin-top: 22px;
    }

    .hero-actions .btn {
        width: 100%;
        min-height: 58px;
    }

    .hero-section:not(.sub-hero) .moon-stage {
        top: 58%;
        right: -28vw;
        width: min(108vw, 360px);
        height: min(108vw, 360px);
        opacity: .42;
    }

    .sub-hero {
        min-height: 220px;
        padding-top: 72px;
        padding-bottom: 24px;
    }

    .sub-hero .page-title {
        font-size: clamp(36px, 11vw, 52px);
        line-height: .9;
    }

    .breadcrumb {
        margin-bottom: 22px;
        font-size: 10px;
    }

    .quote-section {
        min-height: 170px;
        padding: 32px 16px;
    }

    .quote-section blockquote {
        width: min(92vw, 680px);
        max-width: 92vw;
        font-size: clamp(24px, 7vw, 34px);
        line-height: 1.18;
        white-space: normal;
        overflow-wrap: normal;
        text-wrap: balance;
    }
}

/* v11 mobile breathing space adjustment */
@media (max-width: 1040px) {
    .hero-section:not(.sub-hero) {
        padding-top: 104px;
        padding-bottom: 52px;
    }

    .sub-hero {
        min-height: 305px;
        padding-top: 108px;
        padding-bottom: 42px;
    }

    .detail-hero {
        padding-top: 92px;
    }
}

@media (max-width: 720px) {
    .hero-section:not(.sub-hero) {
        padding-top: 98px;
        padding-bottom: 42px;
    }

    .sub-hero {
        min-height: 286px;
        padding-top: 104px;
        padding-bottom: 38px;
    }

    .sub-hero .page-title {
        margin-top: 10px;
    }

    .detail-hero {
        padding-top: 88px;
    }
}

@media (max-width: 480px) {
    .hero-section:not(.sub-hero) {
        padding-top: 94px;
        padding-bottom: 38px;
    }

    .sub-hero {
        min-height: 272px;
        padding-top: 98px;
        padding-bottom: 34px;
    }

    .breadcrumb {
        margin-top: 6px;
        margin-bottom: 24px;
    }

    .sub-hero .page-title {
        margin-top: 8px;
    }
}


/* v17 - mobil alt sayfa hero konum düzeltmesi */
@media (max-width: 1040px) {
    .sub-hero {
        min-height: 300px !important;
        padding-top: 112px !important;
        padding-bottom: 42px !important;
        align-items: flex-start !important;
    }
}

@media (max-width: 720px) {
    .sub-hero {
        min-height: 270px !important;
        padding-top: 104px !important;
        padding-bottom: 34px !important;
    }

    .sub-hero .breadcrumb {
        margin-bottom: 18px !important;
    }

    .sub-hero .eyebrow {
        margin-bottom: 18px !important;
    }
}

@media (max-width: 480px) {
    .sub-hero {
        min-height: 250px !important;
        padding-top: 96px !important;
        padding-bottom: 30px !important;
    }
}

/* v22 responsive hero logo kilitleme */
@media (max-width: 1040px) {
    .hero-content h1 {
        line-height: .68;
    }

    .hero-content h1 .hero-logo-ay {
        margin-top: 18px;
        margin-left: 92px;
        font-size: .72em;
        transform: translateX(-0.03em);
    }
}

@media (max-width: 767px) {
    .hero-content h1 {
        line-height: .70;
        letter-spacing: -.018em;
    }

    .hero-content h1 .hero-logo-ay {
        margin-top: 13px;
        margin-left: 68px;
        font-size: .72em;
        transform: translateX(-0.025em);
    }
}

@media (max-width: 480px) {
    .hero-content h1 .hero-logo-ay {
        margin-top: 10px;
        margin-left: 48px;
        font-size: .72em;
        transform: translateX(-0.02em);
    }
}
