/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Ana palet: beyaz, mavi, siyah */
    --white: #ffffff;
    --off-white: #f6f8fc;
    --black: #0d0d0d;
    --primary-color: #1565c0;
    --primary-hover: #0d47a1;
    --secondary-color: #1e88e5;
    --blue-dark: #0a1628;
    --blue-mid: #0d2137;
    --blue-light: #e3f2fd;
    --blue-lighter: #e8f4fc;
    --dark-color: #0a1628;
    --light-color: #e8f4fc;
    --whatsapp-color: #25d366;
    --text-color: #1a1a1a;
    --text-light: #37474f;
    --shadow: 0 3px 12px rgba(13, 33, 55, 0.1);
    --shadow-lg: 0 8px 24px rgba(13, 33, 55, 0.14);
    /* Beyaz arka plan için hafif desen (göz yormayan) */
    --pattern-dots: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><circle cx="4" cy="4" r="0.8" fill="%230d2137" fill-opacity="0.04"/></svg>');
}

body {
    font-family: 'Open Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--off-white);
    background-image: var(--pattern-dots);
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.01em;
}

/* Okunaklılık: içerik bloklarında satır yüksekliği ve başlık kontrastı */
.about-text p, .service-detail p, .feature-item p, .service-card p, .contact-form-wrapper p {
    line-height: 1.8;
}
.about-text h2, .about-text h3, .service-detail h2, .section-title {
    color: var(--black);
    font-weight: 700;
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    main {
        overflow-x: hidden;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.main-header {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 50%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo a.logo-link {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--white);
    text-decoration: none;
}

.logo .logo-icon {
    font-size: 36px;
    color: rgba(255, 255, 255, 0.95);
    flex-shrink: 0;
}

.logo .logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.logo .logo-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.logo .logo-slogan {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.85;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.03em;
}

/* Mobil: üst bar + site menüsü birlikte sticky */
@media (max-width: 768px) {
    .sticky-top-wrapper {
        position: sticky;
        top: 0;
        z-index: 100;
        background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 50%, var(--secondary-color) 100%);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    }
    .sticky-top-wrapper .main-nav {
        background: var(--blue-dark);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    .sticky-top-wrapper .mobile-menu-toggle,
    .sticky-top-wrapper .mobile-menu-toggle .menu-label {
        color: rgba(255, 255, 255, 0.95);
    }
}

/* Mobil: sadece logo ve slogan (büyük); header'da Ara/Mesaj yok, alttaki floating butonlar kalır */
@media (max-width: 768px) {
    .main-header .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    .header-top {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
    }
    /* Header'daki Ara ve Mesaj tamamen gizli */
    .header-contact {
        display: none !important;
    }
    .logo {
        width: 100%;
        text-align: center;
    }
    .logo a.logo-link {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .logo .logo-icon {
        font-size: 56px;
        flex-shrink: 0;
    }
    .logo .logo-text {
        align-items: center;
    }
    .logo .logo-title {
        font-size: 24px;
        line-height: 1.2;
        text-align: center;
    }
    .logo .logo-slogan {
        font-size: 15px;
        text-align: center;
        margin-top: 4px;
        opacity: 0.95;
    }
}

.header-contact {
    display: flex;
    gap: 15px;
    align-items: center;
}

.header-contact a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.header-contact-mobile {
    display: none;
}

@media (min-width: 769px) {
    .header-contact .header-contact-mobile {
        display: none;
    }
    .header-contact .header-contact-label {
        display: inline;
    }
}

.header-contact .phone-link {
    background: rgba(255, 255, 255, 0.1);
}

.header-contact .phone-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.header-contact .whatsapp-link {
    background: var(--whatsapp-color);
}

.header-contact .whatsapp-link:hover {
    background: #20ba5a;
    transform: translateY(-2px);
}

/* Navigation Styles */
.main-nav {
    background: var(--off-white);
    background-image: var(--pattern-dots);
    box-shadow: var(--shadow);
    border-bottom: 4px solid var(--primary-color);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--black);
    cursor: pointer;
    padding: 10px 15px;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.mobile-menu-toggle .menu-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-menu li a {
    display: block;
    padding: 20px 25px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: rgba(21, 101, 192, 0.08);
}

/* Dropdown Menu */
.nav-menu li.has-dropdown {
    position: relative;
}

.nav-menu li.has-dropdown > a {
    position: relative;
}

.nav-menu li.has-dropdown > a i {
    font-size: 12px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.nav-menu li.has-dropdown:hover > a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--off-white);
    background-image: var(--pattern-dots);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border-top: 3px solid var(--primary-color);
}

.nav-menu li.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    padding: 15px 20px;
    color: var(--text-color);
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    background: rgba(21, 101, 192, 0.08);
    color: var(--primary-color);
    padding-left: 25px;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
    min-height: 280px;
}

/* Arka plan: kombi resimleri yan yana (dikey/portrait) */
.hero-bg-images {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    z-index: 0;
}

.hero-bg-images img {
    flex: 1;
    width: 0;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 900px) {
    .hero-bg-images img:nth-child(4) { display: none; }
}

@media (max-width: 600px) {
    .hero-bg-images img:nth-child(3) { display: none; }
}

/* Mobil: hiçbir resim 1 ekrandan büyük olmasın */
@media (max-width: 768px) {
    .hero-section {
        min-height: 0;
        max-height: 100vh;
        padding: 50px 0;
    }
    .hero-bg-images,
    .hero-bg-images img {
        max-height: 100vh;
    }
    main .page-media-img,
    main .page-media-block img,
    main img.page-media-img {
        max-width: 100%;
        max-height: 100vh;
        width: auto;
        height: auto;
        object-fit: contain;
    }
    main .page-media-block,
    main .contact-page-image {
        max-height: 100vh;
        overflow: hidden;
    }
    .service-page-media-col .page-media-block,
    .ilce-media-section .page-media-block,
    .about-media .page-media-block {
        max-height: 70vh;
    }
    .contact-below-image .contact-page-image {
        max-width: 100%;
        max-height: 70vh;
    }
    .media-video,
    .video-embed video {
        max-width: 100%;
        max-height: 50vh;
    }
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Opacity overlay – yazıların okunaklı olması için */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 22, 40, 0.78);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease;
}

