/* Tablet ve mobil düzenleri */

@media (max-width: 1199.98px) {
    .aboutText {
        padding-left: 24px;
    }

    .projectItem .projectItemContent .projectItemText h3,
    .projectItem .projectItemContent .projectItemText h3 span {
        font-size: 48px;
        line-height: 1.08;
    }

    .contactForm {
        padding: 48px;
    }

    .footerNav {
        gap: 26px;
    }
}

@media (max-width: 991.98px) {
    html {
        scroll-behavior: smooth;
    }

    header {
        padding: 14px 0;
        background: rgba(8, 6, 5, 0.96);
        backdrop-filter: blur(8px);
    }

    header .container {
        position: relative;
    }

    header .logo a {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .mobileMenuToggle {
        display: inline-flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 10px;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .mobileMenuToggle > span:not(.sr-only) {
        display: block;
        width: 24px;
        height: 1px;
        margin: 3px 0;
        background: #c9a875;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .mobileMenuToggle[aria-expanded="true"] > span:nth-child(2) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobileMenuToggle[aria-expanded="true"] > span:nth-child(3) {
        opacity: 0;
    }

    .mobileMenuToggle[aria-expanded="true"] > span:nth-child(4) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .topMenu {
        position: absolute;
        top: calc(100% + 14px);
        right: 15px;
        left: 15px;
        visibility: hidden;
        padding: 12px 20px;
        border: 1px solid rgba(201, 168, 117, 0.2);
        background: #100d0b;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    }

    .topMenu.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .topMenu ul {
        display: block;
    }

    .topMenu ul li + li {
        border-top: 1px solid rgba(201, 168, 117, 0.12);
    }

    .topMenu ul li a {
        padding: 16px 0;
        font-size: 12px;
        letter-spacing: 2.4px;
    }

    #aboutSection {
        min-height: max(640px, 56.25vw);
        padding: 100px 0;
    }

    #aboutSection::before {
        background-position: 62% center;
    }

    #aboutSection::after {
        background: linear-gradient(90deg, rgba(8, 6, 5, 0.94) 0%, rgba(8, 6, 5, 0.78) 44%, rgba(8, 6, 5, 0.34) 100%), linear-gradient(180deg, #080605 0%, rgba(8, 6, 5, 0) 22%, rgba(8, 6, 5, 0) 70%, #080605 100%);
    }

    #aboutSection .aboutFullWidthText {
        max-width: 540px;
    }

    #aboutSection .aboutFullWidthText h2 {
        font-size: 50px;
    }

    #heroSection:before {
        background-attachment: scroll;
    }

    .aboutPhoto {
        max-width: 500px;
        margin: 0 auto 54px;
    }

    .aboutArchiveCards {
        max-width: 650px;
    }

    .aboutText {
        max-width: 650px;
        padding-left: 0;
    }

    #projectsSection h2 {
        padding: 70px 0 28px;
        font-size: 50px;
    }

    .projectItem .projectItemContent img {
        height: 590px;
    }

    .projectItem .projectItemContent .projectItemText h3,
    .projectItem .projectItemContent .projectItemText h3 span {
        font-size: 42px;
    }

    .projectItem .projectItemContent .projectItemText p {
        max-width: 480px;
    }

    .projectList .projectItem:nth-child(even) .projectItemContent .projectItemText h3,
    .projectList .projectItem:nth-child(even) .projectItemContent .projectItemText p {
        margin-left: auto;
    }

    #contactSection {
        padding: 100px 0;
    }

    .contactInfo {
        max-width: 620px;
    }

    .contactDetails {
        max-width: none;
    }

    .contactForm {
        padding: 42px;
    }

    .siteFooter {
        padding: 70px 0;
    }

    .footerNav {
        justify-content: flex-start;
    }
}

