﻿/* 
==============================================
   Yıldırım Oto Kurtarma | Style CSS
   Modern, Temiz, SEO Uyumlu Tasarım
==============================================
*/

:root {
    /* Color Palette */
    --primary: #0a2540;
    /* Deep Blue for Trust */
    --primary-light: #16406e;
    --accent: #ff6b00;
    /* Vibrant Orange for Action */
    --accent-hover: #e55e00;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;

    /* Typography */
    --font-main: 'Outfit', sans-serif;

    /* Shadows & Effects */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ================== Reset & Basics ================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Typography Utility */
.highlight {
    color: var(--accent);
}

.highlight-text {
    color: var(--primary);
}

.text-white {
    color: var(--bg-white) !important;
}

/* ================== Buttons ================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-transform: capitalize;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--bg-white);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--bg-white);
}

.btn-whatsapp:hover {
    background-color: #1ebe58;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
    border-radius: 50px;
}

/* ================== Header ================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

.main-header.scrolled {
    box-shadow: var(--shadow-sm);
    padding: 5px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--accent);
    font-size: 1.8rem;
}

/* Menu */
.nav-menu ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    color: var(--primary);
    font-size: 1rem;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent);
}

.has-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 220px;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    flex-direction: column;
    gap: 0 !important;
    overflow: hidden;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.dropdown li:last-child a {
    border-bottom: none;
}

.dropdown li a:hover {
    background-color: var(--bg-light);
    padding-left: 25px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
}

.mobile-actions {
    display: none;
}

/* ================== Hero Section ================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../images/IMG_1024.jpg') center/cover no-repeat;
    padding: 120px 0 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.9) 0%, rgba(10, 37, 64, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--bg-white);
    max-width: 800px;
}

.badge {
    display: inline-block;
    background: rgba(255, 107, 0, 0.2);
    color: #ffb077;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    border: 1px solid var(--accent);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 1.1rem;
}

.feature-item i {
    color: var(--accent);
    font-size: 1.3rem;
}

/* ================== Services ================== */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255, 107, 0, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.service-card:hover .icon-wrapper {
    background: var(--accent);
    color: var(--bg-white);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.service-card p {
    color: var(--text-muted);
}

/* ================== About Section ================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.about-list {
    margin-bottom: 30px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

.about-list i {
    color: #25D366;
    font-size: 1.3rem;
}

.about-image-wrapper {
    position: relative;
}

.about-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--primary);
    color: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    text-align: center;
    border-bottom: 5px solid var(--accent);
}

.experience-badge .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.experience-badge .text {
    font-size: 1rem;
    font-weight: 500;
}

/* ================== Areas Section ================== */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.area-card {
    background: var(--bg-white);
    padding: 30px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.area-card:hover::before {
    transform: scaleX(1);
    background: var(--accent);
}

.area-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.area-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.area-card h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.area-label {
    display: inline-block;
    font-size: 0.8rem;
    background: var(--bg-light);
    color: var(--text-muted);
    padding: 4px 12px;
    border-radius: 50px;
}

.other-areas {
    text-align: center;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.other-areas h3 {
    margin-bottom: 20px;
    color: var(--primary);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.tag {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 500;
    color: var(--text-muted);
}

.tag:hover {
    background: var(--primary);
    color: var(--bg-white);
    border-color: var(--primary);
}

/* ================== Footer ================== */
.main-footer {
    background-color: var(--primary);
    color: #e2e8f0;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.brand-col p {
    margin: 20px 0;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--bg-white);
}

.social-links a:hover {
    background: var(--accent);
}

.footer-col h3 {
    color: var(--bg-white);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
}

.links-col ul li {
    margin-bottom: 15px;
}

.links-col ul a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-list i {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 4px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ================== Floating Call Button ================== */
.floating-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--accent);
    color: var(--bg-white);
    padding: 10px 25px 10px 10px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(255, 107, 0, 0.4);
    transition: var(--transition);
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.05);
    background: var(--accent-hover);
    color: var(--bg-white);
}

.floating-icon-wrap {
    width: 50px;
    height: 50px;
    background: var(--bg-white);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.floating-text {
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Animations */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 107, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
    }
}

.heartbeat {
    animation: heartbeat 1.5s ease-in-out infinite both;
}

@keyframes heartbeat {
    from {
        transform: scale(1);
        transform-origin: center center;
        animation-timing-function: ease-out;
    }

    10% {
        transform: scale(0.91);
        animation-timing-function: ease-in;
    }

    17% {
        transform: scale(0.98);
        animation-timing-function: ease-out;
    }

    33% {
        transform: scale(0.87);
        animation-timing-function: ease-in;
    }

    45% {
        transform: scale(1);
        animation-timing-function: ease-out;
    }
}

/* ================== Responsive Design ================== */
@media (max-width: 992px) {

    .about-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .experience-badge {
        left: 20px;
        bottom: 20px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {

    .header-call,
    .desktop-actions {
        display: none !important;
    }

    .mobile-actions {
        display: block;
        margin-top: 10px;
        border-top: 1px solid var(--border-color);
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        box-shadow: var(--shadow-md);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: var(--transition);
    }

    .nav-menu.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 0;
    }

    .nav-menu a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid var(--border-color);
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--bg-light);
        display: none !important;
    }

    .has-dropdown.active .dropdown {
        display: flex !important;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 15px;
    }

    .floating-btn {
        bottom: 20px;
        left: 20px;
        padding: 5px 15px 5px 5px;
    }

    .floating-icon-wrap {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .floating-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
    }
}
/* Enhanced SEO areas fixing */
.footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
}
.seo-areas-col ul {
    list-style: none; padding: 0; margin: 0; line-height: 2.2;
}
.seo-areas-col ul a {
    color: var(--text-muted);
    text-decoration: none;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: color 0.3s;
}
.seo-areas-col ul a:hover {
    color: var(--accent);
}

