/*
Theme Name: Dijital Reenkarnasyon Theme
Theme URI: https://dijitalreenkarnasyon.com
Author: Dijital Reenkarnasyon
Author URI: https://3kareajans.com
Description: A modern, SEO-friendly, and multilingual WordPress theme for agencies.
Version: 1.0.0
Text Domain: ajans
*/

:root {
    /* Colors */
    --vamtam-accent-color-1: #6754E9;
    /* Purple */
    --vamtam-accent-color-1-hc: #FFFFFF;
    --vamtam-accent-color-1-rgb: 103, 84, 233;

    --vamtam-accent-color-2: #F7F7FA;
    /* Light Gray */
    --vamtam-accent-color-2-hc: #000000;
    --vamtam-accent-color-2-rgb: 247, 247, 250;

    --vamtam-accent-color-3: #000000B3;
    /* Dark Text */
    --vamtam-accent-color-3-hc: #FFFFFF;

    --vamtam-accent-color-5: #FFFFFF;
    /* White */
    --vamtam-accent-color-5-hc: #000000;

    --vamtam-accent-color-6: #000000;
    /* Black */
    --vamtam-accent-color-6-hc: #FFFFFF;

    --vamtam-accent-color-8: #FFBE11;
    /* Yellow */
    --vamtam-accent-color-8-hc: #000000;
    --vamtam-accent-color-8-rgb: 255, 190, 17;

    /* Fonts */
    --vamtam-primary-font-font-family: 'Kanit', sans-serif;
    --vamtam-h1-font-family: 'Syne', sans-serif;
    --vamtam-h2-font-family: 'Syne', sans-serif;
    --vamtam-h3-font-family: 'Syne', sans-serif;
    --vamtam-h4-font-family: 'Syne', sans-serif;
    --vamtam-h5-font-family: 'Syne', sans-serif;
    --vamtam-h6-font-family: 'Syne', sans-serif;

    /* Layout */
    --container-width: 1280px;
    --header-height: 100px;
    /* Increased for breathing room */

    /* Cookie Consent */
    --cookie-bar-bg: #000000;
    --cookie-bar-text: #FFFFFF;
    --cookie-btn-accept-bg: #6754E9;
    --cookie-btn-reject-bg: #333333;

    /* WhatsApp */
    --whatsapp-btn-bg: #25D366;
    --whatsapp-btn-color: #FFFFFF;
}

/* Global Padding for fixed header on non-home pages */
body:not(.home) #page {
    padding-top: var(--header-height);
}

/* Mobile Header Adjustment */
@media (max-width: 991px) {
    :root {
        --header-height: 80px;
    }
}


