/* Genel Stiller */
:root {
    --primary-color: #1f3149;
    --secondary-color: #2f7aff;
    --accent-color: #f39c12;
    --text-color: #2b3a4e;
    --muted-text: #586176;
    --light-bg: #f4f7fb;
    --white: #ffffff;
    --surface: #ffffff;
    --surface-elevated: rgba(255,255,255,0.92);
    --focus-outline: 3px solid rgba(243,156,18,0.35);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

/* Ensure anchored sections are not hidden behind the fixed header */
html { scroll-padding-top: 120px; }
section[id] { scroll-margin-top: 120px; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    overflow-x: hidden;
    width: 100%;
    background: linear-gradient(180deg, #f7fbff 0%, #eef4fb 55%, #ffffff 100%);
    min-height: 100vh;
}

/* Header ve Navigasyon */
.navbar {
    background-color: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 18px 40px rgba(31,49,73,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(31,49,73,0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.logo-texts {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.15rem;
}

.logo-texts span:first-child {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
}

.logo-texts span:nth-child(2) {
    color: #4a5a6a;
    font-size: 0.95rem;
    font-weight: 600;
}

.logo-texts span:last-child {
    color: #6c7a8f;
    font-size: 0.82rem;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.logo .brand-sub {
    display: block;
    color: #4a5a6a;
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 0.1rem;
    letter-spacing: 0.01em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.8rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease, transform 0.3s ease;
    padding: 0.5rem;
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-1px);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-links a:focus, .cta-button:focus, .contact-btn:focus, .slider-button:focus {
    outline: var(--focus-outline);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(231,76,60,0.2);
    background-color: #f2f2f2;
}

.nav-links a.active {
    border-bottom: none;
    color: inherit;
    background: none;
    font-weight: inherit;
    text-decoration: none;
}

.nav-links a:focus, .nav-links a:active {
    border-bottom: none !important;
    color: inherit !important;
    background: none !important;
    outline: none;
    box-shadow: none;
    text-decoration: none;
}

/* Hero Bölümü */
#hero, #anasayfa {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 1rem;
    overflow: hidden;
    margin-top: 0;
    min-height: 78vh;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
    filter: brightness(0.75) contrast(1.05);
    transition: transform 0.8s ease;
    will-change: transform;
}

.hero:hover .hero-background-image,
#anasayfa:hover .hero-background-image {
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(31,49,73,0.56) 0%, rgba(31,49,73,0.86) 45%, rgba(31,49,73,0.96) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 760px;
    padding: 2.5rem 2rem;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 28px;
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 80px rgba(31,49,73,0.14);
}

.hero-content h2 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    margin-bottom: 1rem;
    line-height: 1.08;
    color: #ffffff;
    letter-spacing: -0.03em;
}

.hero-content h1, .hero-content h2 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    margin-bottom: 1rem;
    line-height: 1.08;
    color: #ffffff;
    letter-spacing: -0.03em;
}
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #27a0ff 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 999px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: clamp(0.95rem, 2.5vw, 1rem);
    white-space: nowrap;
    box-shadow: 0 16px 30px rgba(47,122,255,0.22);
}

.cta-button:hover, .cta-button:focus {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #1b63e6 0%, #1f84ff 100%);
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 20px 40px rgba(47,122,255,0.26);
}

/* Hizmetler Bölümü */
#hizmetler {
    padding: 6rem 5%;
    background: linear-gradient(180deg, var(--light-bg) 0%, #ffffff 100%);
}

#hizmetler h2,
#galeri h2,
#iletisim h2,
#hakkimizda h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    position: relative;
}

#hizmetler h2::after,
#galeri h2::after,
#iletisim h2::after,
#hakkimizda h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    margin: 1.2rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 20px 45px rgba(31,49,73,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 6px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 0 0 12px 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 28px 70px rgba(31,49,73,0.14);
}

.service-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.service-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
}

/* Hakkımızda Bölümü */
#hakkimizda {
    padding: 5rem 5%;
    background: #f7fbff;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 0 1rem;
}

