/* =========================================
   HERO
========================================= */

.hero {
    position: relative;
    width: 100%;
    min-height: 570px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #ffffff;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(
            90deg,
            rgba(8, 20, 42, 0.86) 0%,
            rgba(20, 47, 88, 0.68) 52%,
            rgba(20, 47, 88, 0.32) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 3;
    width: min(100% - 40px, 1200px);
    margin: 0 auto;
}

.hero-content > * {
    max-width: 730px;
}

.hero-label {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 7px 14px;
    color: #1e3c72;
    background-color: #ffd700;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 750;
}

.hero-content h1 {
    margin-bottom: 18px;
    color: #ffffff;
    font-size: clamp(2.7rem, 6vw, 4.6rem);
    font-weight: 800;
    line-height: 1.08;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.hero-content p {
    margin-bottom: 29px;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1.02rem, 2vw, 1.23rem);
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px;
}

.hero-button {
    min-height: 50px;
    padding: 12px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 0.98rem;
    font-weight: 700;
    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease;
}

.hero-button:hover {
    transform: translateY(-2px);
}

.hero-button-primary {
    color: #1e3c72;
    background-color: #ffd700;
    border-color: #ffd700;
}

.hero-button-primary:hover {
    color: #1e3c72;
    background-color: #ffea4d;
    border-color: #ffea4d;
}

.hero-button-secondary {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.75);
}

.hero-button-secondary:hover {
    color: #1e3c72;
    background-color: #ffffff;
    border-color: #ffffff;
}

/* =========================================
   GÜVEN BİLGİLERİ
========================================= */

.trust-section {
    width: 100%;
    padding: 27px 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e6eaf0;
}

.trust-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    background-color: #f8fafc;
    border: 1px solid #e1e6ec;
    border-radius: 12px;
}

.trust-item {
    min-width: 0;
    min-height: 88px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    border-right: 1px solid #e1e6ec;
}

.trust-item:last-child {
    border-right: none;
}

.trust-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e3c72;
    background-color: #e8f1f8;
    border-radius: 9px;
    font-size: 1rem;
    font-weight: 800;
}

.trust-text {
    min-width: 0;
    text-align: left;
}

.trust-text h2 {
    margin: 0 0 3px;
    color: #1e3c72;
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.3;
}

.trust-text p {
    margin: 0;
    color: #687078;
    font-size: 0.84rem;
    line-height: 1.4;
}

.trust-item-simple {
    flex-direction: column;
    gap: 6px;
}

.trust-item-simple .trust-icon {
    width: 34px;
    height: 34px;
    font-size: 0.88rem;
}

.trust-item-simple h2 {
    margin: 0;
    color: #1e3c72;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

/* =========================================
   ORTAK BAŞLIKLAR
========================================= */

.home-section-heading {
    max-width: 760px;
    margin: 0 auto 39px;
    text-align: center;
}

.section-label {
    display: inline-block;
    margin-bottom: 9px;
    color: #2196d3;
    font-size: 0.88rem;
    font-weight: 750;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
}

.home-section-heading h2 {
    margin-bottom: 13px;
    color: #1e3c72;
    font-size: clamp(2rem, 5vw, 2.75rem);
    line-height: 1.2;
}

.home-section-heading p {
    color: #60666c;
    font-size: 1.03rem;
    line-height: 1.75;
}

/* =========================================
   HİZMETLER
========================================= */

.home-services {
    width: 100%;
    padding: 75px 0;
    background-color: #f6f8fb;
}

.home-services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.home-service-card {
    min-width: 0;
    padding: 28px 22px;
    background-color: #ffffff;
    border: 1px solid #e4e8ed;
    border-radius: 13px;
    box-shadow: 0 6px 17px rgba(0, 0, 0, 0.06);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.home-service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(33, 150, 211, 0.4);
    box-shadow: 0 13px 27px rgba(0, 0, 0, 0.11);
}

.home-service-icon {
    width: 59px;
    height: 59px;
    margin-bottom: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(33, 150, 211, 0.12);
    border-radius: 12px;
    font-size: 1.85rem;
}

.home-service-card h3 {
    margin-bottom: 12px;
    color: #1e3c72;
    font-size: 1.38rem;
    line-height: 1.3;
}

.home-service-card p {
    min-height: 108px;
    margin-bottom: 18px;
    color: #62676c;
    font-size: 0.96rem;
    line-height: 1.7;
}

.home-service-card a {
    display: inline-flex;
    align-items: center;
    color: #1e3c72;
    font-size: 0.93rem;
    font-weight: 750;
}

.home-service-card a::after {
    margin-left: 7px;
    content: "→";
    transition: transform 0.25s ease;
}

.home-service-card a:hover {
    color: #2196d3;
}

.home-service-card a:hover::after {
    transform: translateX(4px);
}

/* =========================================
   HAKKIMIZDA
========================================= */

.home-about {
    width: 100%;
    padding: 78px 0;
    background-color: #ffffff;
}

.home-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 60px;
    align-items: center;
}

