:root {
    --primary: #1a1a2e;
    --primary-light: #16213e;
    --accent: #2a2927;
    --accent-bright: #048696;
    --text: #2c2c2c;
    --text-light: #6b6b6b;
    --bg: #fafafa;
    --bg-alt: #f0f0f0;
    --white: #ffffff;
    --border: #e2e2e2;
    --radius: 6px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,.1);
    --font-body: 'DM Sans', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

/* ─── NAVBAR ─── */
.navbar-custom {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: .75rem 0;
    transition: box-shadow .3s;
}
.navbar-custom.scrolled {
    box-shadow: var(--shadow-md);
}
.navbar-custom .navbar-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--primary);
}
.navbar-custom .navbar-brand img {
    max-height: 42px;
    margin-right: .5rem;
}
.navbar-custom .nav-link {
    color: var(--text);
    font-size: .875rem;
    font-weight: 500;
    padding: .5rem .85rem !important;
    transition: color .2s;
    letter-spacing: .01em;
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--accent-bright);
}
.navbar-toggler { border: none; box-shadow: none !important; }
.navbar-toggler:focus { box-shadow: none !important; }

/* ─── SLIDER ─── */
#slider-section {
    display: none; /* JS ile açılır eğer slide varsa */
}
#slider-section.has-slides {
    display: block;
}
.slider-wrapper {
    position: relative;
    overflow: hidden;
    background: var(--primary);
}
.slider-wrapper .slide {
    display: none;
    position: relative;
    min-height: 420px;
}
.slider-wrapper .slide.active {
    display: block;
}
.slider-wrapper .slide img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,.1) 60%);
    display: flex;
    align-items: flex-end;
    padding: 2.5rem;
}
.slide-overlay .slide-caption {
    color: #fff;
    max-width: 600px;
}
.slide-overlay .slide-caption h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: .5rem;
    line-height: 1.3;
}
.slide-overlay .slide-caption p {
    font-size: .95rem;
    opacity: .9;
}
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background .2s;
    z-index: 5;
}
.slider-nav:hover { background: rgba(255,255,255,.3); }
.slider-nav.prev { left: 1rem; }
.slider-nav.next { right: 1rem; }
.slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}
.slider-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.slider-dots span.active {
    background: #fff;
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .slider-wrapper .slide img { height: 300px; }
    .slide-overlay .slide-caption h2 { font-size: 1.4rem; }
}

/* ─── SECTION COMMONS ─── */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: .5rem;
}
.section-subtitle {
    color: var(--text-light);
    font-size: .9rem;
    margin-bottom: 2.5rem;
}
.section-divider {
    width: 40px;
    height: 3px;
    background: var(--accent-bright);
    border-radius: 2px;
    margin-bottom: 1rem;
}

/* ─── HAKKIMIZDA ─── */
.about-text {
    font-size: .935rem;
    color: var(--text);
    line-height: 1.85;
}
.about-img-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.about-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}
.about-stats .stat {
    text-align: center;
}
.about-stats .stat-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}
.about-stats .stat-label {
    font-size: .78rem;
    color: var(--text-light);
    margin-top: .25rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* ─── GALERİ ─── */
.gallery-tabs .nav-link {
    color: var(--text-light);
    font-weight: 500;
    font-size: .875rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: .45rem 1.2rem;
    margin-right: .5rem;
    margin-bottom: .5rem;
    background: var(--white);
    transition: all .2s;
}
.gallery-tabs .nav-link:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.gallery-tabs .nav-link.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: var(--bg-alt);
}
.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}
.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.04);
}
.gallery-item .item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .25s;
}
.gallery-item:hover .item-overlay {
    opacity: 1;
}
.gallery-item .item-overlay i {
    color: #fff;
    font-size: 1.5rem;
}
/* Belge item */
.doc-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color .2s, box-shadow .2s;
    text-decoration: none;
    color: var(--text);
}
.doc-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
    color: var(--text);
}
.doc-item i {
    font-size: 1.6rem;
    color: var(--accent-bright);
}
.doc-item .doc-info .doc-name {
    font-weight: 600;
    font-size: .9rem;
}
.doc-item .doc-info .doc-size {
    font-size: .78rem;
    color: var(--text-light);
}

/* ─── HİZMETLERİMİZ ─── */
.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    height: 100%;
    transition: border-color .2s, box-shadow .25s;
}
.service-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}
.service-card .service-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--primary);
    transition: background .2s, color .2s;
}
.service-card:hover .service-icon {
    background: var(--primary);
    color: #fff;
}
.service-card h5 {
    font-size: .95rem;
    font-weight: 600;
    margin-bottom: .5rem;
    color: var(--primary);
}
.service-card p {
    font-size: .85rem;
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.7;
}

/* ─── İLETİŞİM BİLGİLERİ ─── */
.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    height: 100%;
}
.contact-info-card .ci-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
}
.contact-info-card .ci-label {
    font-size: .78rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: .03em;
    margin-bottom: .15rem;
}
.contact-info-card .ci-value {
    font-size: .9rem;
    font-weight: 500;
    color: var(--text);
}
.contact-info-card .ci-value a {
    color: var(--text);
    text-decoration: none;
}
.contact-info-card .ci-value a:hover {
    color: var(--accent-bright);
}

/* MAP */
.map-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    margin-top: 1.5rem;
}
.map-wrapper iframe {
    width: 100%;
    height: 280px;
    border: 0;
    display: block;
}

/* ─── İLETİŞİM FORMU ─── */
.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: .65rem 1rem;
    font-size: .875rem;
    font-family: var(--font-body);
    transition: border-color .2s, box-shadow .2s;
    background: var(--white);
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(15,52,96,.08);
}
.contact-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}
.contact-form label {
    font-size: .82rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: .35rem;
}
.btn-submit {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: .7rem 2rem;
    border-radius: var(--radius);
    font-size: .875rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: background .2s, transform .1s;
}
.btn-submit:hover {
    background: var(--accent);
}
.btn-submit:active {
    transform: scale(.98);
}

/* ─── FOOTER ─── */
.footer {
    background: var(--primary);
    color: rgba(255,255,255,.6);
    padding: 2rem 0;
    font-size: .82rem;
    text-align: center;
}
.footer a {
    color: rgba(255,255,255,.8);
    text-decoration: none;
}
.footer a:hover {
    color: #fff;
}
.footer .social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: .75rem;
}
.footer .social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    transition: background .2s, border-color .2s;
}
.footer .social-links a:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.3);
}

/* ─── WHATSAPP KULAKÇIĞI ─── */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: .6rem;
}
.whatsapp-float .wa-tooltip {
    background: var(--white);
    color: var(--text);
    padding: .5rem .9rem;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 500;
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity .3s, transform .3s;
    pointer-events: none;
}
.whatsapp-float:hover .wa-tooltip {
    opacity: 1;
    transform: translateX(0);
}
.whatsapp-float .wa-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    box-shadow: 0 4px 16px rgba(37,211,102,.35);
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
}
.whatsapp-float .wa-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37,211,102,.45);
}

/* ─── ANIMATIONS ─── */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── RESPONSIVE TWEAKS ─── */
@media (max-width: 991px) {
    .section { padding: 3.5rem 0; }
    .section-title { font-size: 1.5rem; }
}
@media (max-width: 576px) {
    .section { padding: 2.75rem 0; }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .about-stats { gap: 1.25rem; }
    .whatsapp-float .wa-tooltip { display: none; }
}