.feature {
    text-align: center;
    padding: 2rem;
}

.feature i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.about-content {
    background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(244,247,251,0.95) 100%);
    border-radius: 24px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 24px 70px rgba(31,49,73,0.08);
    border: 1px solid rgba(47,122,255,0.12);

.about-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: clamp(1.2rem, 3vw, 1.3rem);
    font-weight: 700;
}

.about-content p {
    margin-bottom: 1rem;
    font-size: clamp(0.9rem, 2.5vw, 1.05rem);
    color: #333;
    line-height: 1.7;
}


}
/* İletişim Bölümü */
#iletisim {
    padding: 5rem 5%;
    background-color: var(--light-bg);
}

#iletisim h2 {
    text-align: left;
    margin-bottom: 2rem;
    color: var(--primary-color);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.contact-info {
    text-align: left;
    padding: 2rem;
    background: linear-gradient(180deg, #ffffff 0%, #f5f8fd 100%);
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(31,49,73,0.08);
    border: 1px solid rgba(47,122,255,0.12);
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(31,49,73,0.08);
    border: 1px solid rgba(31,49,73,0.08);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.contact-info p,
.contact-info a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #47515f;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.contact-info p i,
.contact-info a i {
    color: var(--secondary-color);
    min-width: 1.2rem;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: clamp(1.4rem, 3vw, 1.6rem);
}

.contact-info a {
    text-decoration: none;
    color: var(--primary-color);
}

.contact-info a:hover,
.contact-info a:focus {
    color: var(--secondary-color);
    text-decoration: underline;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* Contact section refinements */
#iletisim h2 {
    text-align: center;
}

.contact-list p {
    padding: 0.6rem 0;
    font-size: 1.02rem;
    color: #32404f;
}

.contact-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.contact-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
}

.contact-actions .call-btn {
    background: linear-gradient(90deg, var(--secondary-color), #1b63e6);
}

.contact-actions .whatsapp-btn {
    background: linear-gradient(90deg, #25D366, #1ab34a);
}

.map-container iframe {
    border-radius: 18px;
    min-height: 360px;
    box-shadow: 0 24px 60px rgba(31,49,73,0.12);
    border: 1px solid rgba(31,49,73,0.06);
}

#iletisim {
    padding: 5rem 5%;
    background: radial-gradient(circle at top left, rgba(47,122,255,0.14), transparent 34%),
                radial-gradient(circle at bottom right, rgba(243,156,18,0.10), transparent 28%),
                var(--light-bg);
}

#iletisim h2 {
    position: relative;
    text-align: center;
    margin-bottom: 3rem;
}

#iletisim h2::after {
    content: '';
    position: absolute;
    bottom: -1.2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.contact-container {
    position: relative;
    padding: 2rem 0 0;
}

.contact-container::before {
    content: '';
    position: absolute;
    top: 1rem;
    right: 2rem;
    width: 220px;
    height: 220px;
    background: rgba(47,122,255,0.08);
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
    position: relative;
    z-index: 1;
    min-width: 0;
}

.contact-card,
.info-card,
.contact-message-card-wrapper {
    min-width: 0;
}

.contact-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 30px 80px rgba(31,49,73,0.08);
    border: 1px solid rgba(31,49,73,0.08);
}

.card-head {
    display:flex;
    gap:1rem;
    align-items:center;
    margin-bottom: 1.2rem;
}

.card-logo {
    border-radius: 16px;
    width: 62px;
    height: 62px;
    object-fit:cover;
}

.contact-card h3 { margin:0; color:var(--primary-color); font-size:1.35rem }
.contact-card .muted { color:var(--muted-text); font-size:0.98rem; line-height:1.6 }

.contact-details {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
}

.contact-info-grid {
    display: grid;
    gap: 1rem;
}

.info-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    background: rgba(47,122,255,0.08);
    border: 1px solid rgba(47,122,255,0.12);
    border-radius: 18px;
    padding: 1rem 1.2rem;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    border-color: rgba(47,122,255,0.18);
    box-shadow: 0 16px 30px rgba(47,122,255,0.12);
}