.home-about-image {
    position: relative;
    min-width: 0;
}

.home-about-image > img {
    width: 100%;
    height: 470px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 13px 30px rgba(0, 0, 0, 0.14);
}

.experience-box {
    position: absolute;
    right: -20px;
    bottom: 27px;
    width: 140px;
    min-height: 115px;
    padding: 19px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #1e3c72;
    text-align: center;
    background-color: #ffd700;
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.experience-box strong {
    font-size: 1.85rem;
    line-height: 1.1;
}

.experience-box span {
    margin-top: 5px;
    font-size: 0.87rem;
    font-weight: 700;
}

.home-about-content h2 {
    margin-bottom: 19px;
    color: #1e3c72;
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    line-height: 1.2;
}

.home-about-content p {
    margin-bottom: 16px;
    color: #5f6469;
    font-size: 1.02rem;
    line-height: 1.8;
}

.home-about-list {
    margin: 23px 0 27px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 17px;
}

.home-about-list li {
    position: relative;
    padding-left: 26px;
    color: #37404a;
    font-size: 0.95rem;
    font-weight: 600;
}

.home-about-list li::before {
    position: absolute;
    top: 1px;
    left: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    content: "✓";
    color: #ffffff;
    background-color: #2196d3;
    border-radius: 50%;
    font-size: 0.69rem;
    font-weight: 800;
}

.about-button {
    min-height: 48px;
    padding: 12px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background-color: #1e3c72;
    border-radius: 8px;
    font-size: 0.96rem;
    font-weight: 700;
    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.about-button:hover {
    color: #ffffff;
    background-color: #2a5298;
    transform: translateY(-2px);
}

/* =========================================
   PROJELER
========================================= */

.featured-projects {
    width: 100%;
    padding: 75px 0;
    background-color: #f6f8fb;
}

.featured-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 23px;
}

.featured-project-card {
    min-width: 0;
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid #e4e8ed;
    border-radius: 13px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.featured-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 27px rgba(0, 0, 0, 0.12);
}

.featured-project-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #e5e8ec;
}

.featured-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-project-card:hover img {
    transform: scale(1.04);
}

.featured-project-content {
    padding: 22px;
}

.featured-project-content span {
    display: block;
    margin-bottom: 7px;
    color: #2196d3;
    font-size: 0.8rem;
    font-weight: 750;
    letter-spacing: 0.05rem;
    text-transform: uppercase;
}

.featured-project-content h3 {
    margin-bottom: 14px;
    color: #1e3c72;
    font-size: 1.3rem;
    line-height: 1.35;
}

.featured-project-content a {
    color: #1e3c72;
    font-size: 0.93rem;
    font-weight: 750;
}

.featured-project-content a::after {
    margin-left: 7px;
    content: "→";
}

.featured-project-content a:hover {
    color: #2196d3;
}

.all-projects-wrapper {
    margin-top: 33px;
    text-align: center;
}

.all-projects-button {
    min-height: 48px;
    padding: 12px 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background-color: #1e3c72;
    border-radius: 8px;
    font-weight: 700;
    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.all-projects-button:hover {
    color: #ffffff;
    background-color: #2a5298;
    transform: translateY(-2px);
}

/* =========================================
   REFERANSLAR
========================================= */

.references-section {
    width: 100%;
    padding: 75px 0;
    background-color: #ffffff;
}

.references-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.reference-item {
    min-width: 0;
    min-height: 165px;
    padding: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 1px solid #e3e7ec;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.reference-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 11px 23px rgba(0, 0, 0, 0.11);
}

.reference-item img {
    width: 100%;
    max-width: 165px;
    height: 100px;
    object-fit: contain;
}

/* =========================================
   İLETİŞİM
========================================= */

.home-contact {
    width: 100%;
    padding: 60px 0;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #142f58 0%,
            #1e3c72 55%,
            #2a5298 100%
        );
}

.home-contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 37px;
}

