/* ============================================================
   Sancaktepe Oto Çekici - PREMIUM DESIGN SYSTEM
   Modern, Cyber-Blue & Gold Palette with Glassmorphism
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Colors */
    --primary: #0A1128;
    /* Deep Deep Navy */
    --primary-light: #1C2541;
    --secondary: #F7B500;
    /* Vibrant Gold */
    --secondary-hover: #FFC300;
    --accent: #3A86FF;
    /* Cyber Blue */
    --text-main: #FFFFFF;
    --text-muted: #94A3B8;
    --text-dark: #0D1B2A;

    /* Glassmorphism & Effects */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(12px);
    --card-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    --inner-glow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    background-color: #F8FAFC;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.brand-text strong {
    font-weight: 800;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ========================
   Header & Premium Navigation
   ======================== */

.site-header {
    width: 100%;
    z-index: 1000;
    position: relative;
}

.header-top {
    background: var(--primary);
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
}

.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-left a {
    margin-right: 20px;
    color: var(--text-muted);
}

.header-top-left i {
    color: var(--secondary);
    margin-right: 8px;
}

.main-nav {
    padding: 20px 0;
    background: #fff;
    transition: var(--transition);
    border-bottom: 1px solid #F1F5F9;
}

.header-top-left,
.header-top-right {
    display: flex;
    gap: 20px;
}

.header-top a {
    color: #fff;
    transition: 0.3s;
}

.header-top a:hover {
    color: var(--secondary);
}

.site-header.scrolled {
    background: rgba(13, 27, 49, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.site-header.scrolled .header-top {
    display: none;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    height: 80px;
}

.logo {
    font-size: 34px;
    font-weight: 800;
    color: #0a1128;
    text-decoration: none;
    line-height: 1.2;
}

.logo span {
    color: #0a1128;
    display: block;
    font-size: 16px;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary);
}

.nav-cta {
    background: var(--secondary);
    color: var(--primary) !important;
    padding: 10px 25px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(247, 181, 0, 0.3);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1100;
    padding: 10px;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #0d1b31;
    z-index: 1050;
    padding: 100px 40px;
    transition: 0.5s cubic-bezier(0.8, 0, 0.2, 1);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.5);
    visibility: hidden;
}

.mobile-menu-overlay.active {
    right: 0;
    visibility: visible;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    list-style: none;
    padding: 0;
}

.mobile-nav-links a {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    display: block;
}

.mobile-cta {
    background: var(--secondary);
    color: var(--primary) !important;
    text-align: center;
    padding: 15px;
    border-radius: 12px;
    margin-top: 20px;
    display: block;
    font-weight: 800;
}

@media (max-width: 991px) {
    .nav-menu {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-content h1 {
        font-size: 36px !important;
    }
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-text strong {
    font-size: 24px;
    color: var(--primary);
    letter-spacing: -1px;
}

.brand-text span {
    font-size: 12px;
    color: var(--secondary);
    text-transform: uppercase;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    gap: 35px;
}

.nav-menu li a {
    font-weight: 600;
    font-size: 16px;
    color: var(--primary);
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--secondary);
    transition: var(--transition);
    border-radius: 10px;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.btn-call {
    background: var(--primary);
    color: #fff;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 20px rgba(10, 17, 40, 0.15);
}

.btn-call:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(247, 181, 0, 0.3);
}

/* ========================
   Modern Hero Section
   ======================== */

.hero-section {
    position: relative;
    height: 750px;
    background: var(--primary);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(10, 17, 40, 0.95) 0%, rgba(10, 17, 40, 0.4) 100%);
    z-index: 2;
}