.info-card .info-body {
    min-width: 0;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--secondary-color), #1b63e6);
    color: #fff;
    box-shadow: 0 10px 30px rgba(31,49,73,0.18);
}

.info-title {
    margin: 0 0 0.5rem;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.info-text {
    display: block;
    color: #5a6b82;
    margin: 0.25rem 0 0.5rem;
    font-size: 0.96rem;
    line-height: 1.5;
}

.contact-person {
    display: grid;
    gap: 0.25rem;
    margin-bottom: 0.9rem;
}

.contact-person:last-child {
    margin-bottom: 0;
}

.contact-person a,
.info-card a,
.info-card span {
    display: block;
    color: #37474f;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.5;
}

.contact-message-card-wrapper {
    display: flex;
    align-items: stretch;
}

.contact-message-card {
    width: 100%;
}

.info-card a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}

.info-card a:hover {
    color: var(--secondary-color);
}

.contact-form-wrapper { background:transparent }
.contact-message-card { background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%); padding:2rem; border-radius:24px; box-shadow: 0 20px 60px rgba(31,49,73,0.1); border: 1px solid rgba(31,49,73,0.08); }
.contact-message-card h4 { margin:0 0 1rem; color:var(--primary-color); font-size:1.45rem }
.contact-message-card p { color:#3f4e62; line-height:1.9; margin-bottom:1.5rem }
.contact-message-meta { display:flex; gap:1rem; flex-wrap:wrap; color:#5b6b7f }
.contact-message-meta span { display:inline-flex; align-items:center; gap:0.6rem; font-size:1rem }
.contact-message-meta i { color:var(--secondary-color) }

@media (max-width: 980px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-info-grid { grid-template-columns: 1fr; }
    .contact-container::before { display:none }
}

.submit-button {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #2980b9;
}

/* Mobil Menü butonu (varsayılan gizli, küçük ekranlarda görünür) */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1.05rem 2.4rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1b63e6 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 999px;
    transition: transform 0.22s cubic-bezier(.2,.9,.2,1), box-shadow 0.22s ease, opacity 0.18s ease;
    font-size: clamp(1rem, 2.6vw, 1.05rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
    box-shadow: 0 18px 44px rgba(27,99,230,0.18);
    border: 1px solid rgba(255,255,255,0.12);
    z-index: 60;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.cta-button:hover, .cta-button:focus {
    transform: translateY(-4px) scale(1.02);
    background: linear-gradient(135deg, #175fcd 0%, #1a79ff 100%);
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 28px 64px rgba(27,99,230,0.22);
    opacity: 0.98;
}

.cta-button:focus {
    outline: var(--focus-outline);
    outline-offset: 3px;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 3%;
    }

    .mobile-menu-btn {
        display: block;
    }

    .logo {
        gap: 0.5rem;
    }

    .logo-img {
        width: 35px;
        height: 35px;
    }

    .logo h1 {
        font-size: 1rem;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 0;
        max-height: 80vh;
        overflow-y: auto;
        background: var(--white);
        padding: 0 1rem;
        gap: 1rem;
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
        transform: none;
        transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.25s, opacity 0.25s;
        opacity: 0;
        visibility: hidden;
        z-index: 1000;
    }

    .nav-links.active {
        height: auto;
        max-height: 80vh;
        padding: 5rem 1rem 1rem;
        opacity: 1;
        visibility: visible;
        overflow-y: auto;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 1rem 1.2rem;
        font-size: 1.15rem;
        margin: 0.4rem 0;
        border-radius: 16px;
        background: linear-gradient(90deg, rgba(240,247,255,0.95) 0%, rgba(230,240,255,0.95) 100%);
        border: 1.5px solid #e3eaf3;
        box-shadow: 0 2px 12px rgba(44,62,80,0.06);
        font-weight: 600;
        letter-spacing: 0.02em;
        color: var(--primary-color);
        display: block;
        opacity: 1;
        transition: background 0.25s, color 0.2s, box-shadow 0.2s, border 0.2s;
    }

    .nav-links a:hover, .nav-links a:focus {
        background: linear-gradient(90deg, rgba(52,152,219,0.12) 0%, rgba(52,152,219,0.18) 100%);
        color: var(--secondary-color);
        border: 1.5px solid var(--secondary-color);
        box-shadow: 0 4px 18px rgba(44,62,80,0.13);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links a i {
        margin-right: 0.7em;
        font-size: 1.2em;
        vertical-align: middle;
        color: var(--secondary-color);
        transition: color 0.2s;
    }

    .nav-links a:hover i,
    .nav-links a:focus i {
        color: var(--accent-color);
    }

    body.menu-open {
        overflow: hidden;
    }

    .slider-button {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        background: rgba(255, 255, 255, 0.9);
    }

    .slider-button.prev {
        left: 0.5rem;
    }

    .slider-button.next {
        right: 0.5rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }

    .service-card {
        padding: 2rem;
    }

    .service-card i {
        font-size: 2.5rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .service-card p {
        font-size: 1rem;
    }

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

    .map-container {
        height: 300px;
    }

    .nav-links a.active {
        border-bottom: none;
        color: inherit;
        background: none;
        font-weight: inherit;
        text-decoration: none;
    }

    .nav-links a:focus, .nav-links a:active {
        border-bottom: none !important;
        color: inherit !important;
        background: none !important;
        outline: none;
        box-shadow: none;
        text-decoration: none;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 0.9rem;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 0.8rem;
    }
}

@media (max-width: 576px) {
    .hero-content h2 {
        font-size: 2rem;
    }

    .service-card,
    .feature {
        padding: 1.5rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 0.8rem;
    }

    .fixed-contact-buttons {
        bottom: 1rem;
        left: 1rem;
    }

    .contact-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .slider-button {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .slider-button.prev {
        left: 0.3rem;
    }

    .slider-button.next {
        right: 0.3rem;
    }

    #scrollTopBtn {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .slider-container {
        padding: 0 3rem;
    }

    .slide {
        padding: 0 0.3rem;
    }

    .slide img {
        max-height: 300px;
    }
}

/* iPhone 8 Plus için özel düzenlemeler */
@media only screen 
    and (device-width: 414px) 
    and (device-height: 736px) 
    and (-webkit-device-pixel-ratio: 3) {
    .slider-container {
        padding: 0 2.5rem;
    }

    .slider-button {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        background: rgba(255, 255, 255, 0.95);
    }

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

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

/* Galeri Bölümü */
#galeri {
    padding: 5rem 5%;
    overflow: hidden;
}

#galeri h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.slider-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
    touch-action: pan-y;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.slide img:hover {
    transform: scale(1.02);
    filter: brightness(1.03);
}

.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: background-color 0.3s ease;
    z-index: 10;
}

.slider-button:hover, .slider-button:focus {
    background: var(--white);
    transform: translateY(-50%) scale(1.05);
}

.slider-button.prev {
    left: 1rem;
}

.slider-button.next {
    right: 1rem;
}

/* Enforce explicit left/right placement to avoid cascade issues */
.slider-container .slider-button {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 30 !important;
}

.slider-container .slider-button.prev {
    left: 12px !important;
    right: auto !important;
}

.slider-container .slider-button.next {
    right: 12px !important;
    left: auto !important;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background: var(--secondary-color);
}

/* Sabit İletişim Butonları */
.fixed-contact-buttons {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.contact-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.contact-btn:hover, .contact-btn:focus {
    background-color: var(--accent-color);
    color: var(--white);
    outline: var(--focus-outline);
}

.contact-btn.phone-btn {
    background-color: var(--secondary-color);
}

.contact-btn.whatsapp-btn {
    background-color: #25D366;
}

/* Yukarı Kaydırma Butonu */
#scrollTopBtn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease;
    z-index: 1000;
}

#scrollTopBtn:hover {
    background-color: #2980b9;
}

/* Harita */
.map-container {
    width: 100%;
    height: 400px;
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Yükleme Animasyonu */
@keyframes imageLoad {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide picture::before {
    content: '';
    display: block;
    padding-top: 56.25%;
}

.slide img:not([src]) {
    opacity: 0;
}

.slide img[loading="eager"] {
    animation: imageLoad 0.3s ease-in-out;
}

.slide img[loading="lazy"] {
    animation: imageLoad 0.5s ease-in-out;
}

.footer-content {
    text-align: center;
    padding: 1rem;
    background-color: var(--primary-color);
    color: var(--white);
}

.footer-content p {
    margin: 0.5rem 0;
}

.footer-content .version {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

.footer-content a {
    color: var(--white);
    text-decoration: underline;
    margin: 0 0.5rem;
    font-size: 0.95rem;
}

.footer-content a:hover, .footer-content a:focus {
    color: var(--accent-color);
    outline: var(--focus-outline);
}

/* Form Hata Mesajı */
.form-error {
    color: var(--accent-color);
    font-size: 0.95rem;
    margin-top: 0.25rem;
    display: none;
}

input:invalid, textarea:invalid {
    border: 2px solid var(--accent-color);
}

input:valid, textarea:valid {
    border: 2px solid var(--secondary-color);
}

/* Slider swipe desteği için */
.slider {
    touch-action: pan-y;
}

.slider-button:focus {
    outline: var(--focus-outline);
    background-color: var(--accent-color);
    color: var(--white);
}

main {
    padding-top: 120px;
}

/* Ripple effect for interactive buttons */
.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    background: rgba(255,255,255,0.35);
    pointer-events: none;
    animation: ripple 600ms linear;
}

@keyframes ripple {
    to { transform: scale(4); opacity: 0; }
}

/* Ensure clickable controls contain ripple */
.cta-button, .submit-button, .contact-btn, .slider-button { position: relative; overflow: hidden; }

/* Landing page specific improvements: cankaya-apartman-temizligi */
.service-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 62vh;
    padding: 3rem 1rem;
    overflow: hidden;
    background: linear-gradient(180deg, #eef6ff 0%, #ffffff 100%);
}
.service-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    filter: brightness(0.55) contrast(1.02);
}
.service-hero .container {
    position: relative;
    z-index: 2;
    max-width: 980px;
    width: 100%;
    color: #0f1724;
    text-align: left;
    padding: 2rem;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.75));
    box-shadow: 0 20px 50px rgba(31,49,73,0.08);
}
.service-hero h1 {
    color: var(--primary-color);
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    line-height: 1.08;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}
.service-hero p {
    color: #314455;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}
.service-hero .cta-button { margin-right: 0.8rem; }
.secondary-link {
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    color: var(--white);
    background: rgba(255,255,255,0.18);
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}
.secondary-link:hover,
.secondary-link:focus {
    background: rgba(255,255,255,0.32);
    transform: translateY(-1px);
}

.service-details.container {
    padding: 3rem 5%;
    max-width: 980px;
}
.service-details h2 {
    color: var(--primary-color);
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    margin-bottom: 1rem;
}
.service-details ul { margin: 0; padding-left: 1.15rem; color: #35485a; font-size: 1.02rem; line-height: 1.8; }
.service-details ul li { margin: 0.45rem 0; }

/* Company / SEO content block */
.company-section {
    padding: 4rem 5%;
    background: linear-gradient(180deg, rgba(240,247,255,0.6), #ffffff 60%);
}
.company-section .company-grid {
    display: grid;
    grid-template-columns: 1fr 460px;
    gap: 2.4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.company-image {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 22px 60px rgba(31,49,73,0.08);
}
.company-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.company-content h2 { color: var(--primary-color); font-size: clamp(1.6rem, 3.8vw, 2.4rem); margin-bottom: 0.6rem; }
.company-content p { color: #32404f; line-height: 1.8; margin-bottom: 1rem; }
.company-list { list-style: none; padding: 0; margin: 1rem 0 1.2rem; display: grid; gap: 0.6rem; }
.company-list li { display:flex; gap:0.8rem; align-items:flex-start; color:#425463; }
.company-list li .icon { min-width: 36px; height:36px; display:grid; place-items:center; background: linear-gradient(135deg, var(--secondary-color), var(--accent-color)); color:#fff; border-radius:8px; font-weight:700; }
.company-cta { margin-top: 1.2rem; display:flex; gap:1rem; align-items:center; }
.company-cta .cta-button { box-shadow: 0 20px 50px rgba(27,99,230,0.14); }
.company-cta .secondary-link { background: transparent; border: 1px solid rgba(31,49,73,0.06); color: var(--primary-color); padding: 0.9rem 1.2rem; border-radius: 10px; }

@media (max-width: 980px) {
    .company-section .company-grid { grid-template-columns: 1fr; }
    .company-cta { flex-direction: column; align-items: stretch; }
    .company-cta .cta-button { width: 100%; justify-content:center; }
    .company-image { order: -1; height: 240px; }
}

/* Make sure hero doesn't hide under fixed header on smaller screens */
@media (max-width: 980px) {
    main { padding-top: 100px; }
    .service-hero .container { padding: 1.2rem; border-radius: 12px; }
    .service-hero h1 { font-size: clamp(1.4rem, 6vw, 2rem); }
}

/* Service Detail Page Styles */
.service-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 1rem;
    overflow: hidden;
    margin-top: 0;
    min-height: 78vh;
}

.service-hero .hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
    filter: brightness(0.75) contrast(1.05);
    transition: transform 0.8s ease;
    will-change: transform;
}

.service-hero:hover .hero-background-image {
    transform: scale(1.02);
}

.service-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(31,49,73,0.56) 0%, rgba(31,49,73,0.86) 45%, rgba(31,49,73,0.96) 100%);
    z-index: 2;
}

.service-hero .hero-content {
    position: relative;
    z-index: 3;
    max-width: 760px;
    padding: 2.5rem 2rem;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 28px;
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 80px rgba(31,49,73,0.14);
}

.service-hero .hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    margin-bottom: 1rem;
    line-height: 1.08;
    color: #ffffff;
    letter-spacing: -0.03em;
}

.service-hero .hero-content p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.92);
}

.service-details {
    padding: 4rem 5%;
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 60%);
}

.service-details .container {
    max-width: 1200px;
    margin: 0 auto;
}

.service-details h2 {
    color: var(--primary-color);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
}

.service-details h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    margin: 1.2rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.service-details .lead {
    font-size: 1.1rem;
    color: #425463;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.features-section {
    padding: 4rem 5%;
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
}

.features-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.features-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 3rem;
    position: relative;
}

