/* Usta Onarım Hattı - Modern Architectural (Bento Style) */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Palette */
    --bg-body: #F2F4F7;
    /* Cool Silver-Gray Background */
    --bg-card: #FFFFFF;
    /* Crisp White */
    --text-main: #101828;
    /* Dark Navy/Black */
    --text-muted: #667085;
    /* Slate Gray */
    --accent: #FF5722;
    /* Industrial Orange - High Energy */
    --accent-dark: #C4380B;

    /* Effects */
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
    --shadow-md: 0 4px 8px -2px rgba(16, 24, 40, 0.1), 0 2px 4px -2px rgba(16, 24, 40, 0.06);
    --shadow-lg: 0 12px 16px -4px rgba(16, 24, 40, 0.08), 0 4px 6px -2px rgba(16, 24, 40, 0.03);

    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-md: 12px;
    --radius-lg: 16px;

    /* Typography */
    --font-primary: 'Manrope', sans-serif;

    /* Ease */
    --ease-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html,
body {
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius-md);
}

/* Typography */
h1,
h2,
h3,
h4 {
    color: var(--text-main);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    margin-bottom: 24px;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 16px;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.badge {
    background: #FFF4ED;
    color: var(--accent);
    padding: 6px 12px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Header - Floating Glass */
header {
    height: var(--header-height);
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
    /* Floating effect */
    z-index: 1000;
    padding: 0 24px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.header-inner {
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
    width: 100%;
    height: 100%;
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
}

/* Text Logo */
.logo-text {
    font-family: 'Manrope', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.logo-text span {
    color: var(--accent);
    margin-left: 2px;
}

.nav-links {
    display: -webkit-flex;
    display: flex;
    gap: 32px;
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--accent);
}

.phone-cta {
    background: var(--text-main);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s var(--ease-bounce);
}

.phone-cta:hover {
    transform: scale(1.05);
    background: var(--accent);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
}

/* Hero Carousel */
.hero-slider-container {
    position: relative;
    max-width: 900px;
    margin: 40px auto 0;
    height: 380px;
    /* Adjust height as needed */
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Text at bottom */
    background: #000;
    /* Fallback */
}

/* Active Slide */
.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.7);
    /* Darken for text readability */
}

.slide-content {
    position: relative;
    z-index: 3;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    text-align: left;
}

.slide-content h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.slide-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    max-width: 600px;
}

/* Slider Controls */
.slider-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.slider-dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

/* Hero Centered Redesign */
.hero-centered {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0 60px;
}

.hero-centered h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-centered p {
    font-size: 1.25rem;
    margin-bottom: 32px;
    color: var(--text-muted);
}

.visual-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.visual-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 240px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.visual-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Service List Tagline */
.service-tagline-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-tagline-list span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.service-tagline-list span::after {
    content: '•';
    color: var(--text-muted);
    margin-left: 12px;
    opacity: 0.5;
}

.service-tagline-list span:last-child::after {
    content: '';
}

@media (max-width: 768px) {
    .visual-strip {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 40px;
    }

    .visual-item {
        height: 200px;
    }

    .hero-centered h1 {
        font-size: 2.25rem;
    }

    .hero-slider-container {
        height: 300px;
    }

    .slide-content h3 {
        font-size: 1.4rem;
    }
}

/* Hero Section */
.hero {
    padding: 60px 0 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-stats {
    display: flex;
    gap: 24px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-item strong {
    display: block;
    font-size: 1.5rem;
    color: var(--text-main);
}

.stat-item span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* BENTO GRID - core visual */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, minmax(220px, auto));
    gap: 24px;
}

.bento-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

/* Card Sizes */
.span-2 {
    grid-column: span 2;
}

.span-1 {
    grid-column: span 1;
}

.row-2 {
    grid-row: span 2;
}

.bento-icon {
    width: 48px;
    height: 48px;
    background: #FFF4ED;
    color: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.bento-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.bento-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.bento-link {
    margin-top: 20px;
    font-weight: 700;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 6px;
}

.bento-link:hover {
    gap: 10px;
}

/* Sticky Actions */
.sticky-bar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-main);
    color: white;
    padding: 8px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 9999;
    box-shadow: var(--shadow-lg);
}

.sticky-btn {
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

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

.btn-wa {
    background: #25D366;
    color: white;
}

.sticky-btn:hover {
    transform: scale(1.05);
}

/* Flashy CTA */
.btn-accent,
.cta-button {
    background: linear-gradient(135deg, var(--accent) 0%, #d94e18 100%);
    color: white;
    padding: 18px 42px;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 8px 25px rgba(255, 87, 34, 0.4);
    border: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-accent:hover,
.cta-button:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 87, 34, 0.6);
    background: linear-gradient(135deg, #ff6e40 0%, #e65100 100%);
}

/* Footer */
footer {
    background: #fff;
    padding: 80px 0 40px;
    border-top: 1px solid var(--bg-body);
}

/* Responsive */
@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .span-2 {
        grid-column: span 2;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .span-2 {
        grid-column: span 1;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Mobile Menu Active State */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        gap: 15px;
        border: 1px solid rgba(0, 0, 0, 0.05);
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .sticky-bar {
        width: 90%;
        justify-content: space-between;
        bottom: 20px;
    }

    .sticky-btn {
        padding: 12px 16px;
        flex-grow: 1;
        justify-content: center;
    }

}

/* Text Slider (Secondary) */
.text-slider-container {
    position: relative;
    height: 180px;
    margin-top: 20px;
    overflow: hidden;
}

.text-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.text-slide.active {
    opacity: 1;
    transform: translateY(0);
    z-index: 2;
}

.text-slide h1 {
    margin-top: 0;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.text-slide p {
    max-width: 700px;
    margin: 0 auto;
}

/* FAQ Section */
details {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    padding: 15px;
    transition: all 0.3s;
}

details[open] {
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
    /* Hide default triangle */
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    font-weight: 800;
    color: var(--accent);
}

details[open] summary::after {
    content: '-';
}

/* Stats Bar */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.95rem;
    text-transform: uppercase;
}

/* Districts Grid */
.districts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
}

.district-item {
    background: #f9f9f9;
    padding: 10px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.district-item:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: white;
}