.hero-image {
    position: absolute;
    right: -10%;
    top: 0;
    width: 70%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    filter: grayscale(20%);
    mask-image: linear-gradient(to left, black 60%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 750px;
    color: #fff;
}

.hero-content h1 {
    font-size: 64px;
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    color: var(--text-muted);
    max-width: 600px;
}

.btn-primary {
    background: var(--secondary);
    color: var(--primary);
    padding: 18px 40px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.btn-primary:hover {
    background: #fff;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
}

/* ========================
   Premium Cards & Sections
   ======================== */

.section-padding {
    padding: 100px 0;
}

.section-title h2 {
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.glass-card {
    background: #fff;
    padding: 45px;
    border-radius: 24px;
    border: 1px solid #F1F5F9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border-color: var(--secondary);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(247, 181, 0, 0.1);
    color: var(--secondary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 30px;
    transition: var(--transition);
}

.glass-card:hover .service-icon {
    background: var(--secondary);
    color: var(--primary);
    transform: rotate(10deg);
}

/* ========================
   CTA & Footer
   ======================== */

.cta-banner {
    background: var(--primary);
    padding: 80px 0;
    border-radius: 40px;
    margin: 0 20px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.site-footer {
    background: #050A18;
    color: var(--text-muted);
    padding-top: 100px;
}

.footer-logo strong {
    font-size: 28px;
    color: #fff;
}

.footer-links h4 {
    color: #fff;
    margin-bottom: 30px;
    font-size: 20px;
}

.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 65px;
    height: 65px;
    background: #25D366;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
    z-index: 999;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Utilities for Grid/Layout */
.row-flex {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.main-content {
    flex: 1;
}

.sidebar {
    width: 380px;
}

.sidebar-widget {
    background: #fff;
    padding: 35px;
    border-radius: 24px;
    margin-bottom: 30px;
    border: 1px solid #F1F5F9;
}

.services-grid,
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* ========================
   Accordion / FAQ
   ======================== */
.accordion-item {
    margin-bottom: 15px;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-header {
    background: #fff;
    padding: 22px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 18px;
    color: var(--primary);
    transition: var(--transition);
    border: 1px solid #F1F5F9;
}

.accordion-header:hover {
    background: #F8FAFC;
    border-color: var(--secondary);
}

.accordion-header i {
    color: var(--secondary);
    transition: var(--transition);
}

.accordion-item.active {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.accordion-item.active .accordion-header {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    background: #fff;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0, 1, 0, 1);
    border: 1px solid #F1F5F9;
    border-top: none;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.why-us-img-col {
    flex: 1;
    text-align: right;
}

/* ========================
   Mobile Fixes & Enhancements
   ======================== */

.mobile-action-bar {
    display: none;
}

@media (max-width: 768px) {

    /* Hide top bar on mobile to prevent overlapping */
    .header-top {
        display: none !important;
    }

    .navbar {
        height: 70px;
        padding: 5px 20px;
        /* Spacing for edges */
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-menu {
        display: none !important;
        /* Force hide desktop menu */
    }

    .mobile-toggle {
        display: flex !important;
        /* Force show hamburger */
    }

    .logo {
        font-size: 20px;
    }

    .logo span {
        font-size: 10px;
    }

    /* Hamburger lines styling */
    .mobile-toggle span {
        background: var(--primary) !important;
        width: 25px;
        height: 2px;
        margin: 2px 0;
    }

    /* Fixed Button Bar for Mobile */
    .whatsapp-float {
        display: none !important;
    }

    .mobile-action-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 70px;
        background: #fff;
        display: flex;
        z-index: 9999;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
        padding: 10px;
        gap: 10px;
    }

    .action-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        border-radius: 16px;
        font-weight: 800;
        font-size: 16px;
        text-decoration: none;
        transition: var(--transition);
        color: #fff;
    }

    .call-btn {
        background: linear-gradient(135deg, var(--secondary) 0%, #FFD700 100%);
        color: var(--primary) !important;
        box-shadow: 0 10px 25px rgba(247, 181, 0, 0.3);
    }

    .wa-btn {
        background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
        box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    }

    .pulse-btn {
        animation: pulseNeon 2s infinite;
    }
}

@keyframes pulseNeon {
    0% {
        box-shadow: 0 0 0 0 rgba(247, 181, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(247, 181, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(247, 181, 0, 0);
    }
}

/* Fix Hero Padding for Mobile Action Bar */
@media (max-width: 991px) {
    body {
        padding-bottom: 70px;
        /* Space for the sticky bar */
    }

    .hero-section {
        height: 650px;
    }

    .hero-content h1 {
        font-size: 38px !important;
        line-height: 1.2;
    }
}

.mobile-toggle span {
    background: #ffffff !important;
    /* Ensure visibility on white bg */
}

.site-header.scrolled .mobile-toggle span {
    background: #fff !important;
}