:root {
    --primary: #0057b8;
    --primary-dark: #004494;
    --primary-light: #e6f0fb;
    --secondary: #0077b6;
    --accent: #00b4d8;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-soft: #f4f8fb;
    --border: #dbeafe;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(0, 87, 184, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 87, 184, 0.14);
    --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;
}

.section-label {
    display: inline-block;
    color: var(--secondary);
    font-weight: 700;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: .5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .85rem 1.7rem;
    border-radius: var(--radius);
    font-weight: 700;
    transition: .25s ease;
    border: none;
    cursor: pointer;
    font-size: .95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 87, 184, .25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 87, 184, .35);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-white {
    background: #fff;
    color: var(--primary);
}

.btn-white:hover {
    background: var(--primary-light);
}

/* Top bar */
.top-bar {
    background: var(--primary);
    color: #e0f2fe;
    font-size: .85rem;
    padding: .55rem 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.top-bar a {
    color: #fff;
    font-weight: 600;
}

.top-bar i {
    color: #7dd3fc;
}

/* Header */
.main-header {
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
    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.45rem;
    font-weight: 800;
    color: var(--primary);
}

.logo img {
    height: 90px;
    width: auto;
    object-fit: contain;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    margin-left: auto;
    margin-right: 1.5rem;
}

.nav-desktop a {
    font-weight: 700;
    color: var(--text);
    position: relative;
    font-size: .95rem;
}

.nav-desktop > a::after,
.nav-desktop .has-submenu > a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: .25s;
}

.nav-desktop > a:hover::after,
.nav-desktop .has-submenu:hover > a::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: 600;
    color: var(--text);
    white-space: nowrap;
}

.submenu li a:hover {
    background: var(--bg-soft);
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    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: .85rem 0;
    font-weight: 700;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

/* Slider */
.hero-slider {
    position: relative;
    min-height: 560px;
    background: var(--primary);
    color: #fff;
    overflow: hidden;
    padding: 5rem 0 4rem;
    display: flex;
    align-items: center;
}

.hero-slider::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.12) 0%, transparent 35%),
                radial-gradient(circle at 10% 90%, rgba(0,0,0,.12) 0%, transparent 40%);
    z-index: 1;
}

.slide {
    display: none;
    width: 100%;
    position: relative;
    z-index: 2;
}

.slide.active {
    display: block;
}

.slide-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 3rem;
    align-items: center;
}

.slide-content {
    padding: 1rem 0;
}

.slide-label {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: rgba(255,255,255,.9);
    font-weight: 700;
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.2rem;
}

.slide-content h1 {
    font-size: clamp(2rem, 4.2vw, 3.6rem);
    line-height: 1.15;
    margin-bottom: 1.2rem;
    font-weight: 800;
}

.slide-content p {
    font-size: 1.15rem;
    color: rgba(255,255,255,.9);
    margin-bottom: 1.8rem;
    line-height: 1.7;
}

.slide-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-image img {
    width: 100%;
    max-width: 520px;
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(0,0,0,.2);
    object-fit: cover;
    aspect-ratio: 4/3;
}

.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,.35);
    cursor: pointer;
    transition: .25s;
    border: 2px solid rgba(255,255,255,.2);
}

.dot.active {
    background: #fff;
    border-color: #fff;
    transform: scale(1.2);
}

@media (max-width: 900px) {
    .hero-slider {
        padding: 2.5rem 0 4rem;
        min-height: auto;
    }

    .slide-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .slide-content {
        text-align: center;
        order: 2;
    }

    .slide-label {
        justify-content: center;
    }

    .slide-image {
        order: 1;
    }

    .slide-image img {
        max-width: 100%;
        aspect-ratio: 16/10;
    }
}

@media (max-width: 600px) {
    .hero-slider {
        padding: 2rem 0 3.5rem;
    }

    .slide-content h1 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .slide-image img {
        aspect-ratio: 16/11;
    }
}

@media (min-width: 901px) and (max-width: 1100px) {
    .slide-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Hakkimizda */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.about-image img {
    width: 100%;
    min-height: 380px;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: var(--primary);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    text-align: center;
}

.about-badge strong {
    display: block;
    font-size: 1.8rem;
}

.about-content h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 800;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 1.2rem;
}

/* Cards */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.8rem;
}

.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;
    height: 100%;
}

.card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.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.07);
}

.card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-body h4 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: .5rem;
    font-weight: 800;
}

.card-body p {
    color: var(--text-light);
    font-size: .95rem;
    margin-bottom: 1.2rem;
    flex: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 1.6rem;
    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;
}

/* Istatistikler */
.stats-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item i {
    font-size: 2.5rem;
    margin-bottom: .8rem;
    color: #7dd3fc;
}

.stat-item h4 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: .3rem;
}

.stat-item span {
    opacity: .9;
    font-weight: 600;
}

/* Testimonials */
.testimonials {
    background: var(--bg-soft);
}

.testimonial-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid var(--border);
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid var(--primary);
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.testimonial-card h5 {
    color: var(--primary);
    font-weight: 800;
}

/* SSS */
.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%;
    padding: 1.2rem 1.5rem;
    background: transparent;
    border: none;
    text-align: left;
    font-weight: 800;
    color: var(--primary);
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    transition: .25s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: .3s ease;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

/* Basvuru */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-split img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: .4rem;
    font-weight: 700;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: .85rem 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(--primary);
    box-shadow: 0 0 0 3px rgba(0, 87, 184, .12);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

/* 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(0, 50, 110, .95));
    color: #fff;
    padding: 1.5rem 1rem 1rem;
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.1rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.cta-section p {
    opacity: .9;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Galeri */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
    border: 1px solid var(--border);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.gallery-item .caption {
    padding: 1rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
}

/* Footer */
.main-footer {
    background: #003366;
    color: #cbd5e1;
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 800;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: .6rem;
}

.footer-col a {
    opacity: .85;
    transition: .2s;
}

.footer-col a:hover {
    opacity: 1;
    color: #7dd3fc;
}

.social-links {
    display: flex;
    gap: .8rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.12);
    color: #fff;
    transition: .2s;
    font-size: 1.1rem;
}

.social-links a:hover {
    background: var(--primary);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 1.5rem 0;
    text-align: center;
    font-size: .9rem;
    opacity: .8;
}

.footer-iskur {
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid rgba(255,255,255,.1);
    font-size: .85rem;
    opacity: .85;
}

.footer-iskur img {
    height: 50px;
    margin: 0 auto .5rem;
}

/* Breadcrumb */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 4rem 1rem;
    text-align: center;
    color: #fff;
}

.page-header h1 {
    font-size: 2.2rem;
    margin-bottom: .5rem;
    font-weight: 800;
}

.page-header p {
    opacity: .9;
}

/* 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;
    font-weight: 800;
}

.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: 700;
    transition: .2s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.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.5rem;
    color: var(--primary);
}

.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;
    font-weight: 700;
}

.pagination a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.pagination .current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Sabit WhatsApp / Ara butonlari */
.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: var(--primary);
}

.fixed-btn i {
    font-size: 1.3rem;
}

@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);
    }
}

@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: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .nav-desktop {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .about-grid,
    .detail-grid,
    .contact-grid,
    .contact-split {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 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,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        gap: 1.5rem;
    }

    .about-badge {
        display: none;
    }
}