.features-section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    margin: 1.2rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(31,49,73,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(31,49,73,0.10);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 12px 30px rgba(47,122,255,0.18);
}

.feature-item h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.feature-item p {
    color: #586176;
    line-height: 1.7;
    font-size: 0.95rem;
}

.contact-section {
    padding: 4rem 5%;
    background: linear-gradient(135deg, rgba(47,122,255,0.08) 0%, rgba(243,156,18,0.06) 100%),
                linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
    text-align: center;
}

.contact-section .container {
    max-width: 900px;
    margin: 0 auto;
}

.contact-section h2 {
    color: var(--primary-color);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 0.6rem;
    position: relative;
}

.contact-section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    margin: 1.2rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.contact-section p {
    color: #425463;
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.6rem;
    border-radius: 999px;
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 12px 30px rgba(31,49,73,0.12);
}

.contact-btn:hover {
    transform: translateY(-2px);
}

.contact-btn.phone-btn {
    background: linear-gradient(135deg, var(--secondary-color), #1b63e6);
}

.contact-btn.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #1ab34a);
}

.contact-btn.email-btn {
    background: linear-gradient(135deg, #FF5E78, #E84855);
}

@media (max-width: 768px) {
    .service-details {
        padding: 2.5rem 3%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-item {
        padding: 1.5rem;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .contact-btn {
        width: 100%;
        justify-content: center;
    }

    .service-hero .hero-content {
        padding: 1.5rem 1.2rem;
    }

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