/* Dark Mode Override based on System Preference */
@media (prefers-color-scheme: dark) {
    :root {
        --vamtam-accent-color-1: #9b8dff;
        /* Lighter Purple for dark bg */
        --vamtam-accent-color-2: #121212;
        /* Very Dark Gray */
        --vamtam-accent-color-3: #ECECEC;
        /* Light Text */
        --vamtam-accent-color-5: #1A1A1A;
        /* Dark Background */
        --vamtam-accent-color-6: #FFFFFF;
        /* White Text */
        --cookie-bar-bg: #222;
        --cookie-bar-text: #fff;
    }

    body {
        border-color: #333;
    }

    /* Main Sections Dark Backgrounds */
    .site-header,
    .service-box,
    .project-info,
    .team-member,
    .blog-card,
    .stats-section,
    .process-section,
    .services-section,
    .projects-section,
    .cta-section {
        background-color: #1A1A1A !important;
        /* Unified dark bg */
        color: #ddd !important;
    }

    /* Cards in Dark Mode */
    .service-box,
    .step-card,
    .project-card,
    .team-member,
    .blog-card {
        background-color: #252525 !important;
        border-color: #333 !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    }

    .step-card:hover,
    .service-box:hover {
        background-color: #2A2A2A !important;
    }

    .hero-section,
    .about-section,
    .services-section,
    .blog-section,
    .contact-section {
        background: transparent !important;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    .step-number {
        color: #fff !important;
    }

    p,
    li,
    .section-desc {
        color: #bbb !important;
    }

    .page-header-global {
        background: linear-gradient(135deg, #2c3e50 0%, #000000 100%) !important;
    }

    /* Input Fields Dark */
    input,
    textarea {
        background: #333;
        color: #fff;
        border-color: #444;
    }

    .video-showcase {
        background-color: #000 !important;
    }
}

/* Basic Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    overflow-x: hidden;
    /* Critical for mobile overflow */
    width: 100%;
    position: relative;
}

body {
    font-family: var(--vamtam-primary-font-font-family);
    color: var(--vamtam-accent-color-3);
    background-color: var(--vamtam-accent-color-5);
    line-height: 1.5;
    font-weight: 300;
}

/* Mobile Typography & Layout Fixes */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    /* Scale down base rem */
    h1 {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
    }

    h2 {
        font-size: 1.8rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
    }

    .container {
        padding: 0 20px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Fix specific section overflows */
    .row,
    .flex,
    .grid {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--vamtam-h1-font-family);
    color: var(--vamtam-accent-color-6);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
}

a {
    color: var(--vamtam-accent-color-1);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--vamtam-accent-color-6);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Base Button Style */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--vamtam-accent-color-6);
    /* Black default */
    color: #fff;
    border-radius: 50px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
}

.btn:hover {
    background-color: var(--vamtam-accent-color-1);
    /* Purple hover */
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(103, 84, 233, 0.4);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 12px;
}

.btn-primary {
    background-color: var(--vamtam-accent-color-1);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--vamtam-accent-color-6);
    color: var(--vamtam-accent-color-6);
}


/* Custom Logo Limit */
.custom-logo-link img,
.site-branding img,
.logo-wrapper img {
    max-width: 80px !important;
    /* Force small size */
    height: auto;
    object-fit: contain;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-title {
    font-size: 1.5rem;
    margin: 0;
    line-height: 1;
}

.site-description {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
    line-height: 1.2;
    font-weight: 400;
}

.title-group {
    display: flex;
    flex-direction: column;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.text-center {
    text-align: center;
}

.page-header-global {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    position: relative;
    overflow: hidden;
}

.page-header-global h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.page-header-global p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Abstract Shapes for Headers */
.page-header-global::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--vamtam-accent-color-1);
    opacity: 0.05;
    border-radius: 50%;
    filter: blur(80px);
}

/* --- Biz Kimiz (About) --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin: 80px 0;
}

.about-img img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--vamtam-accent-color-8);
}

/* --- Hizmetler (Services) --- */
.services-detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    padding: 60px 0;
}

.service-box {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--vamtam-accent-color-1);
    transition: all 0.3s ease;
}

.service-box:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.service-box h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.service-box ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.service-box li {
    margin-bottom: 10px;
    color: #555;
}

.service-box li::before {
    content: '✓';
    color: var(--vamtam-accent-color-1);
    margin-right: 10px;
    font-weight: bold;
}

/* --- Projeler (Projects) --- */
.project-gallery {
    display: block;
    /* Masonry setup usually requires JS, sticking to grid for CSS-only speed */
    column-count: 2;
    column-gap: 30px;
}

