/* style.css - Anadolu Tıkanıklık Açma */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #0056b3;
    --primary-light: #e6f0fa;
    --primary-dark: #003d80;
    --accent: #ff6600;
    --accent-light: #fff0e6;
    --accent-dark: #cc5200;
    --text-main: #2b354e;
    --text-muted: #5c6883;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --success: #28a745;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 24px rgba(0,86,179,0.08);
    --shadow-lg: 0 16px 32px rgba(0,0,0,0.08);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

.logo-text span {
    display: block;
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

nav ul li a {
    font-weight: 500;
    color: var(--text-main);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary);
    background-color: var(--primary-light);
}

.nav-cta {
    background-color: var(--accent);
    color: var(--bg-white) !important;
    padding: 10px 20px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.nav-cta:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #ffffff 0%, #edf4fc 100%);
    padding: 80px 20px 100px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--accent);
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-badges {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.badge {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
}

.badge i {
    color: var(--accent);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.3);
}

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

.btn-accent:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.3);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--bg-white);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.hero-image-wrapper:hover img {
    transform: scale(1.03);
}

/* Sections General */
section {
    padding: 80px 20px;
}

.section-title-wrapper {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.section-subtitle {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.25rem;
    color: var(--primary-dark);
    font-weight: 800;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 86, 179, 0.03);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
    font-weight: 700;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-card-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-card-link:hover {
    color: var(--accent);
}

/* Regions Section */
.regions-container {
    max-width: 1200px;
    margin: 0 auto;
}

.region-group-title {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin: 40px 0 20px;
    padding-left: 15px;
    border-left: 4px solid var(--accent);
    font-weight: 700;
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.region-box {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 15px;
    text-align: center;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.region-box:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

/* About Section Home */
.about-home {
    background-color: var(--bg-white);
}

.about-home-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-home-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-home-image img {
    width: 100%;
    display: block;
}

.about-home-content h2 {
    font-size: 2.25rem;
    color: var(--primary-dark);
    font-weight: 800;
    margin-bottom: 20px;
}

.about-home-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-feature-item i {
    color: var(--success);
    font-size: 1.25rem;
}

.about-feature-item span {
    font-weight: 600;
    color: var(--text-main);
}

/* Testimonials / Yorumlar */
.reviews-section {
    background-color: var(--primary-light);
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.review-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.review-card.hidden-review {
    display: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-weight: 700;
    color: var(--text-main);
}

.reviewer-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.stars {
    color: #ffc107;
    font-size: 0.9rem;
    white-space: nowrap;
    display: inline-flex;
    gap: 2px;
}

.review-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
}

.reviews-cta {
    text-align: center;
    margin-top: 30px;
}

/* Contact / İletişim */
.contact-section {
    background-color: var(--bg-white);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--bg-white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-info-details h4 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
    font-weight: 700;
}

.contact-info-details p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form-box {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px;
}

.contact-form-box h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 25px;
    font-weight: 700;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

/* Legal Pages Styling */
.legal-container {
    max-width: 900px;
    margin: 40px auto 80px;
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.legal-container h1 {
    color: var(--primary-dark);
    font-size: 2rem;
    margin-bottom: 25px;
    font-weight: 800;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 15px;
}

.legal-container h2 {
    color: var(--primary);
    font-size: 1.3rem;
    margin: 25px 0 12px;
    font-weight: 700;
}

.legal-container p {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.legal-container ul {
    margin-bottom: 20px;
    padding-left: 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.legal-container li {
    margin-bottom: 8px;
}

/* Service Detail Pages */
.service-detail-container {
    max-width: 1200px;
    margin: 40px auto 80px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.service-detail-main {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.service-detail-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 30px;
}

.service-detail-main h1 {
    color: var(--primary-dark);
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.service-detail-main h2 {
    color: var(--primary);
    font-size: 1.4rem;
    margin: 25px 0 15px;
    font-weight: 700;
}

.service-detail-main p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.service-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.sidebar-widget h3 {
    color: var(--primary-dark);
    font-size: 1.25rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
    font-weight: 700;
}

.sidebar-services-list {
    list-style: none;
}

.sidebar-services-list li {
    margin-bottom: 12px;
}

.sidebar-services-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: var(--bg-light);
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--text-main);
}

.sidebar-services-list li a:hover, .sidebar-services-list li a.active {
    background-color: var(--primary);
    color: var(--bg-white);
}

.sidebar-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    text-align: center;
}

.sidebar-cta h3 {
    color: var(--bg-white);
    border-color: rgba(255,255,255,0.2);
}

.sidebar-cta p {
    font-size: 0.95rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.sidebar-cta .btn {
    width: 100%;
    justify-content: center;
}

/* Footer */
footer {
    background-color: #171d2b;
    color: #a3b1cc;
    padding: 60px 20px 60px;
    border-top: 5px solid var(--accent);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--bg-white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent);
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    font-size: 0.9rem;
}

.footer-links li a:hover {
    color: var(--bg-white);
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--bg-white);
    font-weight: 600;
}

.footer-bottom a:hover {
    color: var(--accent);
}

/* Sticky Contact Buttons (Phone & Whatsapp) */
.sticky-contact-bar {
    display: none !important;
}

.sticky-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--bg-white);
    transition: var(--transition);
}

.sticky-btn-wp {
    background-color: #25D366;
}

.sticky-btn-wp:hover {
    background-color: #1ebd57;
}

.sticky-btn-phone {
    background-color: var(--primary);
}

.sticky-btn-phone:hover {
    background-color: var(--primary-dark);
}

/* Floating Actions for Desktop */
.floating-actions-desktop {
    position: fixed;
    right: 25px;
    bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 1.8rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.float-wp {
    background-color: #25D366;
}

.float-wp:hover {
    background-color: #1ebd57;
    transform: scale(1.1);
}

.float-phone {
    background-color: var(--primary);
}

.float-phone:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

/* Responsive Grid/Flex adjustments */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .hero-badges {
        justify-content: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .about-home-container {
        grid-template-columns: 1fr;
    }
    .contact-container {
        grid-template-columns: 1fr;
    }
    .service-detail-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    nav {
        position: fixed;
        top: 81px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 81px);
        background-color: var(--bg-white);
        z-index: 998;
        transition: var(--transition);
        border-top: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
    }
    nav.active {
        left: 0;
    }
    nav ul {
        flex-direction: column;
        padding: 40px 20px;
        gap: 20px;
        align-items: stretch;
        text-align: center;
    }
    nav ul li a {
        display: block;
        font-size: 1.2rem;
        padding: 12px;
    }
    .nav-cta {
        display: block;
        margin: 10px auto 0;
    }
    .floating-actions-desktop {
        display: flex !important; /* Keep visible on all screens */
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Navigation Burger Toggle Animations */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}
