/*
Theme: By Balon Organizasyon — Turkuaz Baskın
Palette:
  Primary:    #20B2AA
  Secondary:  #008B8B
  Accent:     #FFD700
  Background: #F0FFFF
  PrimaryDark:#004D4D
  Text:       #2C3E50
  Light:      #FFFFFF
*/

:root {
    --color-primary: #20B2AA;
    --color-secondary: #008B8B;
    --color-accent: #FFD700;
    --color-bg: #F0FFFF;
    --color-primary-dark: #004D4D;
    --color-text: #2C3E50;
    --color-light: #FFFFFF;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --shadow-soft: 0 8px 30px rgba(32, 178, 170, 0.12);
    --shadow-card: 0 10px 35px rgba(0, 77, 77, 0.08);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.3s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary-dark);
    line-height: 1.3;
}
a { color: var(--color-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-secondary); }
img { max-width: 100%; height: auto; }

/* Background utilities */
.bg-primary-custom { background: var(--color-primary) !important; }
.bg-secondary-custom { background: var(--color-secondary) !important; }
.bg-accent { background: var(--color-accent) !important; }
.bg-primary-dark { background: var(--color-primary-dark) !important; }
.bg-azure { background: var(--color-bg) !important; }
.text-primary-custom { color: var(--color-primary) !important; }
.text-secondary-custom { color: var(--color-secondary) !important; }
.text-accent { color: var(--color-accent) !important; }
.text-primary-dark { color: var(--color-primary-dark) !important; }

