* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

:root {
    --main: #ffcc00;
    --main-dark: #e6b800;
    --dark: #121212;
    --white: #ffffff;
    --gray: #fcfcfc;
    --shadow: rgba(0, 0, 0, 0.1);
}

body {
    background: var(--white);
    color: #222;
    overflow-x: hidden;
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 8%;
    background: var(--dark);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--main);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

nav ul a:hover {
    color: var(--main);
}

.nav-call {
    background: var(--main);
    color: #000 !important;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 800 !important;
    font-size: 13px;
}

/* Hero */
.hero {
    height: 75vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4)), url('resimler/arkaplan.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 25px;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(30px, 7vw, 60px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.yellow {
    color: var(--main);
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 35px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

.btn-main {
    background: linear-gradient(45deg, var(--main), #ffd633);
    color: #000;
    padding: 18px 45px;
    font-size: 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    display: inline-block;
    box-shadow: 0 10px 25px rgba(255, 204, 0, 0.4);
    transition: 0.4s;
}

@keyframes main-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.main-pulse {
    animation: main-pulse 2.5s infinite ease-in-out;
}

/* Hizmetler - Masaüstü 3'lü Düzen */
.services {
    padding: 80px 8%;
    background: var(--gray);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
}

.bar {
    width: 60px;
    height: 5px;
    background: var(--main);
    margin: 12px auto;
    border-radius: 10px;
}

.service-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Masaüstünde yan yana 3 kart */
    gap: 30px;
}

.service-box {
    background: white;
    padding: 45px 25px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: 0.4s;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.icon-bg {
    width: 85px;
    height: 85px;
    background: #fff9e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--main);
    font-size: 38px;
    box-shadow: inset 0 0 10px rgba(255, 204, 0, 0.1);
}

.service-box h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 800;
}

.service-box p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

/* Galeri */
.gallery {
    padding: 80px 8%;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    height: 280px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 20px var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item img:hover {
    transform: scale(1.1);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 8% 130px;
    text-align: center;
}

footer h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    margin-bottom: 15px;
}

.socials {
    margin: 25px 0;
}

.socials a {
    color: var(--main);
    font-size: 32px;
    margin: 0 12px;
    transition: 0.3s;
}

.socials a:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

.copy {
    font-size: 13px;
    opacity: 0.5;
    margin-top: 25px;
}

/* WhatsApp Buton */
.wa-btn {
    position: fixed;
    bottom: 95px;
    right: 25px;
    background: #25d366;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    color: white;
    z-index: 999;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobil Alt Bar - Transparan ve Animasyonlu */
.mobile-bar {
    display: none;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

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

/* MOBİL ÖZEL TASARIM */
@media (max-width: 992px) {
    .service-container {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        /* Mobilde esnek yapı */
    }
}

@media (max-width: 768px) {
    nav {
        padding: 15px 5%;
    }

    nav ul,
    .nav-call {
        display: none;
    }

    .hero {
        height: 65vh;
    }

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

    .services,
    .gallery {
        padding: 60px 5%;
    }

    .service-box {
        padding: 35px 20px;
    }

    /* Animasyonlu ve Transparan Mobil Bar */
    .mobile-bar {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(18, 18, 18, 0.7);
        /* Transparan arka plan */
        backdrop-filter: blur(10px);
        /* Arka planı bulanıklaştırma efekti */
        padding: 15px 20px 25px;
        /* Alt boşluğu artırdık */
        z-index: 1001;
        animation: slideUp 0.8s ease-out forwards;
        /* Kayarak gelme animasyonu */
    }

    .mobile-bar a {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 60px;
        background: var(--main);
        color: #000;
        text-decoration: none;
        font-family: 'Montserrat', sans-serif;
        font-weight: 900;
        font-size: 18px;
        border-radius: 15px;
        gap: 12px;
        box-shadow: 0 8px 20px rgba(255, 204, 0, 0.4);
        transition: 0.3s;
    }

    .mobile-bar a:active {
        transform: scale(0.95);
        /* Tıklama hissi animasyonu */
    }

    .call-icon {
        background: rgba(0, 0, 0, 0.1);
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
    }

    .wa-btn {
        bottom: 105px;
        /* Alt barın üzerine çıkması için mesafe */
        width: 60px;
        height: 60px;
    }
}