/* =============================================
   EMRE OTO LASTIK YOL YARDIM - ANA TEMA
   Modern, Kurumsal, Interaktif & Mobil Uyumlu
   ============================================= */

/* --- CSS Variables --- */
:root {
    --primary: #e63946;
    --primary-dark: #c1121f;
    --primary-light: #ff6b6b;
    --secondary: #1d3557;
    --secondary-dark: #0f1f33;
    --accent: #f4a261;
    --accent-dark: #e76f51;
    --text: #212529;
    --text-light: #6c757d;
    --text-on-dark: #f8f9fa;
    --bg: #ffffff;
    --bg-alt: #f8f9fa;
    --bg-dark: #1a1a2e;
    --border: #dee2e6;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.15s ease;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --max-width: 1200px;
}

/* --- Reset --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
}

.section-header {
    margin-bottom: 50px;
}

.section-header.centered {
    text-align: center;
}

.section-subtitle {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 12px;
    position: relative;
    padding-left: 40px;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 30px;
    height: 2px;
    background: var(--primary);
    transform: translateY(-50%);
}

.section-header.centered .section-subtitle {
    padding-left: 0;
}

.section-header.centered .section-subtitle::before {
    display: none;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: var(--secondary);
}

.section-title .highlight {
    color: var(--primary);
    position: relative;
}

.section-desc {
    max-width: 600px;
    margin-top: 14px;
    color: var(--text-light);
    font-size: 16px;
}

.section-header.centered .section-desc {
    margin-left: auto;
    margin-right: auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.35);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.45);
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    background: #1eba56;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

.btn-call {
    background: var(--primary);
    color: #fff;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 2px 12px rgba(230, 57, 70, 0.3);
}

.btn-call:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-emergency {
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    padding: 14px 28px;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.btn-emergency:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* --- Pulse Animation --- */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(230, 57, 70, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); }
}

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

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 30px;
}

.logo {
    flex-shrink: 0;
}

.logo-img {
    height: 48px;
    width: auto;
}

.main-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    color: var(--secondary);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(230, 57, 70, 0.08);
    color: var(--primary);
}

.header-actions {
    flex-shrink: 0;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 26px;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

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

.mobile-menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* --- Hero Slider --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    max-height: 800px;
    overflow: hidden;
    background: var(--bg-dark);
}

.hero-slider {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    scale: 1.05;
    transition: scale 6s ease;
}

.slide.active .slide-bg {
    scale: 1;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.85) 0%, rgba(13, 27, 42, 0.4) 60%, rgba(230, 57, 70, 0.25) 100%);
}

.slide-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    max-width: 700px;
    padding: 40px;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 16px;
    margin-left: 20px;
    margin-bottom: 60px;
    align-self: center;
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    width: fit-content;
}

.badge-emergency {
    background: rgba(230, 57, 70, 0.9);
    color: #fff;
}

.badge-fast {
    background: rgba(244, 162, 97, 0.9);
    color: #1d3557;
}

.badge-area {
    background: rgba(37, 211, 102, 0.9);
    color: #fff;
}

.slide-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.15;
}

.slide-title .highlight {
    color: var(--primary);
    position: relative;
}

.slide-desc {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.6;
}

.slide-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* --- Slider Controls --- */
.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.3);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* --- Emergency Strip --- */
.emergency-strip {
    background: var(--primary);
    padding: 18px 0;
    position: relative;
    z-index: 5;
}

.emergency-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.emergency-text {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 18px;
    font-family: var(--font-heading);
}

/* --- About Section --- */
.about {
    padding: 100px 0 80px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.about-main-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--radius);
}

.about-experience {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--primary);
    color: #fff;
    padding: 20px 28px;
    border-radius: var(--radius-sm);
    text-align: center;
    box-shadow: var(--shadow);
}

.exp-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
}

.exp-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content h3 {
    font-size: 24px;
    color: var(--secondary);
    margin-bottom: 16px;
}