@media (min-width: 992px) {
    .mobileMenuToggle {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .container {
        padding-right: 20px;
        padding-left: 20px;
    }

    header {
        padding: 10px 0;
    }

    header .logo a {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .topMenu {
        top: calc(100% + 10px);
        right: 20px;
        left: 20px;
    }

    #heroSection {
        min-height: 640px;
        padding: 100px 0 72px;
    }

    #heroSection:before {
        background-attachment: scroll;
    }

    .introHeroContent > p {
        margin-bottom: 16px;
        font-size: 11px;
        letter-spacing: 2.2px;
    }

    .introHeroContent h1 {
        font-size: clamp(40px, 11vw, 54px);
        letter-spacing: -1.2px;
    }

    .heroButton {
        margin-top: 30px;
        padding: 15px 22px;
    }

    #aboutSection {
        min-height: 620px;
        padding: 90px 0;
    }

    #aboutSection::before {
        background-position: 64% center;
    }

    #aboutSection::after {
        background: linear-gradient(90deg, rgba(8, 6, 5, 0.93) 0%, rgba(8, 6, 5, 0.8) 54%, rgba(8, 6, 5, 0.52) 100%), linear-gradient(180deg, #080605 0%, rgba(8, 6, 5, 0) 24%, rgba(8, 6, 5, 0) 68%, #080605 100%);
    }

    #aboutSection .aboutFullWidthText h2 {
        padding-left: 16px;
        font-size: 42px;
    }

    #aboutSection .aboutFullWidthText p {
        max-width: 420px;
        margin-top: 22px;
        font-size: 16px;
        line-height: 1.65;
    }

    .aboutMoreButton {
        margin: 24px 0 0 16px;
    }

    .aboutPhoto {
        max-width: 360px;
        margin-bottom: 38px;
        padding: 10px;
    }

    .aboutSeal {
        right: -10px;
        bottom: 20px;
        width: 76px;
        height: 76px;
    }

    .aboutSeal strong {
        font-size: 15px;
    }

    .aboutPhoto .aboutPhotoContent img {
        height: min(105vw, 440px);
    }

    .aboutText strong {
        padding: 8px 0 8px 16px;
        font-size: 30px;
        line-height: 1.15;
    }

    .aboutText p {
        margin-top: 22px;
        font-size: 16px;
        line-height: 1.65;
    }

    .aboutArchiveCards {
        grid-template-columns: 1fr 1fr;
        margin-top: 30px;
    }

    .archiveYear {
        grid-column: 1 / -1;
        min-height: 92px;
    }

    .archiveCard {
        min-height: 112px;
    }

    #projectsSection h2 {
        padding: 56px 0 22px;
        font-size: 42px;
        line-height: 1.1;
    }

    .projectItem .projectItemContent img {
        height: 620px;
    }

    .projectItem .projectItemContent:before,
    .projectList .projectItem:nth-child(even) .projectItemContent:before {
        background: linear-gradient(0deg, rgba(8, 6, 5, 0.96) 0%, rgba(8, 6, 5, 0.78) 54%, rgba(8, 6, 5, 0.28) 100%);
    }

    .projectItem .projectItemContent .projectItemText {
        top: auto;
        bottom: 0;
        transform: none;
        padding: 0 0 42px;
    }

    .projectItem .projectItemContent .projectItemText h3,
    .projectItem .projectItemContent .projectItemText h3 span {
        margin: 0;
        font-size: 34px;
        letter-spacing: -0.8px;
        line-height: 1.1;
    }

    .projectItem .projectItemContent .projectItemText p {
        margin: 16px 0 20px;
        font-size: 14px;
        line-height: 1.55;
    }

    .projectList .projectItem:nth-child(even) .projectItemContent .projectItemText {
        right: auto;
        text-align: left;
    }

    .projectList .projectItem:nth-child(even) .projectItemContent .projectItemText h3,
    .projectList .projectItem:nth-child(even) .projectItemContent .projectItemText p {
        margin-left: 0;
    }

    .projectItem .projectItemContent .projectItemText a {
        padding: 12px 22px;
        font-size: 12px;
    }

    #contactSection {
        padding: 74px 0;
    }

    .contactInfo h2 {
        font-size: 42px;
    }

    .contactInfo > p {
        font-size: 16px;
    }

    .contactDetails {
        margin-top: 36px;
        padding: 32px 0;
    }

    .contactDetail a,
    .contactDetail address {
        font-size: 21px;
    }

    .contactForm {
        padding: 30px 22px;
    }

    .contactForm .form-group {
        margin-bottom: 24px;
    }

    .contactForm .form-control {
        height: 56px;
        padding: 12px 16px;
        font-size: 16px;
    }

    .contactForm textarea.form-control {
        min-height: 155px;
    }

    .contactSubmit {
        width: 100%;
        margin-top: 32px;
    }

    .siteFooter {
        padding: 56px 0;
    }

    .siteFooterTop {
        padding-bottom: 42px;
    }

    .footerBrand {
        font-size: 18px;
        letter-spacing: 0.5px;
    }

    .footerSeal {
        width: 34px;
        height: 34px;
        margin-right: 12px;
    }

    .footerNav {
        flex-wrap: wrap;
        gap: 20px 25px;
    }

    .footerNav a {
        font-size: 11px;
        letter-spacing: 1.4px;
    }

    .siteFooterBottom {
        padding-top: 28px;
    }

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

@media (max-width: 767.98px) {
    .projectsArchiveHero {
        min-height: 430px;
    }

    .projectsArchiveContent {
        padding: 30px 0 76px;
    }

    .projectsArchiveIntro {
        align-items: flex-start;
        margin-bottom: 26px;
    }

    .projectsArchiveIntro p {
        font-size: 18px;
    }

    .projectsArchiveGrid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .projectsArchiveCardImage {
        aspect-ratio: 1.35;
    }

    .projectsArchiveCardText {
        padding-top: 18px;
    }

    .projectsArchiveCardText h2 {
        font-size: 26px;
    }
}

@media (max-width: 420px) {
    .projectsArchiveIntro {
        flex-direction: column;
        gap: 10px;
    }
}
