/* =====================================================
   TUZLA LOGO BAYISI - CUSTOM STYLES
   ===================================================== */

/* Modern Corporate Font - Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Root Variables */
:root {
    --primary-blue: #1e3a8a;
    --primary-light-blue: #1e40af;
    --secondary-blue: #3b82f6;
    --dark-gray: #111827;
    --light-gray: #f9fafb;
    --border-color: #e5e7eb;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.65;
    font-weight: 400;
    letter-spacing: -0.01em;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    letter-spacing: -0.025em;
    font-weight: 700;
    line-height: 1.25;
}

p, li, a, span, div, button, input, textarea, select, label {
    font-family: var(--font-primary);
}

/* Better readability on all screen sizes */
@media (min-width: 768px) {
    body {
        font-size: 16px;
        line-height: 1.7;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 15px;
        line-height: 1.6;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-dark);
}

p {
    color: var(--text-light);
}

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

a:hover {
    color: var(--primary-light-blue);
}

/* Header Styles */
header {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
}

header nav ul li a {
    font-size: 0.95rem;
}

/* Mobile Menu Toggle */
#menuBtn {
    cursor: pointer;
}

#mobileMenu {
    animation: slideDown 0.3s ease-out;
}

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

/* Hero Section Styles */
.bg-gradient-to-r {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light-blue) 100%);
}

/* Service Cards */
.service-card {
    transition: var(--transition);
    border-radius: 0.5rem;
}

.service-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

/* Button Styles */
button,
.btn {
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    border-radius: 0.5rem;
}

button:hover,
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Primary Button */
.btn-primary {
    background-color: var(--secondary-blue);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--primary-light-blue);
}

/* Secondary Button */
.btn-secondary {
    background-color: var(--text-light);
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: var(--text-dark);
}

/* WhatsApp Button */
.whatsapp-btn {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 150, 80, 0.4);
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    animation: none;
    transform: scale(1.1);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(37, 150, 80, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 150, 80, 0.6);
    }
}