/* Hero Image Slider */
.hero-image-slider {
    position: relative;
    z-index: 1;
    margin-top: 60px;
    width: 100%;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slider-track {
    display: flex;
    gap: 20px;
    will-change: transform;
    transition: transform 0.5s ease;
}

.slider-card {
    flex: 0 0 300px;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    background: var(--off-white);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85) saturate(0.9);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.3) 100%
    );
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.slider-card:hover .card-image-wrapper img {
    transform: scale(1.05);
    filter: brightness(0.95) saturate(1);
}

.slider-card:hover .card-overlay {
    opacity: 0.4;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-whatsapp {
    background: var(--whatsapp-color);
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

/* Section divider - wave graphic (mavi tonları) */
.section-divider {
    height: 60px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 60" preserveAspectRatio="none"><path fill="%23e8f4fc" d="M0 60V30c240 0 480-30 720-30s480 30 720 30v30H0z"/><path fill="%230d2137" d="M0 60V45c180-15 360-15 720 0 360-15 540-15 720 0v15H0z"/></svg>') no-repeat center bottom;
    background-size: 100% 100%;
    margin-bottom: -1px;
}

.section-divider-light-to-dark {
    height: 50px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 50" preserveAspectRatio="none"><path fill="%231e88e5" d="M0 0v25c360 25 720 25 1440 0V0H0z"/><path fill="%23e8f4fc" d="M0 50V35c240 0 480-15 720-15s480 15 720 15v15H0z"/></svg>') no-repeat center top;
    background-size: 100% 100%;
    margin-top: -1px;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: var(--light-color);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-image: radial-gradient(circle at 20% 30%, rgba(21, 101, 192, 0.06) 0%, transparent 50%),
                      radial-gradient(circle at 80% 70%, rgba(30, 136, 229, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--black);
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-title::before {
    content: '';
    display: block;
    width: 36px;
    height: 36px;
    margin: 0 auto 12px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><circle cx="18" cy="18" r="16" fill="none" stroke="%231565c0" stroke-width="1.5" opacity="0.5"/><path d="M18 8 L20 14 L26 14 L21 18 L23 24 L18 21 L13 24 L15 18 L10 14 L16 14 Z" fill="%231565c0" opacity="0.7"/></svg>') no-repeat center;
    background-size: contain;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--off-white);
    background-image: var(--pattern-dots);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    color: inherit;
    border-color: var(--primary-color);
}

.service-card:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.service-card:visited {
    color: inherit;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 36px;
    position: relative;
    box-shadow: 0 4px 15px rgba(21, 101, 192, 0.35);
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(21, 101, 192, 0.25);
    pointer-events: none;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--black);
    font-weight: 700;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.75;
}

/* Why Choose Us Section */
.why-choose-section {
    padding: 80px 0;
    background: var(--off-white);
    background-image: var(--pattern-dots);
    position: relative;
    overflow: hidden;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 80 80"><path d="M0 40 L40 0 L80 40 L40 80 Z" fill="none" stroke="rgba(21,101,192,0.05)" stroke-width="1"/></svg>');
    background-size: 80px 80px;
    pointer-events: none;
}

.why-choose-section .container,
.services-section .container {
    position: relative;
    z-index: 1;
}

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

.feature-item {
    text-align: center;
    padding: 30px;
    position: relative;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid rgba(21, 101, 192, 0.15);
    pointer-events: none;
}

.feature-item i,
.feature-item .feature-icon-tl {
    font-size: 48px;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.feature-item .feature-icon-tl {
    font-size: 42px;
    font-weight: 700;
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1;
    display: inline-block;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--black);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Service Areas Section */
.service-areas-section {
    padding: 80px 0;
    background: var(--light-color);
    position: relative;
}

.service-areas-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><rect x="0" y="0" width="30" height="30" fill="none" stroke="rgba(21,101,192,0.06)" stroke-width="1"/><rect x="30" y="30" width="30" height="30" fill="none" stroke="rgba(21,101,192,0.06)" stroke-width="1"/></svg>');
    background-size: 60px 60px;
    pointer-events: none;
}

.service-areas-section .container {
    position: relative;
    z-index: 1;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.area-item {
    background: var(--off-white);
    background-image: var(--pattern-dots);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: var(--black);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.area-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 50%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.06)" stroke-width="1"/><circle cx="50" cy="50" r="25" fill="none" stroke="rgba(255,255,255,0.04)" stroke-width="1"/></svg>');
    background-size: 100px 100px;
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.main-footer {
    background: linear-gradient(180deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 20px;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-section ul li i {
    margin-right: 10px;
    color: var(--blue-light);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--blue-light);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-link.whatsapp {
    background: var(--whatsapp-color);
}

.social-link.facebook {
    background: #1877f2;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

.footer-bottom p {
    margin-bottom: 10px;
}

.footer-bottom .design-credit {
    margin-top: 15px;
    font-size: 14px;
    opacity: 0.9;
}

.footer-bottom .design-credit a {
    color: var(--blue-light);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.footer-bottom .design-credit a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Floating Buttons (Mobile) */
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 600;
}

.floating-btn i {
    font-size: 24px;
    margin-bottom: 5px;
}

.floating-btn.phone-btn {
    background: var(--primary-color);
    color: var(--white);
}

.floating-btn.whatsapp-btn {
    background: var(--whatsapp-color);
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 50%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--black);
    font-weight: 700;
}

.about-text h3 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 65ch;
}

.about-content-with-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

@media (max-width: 900px) {
    .about-content-with-media {
        grid-template-columns: 1fr;
    }
    .about-media { order: -1; }
}

.about-media {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.page-media-block {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.page-media-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.video-embed-block {
    background: var(--light-color);
    padding: 20px;
    border-radius: 12px;
}

.video-embed-title {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--dark-color);
}

.video-embed {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.media-video {
    width: 100%;
    max-height: 320px;
    display: block;
}

.service-page-with-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 900px) {
    .service-page-with-media {
        grid-template-columns: 1fr;
    }
    .service-page-media-col { order: -1; }
}

.service-page-media-col .page-media-block {
    margin-bottom: 24px;
}

/* İlçe sayfası: büyük ekranda metin sol, resim+video sağ; tek ekranda sığsın */
@media (min-width: 769px) {
    .service-page-section .container:has(.ilce-media-section) {
        display: grid;
        grid-template-columns: 1fr 300px;
        gap: 36px;
        align-items: start;
    }
    .service-page-section .container:has(.ilce-media-section) .service-page-content {
        display: block;
        min-width: 0;
    }
    .service-page-section .container:has(.ilce-media-section) .ilce-media-section {
        margin-top: 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
        position: sticky;
        top: 80px;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
        min-width: 0;
    }
    .service-page-section .container:has(.ilce-media-section) .ilce-media-section .page-media-block {
        flex: 0 0 auto;
        max-height: 32vh;
        overflow: hidden;
        border-radius: 10px;
    }
    .service-page-section .container:has(.ilce-media-section) .ilce-media-section .page-media-block .page-media-img {
        width: 100%;
        height: 100%;
        max-height: 32vh;
        object-fit: cover;
        display: block;
    }
    .service-page-section .container:has(.ilce-media-section) .ilce-media-section .video-embed-block {
        flex: 0 0 auto;
        max-height: 32vh;
        padding: 12px;
    }
    .service-page-section .container:has(.ilce-media-section) .ilce-media-section .media-video {
        max-height: 28vh;
        width: 100%;
        display: block;
    }
    .service-page-section .container:has(.ilce-media-section) .ilce-media-section .video-embed-title {
        font-size: 13px;
        margin-bottom: 6px;
    }
}

.ilce-media-section {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .ilce-media-section { grid-template-columns: 1fr; }
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: var(--light-color);
    border-radius: 10px;
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    color: var(--text-light);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-top-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 50px;
}

@media (max-width: 900px) {
    .contact-top-row {
        grid-template-columns: 1fr;
    }
    .contact-map-embed { min-height: 280px; }
}

.contact-map-wrapper h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.contact-map-embed {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 350px;
    background: var(--light-color);
}

.contact-map-embed iframe {
    display: block;
    min-height: 350px;
}

.contact-below-image {
    margin-bottom: 50px;
}

.contact-below-image .contact-page-image {
    max-width: 560px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-below-image .contact-page-image .page-media-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.contact-form-section {
    margin-top: 40px;
}

.contact-form-section h2 {
    font-size: 32px;
    margin-bottom: 24px;
    color: var(--black);
    font-weight: 700;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--black);
    font-weight: 700;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-item h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--black);
    font-weight: 600;
}

.contact-item a {
    color: var(--secondary-color);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-form-wrapper h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--black);
    font-weight: 700;
}

.contact-form {
    background: var(--light-color);
    padding: 40px;
    border-radius: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--black);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(13, 33, 55, 0.18);
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    color: var(--text-color);
    background: var(--white);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.service-list {
    list-style: none;
    margin-top: 20px;
}

.service-list li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-detail {
    margin-bottom: 50px;
    background: var(--off-white);
    background-image: var(--pattern-dots);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.service-detail-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.service-detail-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 36px;
}

.service-detail h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--black);
    font-weight: 700;
}

.service-detail p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.map-section {
    padding: 60px 0;
    background: var(--light-color);
}

.map-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--black);
    font-weight: 700;
}