.about-content > p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(230, 57, 70, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-feature h4 {
    font-size: 16px;
    color: var(--secondary);
    margin-bottom: 2px;
}

.about-feature p {
    font-size: 14px;
    color: var(--text-light);
}

/* --- Services Section --- */
.services {
    padding: 80px 0;
    background: var(--bg-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.service-icon-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img {
    transform: scale(1.08);
}

.service-icon-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: var(--radius);
}

.service-info {
    padding: 20px;
}

.service-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.service-info p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* --- Regions Section --- */
.regions {
    padding: 100px 0;
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.region-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.region-map-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.region-card h3 {
    font-size: 20px;
    color: var(--secondary);
    margin-bottom: 10px;
}

.region-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.region-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 14px;
}

.region-link span {
    transition: transform 0.2s ease;
}

.region-link:hover span {
    transform: translateX(4px);
}

/* --- Why Us Section --- */
.why-us {
    padding: 80px 0;
    background: var(--secondary);
    color: #fff;
}

.why-us .section-subtitle { color: var(--accent); }
.why-us .section-subtitle::before { background: var(--accent); }
.why-us .section-title { color: #fff; }
.why-us .section-title .highlight { color: var(--accent); }

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.why-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 900;
    color: rgba(244, 162, 97, 0.3);
    line-height: 1;
    flex-shrink: 0;
}

.why-item h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.why-item p {
    font-size: 14px;
    opacity: 0.8;
}

.why-us-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 30px 24px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255,255,255,0.14);
    transform: translateY(-4px);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
    font-weight: 600;
}

/* --- Blog Section --- */
.blog {
    padding: 100px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.06);
}

.blog-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: #fff;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-content {
    padding: 20px;
}

.blog-content h3 {
    font-size: 17px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-content h3 a {
    color: var(--secondary);
}

.blog-content h3 a:hover {
    color: var(--primary);
}

.blog-content p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.6;
}

.blog-date {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 600;
}

/* --- Contact Section --- */
.contact {
    padding: 100px 0;
    background: var(--bg-alt);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

/* --- Contact Form --- */
.contact-form-wrapper {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-title {
    font-size: 20px;
    color: var(--secondary);
    margin-bottom: 6px;
    font-weight: 700;
}

.form-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
    position: relative;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
    font-family: var(--font-heading);
}

.required {
    color: var(--primary);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    transition: var(--transition-fast);
    outline: none;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.1);
}

.form-input.error {
    border-color: var(--primary);
    background: rgba(230, 57, 70, 0.03);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-textarea {
    resize: vertical;
    min-height: 90px;
}

.form-error {
    display: none;
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    margin-top: 4px;
    font-family: var(--font-heading);
}

.form-error.visible {
    display: block;
}

.form-submit-btn {
    width: 100%;
    justify-content: center;
    margin-top: 6px;
    font-size: 16px;
    padding: 14px 28px;
}

.form-submit-btn.success {
    background: #25D366;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
    pointer-events: none;
}

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

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.contact-info-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: rgba(230, 57, 70, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-card h4 {
    font-size: 16px;
    color: var(--secondary);
    margin-bottom: 4px;
}

.contact-info-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.5;
}

.contact-link {
    color: var(--primary);
    font-weight: 700;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-map-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 100%;
    min-height: 400px;
}

.contact-map-wrapper iframe {
    height: 100%;
    min-height: 400px;
}

/* --- Footer --- */
.footer {
    background: var(--bg-dark);
    color: #adb5bd;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    margin-bottom: 16px;
    height: 45px;
    width: auto;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: #fff;
    font-size: 17px;
    margin-bottom: 18px;
    font-weight: 700;
}

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

.footer-links a {
    font-size: 14px;
    color: #adb5bd;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 13px;
    color: #6c757d;
}

.footer-credit {
    margin-top: 8px;
    font-size: 12px;
    color: #495057;
    line-height: 1.5;
}

.footer-credit a {
    color: var(--primary-light);
    font-weight: 600;
    transition: var(--transition-fast);
}

.footer-credit a:hover {
    color: var(--primary);
}

/* --- Fixed Bottom Bar (Mobile) --- */
.bottom-fixed-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(15px);
    border-top: 1px solid var(--border);
    padding: 8px 12px;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.08);
}

