*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body{
    color: #17263a;
    background-color: #f4f5f7;
    font-family: Arial, Helvetica, sans-serif;
    padding-top: 88px;
}

a{
    color: inherit;
    text-decoration: none;
}

.site-header{
    width: 100%;
    height: 88px;
    padding: 7px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    background-color: #f7f7f8;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
}

.logo{
    width: 150px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transform: translateX(10px);
}

.logo img{
    width: 100%;
    max-height: 82px;
    display: block;
    object-fit: contain;
}

.header-actions{
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

.menu-toggle{
    display: none;
}

.navbar ul{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    list-style: none;
    transform: none;
}

.navbar li{
    width: 112px;
}

.navbar a{
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #132842;
    padding: 7px 8px;
    border-radius: 4px;
    background-image: linear-gradient(to right, #0d4b82 50%, transparent 50%);
    background-position: right bottom;
    background-size: 200% 100%;
    font-size: 16px;
    font-weight: 500;
    transition: background-position 0.45s ease, color 0.3s ease, letter-spacing 0.3s ease;
}

.navbar a:hover{
    color: #fff;
    letter-spacing: 1px;
    background-position: left bottom;
}

.randevu-btn,
.primary-btn,
.whatsapp-btn,
.service-body a{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    border-radius: 4px;
}

.randevu-btn{
    min-width: 178px;
    min-height: 48px;
    padding: 0 22px;
    background-color: #c43d31;
    font-size: 18px;
    box-shadow: 0 8px 18px rgba(196, 61, 49, 0.24);
    transform-origin: center;
    transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.randevu-btn:hover,
.randevu-btn:focus-visible{
    background-color: #a92f25;
    box-shadow: 0 14px 28px rgba(196, 61, 49, 0.36);
    transform: scale(1.1) rotate(-2deg);
}

.randevu-btn:focus-visible{
    outline: 3px solid rgba(196, 61, 49, 0.28);
    outline-offset: 4px;
}

.hero{
    margin-top: 0;
    min-height: calc(100vh - 88px);
    display: flex;
    align-items: center;
    background-image: linear-gradient(90deg, rgba(9, 25, 44, 0.74), rgba(9, 25, 44, 0.2)), url("ArkaPlan.png");
    background-size: cover;
    background-position: center top;
}

.hero-content{
    width: min(760px, 90%);
    margin-left: 100px;
    color: #fff;
}

.hero h1{
    max-width: 680px;
    font-size: 46px;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    animation: heroFadeUp 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    opacity: 0;
    transform: translateY(18px);
}

.hero h1 span{
    display: block;
}

.hero p{
    margin-top: 18px;
    font-size: 27px;
    font-weight: 600;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
    animation: heroFadeUp 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.18s forwards;
    opacity: 0;
    transform: translateY(18px);
}

.hero-badges{
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    animation: heroFadeUp 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.28s forwards;
    opacity: 0;
    transform: translateY(18px);
}

.hero-badges span{
    min-height: 36px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 4px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
    font-size: 15px;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.hero-actions{
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    animation: heroFadeUp 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.44s forwards;
    opacity: 0;
    transform: translateY(18px);
}

@keyframes heroFadeUp{
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce){
    .hero h1,
    .hero p,
    .hero-badges,
    .hero-actions{
        animation: none;
        opacity: 1;
        transform: none;
    }
}

.primary-btn{
    position: relative;
    overflow: hidden;
    min-height: 62px;
    padding: 0 34px;
    background: linear-gradient(#2465a1, #0b3c6a);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 2px 6px rgba(0, 0, 0, 0.25);
    font-size: 22px;
    text-transform: uppercase;
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, letter-spacing 0.28s ease;
}

.whatsapp-btn{
    position: relative;
    overflow: hidden;
    min-height: 58px;
    padding: 0 32px;
    gap: 10px;
    background-color: #25d366;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    font-size: 21px;
    transition: transform 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease, letter-spacing 0.28s ease;
}

.primary-btn::after,
.whatsapp-btn::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.34) 45%, transparent 72%);
    transform: translateX(-120%);
    transition: transform 0.55s ease;
    pointer-events: none;
}

.primary-btn:hover,
.primary-btn:focus-visible{
    background: linear-gradient(#2f78bc, #0f4d84);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 12px 24px rgba(8, 35, 64, 0.36);
    letter-spacing: 0.5px;
    transform: translateY(-4px);
}

.whatsapp-btn svg{
    width: 24px;
    height: 24px;
    fill: currentColor;
    flex-shrink: 0;
}

.whatsapp-btn:hover,
.whatsapp-btn:focus-visible{
    background-color: #1ebe5d;
    box-shadow: 0 12px 24px rgba(37, 211, 102, 0.32);
    letter-spacing: 0.4px;
    transform: translateY(-4px);
}

.primary-btn:hover::after,
.primary-btn:focus-visible::after,
.whatsapp-btn:hover::after,
.whatsapp-btn:focus-visible::after{
    transform: translateX(120%);
}

.primary-btn:focus-visible,
.whatsapp-btn:focus-visible{
    outline: 3px solid rgba(255, 255, 255, 0.36);
    outline-offset: 4px;
}

.services{
    position: relative;
    padding: 18px 64px 52px;
    background-color: #f4f5f7;
}

.services-header{
    max-width: 1140px;
    margin: 0 auto 24px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.services-header span{
    display: inline-block;
    margin-bottom: 8px;
    color: #c43d31;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.services-header h2{
    color: #123f6d;
    font-size: 38px;
    line-height: 1;
}

.services-controls{
    position: absolute;
    inset: 50% 24px auto;
    z-index: 2;
    pointer-events: none;
}

.service-slider-btn{
    width: 46px;
    height: 46px;
    position: absolute;
    top: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: #132842;
    border: 0;
    border-radius: 4px;
    box-shadow: 0 8px 18px rgba(19, 40, 66, 0.18);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    pointer-events: auto;
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.service-slider-prev{
    left: 0;
}

.service-slider-next{
    right: 0;
}

.service-slider-btn:hover,
.service-slider-btn:focus-visible{
    background-color: #c43d31;
    box-shadow: 0 12px 24px rgba(196, 61, 49, 0.28);
    transform: translateY(-3px);
}

.service-slider-btn:focus-visible{
    outline: 3px solid rgba(196, 61, 49, 0.28);
    outline-offset: 4px;
}

.services-slider{
    max-width: 1140px;
    margin: 0 auto;
    overflow: hidden;
    scroll-padding-inline: 0;
}

.services-track{
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.services-track::-webkit-scrollbar{
    display: none;
}

.service-card{
    flex: 0 0 calc((100% - 60px) / 3);
    position: relative;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    text-align: center;
    transition: filter 0.42s ease, opacity 0.42s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.42s ease, border-color 0.42s ease;
}

@media (hover: hover) {
    .services-track.is-hovering-card .service-card{
        filter: blur(2px);
        opacity: 0.62;
    }

    .services-track.is-hovering-card .service-card:hover{
        filter: blur(0);
        opacity: 1;
    }
}

.service-card::before{
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    z-index: 2;
    background: linear-gradient(90deg, #c43d31, #1c5a91);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.46s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover{
    border-color: rgba(13, 70, 120, 0.25);
    box-shadow: 0 16px 28px rgba(13, 38, 68, 0.14);
    transform: translateY(-6px);
}

.service-card:hover::before{
    transform: scaleX(1);
}

.service-card img{
    width: 100%;
    height: 260px;
    display: block;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
}

.service-card:hover img{
    filter: saturate(1.08) contrast(1.04);
    transform: scale(1.05);
}

.service-icon{
    width: 58px;
    height: 58px;
    margin: -30px auto 0;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: #0d4678;
    border: 5px solid #fff;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    transition: background-color 0.42s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.42s ease;
}

.service-card:hover .service-icon{
    background-color: #c43d31;
    box-shadow: 0 10px 18px rgba(196, 61, 49, 0.26);
    transform: translateY(-4px);
}

.service-body{
    min-height: 205px;
    padding: 18px 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-body h2{
    color: #2c2c2c;
    font-size: 25px;
    line-height: 1.25;
}

.service-body p{
    margin-top: 16px;
    color: #313131;
    font-size: 16px;
    line-height: 1.55;
}

.service-body a{
    min-width: 150px;
    min-height: 48px;
    margin-top: auto;
    padding: 0 18px;
    background: linear-gradient(#1c5a91, #093864);
    box-shadow: 0 8px 16px rgba(9, 56, 100, 0.18);
    font-size: 17px;
    overflow: hidden;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, letter-spacing 0.25s ease;
}

.service-body a::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.32) 45%, transparent 72%);
    pointer-events: none;
    transform: translateX(-120%);
    transition: transform 0.5s ease;
}

.service-body a:hover,
.service-body a:focus-visible{
    background: linear-gradient(#c94639, #a92f25);
    box-shadow: 0 12px 22px rgba(196, 61, 49, 0.28);
    letter-spacing: 0.4px;
    transform: translateY(-3px);
}

.service-body a:hover::after,
.service-body a:focus-visible::after{
    transform: translateX(120%);
}

.service-body a:focus-visible{
    outline: 3px solid rgba(196, 61, 49, 0.24);
    outline-offset: 4px;
}

.about{
    height: calc(100vh - 85px);
    display: grid;
    grid-template-columns: 1fr 1.02fr;
    background-color: #fff;
    overflow: hidden;
}

.about-image{
    height: 100%;
    overflow: hidden;
}

.about-image img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.about-content{
    padding: 36px 90px 36px 76px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background: linear-gradient(102deg, transparent 0 9%, #fff 9% 100%);
    margin-left: -70px;
}

.about-content h2{
    color: #123f6d;
    font-size: 38px;
    line-height: 1;
}

.about-content h2::before{
    content: "☞";
    margin-right: 12px;
    color: #123f6d;
    font-size: 34px;
}

.about-content p{
    max-width: 620px;
    margin-top: 22px;
    color: #17263a;
    font-size: 18px;
    line-height: 1.45;
}

.contact{
    padding: 22px 80px 42px;
    color: #f5f7fb;
    background-color: #16283a;
    background-image: linear-gradient(rgba(16, 31, 46, 0.96), rgba(16, 31, 46, 0.96));
    text-align: center;
}

.contact h2{
    display: inline-flex;
    align-items: center;
    gap: 22px;
    font-size: 42px;
    line-height: 1;
}

.contact h2::before,
.contact h2::after{
    content: "";
    width: 140px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.35);
}

.contact-grid{
    max-width: 920px;
    margin: 34px auto 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 84px;
    text-align: left;
}

.contact-item{
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 21px;
    font-weight: 700;
}

.contact-item span{
    width: 34px;
    text-align: center;
    color: #e9edf2;
    font-size: 30px;
    line-height: 1;
}

.contact-map{
    max-width: 920px;
    height: 310px;
    margin: 34px auto 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 4px;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
}

.contact-map iframe{
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.map-btn{
    min-width: 178px;
    min-height: 50px;
    margin-top: 34px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(#c94639, #a92f25);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 4px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.24);
    font-size: 18px;
    font-weight: 800;
    overflow: hidden;
    position: relative;
    transition: transform 0.28s ease, box-shadow 0.28s ease, letter-spacing 0.28s ease;
}

.map-btn::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.3) 45%, transparent 72%);
    transform: translateX(-120%);
    transition: transform 0.52s ease;
}

.map-btn:hover,
.map-btn:focus-visible{
    box-shadow: 0 16px 28px rgba(196, 61, 49, 0.28);
    letter-spacing: 0.4px;
    transform: translateY(-4px);
}

.map-btn:hover::after,
.map-btn:focus-visible::after{
    transform: translateX(120%);
}

.map-btn:focus-visible{
    outline: 3px solid rgba(255, 255, 255, 0.32);
    outline-offset: 4px;
}

@media (max-width: 1024px){
    .site-header{
        padding: 14px 28px;
        gap: 20px;
    }

    .header-actions{
        gap: 14px;
    }

    .logo{
        width: 130px;
    }

    .navbar ul{
        gap: 16px;
        transform: none;
    }

    .navbar li{
        width: 98px;
    }

    .navbar a{
        font-size: 15px;
    }

    .hero-content{
        margin-left: 50px;
    }

    .service-card{
        flex-basis: calc((100% - 30px) / 2);
    }
}

@media (max-width: 900px){
    .site-header{
        height: 88px;
        padding: 6px 20px;
    }

    .menu-toggle{
        width: 46px;
        height: 46px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        background-color: #132842;
        border: 0;
        border-radius: 4px;
        cursor: pointer;
    }

    .menu-toggle span{
        width: 24px;
        height: 2px;
        display: block;
        background-color: #fff;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .site-header.menu-open .menu-toggle span:nth-child(1){
        transform: translateY(8px) rotate(45deg);
    }

    .site-header.menu-open .menu-toggle span:nth-child(2){
        opacity: 0;
    }

    .site-header.menu-open .menu-toggle span:nth-child(3){
        transform: translateY(-8px) rotate(-45deg);
    }

    .header-actions{
        width: 100%;
        padding: 16px 20px;
        display: none;
        position: absolute;
        top: 88px;
        left: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        background-color: #f7f7f8;
        box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
    }

    .site-header.menu-open .header-actions{
        display: flex;
    }

    .navbar ul{
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        transform: none;
    }

    .navbar li{
        width: 100%;
    }

    .navbar a{
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid #dfe3e8;
        font-size: 17px;
    }

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

    .services-controls{
        display: none;
    }
}

@media (max-width: 768px){
    html{
        scroll-padding-top: 88px;
    }

    body{
        padding-top: 88px;
    }

    .hero-content{
        width: calc(100% - 40px);
        margin: 0 auto;
    }

    .hero h1{
        font-size: 32px;
    }

    .hero p{
        font-size: 21px;
    }

    .hero-badges{
        gap: 8px;
    }

    .hero-badges span{
        min-height: 34px;
        padding: 0 12px;
        font-size: 14px;
    }

    .hero-actions{
        align-items: stretch;
    }

    .primary-btn{
        width: 100%;
        padding: 0 18px;
        font-size: 17px;
    }

    .whatsapp-btn{
        width: 100%;
        padding: 0 18px;
        font-size: 17px;
    }

    .services{
        padding: 30px 20px;
    }

    .services-slider{
        scroll-padding-inline: 20px;
    }

    .services-track{
        gap: 16px;
        padding-inline: 2px;
    }

    .services-header{
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .services-header h2{
        font-size: 32px;
    }

    .service-card{
        flex-basis: 100%;
    }

    .service-card img{
        height: 230px;
    }


    .about{
        grid-template-columns: 1fr;
        height: auto;
        overflow: visible;
    }

    .about-image{
        min-height: 360px;
    }

    .about-content{
        margin-left: 0;
        padding: 36px 24px 42px;
        background: #fff;
    }

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

    .about-content p{
        font-size: 18px;
    }

    .contact{
        padding: 28px 20px 38px;
    }

    .contact h2{
        font-size: 34px;
    }

    .contact h2::before,
    .contact h2::after{
        width: 50px;
    }

    .contact-grid{
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .contact-map{
        height: 260px;
        margin-top: 28px;
    }

    .contact-item{
        font-size: 18px;
    }
}
