/* =========================================================
   GMK İNŞAAT
   Responsive stylesheet
   ========================================================= */


/* =========================================================
   1. LARGE TABLET / SMALL DESKTOP
   ========================================================= */

@media (max-width: 1199px) {

    .container {
        width: min(100% - 40px, 1100px);
    }

    .nav__menu {
        gap: 25px;
    }

    .hero {
        height: 700px;
        min-height: 700px;
    }

    .hero-content {
        width: 620px;
        max-width: 70%;
        margin-left: 40px;
    }

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

    .hero-prev {
        left: 30px;
    }

    .hero-next {
        right: 30px;
    }

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

    .about-wrapper {
        gap: 45px;
    }

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

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


/* =========================================================
   2. TABLET
   ========================================================= */

@media (max-width: 992px) {

    .section {
        padding: 90px 0;
    }

    h1 {
        font-size: 52px;
    }

    h2 {
        font-size: 36px;
    }

    /* Header */

    .nav__menu,
    .header__phone {
        display: none;
    }

    .mobile-toggle {
        display: flex;

        width: 44px;
        height: 44px;

        align-items: center;
        justify-content: center;

        color: var(--white);

        border: 1px solid rgba(255, 255, 255, .35);
        border-radius: 6px;

        font-size: 28px;
    }

    .header.scrolled .mobile-toggle {
        color: #1e293b;
    }

    /* Hero */

    .hero {
        height: 700px;
        min-height: 700px;
    }

    .hero-content {
        width: 620px;
        max-width: 80%;
        margin-inline: auto;
        text-align: center;
    }

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

    .hero-content p {
        font-size: 18px;
        margin-inline: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-prev,
    .hero-next {
        width: 52px;
        height: 52px;
    }

    .hero-prev {
        left: 25px;
    }

    .hero-next {
        right: 25px;
    }

    /* Stats */

    .stats {
        margin-top: 0;
        padding: 70px 0;
    }

    /* About */

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .experience-box {
        position: relative;

        right: auto;
        bottom: auto;

        margin-top: 20px;
    }

    .about-content {
        text-align: center;
    }

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

    /* Services */

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


/* =========================================================
   3. MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .container {
        width: calc(100% - 36px);
    }

    .section {
        padding: 80px 0;
    }

    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 30px;
    }

    /* Header */

    .header__wrapper {
        min-height: 80px;
    }

    .logo img {
        height: 48px;
    }

    /* Hero */

    .hero {
        height: 680px;
        min-height: 680px;
    }

    .hero-slide > .container,
    .hero .container {
        width: calc(100% - 36px);
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        margin: 50px 0 0;
        text-align: center;
    }

    .hero-tag,
    .hero-subtitle {
        margin-bottom: 18px;
        font-size: 11px;
        letter-spacing: 2px;
    }

    .hero-content h1 {
        font-size: 45px;
        line-height: 1.05;
        letter-spacing: -1px;
    }

    .hero-content p {
        margin-top: 20px;
        font-size: 15px;
        line-height: 1.65;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 26px;
    }

    .hero-btn {
        min-width: 180px;
        height: 52px;
        padding: 0 22px;
        font-size: 14px;
    }

    .hero-prev,
    .hero-next {
        top: auto;
        bottom: 30px;

        width: 44px;
        height: 44px;

        transform: none;
    }

    .hero-prev {
        left: 20px;
    }

    .hero-next {
        right: 20px;
    }

    .hero-prev:hover,
    .hero-next:hover {
        transform: scale(1.05);
    }

    .hero-prev span,
    .hero-next span {
        font-size: 28px;
    }

    .hero-dots {
        bottom: 47px;
    }

    /* Stats */

    .stats {
        margin-top: 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-card {
        padding: 30px 12px;
    }

    .stat-card h2 {
        font-size: 40px;
    }

    /* About */

    .about-content h2 {
        font-size: 38px;
    }

    /* Services / Projects */

    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        height: 380px;
    }

    /* Footer */

    .footer {
        padding-top: 60px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}


/* =========================================================
   4. SMALL MOBILE
   ========================================================= */

@media (max-width: 576px) {

    .section {
        padding: 70px 0;
    }

    h1 {
        font-size: 34px;
    }

    h2 {
        font-size: 28px;
    }

    .container {
        width: calc(100% - 32px);
    }

    .hero {
        height: 650px;
        min-height: 650px;
    }

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

    .hero-content p {
        font-size: 14px;
    }

    .hero-buttons {
        margin-top: 22px;
    }

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


/* =========================================================
   5. VERY SMALL SCREENS
   ========================================================= */

@media (max-width: 400px) {

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

    .hero-content p {
        font-size: 13px;
    }

    .hero-btn {
        width: 100%;
        min-width: 0;
    }

    .hero-buttons {
        width: 100%;
    }

    .hero-prev {
        left: 12px;
    }

    .hero-next {
        right: 12px;
    }
}
