:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --secondary: #3b82f6;
    --accent: #06b6d4;
    --text: #334155;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --border: #e2e8f0;
    --radius: 12px;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);
    --container: 1200px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: .5rem;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .8rem 1.6rem;
    border-radius: var(--radius);
    font-weight: 600;
    transition: .25s ease;
    border: none;
    cursor: pointer;
    font-size: .95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: #fff;
}

.btn-primary:hover {
    box-shadow: 0 8px 20px rgba(59, 130, 246, .35);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--border);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

/* Header */
.top-bar {
    background: var(--primary);
    color: #cbd5e1;
    font-size: .85rem;
    padding: .5rem 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.top-bar a {
    color: #fff;
    opacity: .85;
}

.top-bar a:hover {
    opacity: 1;
}

.main-header {
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    height: var(--header-height);
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.logo img {
    height: 78px;
    width: auto;
    object-fit: contain;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
    margin-right: 1.5rem;
}

.nav-desktop a {
    font-weight: 600;
    color: var(--primary);
    position: relative;
}

.nav-desktop > a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: .25s;
}

.nav-desktop > a:hover::after {
    width: 100%;
}

.has-submenu {
    position: relative;
}

.has-submenu > a {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}

.has-submenu .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 240px;
    padding: .6rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .25s ease;
    z-index: 1001;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    list-style: none;
}

.submenu li a {
    display: block;
    padding: .7rem 1.2rem;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
}

.submenu li a:hover {
    background: var(--bg-soft);
    color: var(--secondary);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--primary);
}

.mobile-nav {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-height);
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {
    padding: .8rem 0;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
}

/* Slider */
.hero-slider {
    position: relative;
    height: min(85vh, 700px);
    overflow: hidden;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .8s ease;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.slide-bg img,
.slide-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15,23,42,.85) 0%, rgba(15,23,42,.4) 100%);
}

.slide-content {
    position: relative;
    z-index: 3;
    padding: 0 1rem;
    max-width: 700px;
}

.slide-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.slide-content p {
    font-size: 1.15rem;
    color: #e2e8f0;
    margin-bottom: 1.8rem;
}

.slider-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: .6rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    cursor: pointer;
    transition: .25s;
    border: none;
}

.dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* Hakkımızda */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    min-height: 350px;
    object-fit: cover;
}

.about-content h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.8rem;
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: .25s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.card:hover .card-image img {
    transform: scale(1.06);
}

.card-body {
    padding: 1.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-body h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: .4rem;
}

.card-body p {
    color: var(--text-light);
    font-size: .95rem;
    margin-bottom: 1rem;
    flex: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.badge {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: .25rem .5rem;
    border-radius: 4px;
    margin-right: .35rem;
}

.badge-new { background: #10b981; color: #fff; }
.badge-discount { background: #ef4444; color: #fff; }

.price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
}

.price-old {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: .95rem;
    font-weight: 500;
    margin-right: .5rem;
}

/* Testimonials */
.testimonials {
    background: var(--bg-soft);
}

.testimonial-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid var(--secondary);
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.testimonial-card h5 {
    color: var(--primary);
}

/* Team */
.team-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.team-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.team-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(15,23,42,.9));
    color: #fff;
    padding: 1.5rem 1rem 1rem;
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    opacity: .85;
    margin-bottom: 1.5rem;
}

/* Footer */
.main-footer {
    background: var(--primary);
    color: #cbd5e1;
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: .5rem;
}

.footer-col a {
    opacity: .85;
    transition: .2s;
}

.footer-col a:hover {
    opacity: 1;
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: .8rem;
    margin-top: 1rem;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.1);
    color: #fff;
    transition: .2s;
}

.social-links a:hover {
    background: var(--secondary);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 1.5rem 0;
    text-align: center;
    font-size: .9rem;
    opacity: .8;
}

/* Breadcrumb */
.page-header {
    background: var(--bg-soft);
    padding: 3rem 1rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2rem;
    color: var(--primary);
}

/* Detail page */
.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
}

.detail-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.detail-image img {
    width: 100%;
    min-height: 350px;
    object-fit: cover;
}

.detail-content h1 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.detail-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Filters */
.filters {
    display: flex;
    justify-content: center;
    gap: .6rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: .5rem 1rem;
    border-radius: 30px;
    border: 1px solid var(--border);
    background: #fff;
    cursor: pointer;
    font-weight: 500;
    transition: .2s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #fff;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: .4rem;
    font-weight: 600;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: .8rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: .2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.contact-info-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.2rem;
    box-shadow: var(--shadow);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info-card i {
    font-size: 1.4rem;
    color: var(--secondary);
}

.alert {
    padding: 1rem 1.2rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.alert-success { background: #d1fae5; color: #065f46; }
.alert-danger { background: #fee2e2; color: #991b1b; }
.alert-info { background: #dbeafe; color: #1e40af; }

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: .4rem;
    margin-top: 2rem;
}

.pagination a,
.pagination span {
    padding: .5rem .9rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    min-width: 38px;
    text-align: center;
}

.pagination a:hover {
    background: var(--secondary);
    color: #fff;
    border-color: var(--secondary);
}

.pagination .current {
    background: var(--secondary);
    color: #fff;
    border-color: var(--secondary);
}

/* Sabit WhatsApp / Ara butonları */
.fixed-buttons {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    flex-direction: row;
}

.fixed-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 1.2rem;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: transform .2s ease, filter .2s ease;
    white-space: nowrap;
}

.fixed-btn:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
}

.fixed-whatsapp {
    background: #25d366;
}

.fixed-call {
    background: #0077b6;
}

.fixed-btn i {
    font-size: 1.3rem;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: transparent;
    border: none;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    text-align: left;
}

.faq-question i {
    transition: transform .25s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

.faq-answer p {
    padding: 0 1.5rem 1.2rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Masaüstü: slider altında, sol alt köşede sabit */
@media (min-width: 901px) {
    .fixed-buttons {
        top: auto;
        left: 1rem;
        bottom: 1rem;
        flex-direction: column;
        border-radius: var(--radius);
        overflow: hidden;
        box-shadow: var(--shadow-lg);
    }
    .fixed-btn {
        justify-content: flex-start;
        padding: .9rem 1.3rem;
    }
    .fixed-whatsapp {
        border-bottom: 1px solid rgba(255,255,255,.15);
    }
}

/* Mobil: en altta sabit, tam genişlik */
@media (max-width: 900px) {
    .fixed-buttons {
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        flex-direction: row;
    }
    .fixed-btn {
        flex: 1;
        justify-content: center;
        padding: 1rem;
        font-size: 1rem;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .nav-desktop {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .about-grid,
    .detail-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 3rem 0;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .slide-content h1 {
        font-size: 1.7rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