@media (max-width: 768px) {
    .project-gallery {
        column-count: 1;
    }
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 30px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 30px;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* --- İletişim (Contact) --- */
.contact-actions {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin: 60px 0;
}

@media (max-width: 768px) {
    .contact-actions {
        grid-template-columns: 1fr;
    }
}

.contact-info-card {
    background: var(--vamtam-accent-color-1);
    color: #fff;
    padding: 40px;
    border-radius: 20px;
}

.contact-info-card h3 {
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.info-row {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.info-row i {
    font-size: 24px;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 50%;
}

.contact-form-wrapper {
    background: #fff;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--vamtam-accent-color-1);
    outline: none;
}

/* Blog Card */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.blog-card {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-thumb {
    height: 200px;
    overflow: hidden;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover .blog-thumb img {
    transform: scale(1.1);
}

.blog-content {
    padding: 25px;
}

/* --- Advanced Interaction Styles --- */

/* Scroll Reveal State */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 3D Tilt Wrapper */
.tilt-card {
    will-change: transform;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    /* Smooth follow */
}



/* Parallax Layers */
.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* --- New Homepage Sections CSS --- */

    /* Scrolling Marquee */
    .marquee-wrapper {
        background: var(--vamtam-accent-color-1);
        color: #fff;
        padding: 20px 0;
        overflow: hidden;
        white-space: nowrap;
        position: relative;
        transform: rotate(-2deg) scale(1.05);
        /* Skew effect */
        margin: 50px 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .marquee-content {
        display: inline-block;
        animation: marquee 20s linear infinite;
        font-size: 1.5rem;
        font-weight: 700;
        letter-spacing: 2px;
    }

    .marquee-content span {
        margin: 0 30px;
    }

    .divider {
        color: rgba(255, 255, 255, 0.3);
    }

    @keyframes marquee {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-50%);
        }
    }

    /* Process Section */
    .process-section {
        padding: 100px 0;
        background: #fff;
    }

    .process-steps {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 30px;
        margin-top: 60px;
    }

    .step-card {
        position: relative;
        padding: 30px;
        border: 1px solid #eee;
        border-radius: 20px;
        transition: all 0.3s ease;
    }

    .step-card:hover {
        background: var(--vamtam-accent-color-2);
        border-color: transparent;
        transform: translateY(-5px);
    }

    .step-number {
        font-size: 3rem;
        font-weight: 800;
        color: rgba(0, 0, 0, 0.05);
        position: absolute;
        top: 10px;
        right: 20px;
    }

    .step-card h4 {
        margin-top: 20px;
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    /* Video Showcase */
    .video-showcase {
        padding: 100px 0;
        background: #111;
        color: #fff;
        position: relative;
    }

    .video-promo {
        position: relative;
        max-width: 900px;
        margin: 50px auto 0;
        border-radius: 30px;
        overflow: hidden;
        cursor: pointer;
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    }

    .video-promo img {
        width: 100%;
        display: block;
        opacity: 0.7;
        transition: opacity 0.3s;
    }

    .video-promo:hover img {
        opacity: 0.4;
    }

    .play-button {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80px;
        height: 80px;
        background: #fff;
        color: #000;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        transition: transform 0.3s;
    }

    .video-promo:hover .play-button {
        transform: translate(-50%, -50%) scale(1.1);
    }

    /* CTA Section */
    .cta-section {
        padding: 120px 0;
        background: var(--vamtam-accent-color-2);
        /* Light Gray */
    }

    .cta-section h2 {
        font-size: 3rem;
        margin-bottom: 20px;
    }

    .cta-section p {
        font-size: 1.3rem;
        color: #555;
        margin-bottom: 40px;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .btn-lg {
        padding: 18px 50px;
        font-size: 16px;
    }

    /* Helper for Desktop Show/Hide */
    @media (max-width: 768px) {
        .show-desktop {
            display: none;
        }
    }

    /* Dark Mode Overrides for New Sections */
    @media (prefers-color-scheme: dark) {
        .step-card {
            border-color: #333;
            background: #1f1f1f;
        }

        .step-card:hover {
            background: #252525;
        }

        .step-number {
            color: rgba(255, 255, 255, 0.05);
        }

        .process-section,
        .cta-section {
            background: #121212 !important;
        }

        .video-showcase {
            background: #000;
        }
    }
}

/* Closing Main Dark Mode Media Query */

/* --- Contact Page Styles (Global) --- */

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-page-grid>* {
    min-width: 0;
}

@media (max-width: 992px) {
    .contact-page-grid {
        grid-template-columns: 1fr;
    }
}

.contact-left-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Keyframes for Sheen Effect */
@keyframes sheen-flow {
    0% {
        left: -100%;
        opacity: 0;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        left: 200%;
        opacity: 0;
    }
}

.consultancy-box,
.contact-form-wrapper,
.contact-info-card {
    background: rgba(var(--vamtam-accent-color-1-rgb), 0.05);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(var(--vamtam-accent-color-1-rgb), 0.1);

    /* Advanced Animation Properties */
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Springy Feel */
}

/* Hover State - "Magnetic Lift" */
.consultancy-box:hover,
.contact-form-wrapper:hover,
.contact-info-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(var(--vamtam-accent-color-1-rgb), 0.6);
    box-shadow: 0 20px 50px rgba(var(--vamtam-accent-color-1-rgb), 0.25);
    /* Colored Neon Glow */
}

/* The Holographic Sheen Layer */
.consultancy-box::before,
.contact-form-wrapper::before,
.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right,
            transparent 0%,
            rgba(255, 255, 255, 0.4) 50%,
            transparent 100%);
    transform: skewX(-25deg);
    pointer-events: none;
    z-index: 1;
}

.consultancy-box:hover::before,
.contact-form-wrapper:hover::before,
.contact-info-card:hover::before {
    animation: sheen-flow 0.75s ease-in-out forwards;
}

/* --- Text Styles for All Cards (Light Mode Defaults) --- */

/* Subtitles / Labels */
.consultancy-box h4,
.contact-form-wrapper h4,
.contact-info-card h4 {
    color: var(--vamtam-accent-color-1);
    /* Purple */
    margin-bottom: 15px;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Main Headings */
.consultancy-box h3,
.contact-form-wrapper h3,
.contact-info-card h3 {
    color: #000;
    /* Explicit Black */
    font-size: 1.8rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

/* Body Text, Lists, Labels */
.consultancy-box p,
.consultancy-box ul,
.consultancy-box li,
.contact-info-card,
.contact-info-card div,
.contact-form-wrapper label {
    color: #333;
    /* Dark Gray */
    font-size: 1.05rem;
    opacity: 1;
    /* Ensure full visibility */
}

/* List Icons */
.consultancy-box ul li i,
.contact-info-card i {
    color: var(--vamtam-accent-color-1);
    /* Purple Icon */
    margin-top: 5px;
    margin-right: 10px;
}

/* Contact Info Links */
.contact-info-card a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info-card a:hover {
    color: var(--vamtam-accent-color-1);
}

/* List Item Spacing */
.consultancy-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.consultancy-box ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

/* --- Dark Mode Adjustments --- */
@media (prefers-color-scheme: dark) {

    .consultancy-box,
    .contact-form-wrapper,
    .contact-info-card {
        background: rgba(255, 255, 255, 0.05);
        /* White tint */
        border-color: rgba(255, 255, 255, 0.1);
    }

    /* Headings stay White */
    .consultancy-box h3,
    .contact-form-wrapper h3,
    .contact-info-card h3 {
        color: #fff !important;
    }

    /* Subtitles stay Purple or lighten */
    .consultancy-box h4,
    .contact-info-card h4 {
        color: #9b8dff !important;
        /* Lighter Purple */
    }

    /* Body text turns Light Gray */
    .consultancy-box p,
    .consultancy-box ul,
    .consultancy-box li,
    .contact-info-card,
    .contact-info-card div,
    .contact-form-wrapper label {
        color: #ddd !important;
        opacity: 0.9;
    }

    /* Icons lighten */
    .consultancy-box ul li i,
    .contact-info-card i {
        color: #9b8dff !important;
    }

    /* Links turn White/Light */
    .contact-info-card a {
        color: #eee !important;
    }

    .contact-info-card a:hover {
        color: #fff !important;
    }
}

/* --- GLOBAL HEADER & FOOTER REDESIGN (Transparent & Adaptive) --- */

/* 1. Global Header Style */
.site-header {
    background: transparent !important;
    box-shadow: none !important;
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: background 0.3s, padding 0.3s;
}

.site-header.scrolled {
    background: rgba(15, 15, 15, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 10px 0;
    position: fixed !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2) !important;
}

/* Default Dark Theme Text (matching 3D bg) */
.site-title a,
.site-description {
    color: #fff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    text-decoration: none;
}

.main-navigation a {
    color: #fff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    font-weight: 600;
    text-decoration: none;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
}

.header-cta {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50px;
    padding: 10px 25px;
    transition: all 0.3s;
}

.header-cta:hover {
    background: var(--vamtam-accent-color-1) !important;
    border-color: var(--vamtam-accent-color-1) !important;
}

/* 2. Global Footer Style */
.site-footer {
    background: transparent !important;
    color: #ccc;
    padding: 80px 0 40px;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.site-footer a {
    color: #aaa;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--vamtam-accent-color-1);
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 10px;
}

/* Horizontal Footer Menu */
#footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

#footer-menu li {
    margin-bottom: 0;
}

.copyright-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    font-size: 1.2rem;
    color: #fff;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Brand Colors on Hover */
.social-icon:hover {
    transform: translateY(-5px);
    color: #fff;
}

.social-icon .fa-instagram {
    transition: color 0.3s;
}

.social-icon:hover .fa-instagram {
    color: #fff;
}

.social-icon[href*="instagram"]:hover {
    background: #E1306C;
    box-shadow: 0 5px 15px rgba(225, 48, 108, 0.4);
}

.social-icon[href*="linkedin"]:hover {
    background: #0077b5;
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.4);
}

.social-icon[href*="twitter"]:hover,
.social-icon[href*="x.com"]:hover {
    background: #000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.social-icon[href*="facebook"]:hover {
    background: #1877F2;
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
}

.social-icon[href*="youtube"]:hover {
    background: #FF0000;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}


/* --- LIGHT MODE ADAPTATION --- */
/* This specifically targets Light Mode to fix visibility issues */
@media (prefers-color-scheme: light) {

    /* Global Content Colors */
    body {
        background-color: #f8f9fa;
        color: #333 !important;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        color: #111 !important;
        text-shadow: none !important;
    }

    p,
    li {
        color: #555 !important;
        text-shadow: none !important;
    }

    /* Form Inputs */
    input,
    textarea {
        background: #fff !important;
        color: #333 !important;
        border: 1px solid #ddd !important;
    }

    /* Header in Light Mode */
    .site-title a,
    .main-navigation a,
    .site-description {
        color: #111 !important;
        text-shadow: none !important;
    }

    .site-header {
        background: rgba(255, 255, 255, 0.9) !important;
        /* Ensure header isn't invisible */
    }

    .site-header.scrolled {
        background: rgba(255, 255, 255, 0.98) !important;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05) !important;
    }

    .header-cta {
        background: rgba(0, 0, 0, 0.05) !important;
        color: #111 !important;
        border-color: rgba(0, 0, 0, 0.1) !important;
    }

    /* Footer in Light Mode */
    .site-footer {
        border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
        color: #666 !important;
        background: #f1f1f1 !important;
        /* Light footer bg */
    }

    .site-footer h3 {
        color: #111 !important;
    }

    .site-footer a {
        color: #555 !important;
    }

    .social-icon {
        background: rgba(0, 0, 0, 0.05) !important;
        color: #555 !important;
    }

    .social-icon:hover {
        color: #fff !important;
    }

    /* Keep hover white text */

    .copyright-bar {
        border-top-color: rgba(0, 0, 0, 0.1) !important;
    }

    /* Homepage Specific Overrides */
    .hero-title {
        color: #111 !important;
        text-shadow: none !important;
    }

    .hero-desc {
        color: #444 !important;
        text-shadow: none !important;
    }

    /* Services */
    .service-row h3 {
        color: #111 !important;
        text-shadow: none !important;
    }

    .service-row .arrow-icon {
        color: var(--vamtam-accent-color-1) !important;
    }

    .service-row span {
        color: #333 !important;
    }

    /* Contact Section in Light Mode */
    .contact-section h2 {
        color: #111 !important;
        text-shadow: none;
    }

    .contact-section p {
        color: #555 !important;
        text-shadow: none;
    }

    /* Crucial: Phone/Email links must be dark */
    .contact-section a:not(.btn) {
        color: #222 !important;
    }

    /* Button text stays white */
    .contact-section .btn {
        color: #fff !important;
    }

    /* Fix Blog Cards in Light Mode */
    .blog-item h3 a {
        color: #111 !important;
    }

    .blog-item span {
        color: #666 !important;
    }
}

/* --- INNER PAGE HEADER CORRECTION --- */
/* Pull content up to sit behind absolute header */
body:not(.home) .site {
    padding-top: 100px;
}

body:not(.home) .page-header-global {}

/* --- Advanced Cookie Consent Styles --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 25px 5%;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    flex: 1;
    min-width: 300px;
}

.cookie-content p {
    margin: 0 0 10px;
    font-size: 0.95rem;
    color: var(--vamtam-accent-color-6);
    line-height: 1.5;
}

.cookie-content a {
    color: var(--vamtam-accent-color-1);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.cookie-banner .btn {
    padding: 10px 25px;
    font-size: 0.9rem;
}

/* Modal Styles */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 10001;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cookie-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.cookie-modal-content {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.cookie-modal.open .cookie-modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

.close-modal:hover {
    color: #000;
}

/* Preferences Toggles */
.preference-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.preference-info h4 {
    margin: 0 0 5px;
    font-size: 1.1rem;
    color: #000;
}

.preference-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--vamtam-accent-color-1);
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--vamtam-accent-color-1);
}

input:checked+.slider:before {
    transform: translateX(24px);
}

input:disabled+.slider {
    background-color: var(--vamtam-accent-color-1);
    opacity: 0.5;
    cursor: not-allowed;
}

/* Dark Mode Adaptation for Cookie Components */
@media (prefers-color-scheme: dark) {
    .cookie-banner {
        background: rgba(20, 20, 20, 0.95);
        border-top-color: rgba(255, 255, 255, 0.05);
    }

    .cookie-content p {
        color: #eee;
    }

    .cookie-modal-content {
        background: #1a1a1a;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    }

    .preference-item {
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }

    .preference-info h4 {
        color: #fff;
    }

    .preference-info p {
        color: #aaa;
    }

    .close-modal:hover {
        color: #fff;
    }

    /* In dark mode, ensure buttons are visible */

}

/* --- Mobile Responsiveness Fixes for Contact Section --- */
@media (max-width: 768px) {

    /* Fix "Tanışalım" Overflow */
    .contact-section h2 {
        font-size: 2.5rem !important;
        /* Reduced from 4rem */
        line-height: 1.2;
        word-wrap: break-word;
    }

    .contact-section p {
        font-size: 1.1rem !important;
        padding: 0 10px;
    }

    /* Fix Email/Link Overflow */
    .contact-section a[href^="mailto:"] {
        font-size: 1.1rem !important;
        /* Significant reduction */
        word-break: break-all;
        /* Ensure sticky emails break */
        display: block;
        padding: 0 10px;
        line-height: 1.4;
    }

    .contact-section a[href*="wa.me"] {
        font-size: 1.2rem !important;
    }

    /* Fix "BİZE ULAŞIN" Button Overflow */
    .contact-section .btn-lg {
        width: auto;
        max-width: 90%;
        padding: 15px 30px !important;
        font-size: 1rem !important;
        margin-top: 30px !important;
        white-space: normal;
        /* Allow text wrap if needed */
    }

    /* General Container Padding */
    .contact-section .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
        overflow-x: hidden;
    }
}