.bottom-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    background: transparent;
}

.bottom-call-btn {
    background: var(--primary);
    color: #fff;
    border-radius: 50px;
    padding: 12px 24px;
    flex-direction: row;
    gap: 6px;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

.bottom-whatsapp-btn {
    color: #25D366;
}

.bottom-search-btn {
    color: var(--secondary);
}

/* --- Search Modal --- */
.search-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.search-modal.open {
    opacity: 1;
    visibility: visible;
}

.search-modal-content {
    background: #fff;
    width: 90%;
    max-width: 520px;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-20px);
    transition: var(--transition);
}

.search-modal.open .search-modal-content {
    transform: translateY(0);
}

.search-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.search-modal-header h3 {
    font-size: 20px;
    color: var(--secondary);
}

.search-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-light);
    padding: 4px;
    line-height: 1;
}

.search-modal-close:hover {
    color: var(--primary);
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-alt);
    border: 2px solid var(--border);
    border-radius: 50px;
    padding: 12px 18px;
    margin-bottom: 20px;
    transition: var(--transition-fast);
}

.search-input-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.1);
}

.search-input-wrapper svg {
    color: var(--text-light);
    flex-shrink: 0;
}

.quick-search-input {
    border: none;
    background: none;
    outline: none;
    width: 100%;
    font-size: 16px;
    font-family: var(--font-body);
    color: var(--text);
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 10px;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--secondary);
    text-align: center;
    transition: var(--transition-fast);
}

.quick-link:hover {
    background: var(--primary);
    color: #fff;
}

/* --- WhatsApp Float Button (Desktop) --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 998;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: floatBounce 3s ease infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.55);
}

@keyframes floatBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* --- Scroll To Top --- */
.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 997;
    width: 48px;
    height: 48px;
    background: var(--secondary);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .regions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 70px;
    }

    /* Mobile Header */
    .header-inner {
        height: 65px;
    }
    .logo-img {
        height: 38px;
    }
    .header-actions {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        padding: 90px 30px 30px;
        box-shadow: -5px 0 30px rgba(0,0,0,0.15);
        transition: var(--transition);
        z-index: 999;
    }

    .main-nav.open {
        right: 0;
    }

    .main-nav .nav-list {
        flex-direction: column;
        gap: 6px;
    }

    .nav-link {
        display: block;
        padding: 12px 16px;
        font-size: 16px;
        border-radius: var(--radius-sm);
    }

    /* Hero */
    .hero {
        min-height: 550px;
        max-height: 700px;
    }
    .slide-content {
        padding: 24px;
        margin-left: 0;
        margin-bottom: 40px;
        border-radius: 12px;
    }
    .slide-title {
        font-size: 28px;
    }
    .slide-desc {
        font-size: 15px;
    }
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-main-img {
        height: 300px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .regions-grid {
        grid-template-columns: 1fr 1fr;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .why-us-stats {
        grid-template-columns: 1fr 1fr;
    }

    /* Show bottom bar on mobile */
    .bottom-fixed-bar {
        display: flex;
    }
    /* Hide desktop float on mobile */
    .whatsapp-float {
        bottom: 85px;
        right: 16px;
        width: 52px;
        height: 52px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .emergency-strip {
        padding: 14px 0;
    }
    .emergency-inner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .emergency-text {
        font-size: 15px;
        justify-content: center;
    }

    .section-title {
        font-size: 26px;
    }

    body {
        padding-bottom: 70px; /* space for bottom bar */
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 500px;
        max-height: 600px;
    }
    .slide-title {
        font-size: 24px;
    }
    .slide-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .slide-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    .regions-grid {
        grid-template-columns: 1fr;
    }
    .why-us-stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .stat-card {
        padding: 20px 14px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .quick-links {
        grid-template-columns: 1fr;
    }
    .search-modal-content {
        padding: 20px;
    }
    .about {
        padding: 60px 0 40px;
    }
    .services, .why-us, .blog, .contact {
        padding: 60px 0;
    }
    .regions {
        padding: 60px 0;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