/* Form Styles */
input,
textarea,
select {
    font-family: inherit;
    font-size: 1rem;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Footer Styles */
footer {
    background: linear-gradient(180deg, var(--primary-blue) 0%, #0f172a 100%);
    border-top: 3px solid rgba(59, 130, 246, 0.3);
}

footer h3, footer h4 {
    color: #ffffff;
}

footer a {
    color: #ffffff;
}

footer a:hover {
    color: #bfdbfe;
    text-decoration: underline;
}

footer p {
    color: #ffffff;
}

/* Breadcrumb */
nav.bg-gray-100 {
    background-color: var(--light-gray);
}

/* Cards */
.card {
    background: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

/* Section Styles */
section {
    position: relative;
}

/* ===================================================
   AUTOMATIC TEXT COLOR BASED ON BACKGROUND
   - LIGHT backgrounds (white, gray-50/100, color-50/100) → DARK text
   - DARK backgrounds (color-500+, dark gradients) → WHITE text
   Order matters! DARK rules come LAST so they win when overlap occurs.
   =================================================== */

/* ============ STEP 1: LIGHT BACKGROUNDS → DARK TEXT ============ */
/* (Applied first, so DARK rules can override on dark backgrounds) */
[class*="bg-white"],
[class*="bg-gray-50"],
[class*="bg-gray-100"],
[class*="bg-gray-200"],
[class*="bg-blue-50"],
[class*="bg-blue-100"],
[class*="bg-red-50"],
[class*="bg-red-100"],
[class*="bg-green-50"],
[class*="bg-green-100"],
[class*="bg-purple-50"],
[class*="bg-purple-100"],
[class*="bg-yellow-50"],
[class*="bg-yellow-100"],
[class*="from-blue-50"],
[class*="from-blue-100"],
[class*="from-gray-50"],
[class*="from-gray-100"],
[class*="from-red-50"],
[class*="from-red-100"],
[class*="from-green-50"],
[class*="from-green-100"],
[class*="from-purple-50"],
[class*="from-purple-100"] {
    color: var(--text-dark);
}

/* Descendants of LIGHT backgrounds → DARK */
[class*="bg-white"] h1, [class*="bg-white"] h2, [class*="bg-white"] h3, [class*="bg-white"] h4, [class*="bg-white"] h5, [class*="bg-white"] h6,
[class*="bg-gray-50"] h1, [class*="bg-gray-50"] h2, [class*="bg-gray-50"] h3, [class*="bg-gray-50"] h4, [class*="bg-gray-50"] h5, [class*="bg-gray-50"] h6,
[class*="bg-gray-100"] h1, [class*="bg-gray-100"] h2, [class*="bg-gray-100"] h3, [class*="bg-gray-100"] h4, [class*="bg-gray-100"] h5, [class*="bg-gray-100"] h6,
[class*="bg-blue-50"] h1, [class*="bg-blue-50"] h2, [class*="bg-blue-50"] h3, [class*="bg-blue-50"] h4,
[class*="bg-blue-100"] h1, [class*="bg-blue-100"] h2, [class*="bg-blue-100"] h3, [class*="bg-blue-100"] h4,
[class*="from-blue-50"] h1, [class*="from-blue-50"] h2, [class*="from-blue-50"] h3, [class*="from-blue-50"] h4, [class*="from-blue-50"] p, [class*="from-blue-50"] li, [class*="from-blue-50"] strong,
[class*="from-blue-100"] h1, [class*="from-blue-100"] h2, [class*="from-blue-100"] h3, [class*="from-blue-100"] h4, [class*="from-blue-100"] p, [class*="from-blue-100"] li, [class*="from-blue-100"] strong,
[class*="from-gray-50"] h1, [class*="from-gray-50"] h2, [class*="from-gray-50"] h3, [class*="from-gray-50"] p, [class*="from-gray-50"] li,
[class*="from-red-50"] h1, [class*="from-red-50"] h2, [class*="from-red-50"] h3, [class*="from-red-50"] p, [class*="from-red-50"] li, [class*="from-red-50"] strong,
[class*="from-red-100"] p, [class*="from-red-100"] strong,
[class*="from-green-50"] h1, [class*="from-green-50"] h2, [class*="from-green-50"] h3, [class*="from-green-50"] p, [class*="from-green-50"] li, [class*="from-green-50"] strong,
[class*="from-green-100"] p, [class*="from-green-100"] strong,
[class*="from-purple-50"] h1, [class*="from-purple-50"] h2, [class*="from-purple-50"] h3, [class*="from-purple-50"] p, [class*="from-purple-50"] li, [class*="from-purple-50"] strong,
[class*="from-purple-100"] p, [class*="from-purple-100"] strong {
    color: var(--text-dark);
}

/* Paragraphs on light backgrounds use softer dark gray */
[class*="bg-white"] p,
[class*="bg-gray-50"] p,
[class*="bg-gray-100"] p,
[class*="bg-blue-50"] p,
[class*="bg-blue-100"] p {
    color: var(--text-light);
}

[class*="bg-white"] li,
[class*="bg-gray-50"] li,
[class*="bg-gray-100"] li,
[class*="bg-blue-50"] li,
[class*="bg-blue-100"] li {
    color: var(--text-dark);
}

/* ============ STEP 2: DARK BACKGROUNDS → WHITE TEXT ============ */
/* (Applied last - overrides LIGHT rules when descendant of dark element) */
[class*="bg-blue-5"]:not([class*="bg-blue-50"]),
[class*="bg-blue-6"],
[class*="bg-blue-7"],
[class*="bg-blue-8"],
[class*="bg-blue-9"],
[class*="bg-red-5"]:not([class*="bg-red-50"]),
[class*="bg-red-6"],
[class*="bg-red-7"],
[class*="bg-red-8"],
[class*="bg-red-9"],
[class*="bg-green-5"]:not([class*="bg-green-50"]),
[class*="bg-green-6"],
[class*="bg-green-7"],
[class*="bg-green-8"],
[class*="bg-green-9"],
[class*="bg-purple-5"]:not([class*="bg-purple-50"]),
[class*="bg-purple-6"],
[class*="bg-purple-7"],
[class*="bg-purple-8"],
[class*="bg-purple-9"],
[class*="bg-gray-7"],
[class*="bg-gray-8"],
[class*="bg-gray-9"],
[class*="bg-slate-7"],
[class*="bg-slate-8"],
[class*="bg-slate-9"],
[class*="from-blue-7"],
[class*="from-blue-8"],
[class*="from-blue-9"],
[class*="from-red-7"],
[class*="from-red-8"],
[class*="from-red-9"],
[class*="from-gray-7"],
[class*="from-gray-8"],
[class*="from-gray-9"],
[class*="from-slate-7"],
[class*="from-slate-8"],
[class*="from-slate-9"],
footer {
    color: #ffffff;
}

/* Descendants of DARK backgrounds → WHITE - uses !important to win over light rules */
[class*="bg-blue-6"] h1, [class*="bg-blue-6"] h2, [class*="bg-blue-6"] h3, [class*="bg-blue-6"] h4, [class*="bg-blue-6"] h5, [class*="bg-blue-6"] h6, [class*="bg-blue-6"] p, [class*="bg-blue-6"] li, [class*="bg-blue-6"] span:not(.text-gradient), [class*="bg-blue-6"] strong,
[class*="bg-blue-7"] h1, [class*="bg-blue-7"] h2, [class*="bg-blue-7"] h3, [class*="bg-blue-7"] h4, [class*="bg-blue-7"] h5, [class*="bg-blue-7"] h6, [class*="bg-blue-7"] p, [class*="bg-blue-7"] li, [class*="bg-blue-7"] span:not(.text-gradient), [class*="bg-blue-7"] strong,
[class*="bg-blue-8"] h1, [class*="bg-blue-8"] h2, [class*="bg-blue-8"] h3, [class*="bg-blue-8"] h4, [class*="bg-blue-8"] h5, [class*="bg-blue-8"] h6, [class*="bg-blue-8"] p, [class*="bg-blue-8"] li, [class*="bg-blue-8"] span:not(.text-gradient), [class*="bg-blue-8"] strong,
[class*="bg-blue-9"] h1, [class*="bg-blue-9"] h2, [class*="bg-blue-9"] h3, [class*="bg-blue-9"] h4, [class*="bg-blue-9"] h5, [class*="bg-blue-9"] h6, [class*="bg-blue-9"] p, [class*="bg-blue-9"] li, [class*="bg-blue-9"] span:not(.text-gradient), [class*="bg-blue-9"] strong,
[class*="from-blue-7"] h1, [class*="from-blue-7"] h2, [class*="from-blue-7"] h3, [class*="from-blue-7"] h4, [class*="from-blue-7"] h5, [class*="from-blue-7"] h6, [class*="from-blue-7"] p, [class*="from-blue-7"] li, [class*="from-blue-7"] span:not(.text-gradient), [class*="from-blue-7"] strong,
[class*="from-blue-8"] h1, [class*="from-blue-8"] h2, [class*="from-blue-8"] h3, [class*="from-blue-8"] h4, [class*="from-blue-8"] h5, [class*="from-blue-8"] h6, [class*="from-blue-8"] p, [class*="from-blue-8"] li, [class*="from-blue-8"] span:not(.text-gradient), [class*="from-blue-8"] strong,
[class*="from-blue-9"] h1, [class*="from-blue-9"] h2, [class*="from-blue-9"] h3, [class*="from-blue-9"] h4, [class*="from-blue-9"] h5, [class*="from-blue-9"] h6, [class*="from-blue-9"] p, [class*="from-blue-9"] li, [class*="from-blue-9"] span:not(.text-gradient), [class*="from-blue-9"] strong,
[class*="bg-red-6"] h1, [class*="bg-red-6"] h2, [class*="bg-red-6"] h3, [class*="bg-red-6"] h4, [class*="bg-red-6"] p, [class*="bg-red-6"] li, [class*="bg-red-6"] span, [class*="bg-red-6"] strong,
[class*="bg-red-7"] h1, [class*="bg-red-7"] h2, [class*="bg-red-7"] h3, [class*="bg-red-7"] h4, [class*="bg-red-7"] p, [class*="bg-red-7"] li, [class*="bg-red-7"] span, [class*="bg-red-7"] strong,
[class*="bg-green-6"] h1, [class*="bg-green-6"] h2, [class*="bg-green-6"] h3, [class*="bg-green-6"] h4, [class*="bg-green-6"] p, [class*="bg-green-6"] li, [class*="bg-green-6"] span, [class*="bg-green-6"] strong,
[class*="bg-purple-6"] h1, [class*="bg-purple-6"] h2, [class*="bg-purple-6"] h3, [class*="bg-purple-6"] h4, [class*="bg-purple-6"] p, [class*="bg-purple-6"] li, [class*="bg-purple-6"] span, [class*="bg-purple-6"] strong,
footer h1, footer h2, footer h3, footer h4, footer h5, footer h6, footer span:not(.text-gradient) {
    color: #ffffff !important;
}

/* Soft light text for paragraphs on DARK backgrounds (excluding footer) */
[class*="bg-blue-7"]:not(footer) p, [class*="bg-blue-8"]:not(footer) p, [class*="bg-blue-9"]:not(footer) p,
[class*="from-blue-7"]:not(footer) p, [class*="from-blue-8"]:not(footer) p, [class*="from-blue-9"]:not(footer) p {
    color: #dbeafe !important;
}

/* Footer - ALL WHITE TEXT - highest priority */
footer,
footer h1, footer h2, footer h3, footer h4, footer h5, footer h6,
footer p, footer li, footer span, footer a,
footer ul, footer ol {
    color: #ffffff !important;
}

footer a:hover {
    color: #bfdbfe !important;
}

/* Hero Section - Force WHITE text (overrides bg-white parent rules) */
.hero-section,
.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section h4,
.hero-section h5,
.hero-section h6,
.hero-section p,
.hero-section li,
.hero-section span,
.hero-section strong,
.hero-section a:not(.bg-white):not(.bg-red-600):not(.bg-blue-600):not(.bg-green-600) {
    color: #ffffff !important;
}

/* EXCEPTION: Buttons with light backgrounds inside hero-section keep their dark text */
.hero-section a.bg-white,
.hero-section a.bg-white span,
.hero-section a.bg-white i,
.hero-section a.bg-white strong,
.hero-section a.bg-white p {
    color: #1e3a8a !important; /* blue-900 */
}

.hero-section a.bg-gray-100,
.hero-section a.bg-gray-100 span,
.hero-section a.bg-gray-100 i {
    color: #1e3a8a !important;
}

/* FIX: Gradient cards with -500/-600/-700 colors should have WHITE text */
/* Override the auto-color "from-blue-50" rule that matches "from-blue-500" */
[class*="from-blue-500"],
[class*="from-blue-600"],
[class*="from-blue-700"],
[class*="from-green-500"],
[class*="from-green-600"],
[class*="from-green-700"],
[class*="from-purple-500"],
[class*="from-purple-600"],
[class*="from-purple-700"],
[class*="from-orange-500"],
[class*="from-orange-600"],
[class*="from-orange-700"],
[class*="from-red-500"],
[class*="from-red-600"],
[class*="from-red-700"] {
    color: #ffffff !important;
}

[class*="from-blue-500"] h1, [class*="from-blue-500"] h2, [class*="from-blue-500"] h3, [class*="from-blue-500"] h4, [class*="from-blue-500"] p, [class*="from-blue-500"] span, [class*="from-blue-500"] strong, [class*="from-blue-500"] li,
[class*="from-blue-600"] h1, [class*="from-blue-600"] h2, [class*="from-blue-600"] h3, [class*="from-blue-600"] h4, [class*="from-blue-600"] p, [class*="from-blue-600"] span, [class*="from-blue-600"] strong, [class*="from-blue-600"] li,
[class*="from-blue-700"] h1, [class*="from-blue-700"] h2, [class*="from-blue-700"] h3, [class*="from-blue-700"] h4, [class*="from-blue-700"] p, [class*="from-blue-700"] span, [class*="from-blue-700"] strong, [class*="from-blue-700"] li,
[class*="from-green-500"] h1, [class*="from-green-500"] h2, [class*="from-green-500"] h3, [class*="from-green-500"] h4, [class*="from-green-500"] p, [class*="from-green-500"] span, [class*="from-green-500"] strong, [class*="from-green-500"] li,
[class*="from-green-600"] h1, [class*="from-green-600"] h2, [class*="from-green-600"] h3, [class*="from-green-600"] h4, [class*="from-green-600"] p, [class*="from-green-600"] span, [class*="from-green-600"] strong, [class*="from-green-600"] li,
[class*="from-green-700"] h1, [class*="from-green-700"] h2, [class*="from-green-700"] h3, [class*="from-green-700"] h4, [class*="from-green-700"] p, [class*="from-green-700"] span, [class*="from-green-700"] strong, [class*="from-green-700"] li,
[class*="from-purple-500"] h1, [class*="from-purple-500"] h2, [class*="from-purple-500"] h3, [class*="from-purple-500"] h4, [class*="from-purple-500"] p, [class*="from-purple-500"] span, [class*="from-purple-500"] strong, [class*="from-purple-500"] li,
[class*="from-purple-600"] h1, [class*="from-purple-600"] h2, [class*="from-purple-600"] h3, [class*="from-purple-600"] h4, [class*="from-purple-600"] p, [class*="from-purple-600"] span, [class*="from-purple-600"] strong, [class*="from-purple-600"] li,
[class*="from-purple-700"] h1, [class*="from-purple-700"] h2, [class*="from-purple-700"] h3, [class*="from-purple-700"] h4, [class*="from-purple-700"] p, [class*="from-purple-700"] span, [class*="from-purple-700"] strong, [class*="from-purple-700"] li,
[class*="from-orange-500"] h1, [class*="from-orange-500"] h2, [class*="from-orange-500"] h3, [class*="from-orange-500"] h4, [class*="from-orange-500"] p, [class*="from-orange-500"] span, [class*="from-orange-500"] strong, [class*="from-orange-500"] li,
[class*="from-orange-600"] h1, [class*="from-orange-600"] h2, [class*="from-orange-600"] h3, [class*="from-orange-600"] h4, [class*="from-orange-600"] p, [class*="from-orange-600"] span, [class*="from-orange-600"] strong, [class*="from-orange-600"] li,
[class*="from-orange-700"] h1, [class*="from-orange-700"] h2, [class*="from-orange-700"] h3, [class*="from-orange-700"] h4, [class*="from-orange-700"] p, [class*="from-orange-700"] span, [class*="from-orange-700"] strong, [class*="from-orange-700"] li,
[class*="from-red-500"] h1, [class*="from-red-500"] h2, [class*="from-red-500"] h3, [class*="from-red-500"] h4, [class*="from-red-500"] p, [class*="from-red-500"] span, [class*="from-red-500"] strong, [class*="from-red-500"] li,
[class*="from-red-600"] h1, [class*="from-red-600"] h2, [class*="from-red-600"] h3, [class*="from-red-600"] h4, [class*="from-red-600"] p, [class*="from-red-600"] span, [class*="from-red-600"] strong, [class*="from-red-600"] li,
[class*="from-red-700"] h1, [class*="from-red-700"] h2, [class*="from-red-700"] h3, [class*="from-red-700"] h4, [class*="from-red-700"] p, [class*="from-red-700"] span, [class*="from-red-700"] strong, [class*="from-red-700"] li {
    color: #ffffff !important;
}

/* =====================================================
   COOKIE CONSENT BANNER STYLES (KVKK & GDPR)
   ===================================================== */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 4px solid #2563eb;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
    color: #1f2937 !important;
}

.cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-consent-banner.hide {
    transform: translateY(100%);
}

.cookie-consent-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.cookie-consent-content {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    flex: 1;
}

.cookie-consent-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #dbeafe;
    color: #2563eb !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.cookie-consent-text {
    flex: 1;
    color: #1f2937 !important;
}

.cookie-consent-text h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #1f2937 !important;
}