.home-contact-label {
    display: block;
    margin-bottom: 8px;
    color: #ffd700;
    font-size: 0.9rem;
    font-weight: 750;
}

.home-contact h2 {
    margin-bottom: 11px;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 2.65rem);
    line-height: 1.2;
}

.home-contact p {
    max-width: 700px;
    color: rgba(255, 255, 255, 0.87);
    font-size: 1.02rem;
    line-height: 1.7;
}

.home-contact-button {
    min-height: 50px;
    padding: 12px 23px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1e3c72;
    background-color: #ffd700;
    border-radius: 8px;
    font-size: 0.98rem;
    font-weight: 750;
    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.home-contact-button:hover {
    color: #1e3c72;
    background-color: #ffea4d;
    transform: translateY(-2px);
}

/* =========================================
   TABLET
========================================= */

@media screen and (max-width: 1050px) {
    .home-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-service-card p {
        min-height: auto;
    }

    .home-about-grid {
        gap: 43px;
    }
}

@media screen and (max-width: 850px) {
    .trust-item {
        padding: 16px 12px;
        gap: 8px;
    }

    .trust-icon {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .trust-text h2 {
        font-size: 0.88rem;
    }

    .trust-text p {
        font-size: 0.78rem;
    }

    .trust-item-simple h2 {
        font-size: 0.8rem;
    }
}

/* =========================================
   TELEFON
========================================= */

@media screen and (max-width: 768px) {
    .hero {
        min-height: 500px;
    }

    .hero-overlay {
        background: rgba(10, 27, 54, 0.76);
    }

    .hero-content {
        width: min(100% - 28px, 1200px);
        text-align: center;
    }

    .hero-content > * {
        max-width: none;
    }

    .hero-content h1 {
        font-size: clamp(2.2rem, 10vw, 3.3rem);
    }

    .hero-content p {
        font-size: 1rem;
    }

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

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

    .trust-section {
        padding: 18px 0;
    }

    .trust-bar {
        grid-template-columns: 1fr;
    }

    .trust-item {
        min-height: auto;
        padding: 14px 18px;
        border-right: none;
        border-bottom: 1px solid #e1e6ec;
    }

    .trust-item:last-child {
        border-bottom: none;
    }

    .trust-item:first-child {
        justify-content: flex-start;
        text-align: left;
    }

    .trust-item-simple {
        flex-direction: row;
        justify-content: center;
        gap: 9px;
    }

    .trust-item-simple .trust-icon {
        width: 32px;
        height: 32px;
        font-size: 0.82rem;
    }

    .trust-item-simple h2 {
        font-size: 0.86rem;
    }

    .trust-text h2 {
        font-size: 0.9rem;
    }

    .trust-text p {
        font-size: 0.8rem;
    }

    .home-services,
    .home-about,
    .featured-projects,
    .references-section {
        padding: 52px 0;
    }

    .home-services-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .home-service-card {
        padding: 26px 20px;
    }

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

    .home-about-image > img {
        height: 350px;
    }

    .experience-box {
        right: 13px;
        bottom: 13px;
        width: 120px;
        min-height: 100px;
        padding: 15px;
    }

    .experience-box strong {
        font-size: 1.6rem;
    }

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

    .featured-projects-grid {
        grid-template-columns: 1fr;
        gap: 19px;
    }

    .featured-project-image {
        aspect-ratio: 16 / 10;
    }

    .references-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .reference-item {
        min-height: 130px;
        padding: 14px;
    }

    .reference-item img {
        max-width: 125px;
        height: 78px;
    }

    .home-contact {
        padding: 47px 0;
    }

    .home-contact-inner {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .home-contact-button {
        width: 100%;
        max-width: 280px;
    }
}

/* =========================================
   KÜÇÜK TELEFON
========================================= */

@media screen and (max-width: 480px) {
    .hero {
        min-height: 470px;
    }

    .hero-label {
        font-size: 0.81rem;
    }

    .hero-content h1 {
        font-size: 2.15rem;
    }

    .home-section-heading {
        margin-bottom: 29px;
    }

    .home-section-heading h2 {
        font-size: 1.95rem;
    }

    .home-about-image > img {
        height: 290px;
    }

    .home-about-content h2 {
        font-size: 1.95rem;
    }

    .references-container {
        grid-template-columns: 1fr 1fr;
    }

    .reference-item {
        min-height: 115px;
        padding: 11px;
    }

    .reference-item img {
        max-width: 105px;
        height: 68px;
    }

    .home-contact h2 {
        font-size: 1.95rem;
    }
}