.service-areas-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--off-white);
        background-image: var(--pattern-dots);
        flex-direction: column;
        box-shadow: var(--shadow-lg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        z-index: 1000;
        width: 100%;
        opacity: 0;
        visibility: hidden;
    }

    .nav-menu.active {
        max-height: 600px;
        overflow-y: auto;
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
        width: 100%;
        display: block;
    }

    .nav-menu li.has-dropdown > a {
        position: relative;
    }

    .nav-menu li.has-dropdown > a i {
        transition: transform 0.3s ease;
    }

    .dropdown-menu li a {
        padding: 12px 20px 12px 40px;
        font-size: 14px;
        border-bottom: 1px solid #f0f0f0;
    }

    .dropdown-menu li:last-child a {
        border-bottom: 1px solid #eee;
    }

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

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
    }

    .floating-buttons {
        right: 15px;
        bottom: 15px;
    }

    .floating-btn {
        width: 60px;
        height: 60px;
        font-size: 10px;
    }

    .floating-btn i {
        font-size: 20px;
    }

    .service-detail-content {
        flex-direction: column;
    }

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

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

@media (min-width: 769px) {
    .floating-buttons {
        display: none;
    }
}

@media (max-width: 768px) {
    .slider-card {
        flex: 0 0 250px;
        height: 160px;
    }

    .hero-image-slider {
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 60px 0;
    }

    .hero-section h1 {
        font-size: 24px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .contact-form {
        padding: 25px;
    }

    .slider-card {
        flex: 0 0 200px;
        height: 130px;
    }

    .slider-track {
        gap: 15px;
    }

    .hero-image-slider {
        margin-top: 30px;
    }
}

/* Services List Section */
.services-list-section {
    padding: 80px 0;
}

.services-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-list-item {
    background: var(--off-white);
    background-image: var(--pattern-dots);
    padding: 40px 30px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: block;
    border-left: 4px solid var(--primary-color);
}

.service-list-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--secondary-color);
}