.cookie-consent-text p {
    font-size: 0.875rem;
    color: #4b5563 !important;
    line-height: 1.5;
    margin: 0;
}

.cookie-consent-text .cookie-link {
    color: #2563eb !important;
    text-decoration: underline;
    font-weight: 600;
}

.cookie-consent-text .cookie-link:hover {
    color: #1d4ed8 !important;
}

.cookie-consent-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.cookie-btn {
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: #2563eb;
    color: #ffffff !important;
}

.cookie-btn-accept:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.cookie-btn-reject {
    background: #f3f4f6;
    color: #4b5563 !important;
    border: 1px solid #d1d5db;
}

.cookie-btn-reject:hover {
    background: #e5e7eb;
}

/* Tablet & Desktop */
@media (min-width: 768px) {
    .cookie-consent-banner {
        padding: 1.5rem 2rem;
    }

    .cookie-consent-inner {
        flex-direction: row;
        justify-content: space-between;
    }

    .cookie-consent-buttons {
        flex-shrink: 0;
    }

    .cookie-consent-text h3 {
        font-size: 1.25rem;
    }
}

/* Mobile small */
@media (max-width: 479px) {
    .cookie-consent-banner {
        padding: 0.75rem;
    }

    .cookie-consent-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cookie-consent-text h3 {
        font-size: 1rem;
    }

    .cookie-consent-text p {
        font-size: 0.8125rem;
    }

    .cookie-consent-buttons {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        font-size: 0.8125rem;
        padding: 0.5rem 0.75rem;
    }
}

