/* Tablet and Medium Screen Responsive Styles */

/* Global margin/padding reset for all screen sizes */
.container {
    margin-bottom: 0 !important;
}

footer {
    margin: 0 !important;
    padding: 0 !important;
}

.footer-bottom {
    margin: 0 !important;
}

.footer-bottom .container {
    margin-bottom: 0 !important;
}

/* Tablet contact button normal görünürlük */
.contact-btn {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .container {
        max-width: 720px;
        padding-left: 40px;
        padding-right: 40px;
        margin-bottom: 0 !important;
    }

    .hero-section {
        padding-top: 80px;
        padding-bottom: 40px;
        text-align: center;
    }

    .dashboard-image {
        height: 350px;
    }

    .hero-content {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 32px;
        line-height: 32px;
    }

    .hero-visual {
        margin-top: 30px;
        align-items: center;
    }

    .services-section {
        padding: 50px 0;
    }

    .services-slider-container {
        width: 100%;
        padding: 0;
        overflow: hidden;
    }

    .services-nav {
        margin-top: 30px;
        gap: 12px;
    }

    .service-slide {
        min-width: 280px;
        max-width: 280px;
        padding-top: 50px;
    }

    .service-card-figma {
        width: 280px;
        height: 180px;
        padding: 24px;
    }

    .service-icon-figma {
        width: 130px;
        height: 130px;
        top: -50px;
    }

    .service-title-figma {
        margin-top: 50px;
        font-size: 16px;
    }

    .service-description-figma {
        font-size: 14px;
    }

    .projects-section {
        padding: 50px 0;
    }

    .projects-slider-container {
        width: 100%;
        padding: 0;
        overflow: hidden;
    }

    .project-slide {
        flex: 0 0 16.666666%;
        max-width: 16.666666%;
    }

    .about-section {
        padding: 50px 0;
        text-align: center;
    }

    .about-title {
        font-size: 80px;
        text-align: center;
    }

    .about-image {
        margin-top: 30px;
    }

    .contact-section {
        padding: 50px 0;
    }

    .contact-form-figma {
        max-width: 500px;
    }

    /* Contact form spacing for tablet */
    .contact-form-figma .row {
        display: flex !important;
        gap: 24px !important;
        margin-bottom: 40px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .contact-form-figma .row > div {
        flex: 1 !important;
        margin-bottom: 0px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .gradient-ellipse-purple {
        width: 500px;
        height: 500px;
        top: 60px;
        left: calc(50% - 610px); /* Center-based positioning */
    }

    .gradient-ellipse-blue {
        width: 350px;
        height: 350px;
        right: calc(50% - 360px + 240px); /* Center + offset - 50px */
        left: auto;
    }

    .gradient-ellipse-purple-about {
        width: 500px;
        height: 500px;
        top: 600px;
        right: calc(50% - 360px + 190px); /* Center + offset - 50px */
        left: auto;
    }

    .gradient-ellipse-blue-about {
        width: 350px;
        height: 350px;
        top: 900px;
        left: calc(50% - 535px); /* Center-based positioning */
    }
}

/* Medium Desktop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .container {
        max-width: 960px;
        padding-left: 60px;
        padding-right: 60px;
        margin-bottom: 0 !important;
    }

    .hero-section {
        padding-top: 100px;
        padding-bottom: 50px;
    }

    .dashboard-image {
        height: 400px;
    }

    .hero-content {
        width: 350px;
    }

    .hero-title {
        font-size: 36px;
        line-height: 36px;
    }

    .services-slider-container {
        width: 100%;
        padding: 0;
        overflow: hidden;
    }

    .services-nav {
        margin-top: 35px;
        gap: 14px;
    }

    .service-slide {
        min-width: 320px;
        max-width: 320px;
        padding-top: 60px;
    }

    .service-card-figma {
        width: 320px;
        height: 200px;
        padding: 28px;
    }

    .service-icon-figma {
        width: 150px;
        height: 150px;
        top: -60px;
    }

    .service-title-figma {
        margin-top: 60px;
        font-size: 18px;
    }

    .projects-slider-container {
        width: 100%;
        padding: 0;
        overflow: hidden;
    }

    .contact-form-figma {
        max-width: 600px;
    }

    /* Contact form spacing for medium desktop */
    .contact-form-figma .row {
        display: flex !important;
        gap: 30px !important;
        margin-bottom: 45px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .contact-form-figma .row > div {
        flex: 1 !important;
        margin-bottom: 0px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .about-title {
        font-size: 100px;
    }

    .gradient-ellipse-purple {
        width: 600px;
        height: 600px;
        top: 80px;
        left: calc(50% - 680px);
    }

    .gradient-ellipse-blue {
        width: 400px;
        height: 400px;
        right: calc(50% - 480px + 260px);
        left: auto;
    }

    .gradient-ellipse-purple-about {
        width: 600px;
        height: 600px;
        top: 700px;
        right: calc(50% - 480px + 210px);
        left: auto;
    }

    .gradient-ellipse-blue-about {
        width: 400px;
        height: 400px;
        top: 1000px;
        left: calc(50% - 600px);
    }
}

/* Large Desktop (1200px - 1439px) */
@media (min-width: 1200px) and (max-width: 1439px) {
    .container {
        max-width: 1200px;
        padding-left: 100px;
        padding-right: 100px;
        margin-bottom: 0 !important;
    }

    .hero-content {
        width: 400px;
    }

    .services-slider-container {
        width: 100%;
        padding: 0;
        overflow: hidden;
    }

    .services-nav {
        margin-top: 40px;
        gap: 16px;
    }

    .projects-slider-container {
        width: 100%;
        padding: 0;
        overflow: hidden;
    }

    .contact-form-figma {
        max-width: 700px;
    }

    /* Contact form spacing for large desktop */
    .contact-form-figma .row {
        display: flex !important;
        gap: 32px !important;
        margin-bottom: 50px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .contact-form-figma .row > div {
        flex: 1 !important;
        margin-bottom: 0px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .gradient-ellipse-purple {
        width: 650px;
        height: 650px;
        top: 100px;
        left: calc(50% - 750px);
    }

    .gradient-ellipse-blue {
        width: 450px;
        height: 450px;
        right: calc(50% - 600px + 280px);
        left: auto;
    }

    .gradient-ellipse-purple-about {
        width: 650px;
        height: 650px;
        top: 750px;
        right: calc(50% - 600px + 230px);
        left: auto;
    }

    .gradient-ellipse-blue-about {
        width: 450px;
        height: 450px;
        top: 1100px;
        left: calc(50% - 675px);
    }
}