.service-list-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 32px;
}

.service-list-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-list-item p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.service-list-item:hover .service-link {
    gap: 12px;
}

/* Service Page Section */
.service-page-section {
    padding: 60px 0;
}

.service-page-content {
    display: grid;
    grid-template-columns: 2.5fr 1.5fr;
    gap: 50px;
    align-items: center;
}

.service-page-content.service-image-left {
    grid-template-columns: 2.5fr 1.5fr;
}

.service-page-content.service-image-right {
    grid-template-columns: 1.5fr 2.5fr;
}

.service-page-content.service-image-right .service-page-image {
    order: -1;
}

.service-page-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.service-page-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 16px;
}

.service-page-image {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.service-page-image .service-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: var(--light-color);
    border: 2px dashed #ddd;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.image-placeholder i {
    font-size: 64px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.image-placeholder p {
    font-size: 18px;
    font-weight: 600;
}

.service-cta {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Responsive for Service Pages */
@media (max-width: 768px) {
    .service-page-content {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .service-page-content.service-image-right .service-page-image {
        order: 0;
    }

    .service-page-image {
        min-height: 250px;
    }
    
    .service-page-image .service-image {
        max-height: 400px;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: 1px solid #eee;
        margin-top: 0;
        display: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: rgba(0, 0, 0, 0.02);
    }

    .nav-menu li.has-dropdown.active .dropdown-menu {
        display: block;
        max-height: 500px;
        padding-top: 0;
    }

    .nav-menu li.has-dropdown.active > a {
        color: var(--primary-color);
        background: rgba(21, 101, 192, 0.08);
    }

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

/* Gallery Styles */
.gallery-section {
    padding: 60px 0;
    background: var(--light-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--off-white);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
    background: #f0f0f0;
}

.gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 40px;
    color: var(--white);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#lightboxImage {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 5px;
    opacity: 0;
    animation: zoomIn 0.3s ease forwards;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-caption {
    color: var(--white);
    text-align: center;
    padding: 15px 0;
    font-size: 16px;
    max-width: 800px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 10000;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

.lightbox-close {
    top: 20px;
    right: 30px;
    font-size: 50px;
    line-height: 1;
}

.lightbox-prev {
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-next {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 30px;
        width: 50px;
        height: 50px;
    }

    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 40px;
    }

    .lightbox-caption {
        font-size: 14px;
        padding: 10px;
    }
}