/* Add bottom padding to body when banner is visible (so floating buttons don't overlap) */
body:has(.cookie-consent-banner.show) {
    padding-bottom: 200px;
}

@media (min-width: 768px) {
    body:has(.cookie-consent-banner.show) {
        padding-bottom: 120px;
    }
}

/* Move floating buttons up when banner is visible */
.cookie-consent-banner.show ~ .floating-buttons-wrapper {
    bottom: 220px;
}

@media (min-width: 768px) {
    .cookie-consent-banner.show ~ .floating-buttons-wrapper {
        bottom: 140px;
    }
}

/* Page Background Adjustments */
main {
    background-color: #f9fafb;
}

main > h2, main > h3, main > h4, main > h5, main > h6 {
    color: var(--text-dark);
}

main > p, main > li {
    color: var(--text-dark);
}

/* Text Styles */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Icon Styling */
i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Box Styles */
.box-shadow-lg {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.box-shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Hover Effects */
.hover-lift:hover {
    transform: translateY(-4px);
}

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

/* Article Styles */
article {
    border-left: 4px solid var(--secondary-blue);
    transition: var(--transition);
}

article:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Dropdown Menu */
.group:hover > .group-hover\:block {
    display: block;
    animation: slideDown 0.2s ease-out;
}

/* ===================================================
   FLOATING BUTTONS - WhatsApp & Scroll-to-Top
   Positioned in bottom-right, stacked vertically
   =================================================== */
.floating-buttons-wrapper {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 50;
}

/* Scroll-to-top button (above WhatsApp) */
#scrollToTopBtn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

/* WhatsApp floating button */
.whatsapp-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 150, 80, 0.4);
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    animation: none;
    transform: scale(1.1);
}