/* Buttons */
.btn { font-weight: 600; border-radius: 50rem; padding: 0.65rem 1.6rem; font-family: var(--font-heading); transition: var(--transition); }
.btn-primary, .btn-primary-custom {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}
.btn-primary:hover, .btn-primary-custom:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(32, 178, 170, 0.35);
}
.btn-accent {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-primary-dark);
}
.btn-accent:hover {
    background: #e6c200;
    border-color: #e6c200;
    color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(255, 215, 0, 0.35);
}
.btn-outline-light { border-width: 2px; }
.btn-outline-light:hover { background: #fff; color: var(--color-primary-dark); }

/* Sections */
section { position: relative; }
.section-padding { padding: 5rem 0; }
.section-title { margin-bottom: 3.2rem; }
.section-title .sub-title {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
}
.section-title h2 { margin-bottom: 0.7rem; }
.section-title .title-line {
    width: 70px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 2px;
    margin-top: 1rem;
}

/* Topbar */
.topbar { font-family: var(--font-heading); background: #f8fdfe; border-bottom: 1px solid rgba(32,178,170,0.10); font-size: 0.82rem; }
.topbar a { color: #334155; text-decoration: none; transition: var(--transition); }
.topbar a:hover { color: var(--color-primary); }
.topbar i { color: var(--color-primary); }
.services-marquee { overflow:hidden; height:23px; display:flex; align-items:center; mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); }
.services-marquee__track { display:flex; align-items:center; width:max-content; gap:.85rem; white-space:nowrap; animation:servicesMarquee 42s linear infinite; }
.services-marquee__track span { font-weight:750; letter-spacing:.035em; font-size:.68rem; text-transform:uppercase; background:linear-gradient(90deg,#008b9b,#00c7db,#8d55f5,#ec4899,#f59e0b,#008b9b); background-size:500% auto; -webkit-background-clip:text; background-clip:text; color:transparent; animation:servicesColorFlow 14s linear infinite; }
.services-marquee__track b { color:#00b8c8; font-size:.7rem; text-shadow:0 0 7px rgba(0,184,200,.45); }
.services-marquee:hover .services-marquee__track { animation-play-state:paused; }
@keyframes servicesMarquee { from { transform:translateX(0); } to { transform:translateX(-50%); } }
@keyframes servicesColorFlow { to { background-position:500% center; } }

/* Navbar */
.main-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.97); box-shadow: 0 1px 12px rgba(0,77,77,0.06); }
.main-header .navbar { padding-top: .55rem; padding-bottom: .55rem; }
.main-header .navbar > .container { display:flex; align-items:center; width:100%; }
.main-header .navbar-nav { list-style:none; margin:0; padding:0; }
.navbar-brand { padding-top: 0; padding-bottom: 0; }
.navbar-brand img { height: 48px; width: auto; max-width: 155px; object-fit: contain; }
.brand-text { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; }
.navbar-light .nav-link { color: #34454b; font-weight: 600; font-size: .84rem; position: relative; padding: .48rem .64rem; border-radius: 12px; letter-spacing: .01em; transition: var(--transition); }
.navbar-light .nav-link:hover, .navbar-light .nav-link:focus { color: var(--color-primary); }
.navbar-light .nav-link.active { color: #008b9b; background: #e8f9fa; }
.navbar-light .nav-link.dropdown-toggle::after { vertical-align: middle; margin-left: 0.35em; border-top-color: #334155; }
.navbar-light .nav-link.active.dropdown-toggle::after { border-top-color: var(--color-primary); }
.dropdown-menu { border-radius: var(--radius); padding: 0.6rem 0; border: 0; box-shadow: 0 12px 35px rgba(0,77,77,0.12); }
.dropdown-menu .dropdown-item { color: #334155; font-weight: 600; font-size: 0.82rem; padding: 0.42rem 0.85rem; display:flex; align-items:center; gap:0.48rem; line-height:1.25; }
.dropdown-menu .service-menu-icon { flex:0 0 1rem; width:1rem; color:#08a8b6; font-size:.76rem; text-align:center; }
.dropdown-menu .dropdown-item:hover { background: rgba(32,178,170,0.08); color: var(--color-primary); }
.btn-header-contact { font-size: .84rem; font-weight: 700; padding: .5rem 1.1rem!important; background: linear-gradient(135deg,#15b7c6,#069bad); border:0; box-shadow:0 5px 14px rgba(0,174,190,.18); }
@media (min-width: 992px) {
    .main-header .navbar-toggler { display:none; }
    .main-header #mainNav { display:flex!important; flex:1; align-items:center; }
    .main-header #mainNav .navbar-nav { display:flex; align-items:center; justify-content:center; gap:.15rem; }
}

/* Hero */
.hero-section {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    color: #fff;
    background: #061f2e;
    overflow: hidden;
    padding: 5rem 0;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(32,178,170,0.35) 0%, transparent 35%),
        radial-gradient(circle at 85% 75%, rgba(0,139,139,0.30) 0%, transparent 35%),
        radial-gradient(circle at 50% 120%, rgba(32,178,170,0.25) 0%, transparent 50%);
    pointer-events: none;
}
.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
}
.hero-section.hero-home { background-image: none; }
.hero-section .hero-bg-shape { display: none; }
.hero-section .container { position: relative; z-index: 2; }
.hero-section .hero-title,
.hero-section .hero-subtitle,
.hero-section h1,
.hero-section p { color: #fff; }
.hero-title { font-size: clamp(2.4rem, 5vw, 4.5rem); font-weight: 800; line-height: 1.15; text-shadow: 0 4px 30px rgba(0,0,0,0.25); }
.hero-title .text-accent { color: #20B2AA; }
.hero-subtitle { font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 300; max-width: 560px; margin: 0 0 2rem; color: rgba(255,255,255,0.85); }
.hero-btns .btn { margin: 0.4rem 0.4rem 0.4rem 0; }
.hero-stats { display: flex; gap: 2rem; margin-top: 2.5rem; }
.hero-stat strong { display: block; font-size: 1.8rem; color: #20B2AA; font-weight: 800; }
.hero-stat span { font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.hero-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    position: relative;
}
.hero-service-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(32,178,170,0.25);
    border-radius: 14px;
    padding: 0.9rem 0.4rem;
    text-align: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    min-height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.hero-service-card:hover {
    background: rgba(32,178,170,0.18);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(32,178,170,0.2);
    color: #fff;
}
.hero-service-card .icon { font-size: 1.6rem; display: block; margin-bottom: 0.35rem; }
.hero-service-card span { font-size: 0.8rem; font-weight: 600; line-height: 1.2; }
.hero-service-card.icon-only { min-height: 90px; display: flex; align-items: center; justify-content: center; }
.hero-service-card.icon-only .icon { margin-bottom: 0; font-size: 2.2rem; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.6rem; background: rgba(32,178,170,0.15); border: 1px solid rgba(32,178,170,0.35); color: #20B2AA; padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 1.5rem; }
.hero-badge::before { content: ''; width: 8px; height: 8px; background: #20B2AA; border-radius: 50%; box-shadow: 0 0 10px #20B2AA; }
.hero-floater {
    position: absolute;
    font-size: 1.6rem;
    opacity: 0.18;
    pointer-events: none;
    animation: heroFloat 8s ease-in-out infinite;
}
@keyframes heroFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(10deg); }
}
@media (min-width: 1200px) {
    .hero-home .row { align-items: center; }
    .hero-services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.8rem;
        max-width: 360px;
        margin-left: auto;
    }
    .hero-service-card { padding: 0.75rem 0.25rem; min-height: 80px; }
    .hero-service-card .icon { font-size: 1.4rem; }
    .hero-service-card span { font-size: 0.68rem; }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .hero-home .row { align-items: center; }
    .hero-services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
        max-width: 300px;
        margin-left: auto;
    }
    .hero-service-card { padding: 0.55rem 0.15rem; min-height: 68px; }
    .hero-service-card .icon { font-size: 1.1rem; }
    .hero-service-card span { font-size: 0.58rem; }
}
@media (max-width: 991px) {
    .main-header .navbar-toggler { display:inline-flex; align-items:center; justify-content:center; margin-left:auto; background:transparent; }
    .main-header .navbar-toggler-icon { display:block; width:1.4rem; height:1rem; border-top:2px solid #345; border-bottom:2px solid #345; position:relative; }
    .main-header .navbar-toggler-icon::after { content:''; position:absolute; left:0; right:0; top:50%; border-top:2px solid #345; transform:translateY(-50%); }
    .main-header #mainNav { display:none; width:100%; }
    .main-header #mainNav.show { display:block; }
    .main-header #mainNav .navbar-nav { display:block; list-style:none; padding:0; margin:0; }
    .main-header .dropdown-menu { padding:.28rem .35rem; margin:.1rem 0 .35rem; }
    .main-header .dropdown-menu .dropdown-item { font-size:.78rem; padding:.38rem .52rem; gap:.42rem; }
    .main-header .dropdown-menu .service-menu-icon { font-size:.7rem; flex-basis:.9rem; width:.9rem; }
    .main-header .navbar { padding-top: .75rem; padding-bottom: .75rem; }
    .hero-services-grid { margin-top: 2.5rem; margin-left: 0; max-width: 100%; }
    .hero-section { text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-btns { justify-content: center; }
    .hero-stats { justify-content: center; }
}
@media (max-width: 767px) {
    .hero-section { min-height: auto; padding: 5.5rem 0 1.5rem; }
    .hero-title { font-size: clamp(1.8rem, 7vw, 2.4rem); margin-bottom: 1rem; }
    .hero-subtitle { font-size: 0.92rem; max-width: 100%; margin-bottom: 1rem; }
    .hero-badge { font-size: 0.7rem; padding: 0.35rem 0.7rem; margin-bottom: 1rem; }
    .hero-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; }
    .hero-btns .btn { width: 100%; margin: 0; font-size: 0.78rem; padding: 0.55rem 0.3rem; border-radius: 0.75rem; }
    .hero-btns .btn i { font-size: 0.85rem; margin-right: 0.2rem; }
    .hero-btns .hero-btn-extra { display: none; }
    .hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.35rem; margin-top: 0.9rem; text-align: center; }
    .hero-stat { padding: 0.3rem 0.15rem; }
    .hero-stat strong { font-size: 1rem; }
    .hero-stat span { font-size: 0.6rem; }
    .hero-services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.35rem;
        margin-top: 0.9rem;
    }
    .hero-service-card {
        padding: 0.3rem 0.1rem;
        min-height: 46px;
        border-radius: 0.55rem;
        background: rgba(255,255,255,0.07);
        backdrop-filter: none;
    }
    .hero-service-card .icon {
        font-size: 0.95rem;
        margin-bottom: 0.05rem;
    }
    .hero-service-card span {
        font-size: 0.5rem;
        font-weight: 600;
        line-height: 1.05;
    }
    .hero-floater { display: none; }
    body { padding-bottom: 80px; }
}

/* Cards */
.card-primary {
    background: #fff;
    border-radius: var(--radius);
    border: 0;
    border-top: 4px solid var(--color-primary);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
}
.card-primary:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(32, 178, 170, 0.18);
}
.card-primary .card-icon {
    width: 70px; height: 70px; border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; margin-bottom: 1.1rem;
    box-shadow: 0 8px 20px rgba(32,178,170,0.25);
}
.card-primary .card-body { padding: 1.8rem; }
.section-services .card-primary .card-title { color: var(--color-primary-dark); }

/* About */
.about-img-wrap { position: relative; border-radius: var(--radius); overflow: hidden; }
.about-img-wrap img { border-radius: var(--radius); }
.about-img-wrap::before {
    content: ''; position: absolute; inset: -15px -15px auto auto; width: 120px; height: 120px;
    border: 5px solid var(--color-accent); border-radius: var(--radius); z-index: -1;
}
.experience-box {
    position: absolute; left: -20px; bottom: 30px;
    background: var(--color-primary-dark); color: #fff;
    padding: 1.1rem 1.5rem; border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
}
.experience-box .years { font-size: 2.2rem; font-weight: 800; color: var(--color-accent); display: block; line-height: 1; }

/* Gallery */
.gallery-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; }
.gallery-item img { transition: transform 0.5s ease; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(32,178,170,0.88), rgba(0,139,139,0.88));
    opacity: 0; transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { color: #fff; font-size: 2.2rem; }
.gallery-filter {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.6rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    padding: .65rem;
    border: 1px solid rgba(32,178,170,.16);
    border-radius: 18px;
    background: rgba(255,255,255,.75);
    box-shadow: 0 8px 22px rgba(0,77,77,.06);
    -webkit-overflow-scrolling: touch;
}
.gallery-filter::-webkit-scrollbar { height: 5px; }
.gallery-filter::-webkit-scrollbar-track { background: transparent; }
.gallery-filter::-webkit-scrollbar-thumb { background: rgba(32,178,170,.35); border-radius: 10px; }
.gallery-filter button {
    border: 2px solid var(--color-primary); background: transparent; color: var(--color-primary);
    border-radius: 50rem; padding: 0.55rem 1.05rem; font-weight: 600; transition: var(--transition);
    font-size: 0.9rem;
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-snap-align: start;
}
.gallery-filter button:hover, .gallery-filter button.active {
    background: var(--color-primary); color: #fff;
}
@media (max-width: 767px) {
    .gallery-filter { gap: .45rem; padding: .5rem; border-radius: 14px; }
    .gallery-filter button { padding: 0.45rem 0.85rem; font-size: 0.82rem; margin: 0; }
}

/* Testimonials */
.testimonial-card {
    background: #fff; border-radius: var(--radius); padding: 2rem;
    box-shadow: var(--shadow-card); position: relative; border-top: 4px solid var(--color-primary);
}
.testimonial-card .quote-icon {
    font-size: 3rem; line-height: 1; color: var(--color-accent); position: absolute; top: 14px; right: 22px;
}
.testimonial-card .stars { color: var(--color-accent); margin-bottom: 1rem; }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 9999;
    display: none; align-items: center; justify-content: center; padding: 1rem;
}
.lightbox.active { display: flex; }
.lightbox img { max-height: 90vh; max-width: 90vw; border-radius: var(--radius-sm); }
.lightbox .close-lightbox, .lightbox .lb-nav {
    position: absolute; color: #fff; font-size: 2.2rem; cursor: pointer; padding: 0.6rem;
    background: rgba(255,255,255,0.12); border-radius: 50%;
}
.lightbox .close-lightbox { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; }
.lightbox .lb-next { right: 20px; }

/* FAQ */
.faq-accordion .accordion-item { border: 0; border-bottom: 1px solid rgba(0,77,77,0.08); background: transparent; }
.faq-accordion .accordion-button {
    background: transparent; color: var(--color-primary-dark); font-weight: 600;
    border-radius: var(--radius-sm) !important; box-shadow: none !important;
}
.faq-accordion .accordion-button:not(.collapsed) { background: rgba(32,178,170,0.08); color: var(--color-primary); }
.faq-accordion .accordion-button::after { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2320B2AA'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); }
.faq-icon { color: var(--color-primary); margin-right: 0.6rem; }

/* Blog */
.blog-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); border-top: 4px solid transparent; transition: var(--transition); height: 100%; }
.blog-card:hover { border-top-color: var(--color-primary); transform: translateY(-7px); box-shadow: 0 18px 45px rgba(32, 178, 170, 0.16); }
.blog-card .blog-thumb { position: relative; }
.blog-card .blog-thumb img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.blog-card .post-date {
    position: absolute; left: 15px; bottom: -18px; background: var(--color-primary); color: #fff;
    text-align: center; padding: 0.35rem 0.7rem; border-radius: var(--radius-sm); font-size: 0.75rem; font-weight: 600;
}
.blog-card .card-body { padding: 1.6rem; padding-top: 2rem; }
.blog-card .category { color: var(--color-accent); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

/* Contact */
.contact-info-card {
    background: #fff; border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow-card);
    border-left: 5px solid var(--color-primary); transition: var(--transition);
}
.contact-info-card:hover { transform: translateX(5px); }
.contact-info-card i { font-size: 1.8rem; color: var(--color-primary); }
.contact-form .form-control {
    border: 2px solid rgba(0,139,139,0.15); border-radius: var(--radius-sm);
    padding: 0.85rem 1rem; transition: var(--transition);
}
.contact-form .form-control:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(32,178,170,0.12); }
.contact-form label { font-weight: 500; margin-bottom: 0.4rem; color: var(--color-primary-dark); }

/* Breadcrumb */
.breadcrumb-section { background: var(--color-primary-dark); color: #fff; padding: 3.8rem 0 3rem; }
.breadcrumb-section h1 { color: #fff; }
.breadcrumb-section .breadcrumb { background: transparent; justify-content: center; }
.breadcrumb-section .breadcrumb-item a { color: rgba(255,255,255,0.8); }
.breadcrumb-section .breadcrumb-item a:hover { color: var(--color-accent); }
.breadcrumb-section .breadcrumb-item.active { color: var(--color-accent); }

/* CTA */
.cta-section { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%); color: #fff; }
.cta-section h2, .cta-section p { color: #fff; }

/* Footer */
.site-footer { font-size: 0.95rem; }
.footer-brand { display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.08); border-radius: var(--radius); padding: 0.45rem 0.8rem; transition: var(--transition); }
.footer-brand:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }
.footer-logo { max-height: 45px; width: auto; display: block; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)); }
.footer-links li { margin-bottom: 0.45rem; }
.footer-links a { color: rgba(255,255,255,0.8); }
.footer-links a:hover { color: var(--color-accent); padding-left: 5px; }
.footer-contact li { color: rgba(255,255,255,0.85); }
.footer-contact li { overflow-wrap:anywhere; word-break:break-word; }
.footer-contact li a { overflow-wrap:anywhere; }
@media (max-width: 767px) { .footer-contact li { display:flex; align-items:flex-start; gap:.45rem; line-height:1.45; } .footer-contact li i { margin-top:.2rem; flex:0 0 auto; } }
.footer-bottom-bar { margin-top: 2.5rem; padding: .82rem 0; background: #002b33; border-top: 1px solid rgba(0,229,255,0.2); }
.footer-bottom-content { display: flex; align-items: center; justify-content: space-between; gap: .6rem 1.5rem; color: rgba(255,255,255,0.65); font-size: .78rem; font-weight: 500; }
.footer-copyright strong, .footer-copyright a, .footer-credit a { color: #00e5ff; font-weight: 800; text-decoration: none; }
.footer-copyright a { margin-left: .3rem; }
.footer-credit { color: #7864ff; font-weight: 700; }
.footer-credit span { display:inline-block; color: #ff42a8; font-size: 1.15em; text-shadow: 0 0 10px rgba(255,66,168,.65); animation:footerHeartBeat 1.5s ease-in-out infinite; }
.footer-credit i { color: rgba(255,255,255,.7); font-style: normal; margin: 0 .35rem; }
.footer-bottom-bar a:hover { color: #fff; }
@keyframes footerHeartBeat { 0%,100% { transform:scale(1); } 40% { transform:scale(1.28); } 65% { transform:scale(1.08); } }
@media (max-width: 767px) { .footer-bottom-content { flex-direction: column; text-align: center; font-size: .72rem; } .footer-bottom-bar { margin-top: 1.75rem; padding: .75rem 0; } }

@media (max-width: 767px) {
    .site-footer { padding-top: 2.25rem !important; font-size: .9rem; }
    .site-footer .row { row-gap: 2rem !important; }
    .site-footer .footer-brand { margin-bottom: .8rem !important; }
    .site-footer .footer-logo { max-height: 42px; }
    .site-footer h4 { font-size: .8rem; margin-bottom: .8rem !important; }
    .footer-links li { margin-bottom: .55rem; }
    .footer-contact { margin-bottom: 0; }
    .footer-bottom-bar { margin-top: 1.5rem; padding-bottom: max(.75rem, env(safe-area-inset-bottom)); }

    /* Sabit iletişim düğmeleri içerik üstüne değil ekranın altına yerleşir. */
    .btn-whatsapp, .btn-call, .btn-instagram { width: 48px; height: 48px; font-size: 1.3rem; left: auto; right: 14px; }
    .btn-whatsapp { bottom: max(14px, env(safe-area-inset-bottom)); }
    .btn-instagram { bottom: calc(max(14px, env(safe-area-inset-bottom)) + 58px); }
    .btn-call { bottom: calc(max(14px, env(safe-area-inset-bottom)) + 116px); }
}

/* Galeri ve içerik görselleri için kaynak dosyayı değiştirmeyen filigran */
.gallery-item,
.srv-gallery-slide,
.srv-gallery-thumbs figure,
.srv-inline-image,
.byb-gallery-item,
.byb-service-card__img,
.blog-article .gallery-item {
    position: relative;
    isolation: isolate;
}
.gallery-item::after,
.srv-gallery-slide::after,
.srv-gallery-thumbs figure::after,
.srv-inline-image::after,
.byb-gallery-item::after,
.byb-service-card__img::after,
.blog-article .gallery-item::after {
    content: 'BybalonOrganizasyon';
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    width: max-content;
    max-width: 92%;
    transform: translate(-50%, -50%);
    padding: .2em .5em;
    border: 1px solid rgba(255,255,255,.34);
    border-radius: 4px;
    color: rgba(255,255,255,.58);
    background: rgba(0,30,35,.14);
    font-family: Arial, sans-serif;
    font-size: clamp(.42rem, .78vw, .6rem);
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0,0,0,.42);
    pointer-events: none;
    white-space: nowrap;
}
.srv-gallery-thumbs figure::after { font-size: .3rem; padding: .1em .2em; letter-spacing: .01em; }
.byb-service-card__img::after { font-size: .42rem; }

/* Tüm sayfalarda mobil yatay taşmayı önleyen ortak koruma katmanı */
@media (max-width: 767px) {
    html, body { max-width: 100%; overflow-x: clip; }
    *, *::before, *::after { box-sizing: border-box; }
    .container, .container-fluid, main, section, article, aside, header, footer { max-width: 100%; }
    img, picture, svg, video, canvas, iframe { max-width: 100%; height: auto; }
    iframe { width: 100%; }
    .row { --bs-gutter-x: 1.25rem; }
    .card, .card-primary, .gallery-item, .srv-article, .blog-article { min-width: 0; }
    .footer-contact li, .footer-links a, .contact-info-card a, .srv-article a, .blog-article a { overflow-wrap: anywhere; word-break: break-word; }
    .srv-article table, .blog-article table, .table-responsive { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    pre, code { white-space: pre-wrap; overflow-wrap: anywhere; }
}

/* Floating buttons */
.btn-whatsapp, .btn-call, .btn-instagram {
    position: fixed; z-index: 1030; width: 58px; height: 58px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: #fff;
    font-size: 1.6rem; box-shadow: 0 6px 20px rgba(0,0,0,0.25); transition: var(--transition);
}
.btn-whatsapp { background: #25D366; right: 22px; bottom: 22px; }
.btn-instagram { background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCAF45); right: 22px; bottom: 92px; }
.btn-call { background: var(--color-primary); right: 22px; bottom: 162px; }
.btn-whatsapp:hover, .btn-call:hover, .btn-instagram:hover { color: #fff; transform: scale(1.07); }

/* Cookie banner */
.cookie-banner {
    position: fixed; left: 0; right: 0; bottom: 0; background: var(--color-primary-dark);
    color: #fff; padding: 0.9rem 0; z-index: 1040; box-shadow: 0 -4px 20px rgba(0,0,0,0.18);
    transform: translateY(100%); transition: transform 0.4s ease;
}
.cookie-banner.show { transform: translateY(0); }

/* Service page price */
.price-card {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff; border-radius: var(--radius); padding: 1.6rem;
    box-shadow: var(--shadow-soft);
}
.price-card .price { font-size: 2.4rem; font-weight: 800; color: var(--color-accent); }

.btn-outline-secondary { border-color: var(--color-secondary); color: var(--color-secondary); }
.btn-outline-secondary:hover { background: var(--color-secondary); color: #fff; }

/* Loading */
.page-loader {
    position: fixed; inset: 0; background: var(--color-bg); z-index: 99999;
    display: flex; align-items: center; justify-content: center; transition: opacity 0.4s ease;
}
.page-loader .spinner {
    width: 56px; height: 56px; border: 5px solid rgba(32,178,170,0.2);
    border-top-color: var(--color-primary); border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.page-loader.hidden { opacity: 0; pointer-events: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-primary); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-secondary); }

/* Responsive */
@media (max-width: 991px) {
    .main-header .navbar-collapse { background: #fff; padding: 1rem; border-radius: var(--radius-sm); margin-top: 0.5rem; box-shadow: 0 12px 35px rgba(0,77,77,0.12); }
    .navbar-light .nav-link { color: #334155; padding: 0.75rem 1rem; }
    .navbar-light .nav-link.active { background: rgba(32,178,170,0.10); }
    .navbar-brand img { height: 44px; }
    .experience-box { left: 10px; }
    .hero-title { font-size: 2.2rem; }
}
@media (max-width: 767px) {
    .section-padding { padding: 3.5rem 0; }
    .section-title { margin-bottom: 2.2rem; }
    .btn-call { right: 16px; bottom: 146px; width: 52px; height: 52px; font-size: 1.4rem; }
    .btn-instagram { right: 16px; bottom: 84px; width: 52px; height: 52px; font-size: 1.4rem; }
    .btn-whatsapp { right: 16px; bottom: 22px; width: 52px; height: 52px; font-size: 1.4rem; }
}