/* V2 Fixes for logo and mobile menu button */

.nav-menu a.btn-primary {
    color: var(--white) !important;
}

/* Footer Logo Size Hotfix */
.main-footer .logo {
    font-size: 1.2rem;
    gap: 8px;
    align-items: center;
    display: flex;
    white-space: nowrap;
}
.main-footer .logo img {
    height: 28px !important;
}

/* V3 Mobile Menu Visual Tweaks */
@media (max-width: 991px) {
    .nav-menu {
        background-color: #f8f9fa !important;
        border-bottom: 2px solid var(--primary);
    }
    .mobile-actions .btn-primary, 
    .nav-menu .mobile-actions a.btn-primary, 
    .nav-menu a.btn.btn-primary {
        color: #ffffff !important;
        background-color: var(--accent) !important;
        border-color: var(--accent) !important;
    }
    .mobile-actions .btn-primary i {
        color: #ffffff !important;
    }
}

/* V4 Mobile Menu Alignment Fix */
@media (max-width: 991px) {
    .nav-menu ul {
        align-items: stretch !important;
    }
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    .nav-menu a {
        width: 100%;
        display: block;
        padding: 15px 0 !important;
    }
    .dropdown {
        padding-left: 0 !important;
        background-color: #f1f3f5 !important;
        border-radius: 8px;
        margin: 0 15px 15px 15px; /* keep it inside softly */
        width: calc(100% - 30px);
    }
    .dropdown a {
        padding: 12px 0 !important;
        font-size: 0.95rem;
    }
}

/* V5 Layout Fix Dropdown */
@media (max-width: 991px) {
    .nav-menu .has-dropdown {
        display: flex !important;
        flex-direction: column !important;
        width: 100%;
        align-items: center;
    }
}

/* V6 Dropdown Header Split */
.dropdown-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.dropdown-header a {
    display: inline-block !important; /* override the 100% width on mobile momentarily */
    width: auto !important;
    padding-right: 15px !important;
}
.dropdown-trigger {
    background: none;
    border: none;
    font-size: 1.1rem;
    color: var(--primary);
    cursor: pointer;
    padding: 10px 15px;
    display: flex;
    align-items: center;
}
.dropdown-trigger i {
    transition: transform 0.3s;
}
.has-dropdown.active .dropdown-trigger i {
    transform: rotate(180deg);
}
@media (max-width: 991px) {
    .dropdown-header {
        width: 100%;
        justify-content: center;
    }
}