/* ===================================================
   RESPONSIVE STYLES
   =================================================== */

/* === DESKTOP (1024px+) === */
@media (min-width: 1024px) {
    .hero-section h1 {
        font-size: 3rem;
    }

    .hero-section p {
        font-size: 1.25rem;
    }

    /* Footer grid spacing */
    footer .container {
        max-width: 1200px;
    }
}

/* === TABLET (768px - 1023px) === */
@media (min-width: 768px) and (max-width: 1023px) {
    /* Header */
    header nav {
        padding: 0.5rem 1rem;
    }

    header nav ul {
        gap: 1rem;
    }

    header nav ul li a {
        font-size: 0.85rem;
    }

    /* Hero */
    .hero-section h1,
    section h1 {
        font-size: 2.25rem;
    }

    /* Service sections - better spacing */
    .service-detail-grid {
        gap: 1.5rem;
    }

    /* Footer */
    footer {
        padding: 2.5rem 0;
    }

    /* Floating buttons */
    .floating-buttons-wrapper {
        bottom: 1rem;
        right: 1rem;
    }

    .whatsapp-btn {
        width: 48px;
        height: 48px;
    }

    #scrollToTopBtn {
        width: 40px;
        height: 40px;
    }
}

/* === MOBILE (< 768px) === */
@media (max-width: 767px) {
    /* Header adjustments */
    header nav {
        padding: 0.25rem 0.75rem;
    }

    header nav ul {
        flex-direction: column;
    }

    /* Hero section */
    section.bg-gradient-to-r {
        padding: 3rem 0;
    }

    h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    h3 {
        font-size: 1.2rem;
    }

    /* Sections */
    section {
        padding: 2rem 0;
    }

    /* Service cards */
    .service-card {
        padding: 1.5rem;
    }

    /* Footer responsive */
    footer {
        padding: 2rem 0;
    }

    footer .grid {
        gap: 1.5rem;
    }

    footer h4 {
        margin-bottom: 0.75rem;
    }

    /* Contact info cards */
    .contact-card {
        padding: 1.5rem;
    }

    /* Form */
    form input,
    form textarea,
    form select {
        font-size: 16px; /* Prevents iOS zoom */
    }

    /* Google Maps */
    iframe {
        min-height: 280px !important;
    }

    /* Floating buttons - smaller & tighter */
    .floating-buttons-wrapper {
        bottom: 0.75rem;
        right: 0.75rem;
        gap: 0.5rem;
    }

    .whatsapp-btn {
        width: 44px;
        height: 44px;
    }

    .whatsapp-btn i {
        font-size: 1.25rem;
    }

    #scrollToTopBtn {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    /* District grid cards */
    .district-card {
        padding: 1rem;
    }

    /* Buttons */
    .cta-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }

    /* Better touch targets */
    a, button {
        min-height: 44px;
    }

    /* Breadcrumb */
    nav.bg-white.border-b,
    nav.bg-gray-100 {
        padding: 0.5rem 0;
    }
}

/* === SMALL MOBILE (< 480px) === */
@media (max-width: 479px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    /* Full-width buttons on very small screens */
    .hero-buttons a,
    .cta-btn {
        display: block;
        width: 100%;
        text-align: center;
    }

    /* Footer logo smaller */
    footer .footer-logo img {
        height: 2.5rem;
    }

    /* Contact cards stack better */
    .contact-card h3 {
        font-size: 1.25rem;
    }

    /* Floating buttons even smaller */
    .floating-buttons-wrapper {
        bottom: 0.5rem;
        right: 0.5rem;
    }

    .whatsapp-btn {
        width: 40px;
        height: 40px;
    }

    #scrollToTopBtn {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    /* Service detail sections */
    .service-icon-circle {
        width: 3.5rem;
        height: 3.5rem;
    }

    /* Acil destek button wrap */
    .acil-destek-buttons {
        flex-direction: column;
    }
}

/* Print Styles */
@media print {
    header,
    footer,
    .whatsapp-btn,
    button {
        display: none;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    a {
        text-decoration: underline;
    }
}

/* Accessibility */
:focus-visible {
    outline: 2px solid var(--secondary-blue);
    outline-offset: 2px;
}

/* Loading Animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.spinner {
    animation: spin 1s linear infinite;
}

/* Smooth Transitions */
* {
    transition: color 0.2s ease, background-color 0.2s ease;
}

a, button {
    transition: var(--transition);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-blue);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light-blue);
}
