/*
 Theme Name:   ODS Child
 Theme URI:    https://odstasarim.net/
 Description:  GeneratePress Child Theme for ODS Tasarım.
 Author:       Antigravity
 Author URI:   https://odstasarim.net/
 Template:     generatepress
 Version:      1.1.0
 Text Domain:  ods-child
*/

/* --- ODS Design System --- */
:root {
    --ods-primary: #1e3a5a;
    /* Deep Corporate Blue */
    --ods-secondary: #4ea8de;
    /* Water Blue */
    --ods-accent: #48cae4;
    /* Turquoise / Cyan */
    --ods-midnight: #0a1128;
    /* Midnight Blue */
    --ods-dark: #0f172a;
    --ods-light: #f8fafc;
    --ods-glass: rgba(255, 255, 255, 0.75);
    --ods-glass-border: rgba(59, 130, 246, 0.1);
    --ods-shadow: 0 10px 40px rgba(59, 130, 246, 0.08);
    --ods-gradient-hero: linear-gradient(-45deg, #020617, #0f172a, #1e3a5a, #4ea8de, #1e3a5a, #0f172a, #020617);
    --ods-animation-gradient: none;
    --ods-radius: 24px;

    --font-main: 'Outfit', sans-serif;
}

/* Animations Removed for Performance */

html {
    scroll-behavior: auto !important;
}

html,
body {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

body {
    background-color: var(--ods-light);
    color: var(--ods-dark);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Global Motion Reset - Strict */
*,
*::before,
*::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
}

.site-content {
    display: flex;
    flex-direction: column;
}

/* --- Premium Header --- */
.ods-premium-header {
    position: fixed;
    top: 0 !important;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 15px 0;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-float-right #site-navigation {
    margin-right: 20px;
}

.ods-premium-header.scrolled {
    background: #ffffff;
    padding: 12px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.site-branding img {
    max-height: 50px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.1));
}

.ods-premium-header:not(.scrolled) .site-branding img {
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}

.ods-premium-header.scrolled .site-branding img {
    max-height: 45px;
}

.ods-premium-header .grid-container {
    max-width: 1400px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    /* Adjusted fixed height for consistency */
}

/* Force Transparent Menu - Aggressive */
#site-navigation,
.main-navigation,
#site-navigation ul,
.main-navigation ul,
.main-navigation li,
.main-navigation a,
.main-nav ul,
.main-nav li a,
.inside-navigation,
.inside-header {
    background-image: none !important;
    background-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.main-navigation ul {
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 5px;
}

.main-navigation a {
    text-decoration: none;
    color: #fff !important;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    padding: 10px 15px !important;
    display: flex;
    align-items: center;
    height: 100%;
}

.ods-premium-header.scrolled .main-navigation a {
    color: var(--ods-dark) !important;
    text-shadow: none;
}

.main-navigation a:hover {
    color: var(--ods-accent) !important;
    transform: translateY(-2px);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 10px;
    cursor: pointer;
}

.toggle-bar {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--ods-primary);
    position: relative;
    transition: all 0.3s ease;
}

.toggle-bar::before,
.toggle-bar::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: var(--ods-primary);
    left: 0;
    transition: all 0.3s ease;
}

.toggle-bar::before {
    top: -8px;
}

.toggle-bar::after {
    bottom: -8px;
}

@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 30px;
        box-shadow: var(--ods-shadow);
        border-top: 1px solid var(--ods-light);
    }

    .main-navigation.toggled {
        display: block;
        animation: fadeIn 0.3s ease-out;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 20px;
    }

    .header-inner {
        position: relative;
    }
}

/* --- Hero Section --- */
/* Elite Hero Logic Moved to bottom of file for Absolute Priority */
.ods-hero {
    position: relative;
    padding: 180px 0 140px;
    color: #fff;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
}

.ods-hero-content {
    max-width: 800px;
    position: relative;
    z-index: 10;
    animation: fadeIn 1s ease-out;
}

.ods-hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
}

.ods-hero-title span {
    color: var(--ods-accent);
}

.ods-hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 45px;
    opacity: 0.9;
}

.ods-hero-actions {
    display: flex;
    gap: 20px;
}

.ods-hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--ods-accent);
    top: -200px;
    right: -100px;
    opacity: 0.1;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: var(--ods-secondary);
    bottom: -150px;
    left: 5%;
    opacity: 0.15;
}

.shape-3 {
    width: 450px;
    height: 450px;
    background: #3b82f6;
    top: 20%;
    left: 20%;
    opacity: 0.1;
}

.shape-4 {
    width: 550px;
    height: 550px;
    background: #8b5cf6;
    bottom: 10%;
    right: 15%;
    opacity: 0.1;
}

/* --- Hero Slider Styles --- */
.ods-hero-slider {
    position: relative;
    padding: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
}


.ods-hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.mainHeroSwiper {
    width: 100%;
    height: auto;
}

.swiper-slide {
    padding: 180px 0 140px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-slide-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* Adaptive Layout (No Image) */
.hero-slide-layout.no-visual {
    grid-template-columns: 1.2fr 0.8fr;
    /* Keep the same grid symmetry */
}

/* Ensure the second word span uses the dynamic theme color */
.ods-hero-title span,
.ods-hero-title span.highlight {
    color: var(--slide-theme, var(--ods-accent)) !important;
}



.hero-slide-info {
    opacity: 1;
}

/* Slider Entry Animations Disabled */

.hero-mini-sub {
    display: inline-block;
    color: var(--ods-accent);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    padding-left: 20px;
    position: relative;
}

.hero-mini-sub::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--ods-accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--ods-accent);
}

.hero-slide-visual {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.floating-visual-wrap {
    position: relative;
    z-index: 10;
}

.hero-floating-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.3));
    animation: floatingHero 6s ease-in-out infinite;
    will-change: transform;
    transform: translateZ(0);
}



.visual-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    z-index: -1;
}

@keyframes floatingHero {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

/* Swiper Controls */
.swiper-pagination-bullets {
    bottom: 80px !important;
    /* Lifted higher to clear the edge */
}


.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    width: 30px;
    border-radius: 6px;
    background: var(--ods-accent);
    box-shadow: 0 0 15px var(--ods-accent);
}

@media (max-width: 992px) {
    .hero-slide-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-slide-visual {
        justify-content: center;
        order: -1;
    }

    .ods-hero-title {
        font-size: 3rem;
    }
}


/* --- Common Components --- */
.ods-glass-card {
    background: #fff;
    border-radius: var(--ods-radius);
    border: 1px solid var(--ods-glass-border);
    box-shadow: var(--ods-shadow);
}

.ods-glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.12);
}

.button {
    background: linear-gradient(135deg, var(--ods-primary), #2563eb) !important;
    border: none;
    border-radius: 50px;
    padding: 14px 30px;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.button.secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: none;
}

.button.secondary:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

/* --- Homepage Sections --- */
.ods-services-section,
.ods-references-section,
.ods-portfolio-preview {
    padding: 100px 0;
}

.ods-section-header {
    margin-bottom: 60px;
    position: relative;
    text-align: left;
}

.ods-bg-title {
    position: absolute;
    top: -50px;
    left: 0;
    font-size: 6.5rem;
    opacity: 0.03;
    z-index: 0;
    text-transform: uppercase;
    font-weight: 900;
    white-space: nowrap;
    line-height: 1;
    pointer-events: none;
}

.ods-main-title {
    font-size: 2.8rem;
    color: var(--ods-dark);
    position: relative;
    z-index: 1;
    margin: 0;
    line-height: 1.2;
}

.ods-view-all {
    float: right;
    color: var(--ods-primary);
    font-weight: 700;
    text-decoration: none;
    margin-top: -45px;
    transition: all 0.3s ease;
}

.ods-view-all:hover {
    letter-spacing: 1px;
}

/* Services Grid */
.ods-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .ods-services-grid {
        grid-template-columns: 1fr;
    }
}

.ods-service-card {
    background: #fff;
    border-radius: 30px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, box-shadow;
}

.ods-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

.card-top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}


.card-visual {
    width: 60px;
    height: 60px;
    background: #f8fafc;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.card-visual img,
.card-visual svg,
.card-visual .svg-icon svg {
    width: 32px;
    height: 32px;
    object-fit: contain;
    color: var(--ods-primary);
}

.card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.ods-service-card h4 {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.ods-service-card .excerpt {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3.2em;
    /* 2 lines */
}

.ods-service-card .link {
    color: var(--ods-primary);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    margin-top: auto;
}

.ods-service-card .link:hover {
    gap: 12px;
}


/* Portfolio Grid */
.ods-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.ods-portfolio-card {
    background: #fff;
    border-radius: var(--ods-radius);
    overflow: hidden;
    box-shadow: var(--ods-shadow);
}

.ods-portfolio-card .image {
    position: relative;
    aspect-ratio: 16/10;
}

.ods-portfolio-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ods-portfolio-card .overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.ods-portfolio-card:hover .overlay {
    opacity: 1;
}

.ods-portfolio-card .info {
    padding: 25px;
}

.ods-portfolio-card .info h4 {
    margin: 0;
    font-size: 1.25rem;
}

/* Middle CTA Section */
.ods-middle-cta {
    padding: 0 !important;
    position: relative;
    overflow: hidden;
}

.ods-middle-cta .grid-container {
    max-width: 90% !important;
    width: 90% !important;
    padding: 0 !important;
}


.cta-glass-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    padding: 100px 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    box-shadow: none;
    /* Shadow removed as requested */
    position: relative;

    z-index: 10;
    overflow: hidden;
}

.cta-glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #fff;
    font-weight: 800;
}

.cta-content p {
    font-size: 1.35rem;
    opacity: 0.8;
    color: #fff;
    max-width: 650px;
    line-height: 1.5;
}

.cta-action .ods-btn {
    padding: 24px 60px;
    font-size: 1.25rem;
    border-radius: 100px;
    background: #fff;
    color: #0f172a;
    display: inline-block;
    text-decoration: none;
    font-weight: 800;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
    white-space: nowrap;
    /* Prevent text breaking */
}

.cta-action .ods-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 50px rgba(255, 255, 255, 0.3);
    background: #f8fafc;
}

/* --- Dynamic Layout Visual Frames --- */
.visual-frame {
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Tablet / Laptop Frame (Horizontal) */
.tablet-frame {
    width: 100%;
    max-width: 600px;
    padding: 15px !important;
    border-radius: 20px;
}

.tablet-frame img {
    border-radius: 10px;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Cinema Frame (Video Montage / Wide) */
.cinema-frame {
    width: 100%;
    max-width: 700px;
    padding: 10px !important;
    aspect-ratio: 21 / 9;
}

.cinema-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Hero Meta Accent (Client & Tags) */
.hero-meta-accent {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

/* Premium CTA Button: Teklif Al (Mavi Geçişli) */
.ods-btn-accent {
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3) !important;
    border: none !important;
    font-weight: 800 !important;
    padding: 14px 28px !important;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    width: auto !important;
}

.ods-btn-accent:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.45) !important;
    background: linear-gradient(135deg, #38bdf8 0%, #3b82f6 100%) !important;
}

/* Full Width Horizontal Video Card */
.horizontal-video-card {
    padding: 40px !important;
    margin: 60px 0;
    background: rgba(255, 255, 255, 0.98) !important;
}

.horizontal-video-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 30px;
    text-align: center;
}

.horizontal-video-wrapper {
    position: relative;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.horizontal-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

}

@media (max-width: 1200px) {
    .cta-glass-card {
        padding: 60px 50px;
    }

    .cta-content h2 {
        font-size: 2.8rem;
    }
}

@media (max-width: 992px) {
    .cta-glass-card {
        flex-direction: column;
        text-align: center;
        padding: 60px 30px;
        gap: 40px;
    }

    .cta-content p {
        margin: 0 auto;
    }

    .cta-action .ods-btn {
        width: 100%;
        max-width: 350px;
    }
}

/* References Section */
.ods-references-section {
    padding: 0px 0;
    overflow: hidden;
    /* Prevent horizontal scroll from the bleed */
}

.refs-layout {
    display: block;
}

.refs-slider-wrap {
    width: 100%;
}

/* References Slider */
.referencesSwiper {
    padding: 40px 0;
    overflow: hidden;
}

.ref-item {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    height: 50px;
    /* Reduced for 100x50 logos */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
}

.ref-item img {
    filter: grayscale(0.8);
    opacity: 0.7;
    transition: all 0.4s ease;
    width: 100%;
    /* Exactly 100px width as requested */
    height: 50px;
    /* Exactly 50px height as requested */
    object-fit: cover;
}



.ref-item:hover {
    transform: translateY(-5px);
    border-color: var(--ods-primary);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.08);
}

.ref-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

@media (max-width: 1200px) {
    .refs-layout {
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .refs-layout {
        flex-direction: column;
        align-items: flex-start;
    }

    .refs-sidebar {
        flex: 0 0 100%;
        margin-bottom: 40px;
    }

    .refs-slider-wrap {
        flex: 0 0 100%;
        width: 100vw;
        margin-left: calc((100% - 100vw) / 2);
        margin-right: calc((100% - 100vw) / 2);
        padding: 0 20px;
    }
}

.page-header,
.sidebar .widget,
.site-main>* {
    margin-bottom: 0 !important;
}

/* Blog Preview Section - Pro Mixed Layout */
.ods-blog-preview {
    padding: 100px 0;
    background: #f8fafc;
}

.ods-blog-mixed-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.ods-blog-card {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

/* Featured Card Styling */
.ods-blog-card.featured-card {
    grid-column: span 2;
    flex-direction: row;
    min-height: 450px;
}

.featured-card .card-image-wrap {
    flex: 1.2;
    height: auto;
    margin: 0;
    border-radius: 0;
}

.featured-card .card-content-wrap {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-card .card-title {
    font-size: 2.2rem;
    height: auto;
    -webkit-line-clamp: 3;
}

/* Base Card Elements */
.ods-blog-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px -20px rgba(15, 23, 42, 0.12);
    border-color: var(--ods-primary);
}

.card-image-wrap {
    position: relative;
    height: 260px;
    overflow: hidden;
    border-radius: 20px;
    margin: 15px;
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ods-blog-card:hover .card-image-wrap img {
    transform: scale(1.1);
}

.card-date-floating {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #fff;
    padding: 10px 15px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    z-index: 5;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-date-floating .day {
    font-size: 1.2rem;
    font-weight: 800;
}

.card-date-floating .month {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--ods-primary);
    margin-top: 4px;
}

.category-badge-floating {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    z-index: 5;
}

.card-content-wrap {
    padding: 20px 30px 40px;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 15px;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.6em;
}

.card-excerpt {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3.2em;
}

.ods-mag-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
    color: var(--ods-primary);
    font-size: 1rem;
}

.ods-mag-link .arrow {
    transition: transform 0.3s ease;
}

.ods-blog-card:hover .arrow {
    transform: translateX(8px);
}

/* Premium Scroll Indicator: Centered & High Contrast */
.ods-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 50;
    cursor: pointer;
    animation: fadeIn 1.2s ease-out forwards;
}

.mouse-icon {
    width: 28px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.mouse-icon .wheel {
    width: 4px;
    height: 10px;
    background: var(--ods-accent);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--ods-accent);
    animation: ods-scroll-wheel-premium 2s infinite cubic-bezier(0.15, 0.41, 0.69, 0.94);
}

.scroll-text {
    font-size: 11px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 3px;
}

@keyframes ods-scroll-wheel-premium {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-5px);
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

.ods-scroll-indicator:hover .mouse-icon {
    border-color: #fff;
    transform: translateY(-3px);
    transition: all 0.3s ease;
}

/* AJAX Item Animation */
.ajax-item {
    animation: fadeInUp 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Spinner */
.ods-loader {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(15, 23, 42, 0.1);
    border-top: 3px solid var(--ods-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 1200px) {
    .ods-blog-mixed-layout {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-card {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .ods-blog-mixed-layout {
        grid-template-columns: 1fr;
    }

    .featured-card {
        grid-column: span 1;
        flex-direction: column;
        height: auto;
        min-height: 0;
    }

    .featured-card .card-image-wrap {
        height: 300px;
        border-radius: 20px;
        margin: 15px;
    }

    .featured-card .card-content-wrap {
        padding: 30px;
    }
}


/* Services Listing Page (hizmetlerimiz) - TITLE LEFT / VISUAL RIGHT - AS REQUESTED */
.ods-services-list-section {
    padding: 120px 0;
    background: #f8fafc;
}

.ods-services-detailed-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.service-detailed-card {
    padding: 50px;
    background: #fff;
    border-radius: 35px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
    transition: all 0.4s ease;
}

.service-detailed-card:hover {
    transform: translateY(-8px);
    border-color: var(--card-accent);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06);
}

.service-detailed-card .card-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    height: 100%;
}

.content-side {
    flex: 1.5;
}

.visual-side {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.service-title {
    font-size: 2rem;
    margin-bottom: 25px;
    font-weight: 800;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.6em;
    /* Exactly 2 lines */
    line-height: 1.3;
}

.excerpt-box {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 35px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3.4em;
    /* Exactly 2 lines */
}


.ods-btn-minimal {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 800;
    color: var(--card-accent);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.ods-btn-minimal:hover {
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.visual-container {
    position: relative;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-fig {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-icon-wrap {
    width: 120px;
    height: 120px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    color: var(--card-accent);
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-icon-wrap svg {
    width: 60px;
    height: 60px;
}

.visual-glow {
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--card-accent) 0%, transparent 70%);
    opacity: 0.12;
    z-index: 1;
    pointer-events: none;
}

.service-detailed-card:hover .service-fig {
    transform: scale(1.15) rotate(5deg);
}

@media (max-width: 1200px) {
    .ods-services-detailed-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .service-detailed-card .card-inner {
        flex-direction: column-reverse;
        text-align: center;
    }

    .visual-side {
        justify-content: center;
        margin-bottom: 30px;
    }

    .service-detailed-card {
        padding: 40px 30px;
    }
}



.ods-blog-card h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3em;
}

.ods-blog-card .excerpt {
    font-size: 0.95rem;
    opacity: 0.7;
    margin-bottom: 20px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3.2em;
}

.ods-blog-card .read-more {
    font-weight: 700;
    color: var(--ods-primary);
    text-decoration: none;
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .ods-blog-grid {
        grid-template-columns: 1fr;
    }
}


/* --- Pre-Footer & Footer --- */
.ods-pre-footer {
    padding: 50px 0;
    background: var(--ods-light);
}

.pre-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 80px;
    background: #020617;
    /* Base Slate */
    position: relative;
    overflow: hidden;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(59, 130, 246, 0.2);
}

.pre-footer-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ods-gradient-hero);
    background-size: cover;
    animation: gradientFade 12s ease-in-out infinite;
    z-index: 1;
    opacity: 0.5;
    pointer-events: none;
}

.pre-footer-inner>* {
    position: relative;
    z-index: 10;
}

.pre-footer-content h3 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #fff;
}

.pre-footer-content p {
    font-size: 1.15rem;
    opacity: 0.9;
}

.pre-footer-action .button {
    background: #fff !important;
    color: var(--ods-primary) !important;
}

.ods-modern-footer {
    background: linear-gradient(90deg, #10375c 0%, #0d1b2a 100%);
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.footer-top-section {
    padding: 100px 0 60px;
}

.footer-widgets-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

.footer-widget-column h4 {
    color: #fff;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 30px;
    font-weight: 700;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-menu a:hover {
    color: #fff;
    transform: translateX(5px);
}

/* CTA Row */
.footer-cta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 50px;
    padding-bottom: 50px;
}

.footer-cta-content h2 {
    color: #fff;
    font-size: 2.8rem;
    line-height: 1.2;
    font-weight: 200;
    /* Light aesthetic like the image */
    margin: 0;
}

.footer-cta-action .button.large {
    padding: 18px 45px;
    font-size: 1.2rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #0e7490, #0891b2) !important;
}

/* Contact Section (Boxed) */
/* --- Premium Modern Footer Architecture --- */
.ods-modern-footer {
    background: #0a0c10;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Tier 1: Floating Glass Contact Tiles on White Background */
.footer-contact-tiles {
    position: relative;
    z-index: 10;
    margin-top: 0;
    padding: 80px 0;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

.contact-tiles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-tile-card {
    display: flex;
    align-items: center;
    gap: 25px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    padding: 35px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.contact-tile-card.highlight {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, #f8fafc 100%);
    border-color: rgba(59, 130, 246, 0.2);
}

.contact-tile-card:hover {
    transform: translateY(-10px);
    background: #ffffff;
    border-color: var(--ods-primary);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.contact-tile-card .tile-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ods-primary);
    transition: all 0.3s ease;
}

.contact-tile-card:hover .tile-icon {
    background: var(--ods-primary);
    color: #fff;
    transform: rotate(-10deg);
}

.tile-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tile-info .label {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #64748b;
    /* Darker slate on white */
}

.tile-info .value {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1e293b;
    /* Dark blue-grey on white */
}


/* Tier 2: Main Branding & Navigation */
.footer-main-content {
    padding: 120px 0 80px;
    position: relative;
    z-index: 1;
}

.footer-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 25vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    user-select: none;
    pointer-events: none;
    z-index: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
    gap: 60px;
}

.brand-col .footer-logo {
    margin-bottom: 30px;
}

.brand-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #94a3b8;
    margin-bottom: 35px;
}

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

.social-icon-btn {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon-btn:hover {
    background: var(--ods-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.col-title {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 35px;
    color: #fff;
    position: relative;
}

.col-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--ods-primary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--ods-primary);
    transform: translateX(10px);
}

.direct-contact-text {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 30px;
}

.footer-cta-btn {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, var(--ods-primary) 0%, #2563eb 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    border-radius: 15px;
    transition: all 0.4s ease;
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.2);
}

.footer-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}

/* Tier 3: Bottom Copyright Bar */
.footer-copyright-bar {
    background: #06080b;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.copyright-text {
    font-size: 0.9rem;
    color: #64748b;
}

.copyright-text strong {
    color: #f8fafc;
}

.copyright-legal {
    display: flex;
    align-items: center;
    gap: 20px;
}

.copyright-legal a {
    font-size: 0.85rem;
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright-legal a:hover {
    color: #fff;
}

.copyright-legal .sep {
    color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .contact-tiles-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .contact-tiles-grid {
        grid-template-columns: 1fr;
    }

    .footer-contact-tiles {
        margin-top: 30px;
    }

    .footer-main-content {
        padding: 80px 0 50px;
    }

    .copyright-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}


/* --- Hakkımızda Page Styles --- */
.about-story-section {
    padding: 120px 0;
    overflow: hidden;
}

.story-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.story-content p {
    font-size: 1.15rem;
    margin-bottom: 25px;
    opacity: 0.85;
}

.story-stats-preview {
    display: flex;
    gap: 50px;
    margin-top: 40px;
}

.story-stats-preview .stat-item {
    display: flex;
    flex-direction: column;
}

.story-stats-preview .stat-item .number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ods-primary);
    line-height: 1;
}

.story-stats-preview .stat-item .label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    margin-top: 5px;
}

.story-visual .visual-card {
    height: 500px;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
}

.abstract-pattern {
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, var(--ods-primary) 0%, transparent 70%);
    opacity: 0.05;
    animation: pulse 8s ease infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.05;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }
}

/* Values Grid */
.about-values-section {
    padding: 100px 0;
    background: #fdfdfe;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.value-card {
    padding: 50px 40px;
    text-align: center;
}

.value-card .icon-box {
    width: 65px;
    height: 65px;
    background: var(--ods-primary);
    color: #fff;
    border-radius: 18px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
}

.value-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
}

/* Timeline */
.about-timeline-section {
    padding: 120px 0;
}

.timeline-wrapper {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0;
    padding-left: 50px;
}

.timeline-line {
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--ods-primary), var(--ods-accent), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    animation: fadeIn 0.8s ease-out;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -55px;
    top: 10px;
    width: 12px;
    height: 12px;
    background: #fff;
    border: 3px solid var(--ods-primary);
    border-radius: 50%;
    z-index: 2;
}

.timeline-item.active::before {
    background: var(--ods-primary);
    box-shadow: 0 0 15px var(--ods-primary);
}

.timeline-item .year {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--ods-primary);
    margin-bottom: 10px;
}

.timeline-item .content h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.timeline-item .content p {
    opacity: 0.8;
}

@media (max-width: 992px) {
    .story-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .timeline-wrapper {
        padding-left: 30px;
    }

    .timeline-item::before {
        left: -35px;
    }
}

#page,
.site,
.site-content {
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 1200px) {
    .ods-hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .footer-widgets {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        background: none !important;
    }

    .pre-footer-inner {
        flex-direction: column;
        text-align: center;
        padding: 50px 30px;
        gap: 30px;
    }

    .pre-footer-content h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .footer-widgets {
        grid-template-columns: 1fr;
        background: none !important;
    }

    .ods-hero-title {
        font-size: 2.8rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .ods-section-header {
        margin-bottom: 40px;
    }

    .ods-main-title {
        font-size: 2.2rem;
    }

    .ods-bg-title {
        font-size: 3.5rem;
    }

    .ods-view-all {
        float: none;
        display: block;
        margin-top: 15px;
    }
}

/* --- Hizmetlerimiz Page Styles --- */
.ods-services-list-section {
    padding: 100px 0;
}

.ods-services-detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.service-detailed-card {
    padding: 0;
    overflow: hidden;
}

.service-detailed-card .card-inner {
    padding: 40px;
}

.service-detailed-card .icon-box {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--ods-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-detailed-card .icon-box svg {
    width: 30px;
    height: 30px;
}

.service-detailed-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--ods-dark);
}

.service-detailed-card .excerpt {
    font-size: 1.05rem;
    opacity: 0.8;
    margin-bottom: 25px;
    line-height: 1.7;
}

.service-detailed-card .link-arrow {
    text-decoration: none;
    font-weight: 700;
    color: var(--ods-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.service-detailed-card .link-arrow:hover {
    gap: 15px;
}

/* Services Why Us */
.services-why-us {
    padding: 100px 0 140px;
}

.why-us-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 60px;
    gap: 60px;
}

.why-us-wrapper .content h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.why-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.why-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.why-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--ods-primary);
    font-weight: 900;
    font-size: 1.4rem;
}

.why-list li strong {
    color: var(--ods-dark);
}

@media (max-width: 992px) {
    .why-us-wrapper {
        flex-direction: column;
        padding: 50px 30px;
        text-align: center;
    }

    .why-list li {
        text-align: left;
    }

    .ods-services-detailed-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Referanslar Page Styles --- */
.ods-references-list-section {
    padding: 100px 0;
}

.ods-references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.reference-logo-item {
    height: 140px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 46, 91, 0.08);
    border-radius: var(--ods-radius);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

.reference-logo-item .logo-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reference-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.4s ease;
}

.reference-logo-item:hover {
    transform: translateY(-10px);
    background: #ffffff !important;
    border-color: var(--ods-secondary);
    box-shadow: 0 20px 40px rgba(0, 46, 91, 0.12);
}

.reference-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.placeholder-title {
    font-weight: 700;
    color: var(--ods-primary);
    text-align: center;
    font-size: 0.9rem;
}

/* Trust CTA */
.references-cta {
    padding: 80px 0 140px;
}

.trust-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 80px;
    gap: 40px;
    border-radius: 40px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(255, 255, 255, 0.8));
}

.trust-cta-inner h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.trust-cta-inner p {
    font-size: 1.1rem;
    opacity: 0.8;
}

@media (max-width: 992px) {
    .trust-cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 50px 30px;
    }

    .ods-references-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 20px;
    }

    .reference-logo-item {
        height: 120px;
        padding: 20px;
    }
}

/* --- Portfolio Page Styles --- */
.ods-portfolio-list-section {
    padding: 100px 0;
}

.ods-portfolio-main-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.ods-portfolio-item-card {
    position: relative;
    border-radius: var(--ods-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 46, 91, 0.12);
    background: rgb(204, 204, 204);
    height: 280px;
}

.ods-portfolio-item-card .project-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.ods-portfolio-item-card .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.ods-portfolio-item-card .project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), rgba(59, 130, 246, 0.3));
    display: flex;
    align-items: flex-end;
    padding: 50px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.ods-portfolio-item-card:hover .project-overlay {
    opacity: 1;
    visibility: visible;
}

.ods-portfolio-item-card:hover .project-image img {
    transform: scale(1.1);
}

.overlay-content {
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.ods-portfolio-item-card:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h3 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.overlay-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 25px;
    max-width: 90%;
}

/* Portfolio CTA */
.portfolio-cta {
    padding: 80px 0 140px;
}

.portfolio-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 70px 80px;
    gap: 50px;
}

.portfolio-cta-inner h2 {
    font-size: 2.4rem;
    margin-bottom: 15px;
}

@media (max-width: 992px) {
    .ods-portfolio-main-grid {
        grid-template-columns: 1fr;
    }



    .portfolio-cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 50px 30px;
    }

    .overlay-content h3 {
        font-size: 1.6rem;
    }

    .ods-portfolio-item-card .project-overlay {
        padding: 30px;
    }
}

/* --- Social Bar Styles --- */
.ods-social-bar {
    background: #4b92b6;
    /* Light Blue from Image */
    padding: 35px 0;
}

.social-bar-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.social-char {
    color: #fff;
    text-decoration: none;
    font-size: 2.2rem;
    font-weight: 200;
    letter-spacing: 4px;
    opacity: 0.9;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
}

.social-char:hover {
    opacity: 1;
    transform: scale(1.1);
    letter-spacing: 8px;
}

@media (max-width: 768px) {
    .social-char {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }

    .ods-social-bar {
        padding: 25px 0;
    }
}

/* Portfolio Page Styles */
.ods-portfolio-list-section {
    padding: 100px 0;
    background: transparent;
}

.portfolio-filter-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--ods-secondary);
    border-color: var(--ods-secondary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.2);
}

/* --- Portfolio Taxonomy Page: Premium Header & Spacing --- */
.ods-portfolio-taxonomy .ods-hero {
    background: #020617;
    position: relative;
    overflow: hidden;
    padding: 140px 0 100px;
    text-align: left;
}

.ods-portfolio-taxonomy .ods-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ods-gradient-hero);
    background-size: cover;
    animation: gradientFade 10s ease-in-out infinite;
    z-index: 1;
    opacity: 0.6;
    pointer-events: none;
}

.ods-portfolio-taxonomy .ods-hero .grid-container {
    position: relative;
    z-index: 10;
}

.ods-portfolio-taxonomy .ods-hero-content {
    max-width: 700px;
}

.portfolio-tax-hero .tax-pre-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--ods-accent);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
}

.ods-portfolio-taxonomy .back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.ods-portfolio-taxonomy .back-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-5px);
}

.ods-portfolio-list-section {
    padding-top: 80px;
    background: #fdfdfd;
}

.ods-portfolio-main-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 columns for a cleaner icon-style grid */
    gap: 40px;
    padding: 60px 0;
}

.ods-portfolio-item-card {
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card-link {
    text-decoration: none;
    display: block;
}

.project-image-wrapper {
    position: relative;
    border-radius: 24px;
    /* Slightly more rounded for premium feel */
    overflow: hidden;
    aspect-ratio: 1/1;
    /* 1024x1024 perfect fit */
    background: #f8fafc;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.project-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 41, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.overlay-inner {
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.overlay-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.3;
}

.overlay-explore {
    color: var(--ods-accent);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.project-card-link:hover .project-hover-overlay {
    opacity: 1;
}

.project-card-link:hover .overlay-inner {
    transform: translateY(0);
}

.project-card-link:hover .portfolio-img {
    transform: scale(1.1);
}

/* Info Below Image */
.project-info-below {
    padding: 20px 5px;
    text-align: center;
}

.project-info-below .project-tag {
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ods-primary);
    margin-bottom: 8px;
}

.project-info-below .project-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.3;
}

.project-explore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #64748b;
    transition: all 0.3s ease;
}

.project-card-link:hover .project-explore {
    color: var(--ods-primary);
    transform: translateX(5px);
}

@media (max-width: 1200px) {
    .ods-portfolio-main-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .ods-portfolio-main-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}


.project-tag {
    display: inline-block;
    color: var(--ods-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 600;
}

.project-title {
    color: #fff;
    font-size: 1.8rem;
    margin: 0 0 20px;
    font-weight: 300;
}

.view-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.view-btn:hover {
    border-color: var(--ods-secondary);
    color: var(--ods-secondary);
}

.view-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Portfolio CTA */
.portfolio-cta {
    padding: 100px 0;
}

.portfolio-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 80px;
}

.portfolio-cta-inner h2 {
    color: #000000;
    font-size: 2.5rem;
    margin-bottom: 15px;
    max-width: 600px;
}

.portfolio-cta-inner p {
    color: rgba(0, 0, 0, 0.7);
    font-size: 1.1rem;
}

@media (max-width: 1024px) {
    .ods-portfolio-main-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ods-portfolio-main-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 40px;
        gap: 30px;
    }

    .portfolio-cta-inner h2 {
        font-size: 2rem;
    }
}

/* Contact Page Styles */
/* Contact Page Styles - Modern Pro */
.contact-main-section {
    padding: 120px 0;
    background: #f8fafc;
}

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

.contact-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.contact-detail-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 30px;
    padding: 45px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.contact-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.1);
    border-color: var(--ods-primary);
}

.contact-detail-card.full-width {
    grid-column: span 2;
}

.contact-detail-card .icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.02) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ods-primary);
    transition: all 0.4s ease;
}

.contact-detail-card:hover .icon-box {
    background: var(--ods-primary);
    color: #fff;
    transform: scale(1.1) rotate(-5deg);
}

.contact-detail-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0;
    color: #0f172a;
}

.contact-detail-card a,
.contact-detail-card p {
    color: #64748b;
    text-decoration: none;
    font-size: 1.15rem;
    line-height: 1.6;
    display: block;
    font-weight: 500;
}

.contact-detail-card a:hover {
    color: var(--ods-primary);
}

.map-link {
    margin-top: 15px;
    color: var(--ods-primary) !important;
    font-size: 1rem !important;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Contact Form - High Contrast Pro */
.contact-form-wrapper {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 40px;
    padding: 70px;
    box-shadow: 0 40px 100px -30px rgba(15, 23, 42, 0.08);
}

.contact-form-wrapper h3 {
    color: #0f172a;
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.contact-form-wrapper p {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 50px;
    line-height: 1.6;
}

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

.modern-contact-form .form-group {
    margin-bottom: 25px;
}

.modern-contact-form input,
.modern-contact-form textarea {
    width: 100%;
    padding: 18px 25px;
    background: #f8fafc;
    border: 2px solid transparent;
    border-radius: 18px;
    color: #0f172a;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modern-contact-form input::placeholder,
.modern-contact-form textarea::placeholder {
    color: #94a3b8;
}

.modern-contact-form input:focus,
.modern-contact-form textarea:focus {
    border-color: var(--ods-primary);
    background: #fff;
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.08);
    outline: none;
}

.modern-contact-form button[type="submit"],
.modern-contact-form .button.primary {
    width: 100%;
    padding: 22px;
    font-size: 1.1rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    border: none;
    border-radius: 18px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s ease;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.2);
}

.modern-contact-form button[type="submit"]:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.3);
    border: none !important;
}

/* Map Framing */
.contact-map-section {
    padding: 0px;
}

.map-container {
    height: 550px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    filter: grayscale(0.5);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.map-container:hover {
    filter: grayscale(0);
    transform: translateY(-10px);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

@media (max-width: 1200px) {
    .contact-layout {
        gap: 50px;
    }

    .contact-form-wrapper {
        padding: 50px;
    }
}

@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-main-section {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .contact-details-grid {
        grid-template-columns: 1fr;
    }

    .contact-detail-card.full-width {
        grid-column: span 1;
    }

    .modern-contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}


/* Blog Styles */
.blog-posts-section {
    padding: 100px 0;
}

/* Featured Post (Horizontal Layout) */
.featured-blog-container {
    margin-bottom: 60px;
    width: 100%;
}

.featured-blog-post {
    display: grid !important;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 0;
    align-items: stretch;
    min-height: 480px;
    padding: 0 !important;
    background: #ffffff !important;
    color: #002e5b !important;
    border-radius: var(--ods-radius);
    box-shadow: var(--ods-shadow);
}

.featured-media {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.featured-blog-post:hover .featured-media img {
    transform: scale(1.03);
}

.featured-body {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff !important;
}

.featured-body .post-meta-top {
    margin-bottom: 20px;
}

.featured-body .post-title.large {
    font-size: 2.8rem;
    margin-bottom: 25px;
    line-height: 1.1;
    font-weight: 800;
}

.featured-body .post-title.large a {
    color: #002e5b !important;
    text-decoration: none;
}

.featured-body .post-title.large a:hover {
    color: var(--ods-secondary) !important;
}

.featured-body .post-excerpt {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #4a5568 !important;
}

.featured-body .post-footer {
    margin-top: 15px;
}

@media (max-width: 992px) {
    .featured-blog-post {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .featured-media {
        aspect-ratio: 16/9;
    }

    .featured-body {
        padding: 40px;
    }

    .featured-body .post-title.large {
        font-size: 2.2rem;
    }
}


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

.blog-post-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    height: 100%;
}

.blog-post-card .post-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-post-card .post-footer {
    margin-top: auto;
    padding-top: 20px;
}


.post-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10 !important;
    overflow: hidden;
    background: #f0f0f0;
}


.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.blog-post-card .post-category,
.featured-blog-post .post-category {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    z-index: 10;
}

.post-category a,
.post-cat a {
    background: rgba(78, 168, 222, 0.85);
    /* Slightly transparent secondary color */
    color: #fff !important;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.72rem;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
    transition: all 0.3s ease;
}

.post-category a:hover,
.post-cat a:hover {
    background: var(--ods-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}


.post-content {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-meta {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
}

.post-title {
    font-size: 1.5rem;
    margin: 0 0 20px;
}

.post-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: var(--ods-secondary);
}

.post-excerpt {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.7;
}

.post-footer {
    margin-top: auto;
}

.read-more {
    color: var(--ods-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.blog-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.blog-pagination .nav-links {
    display: flex;
    gap: 10px;
}

.blog-pagination .page-numbers {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
    background: var(--ods-secondary);
    border-color: var(--ods-secondary);
}

@media (max-width: 1024px) {

    .contact-layout,
    .blog-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .contact-layout,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .modern-contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 40px;
    }

    .contact-details-grid {
        grid-template-columns: 1fr;
    }

    .contact-detail-card.full-width {
        grid-column: span 1;
    }
}

/* Blog Detail Page Styles */
.single-post-hero {
    padding: 180px 0 100px;
}

.post-hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.post-meta-top {
    margin-bottom: 30px;
}

/* Category Badge Styling (Individual Badges) */
.single-post-hero .post-category {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    background: none !important;
    border: none !important;
    padding: 0 !important;
}

.single-post-hero .post-category a {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 100px;
    color: var(--ods-accent) !important;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.single-post-hero .post-category a:hover {
    background: rgba(59, 130, 246, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.2);
}


.post-date {
    display: block;
    opacity: 0.6;
    font-size: 0.95rem;
    margin-bottom: 10px;
}


.post-hero-info .post-hero-meta-bottom {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.meta-separator {
    width: 1px;
    height: 15px;
    background: rgba(255, 255, 255, 0.2);
}

.post-date-bottom {
    font-size: 0.9rem;
    opacity: 0.7;
    font-weight: 500;
}


.author-label {
    font-size: 0.85rem;
    opacity: 0.6;
}

.author-name {
    font-weight: 700;
    color: var(--ods-accent);
}

.featured-image-wrapper {
    padding: 15px;
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s ease;
}

.featured-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
}

.featured-image-wrapper img {
    border-radius: 15px;
    width: 100%;
    height: auto;
    display: block;
}

.post-content-section {
    padding: 80px 0;
}

.post-main-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 20px;
    align-items: start;
    transition: all 0.4s ease;
}

.post-main-layout.no-sidebar {
    grid-template-columns: 1fr;
}

.post-main-layout.no-sidebar .post-sidebar-col {
    display: none;
}


.post-article-card {
    padding: 60px;
}

.entry-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.85);
}

.entry-content p {
    margin-bottom: 30px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: #000000;
    margin: 00px 0 30px;
    scroll-margin-top: 120px;
    /* Offset for sticky header */
}

.entry-content h2 {
    font-size: 2.2rem;
}

.entry-content h3 {
    font-size: 1.8rem;
}

.post-footer {
    margin-top: 40px;
    padding-top: 0px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.post-tags a {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--ods-secondary);
    text-decoration: none;
    margin: 5px;
}

/* Sticky ToC Sidebar */
.sticky-sidebar-inner {
    position: sticky;
    top: 120px;
}

.toc-card {
    padding: 40px;
}

.toc-card h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.toc-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-nav li {
    margin-bottom: 12px;
}

.toc-nav a {
    color: rgba(0, 0, 0, 0.5);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: block;
    line-height: 1.4;
}

.toc-nav a:hover,
.toc-nav a.active {
    color: var(--ods-secondary);
    padding-left: 10px;
}

/* Related Posts */
.related-posts-section {
    padding: 100px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.related-grid .post-title.small {
    font-size: 1.1rem;
}

@media (max-width: 1024px) {
    .post-hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .post-hero-visual {
        max-width: 600px;
        margin: 40px auto 0;
    }

    .post-main-layout {
        grid-template-columns: 1fr;
    }

    .post-sidebar-col {
        display: none;
        /* Hide ToC on smaller tablets and mobile */
    }
}

/* Portfolio Single Detail Styles */
.portfolio-single-hero {
    padding: 180px 0 100px;
}

.portfolio-hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.cat-tags {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
}

.cat-tags .tag {
    background: rgba(78, 168, 222, 0.1);
    color: var(--ods-secondary);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.portfolio-actions {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.store-btn {
    padding: 12px 25px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.store-btn:hover {
    background: var(--ods-secondary);
    border-color: var(--ods-secondary);
    transform: translateY(-5px);
}

.buy-btn {
    background: #ffaa00 !important;
    color: #000 !important;
}

.visual-frame {
    padding: 10px;
    border-radius: 20px;
    overflow: hidden;
}

.visual-frame.phone-frame {
    width: 320px;
    margin: 0 auto;
    aspect-ratio: 9/19;
    border: 8px solid rgba(255, 255, 255, 0.1);
}

.visual-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.portfolio-main-content {
    padding: 80px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
}

.story-card {
    padding: 50px;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #fff;
}

.video-showcase-section {
    margin-top: 60px;
}

.video-container {
    padding: 15px;
    line-height: 0;
}

.video-container iframe {
    border-radius: 10px;
    aspect-ratio: 16/9;
}

.info-card {
    padding: 40px;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.info-list li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.info-list li strong {
    color: var(--ods-secondary);
}

.plugin-features {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.plugin-features ul {
    list-style: none;
    padding: 0;
}

.plugin-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plugin-features i {
    color: #00ff88;
}

/* --- Professional Sidebar Video (Vertical 9:16) --- */
.sidebar-video-card {
    padding: 24px !important;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(15, 23, 42, 0.05) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
}

.sidebar-video-card h3 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--ods-primary);
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 177.77%;
    /* 9:16 Vertical Aspect Ratio */
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.sidebar-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- Premium Sidebar Download Badges --- */
.sidebar-download-card {
    padding: 24px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(15, 23, 42, 0.05) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
}

.sidebar-download-card h3 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--ods-primary);
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-badges-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.badge-link {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #000;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-link i {
    font-size: 24px;
}

.badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.badge-text span {
    font-size: 10px;
    font-weight: 400;
    opacity: 0.8;
}

.badge-text strong {
    font-size: 16px;
    font-weight: 700;
}

.badge-link:hover {
    transform: translateY(-3px);
    background: #111;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--ods-primary);
}

/* Hero Specific Badge Adjustments */
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.hero-badges .badge-link {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-badges .badge-link:hover {
    background: #000;
    border-color: var(--ods-accent);
}

@media (max-width: 1024px) {
    .hero-badges {
        justify-content: center;
    }
}

/* --- Advanced Project Gallery --- */
.portfolio-gallery-section {
    padding: 120px 0;
    background: #f8fafc;
}

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

.gallery-item {
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 46, 91, 0.06);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(15, 23, 42, 0.03);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.8s ease;
}

.gallery-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 46, 91, 0.15);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

@media (max-width: 1024px) {

    .portfolio-hero-layout,
    .content-grid {
        grid-template-columns: 1fr;
    }

    .hero-info {
        text-align: center;
        order: 2;
    }

    .cat-tags {
        justify-content: center;
    }

    .portfolio-actions {
        justify-content: center;
    }

    .hero-visual {
        order: 1;
        margin-bottom: 40px;
    }
}

/* Portfolio Category Grid & Placeholder Fix */
.ods-portfolio-categories {
    padding: 80px 0;
}

.ods-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0 !important;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2) !important;
}

.card-media {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.card-icon-floating {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
    background: var(--ods-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 46, 91, 0.4);
    z-index: 2;
    transition: transform 0.3s ease;
}

.category-card:hover .card-icon-floating {
    transform: scale(1.1) rotate(5deg);
}

.category-card .card-content {
    background: #ffffff !important;
    padding: 25px 30px !important;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative !important;
    /* Force it out of any legacy absolute positioning */
    z-index: 5;
    opacity: 1 !important;
    /* Always visible */
    visibility: visible !important;
    transform: none !important;
    border-top: 1px solid rgba(0, 46, 91, 0.05);
    min-height: 140px;
}

.category-card .project-count {
    display: block !important;
    opacity: 1 !important;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ods-secondary) !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.category-card .card-content h3 {
    display: block !important;
    opacity: 1 !important;
    font-size: 1.35rem;
    margin: 0 0 20px !important;
    color: #002e5b !important;
    line-height: 1.3;
    font-weight: 700;
    transform: none !important;
}

.card-explore {
    margin-top: auto;
    display: flex !important;
    opacity: 1 !important;
    align-items: center;
    gap: 8px;
    color: var(--ods-secondary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.category-card:hover .card-explore {
    gap: 12px;
    color: var(--ods-accent);
}


.card-explore i {
    font-size: 20px;
    display: flex;
    align-items: center;
}


/* Elite Placeholder Fix */
.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 17, 40, 0.8) 0%, rgba(30, 60, 114, 0.8) 100%);
    position: relative;
    overflow: hidden;
}

.placeholder-image::before {
    content: 'ODS';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: 900;
    opacity: 0.1;
    letter-spacing: 10px;
}

.placeholder-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: placeholder-shimmer 3s infinite;
}

@keyframes placeholder-shimmer {
    to {
        transform: translateX(100%);
    }
}

@media (max-width: 768px) {
    .ods-category-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        padding: 30px;
        flex-direction: column;
        text-align: center;
    }

    .category-card .card-arrow {
        display: none;
    }
}

/* FINAL ELITE BALANCE: Premium Headers + High-Contrast Content */

/* 1. Global Light Content Area */
body,
#content,
.site-main {
    background-color: #ffffff !important;
}

/* 2. Elite Animated Hero Headers (Background & Core Logic) */
html body section.ods-hero,
html body div.ods-hero,
html body section.portfolio-hero,
html body section.blog-hero,
html body section.ods-hero-slider,
body.home .ods-hero-slider,
body.home .ods-hero,
body.page-template-page-portfolio .portfolio-hero {
    background-image: var(--ods-gradient-hero) !important;
    background-size: 300% 300% !important;
    background-attachment: scroll !important;
    background-position: 0% 50%;
    animation: gradientBG 12s ease infinite !important;
    -webkit-animation: gradientBG 12s ease infinite !important;
    will-change: background-position;
    position: relative;
    z-index: 5;
    overflow: hidden;
    color: #ffffff !important;
}

/* 2.1 Standard Page Hero Padding (Excludes Slider) */
html body section.ods-hero,
html body div.ods-hero,
html body section.portfolio-hero,
html body section.blog-hero,
body.home .ods-hero,
body.page-template-page-portfolio .portfolio-hero {
    padding: 180px 0 120px !important;
}

/* 2.2 Slider Specific Padding (Already handled by .swiper-slide) */
.ods-hero-slider {
    padding: 0 !important;
}




.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.ods-hero-visual {
    position: relative;
    perspective: 1000px;
}

.ods-hero-visual img {
    width: 100%;
    height: auto;

    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {

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

    50% {
        transform: translateY(-20px) rotate(1deg);
    }
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .ods-hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* About Page Visual Fixes */
.story-visual .visual-card {
    padding: 0 !important;
    overflow: hidden;
    aspect-ratio: 4/5;
    display: flex;
    align-items: stretch;
}

.story-visual .visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Ensure inner elements don't get the background */
.ods-hero div,
.ods-hero-content {
    background: transparent !important;
    padding: 0 !important;
}

/* Home Page Shapes Animation Fix */
.ods-hero-bg-shapes {
    pointer-events: none;
    z-index: 1;
    opacity: 1;
}

.ods-hero-bg-shapes .shape-1 {
    animation: floatRandom1 25s ease-in-out infinite;
}

.ods-hero-bg-shapes .shape-2 {
    animation: floatRandom2 30s ease-in-out infinite alternate;
}

.ods-hero-bg-shapes .shape-3 {
    animation: floatRandom3 22s ease-in-out infinite;
}

.ods-hero-bg-shapes .shape-4 {
    animation: floatRandom4 35s ease-in-out infinite reverse;
}

/* Ensuring text INSIDE Heros is readable but with signature accent colors */
.ods-hero-title {
    color: #ffffff !important;
}

.ods-hero-title span {
    color: var(--ods-accent) !important;
}

.ods-hero-subtitle,
.tax-pre-title,
.post-meta-top span,
.cat-tags .tag {
    color: #ffffff !important;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

/* 3. Global Text Contrast for White Backgrounds (No more invisible text) */
.ods-portfolio-categories,
.ods-portfolio-list-section,
.blog-posts-section,
.post-content-section,
.portfolio-main-content {
    background: #ffffff !important;
    color: #002e5b !important;
}

/* Targeted fixes for Blog Card Readability */
.blog-post-card,
.featured-blog-post {
    color: #002e5b !important;
}

.post-title a,
.post-title.large a,
.post-excerpt,
.post-meta,
.ods-main-title,
.section-title,
.section-title {
    color: #002e5b !important;
}


.post-excerpt {
    color: #4a5568 !important;
    /* Slightly softer than pure black for readability */
}



.category-card.has-bg .card-overlay {
    background: linear-gradient(to right, #ffffff CC, rgba(255, 255, 255, 0)) !important;
}

/* --- Quote V5 Dynamic Discovery Dashboard - FINAL POLISH --- */
.ods-quote-v5-dynamic {
    /* Background removed to support Dark Hero parity */
}

/* 1. Ultra-Bright Hero overrides removed to support Dark Hero parity */
.ods-quote-v5-dynamic .ods-hero-title {
    color: #ffffff !important;
    font-weight: 900 !important;
}

.ods-quote-v5-dynamic .ods-hero-title span {
    color: var(--ods-accent) !important;
}

.ods-quote-v5-dynamic .ods-hero-subtitle {
    color: #ffffff !important;
    font-weight: 500 !important;
    opacity: 0.9 !important;
}

/* 2. Ticket-Style Selection UI (Horizontal & Pill) */
.ods-ticket-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-top: 20px !important;
}

.ods-ticket-item {
    display: inline-flex !important;
    margin: 0 !important;
}

.ods-ticket-label {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 22px !important;
    background: #f8fafc !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 100px !important;
    /* Premium Pill shape */
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Text inside the Ticket */
.ods-ticket-label .wpcf7-list-item-label {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    color: #64748b !important;
}

/* Hide browser checkbox */
.ods-ticket-label input[type="checkbox"] {
    display: none !important;
}

/* Hover State */
.ods-ticket-label:hover {
    background: #fff !important;
    border-color: var(--ods-primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

/* Selected State */
.ods-ticket-label:has(input:checked) {
    background: var(--ods-primary) !important;
    border-color: var(--ods-primary) !important;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.ods-ticket-label:has(input:checked) .wpcf7-list-item-label {
    color: #ffffff !important;
}

/* Buttons Polish */
.ods-next-step,
.form-send-cta {
    border-radius: 100px !important;
    font-weight: 900 !important;
    font-size: 0.9rem !important;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2) !important;
}

/* Buttons V5 */
.ods-next-step,
.form-send-cta {
    background: var(--ods-primary) !important;
    color: #fff !important;
    padding: 16px 40px !important;
    border-radius: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ods-next-step:hover,
.form-send-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
}

@media (max-width: 992px) {
    .v5-timeline-grid {
        flex-direction: column;
    }

    .form-v5-card {
        padding: 30px;
    }
}

/* ODS Premium Form Tasarımı */
.ods-premium-form {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.ods-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.ods-col {
    flex: 1;
    min-width: 250px;
}

.ods-col-full {
    width: 100%;
}

.ods-premium-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #334155;
    font-size: 14px;
}

.ods-input {
    width: 100% !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 12px 15px !important;
    transition: all 0.3s ease;
    background: #f8fafc !important;
}

.ods-input:focus {
    border-color: #3b82f6 !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1) !important;
    outline: none;
}

.ods-acceptance {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #64748b;
}

.ods-btn {
    background: #2563eb !important;
    color: #fff !important;
    padding: 15px 40px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
    width: 100%;
}

.ods-btn:hover {
    background: #1d4ed8 !important;
    transform: translateY(-2px);
}

/* --- Contact V2: Premium Redesign --- */
.contact-v2-main {
    padding: 100px 0;
    background: #fdfdfd;
    position: relative;
    overflow: hidden;
}

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

/* 1. V2 Header */
.ods-v2-header {
    margin-bottom: 50px;
}

.v2-accent {
    font-size: 14px;
    font-weight: 800;
    color: var(--ods-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 15px;
}

.v2-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    color: #1e293b;
    margin-bottom: 25px;
}

.v2-title span {
    color: var(--ods-primary);
}

.v2-desc {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 450px;
    line-height: 1.7;
}

/* 2. Tiles Stack */
.v2-tiles-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.v2-tile-card {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.v2-tile-card:hover {
    transform: translateX(10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--ods-primary);
}

.v2-tile-icon {
    width: 60px;
    height: 60px;
    background: #f1f5f9;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ods-primary);
    transition: all 0.3s ease;
}

.v2-tile-card:hover .v2-tile-icon {
    background: var(--ods-primary);
    color: #ffffff;
}

.v2-tile-content h3 {
    font-size: 1rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.v2-tile-link {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    display: block;
}

.v2-tile-sub {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-top: 5px;
}

.v2-tile-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.5;
}

.v2-tile-btn {
    display: inline-block;
    margin-top: 15px;
    font-weight: 800;
    color: var(--ods-primary);
    text-decoration: none;
    font-size: 0.9rem;
}

.v2-tile-card.highlight {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

/* 3. Form Area */
.v2-form-glass-container {
    background: #ffffff;
    padding: 50px;
    border-radius: 30px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 5;
}

.v2-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f1f5f9;
}

.v2-form-header h3 {
    font-size: 1.8rem;
    font-weight: 900;
    color: #0f172a;
}

.v2-status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0fdf4;
    color: #16a34a;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pulse {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(22, 163, 74, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
    }
}

/* 4. Map V2 */
.contact-v2-map {
    padding-bottom: 0px;
}

.map-v2-wrapper {
    position: relative;

    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.map-v2-overlay {
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    pointer-events: none;
    z-index: 10;
}

.map-floating-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    padding: 15px 25px;
    border-radius: 100px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    pointer-events: auto;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-v2-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .v2-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .v2-form-glass-container {
        padding: 30px;
    }

    .v2-form-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* --- Hakkımızda V2 Timeline: Centered & Alternating --- */
.about-timeline-section {
    padding: 100px 0;
    background: #fcfcfc;
}

.v2-timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 50px auto 0;
}

.v2-timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, #e2e8f0, var(--ods-primary), #e2e8f0);
    transform: translateX(-50%);
}

.v2-timeline-item {
    position: relative;
    width: 100%;
    margin-bottom: 60px;
}

/* Center Dot */
.v2-timeline-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border: 4px solid var(--ods-primary);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 10;
    box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.1);
}

.v2-timeline-item.active .v2-timeline-dot {
    background: var(--ods-primary);
    box-shadow: 0 0 0 10px rgba(59, 130, 246, 0.2);
}

/* Content Layout (Desktop) */
.v2-timeline-content-wrapper {
    position: relative;
    width: 50%;
    padding: 0 40px;
}

.v2-timeline-item:nth-child(even) .v2-timeline-content-wrapper {
    margin-left: 50%;
    text-align: left;
}

.v2-timeline-item:nth-child(odd) .v2-timeline-content-wrapper {
    text-align: right;
}

/* Year Badge */
.v2-timeline-year {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--ods-primary);
    margin-bottom: 15px;
    letter-spacing: -1px;
}

/* Card Styling */
.v2-timeline-card {
    padding: 30px !important;
    background: #ffffffcc !important;
    border: 1px solid #e2e8f0 !important;
    transition: all 0.4s ease !important;
}

.v2-timeline-item:hover .v2-timeline-card {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
    border-color: var(--ods-primary) !important;
}

.v2-timeline-card h4 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #1e293b;
}

.v2-timeline-card p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Responsive: Stack on Mobile */
@media (max-width: 768px) {
    .v2-timeline-line {
        left: 30px;
    }

    .v2-timeline-dot {
        left: 30px;
    }

    .v2-timeline-content-wrapper {
        width: 100% !important;
        margin-left: 0 !important;
        padding-left: 70px !important;
        padding-right: 20px !important;
        text-align: left !important;
    }

    .v2-timeline-year {
        font-size: 1.5rem;
    }
}

/* --- FINAL MOBILE POLISH --- */
@media (max-width: 768px) {

    /* 1. Typography Overflows */
    .ods-hero-title,
    .v2-title {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
        word-wrap: break-word;
    }

    .ods-hero-subtitle,
    .v2-desc {
        font-size: 1rem !important;
        padding: 0 30px;
    }

    /* 2. Header & Navigation Congestion */
    .site-header {
        padding: 10px 0 !important;
    }

    .site-header .header-cta {
        padding: 10px 18px !important;
        font-size: 11px !important;
        margin-right: 15px !important;
        white-space: nowrap;
    }

    /* 3. Decorative Elements Cleanup */
    .ods-bg-title {
        display: none !important;
        /* Remove giant text symbols on mobile to reduce clutter */
    }

    .ods-main-title {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }

    /* 4. Timeline Mobile Fine-Tuning */
    .v2-timeline-line,
    .v2-timeline-dot {
        left: 20px !important;
    }

    .v2-timeline-content-wrapper {
        padding-left: 50px !important;
        padding-right: 15px !important;
    }

    .v2-timeline-card {
        padding: 20px !important;
    }

    /* 5. Section Paddings */
    section {
        padding: 60px 0 !important;
    }

    .grid-container {
        padding: 0 20px !important;
    }

    /* 6. Contact Form Area */
    .v2-form-glass-container {
        padding: 25px !important;
        border-radius: 20px !important;
    }

    .v2-form-header h3 {
        font-size: 1.5rem !important;
    }
}

/* Extra small screens fix */
@media (max-width: 380px) {

    .ods-hero-title,
    .v2-title {
        font-size: 1.8rem !important;
    }

    .site-header .header-cta {
        display: none !important;
        /* Hide button on very small screens to avoid logo overlap */
    }
}

/* --- Mobile Menu: Right Drawer Redesign --- */
@media (max-width: 1024px) {
    .main-navigation {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        /* Start hidden on the right */
        width: 70% !important;
        /* Drawer width */
        height: 100vh !important;
        background: #ffffff !important;
        z-index: 9999 !important;
        padding: 100px 40px 40px !important;
        transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1) !important;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1) !important;
        display: block !important;
    }

    .main-navigation.toggled {
        right: 0 !important;
        /* Slide in to the right edge */
    }

    /* Menu Items Stack */
    .main-navigation ul {
        display: flex !important;
        flex-direction: column !important;
        gap: 25px !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .main-navigation ul li {
        margin: 0 !important;
        padding: 0 !important;
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.3s ease;
    }

    .main-navigation.toggled ul li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Staggered animation for links */
    .main-navigation.toggled ul li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .main-navigation.toggled ul li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .main-navigation.toggled ul li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .main-navigation.toggled ul li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .main-navigation.toggled ul li:nth-child(5) {
        transition-delay: 0.5s;
    }

    .main-navigation ul li a {
        font-size: 1.5rem !important;
        font-weight: 800 !important;
        color: #1e293b !important;
        text-decoration: none !important;
        display: block !important;
        transition: color 0.3s ease !important;
    }

    .main-navigation ul li a:hover {
        color: var(--ods-primary) !important;
    }

    /* Hamburger Menu Polish */
    .menu-toggle {
        z-index: 10000 !important;
        /* Stay above the drawer */
        position: relative !important;
    }

    .menu-toggle .toggle-bar {
        background: #1e293b !important;
    }
}

/* --- Mobile Menu Background Fix (Override Legacy Transparency) --- */
@media (max-width: 1024px) {
    #site-navigation.main-navigation {
        background-color: #ffffff !important;
        /* Force solid white */
        background: #ffffff !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Ensure no other layers are transparent */
    .main-navigation.toggled,
    .main-navigation.toggled ul {
        background: #ffffff !important;
    }
}

/* --- Professional Mobile Drawer: ULTRA-PREMIUM --- */
body.drawer-open {
    overflow: hidden !important;
    /* Body lock */
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

body.drawer-open .mobile-nav-overlay {
    opacity: 1;
    visibility: visible;
}


/* --- Professional Mobile Drawer Header/Footer (Hidden on Desktop) --- */
.drawer-header,
.drawer-footer {
    display: none !important;
}

/* --- Mobile Specific Refinements (Drawer & Responsive Fixes) --- */
@media (max-width: 1024px) {
    body.drawer-open {
        overflow: hidden !important;
        position: fixed;
        width: 100%;
    }

    .mobile-nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(15, 23, 42, 0.5);
        z-index: 9998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }

    body.drawer-open .mobile-nav-overlay {
        opacity: 1;
        visibility: visible;
    }

    .main-navigation {
        position: fixed !important;
        top: 0 !important;
        right: -320px !important;
        width: 320px !important;
        height: 100vh !important;
        background: #ffffff !important;
        z-index: 9999 !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 0 !important;
        transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1) !important;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1) !important;
        visibility: visible !important;
    }

    .main-navigation.toggled {
        transform: translateX(-320px) !important;
        /* Slide in correctly */
    }

    .drawer-header {
        display: flex !important;
        padding: 25px;
        border-bottom: 1px solid #f1f5f9;
        justify-content: space-between;
        align-items: center;
    }

    .drawer-footer {
        display: block !important;
        padding: 25px;
        background: #f8fafc;
        border-top: 1px solid #f1f5f9;
        margin-top: auto;
    }

    /* Fixed 1280px Menu Ghost */
    #primary-menu,
    .main-navigation ul {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: block !important;
    }

    /* Mobile Header Polish */
    .site-header .header-inner {
        padding: 10px 0 !important;
    }
}

/* --- Global Horizontal Scroll Protection (Non-Destructive) --- */
html,
body {
    overflow-x: hidden !important;
    width: 100%;
    margin: 0;
}

#page {
    overflow-x: hidden !important;
}

@media (max-width: 768px) {
    .grid-container {
        padding: 0 20px !important;
    }

    .post-article-card {
        padding: 40px 20px !important;
        border-radius: 0 !important;
    }

    .ods-hero-title {
        font-size: 1.8rem !important;
    }
}

/* --- Professional Portfolio Detail Styles --- */
.ods-portfolio-details {
    background: #ffffff;
}

.portfolio-single-hero {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    position: relative;
    overflow: hidden;
}

.portfolio-hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.portfolio-single-hero .ods-hero-title {
    font-size: 3.5rem !important;
    font-weight: 900;
    line-height: 1.1;
    color: #0f172a;
    margin-bottom: 25px;
}

.portfolio-single-hero .ods-hero-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-visual .visual-frame {
    padding: 20px;
    border-radius: 30px;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-visual .visual-frame:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.portfolio-main-content {
    padding: 80px 0;
}

.portfolio-main-content .content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.story-card {
    padding: 50px;
    border-radius: 30px;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: #0f172a;
}

.info-card {
    padding: 40px;
    border-radius: 30px;
    background: #f8fafc !important;
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
}

.info-list li:last-child {
    border-bottom: none;
}

/* --- Global Mobile Logo Fix --- */
@media (max-width: 1024px) {

    .site-branding img,
    .drawer-logo img {
        max-width: 140px !important;
        height: auto !important;
    }

    .portfolio-hero-layout,
    .portfolio-main-content .content-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    .portfolio-single-hero .ods-hero-title {
        font-size: 2.2rem !important;
    }

    .hero-visual .visual-frame {
        transform: none !important;
        max-width: 100% !important;
    }

    .story-card {
        padding: 30px 20px !important;
    }
}

/* --- Elegant Breadcrumb System (Inside Hero Context) --- */
/* --- Elegant Breadcrumb System (Inside Hero Context) --- */
.ods-breadcrumbs {
    position: relative;
    z-index: 10;
    margin-bottom: 10px;
}

/* Breadcrumb container needs to clear the fixed header on all pages */
.ods-breadcrumbs {
    padding-top: 10px;
}

/* On Dark Hero Backgrounds (Portfolio Hero) */
.portfolio-single-hero .ods-breadcrumbs {
    padding-top: 0;
    margin-bottom: 25px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.portfolio-single-hero .breadcrumb-list {
    color: rgba(15, 23, 42, 0.6);
    /* Slightly darker/transparent for the light-blue hero */
}

.breadcrumb-list a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.breadcrumb-list a:hover {
    color: var(--ods-primary);
    border-bottom-color: var(--ods-primary);
}

.breadcrumb-list .sep {
    opacity: 0.3;
    font-weight: 300;
}

/* Extra clearing for the fixed header globally in hero sections */
.ods-hero {
    padding-top: 100px !important;
    /* Force space for fixed masthead */
}

@media (max-width: 1024px) {
    .ods-hero {
        padding-top: 80px !important;
    }
}

/* ===================================== */
/* MODERN SEARCH & 404 STYLES (v2)       */
/* ===================================== */

.ods-search-wrap .search-form {
    display: flex !important;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    padding: 6px;
    box-shadow: 0 15px 45px rgba(30, 58, 90, 0.08);
    border: 2px solid var(--ods-light);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    max-width: 600px;
    margin: 0 auto;
}

.ods-search-wrap .search-form label {
    flex: 1;
    display: flex;
    margin-right: 10px;
}

.ods-search-wrap .search-form:focus-within {
    border-color: var(--ods-accent);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.ods-search-wrap .search-field {
    width: 100% !important;
    border: none !important;
    background: transparent !important;
    padding: 12px 25px !important;
    font-size: 1.1rem !important;
    color: var(--ods-dark) !important;
    outline: none !important;
    font-family: var(--font-main) !important;
}

.ods-search-wrap .search-submit {
    background: var(--ods-primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50px !important;
    width: 50px !important;
    height: 50px !important;
    padding: 0 !important;
    min-width: 50px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ods-search-wrap .search-submit:hover {
    background: var(--ods-secondary) !important;
    box-shadow: 0 5px 15px rgba(78, 168, 222, 0.4);
}

/* 404 Page Elite Design */
.ods-error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 20px;
    background: #020617;
    overflow: hidden;
    color: #fff;
}

.ods-error-page::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ods-gradient-hero);
    background-size: cover;
    animation: gradientFade 15s ease-in-out infinite;
    z-index: 2;
    opacity: 0.4;
    pointer-events: none;
}

.ods-error-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(10, 17, 40, 0.4) 100%);
    z-index: 1;
}

.ods-error-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 850px;
}

.ods-error-text-bg {
    font-size: clamp(180px, 30vw, 500px);
    font-weight: 900;
    color: #fff;
    opacity: 0.05;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    letter-spacing: -15px;
    pointer-events: none;
    line-height: 1;
    font-family: var(--font-main);
}

.ods-error-content h1 {
    font-size: clamp(2.8rem, 7vw, 5rem);
    color: #fff;
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: -2px;
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.ods-error-content p {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 50px;
    max-width: 700px;
    margin-inline: auto;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.ods-error-actions {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 70px;
}

.ods-error-page .button.secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.ods-error-page .button.secondary:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

.ods-error-page .sub-heading-alt {
    color: var(--ods-accent) !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 25px;
}

/* Search Header Refinement */
.ods-search-header {
    padding: 160px 20px 100px;
    text-align: center;
    background: linear-gradient(180deg, var(--ods-midnight) 0%, var(--ods-primary) 100%);
    position: relative;
    overflow: hidden;
    color: #fff;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.ods-search-header .sub-title {
    color: var(--ods-accent);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 20px;
}

.ods-search-header h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: -2.5px;
}

/* Grid & Loop */
.ods-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 40px;
    padding: 80px 0;
}

@media (max-width: 768px) {
    .ods-results-grid {
        grid-template-columns: 1fr;
    }

    .ods-error-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ods-error-actions .button {
        text-align: center;
    }
}

/* ===================================== */
/* PREMIUM GLOBAL CTA SECTION            */
/* ===================================== */

.ods-premium-cta {
    padding: 100px 0;
    position: relative;
    background: #020617;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.ods-premium-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #020617 0%, #1e3a5a 50%, #0f172a 100%);
    background-size: cover;
    z-index: 1;
    /* Lowered to let content through */
    opacity: 1;
    pointer-events: none;
}

.ods-premium-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(78, 168, 222, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.ods-premium-cta .cta-glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 40px;
    padding: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 10;
    /* Raised to stay on top */
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.4);
}

.ods-premium-cta .cta-content {
    flex: 1;
}

.ods-premium-cta .cta-content h2 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: #fff;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.ods-premium-cta .cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    line-height: 1.6;
}

.ods-premium-cta .cta-action {
    flex-shrink: 0;
}

.ods-premium-cta .cta-btn-premium {
    background: #fff !important;
    color: var(--ods-primary) !important;
    padding: 22px 50px !important;
    border-radius: 100px !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    border: none !important;
}

.ods-premium-cta .cta-btn-premium:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3) !important;
    background: var(--ods-accent) !important;
    color: #fff !important;
}

@media (max-width: 992px) {
    .ods-premium-cta .cta-glass-card {
        flex-direction: column;
        text-align: center;
        padding: 50px 30px;
    }

    .ods-premium-cta .cta-content p {
        margin: 0 auto;
    }
}

/* --- Dynamic Layout: Full Width Expansion --- */
.content-grid.layout-style-tablet,
.content-grid.layout-style-cinema {
    display: block !important;
}

.content-grid.layout-style-tablet .project-story,
.content-grid.layout-style-cinema .project-story {
    width: 100% !important;
    max-width: 100% !important;
}

.content-grid.layout-style-tablet .project-sidebar,
.content-grid.layout-style-cinema .project-sidebar {
    display: none !important;
}

.layout-style-tablet .horizontal-video-card,
.layout-style-cinema .horizontal-video-card {
    margin-top: 40px;
}

/* --- Premium Hero Buttons: Sync & Alignment --- */
.hero-badges {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 15px !important;
    margin-top: 30px !important;
}

.hero-badges .ods-btn,
.hero-badges .badge-link {
    width: auto !important;
    margin: 0 !important;
    flex: 0 1 auto !important;
    /* Prevent stretching */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 48px !important;
    /* Uniform height */
    padding: 0 24px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

.ods-btn-primary {
    background: #2563eb !important;
    color: #fff !important;
    border: none !important;
}

.ods-btn-accent {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 15px rgba(29, 78, 216, 0.2) !important;
}

.ods-btn-outline {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}

.hero-badges .badge-link {
    padding: 0 20px !important;
    background: #000 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.hero-badges .ods-btn:hover,
.hero-badges .badge-link:hover {
    transform: translateY(-2px) !important;
    filter: brightness(1.1) !important;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2) !important;
}

@media (max-width: 1024px) {
    .hero-badges {
        justify-content: center !important;
    }
}

/* --- Button Refinement: No Underline & Color Distinction --- */
.hero-badges .ods-btn,
.hero-badges .badge-link {
    text-decoration: none !important;
    /* Remove underlines */
}

/* Primary Action: Hemen Satın Al (Vibrant Blue) */
.ods-btn-primary {
    background: #2563eb !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2) !important;
}

/* Accent Action: Teklif Al (Modern Indigo Gradient) */
.ods-btn-accent {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2) !important;
    border: none !important;
}

/* Visit Site: Outline Style (Clear Distinction) */
.ods-btn-outline {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.ods-btn:hover {
    transform: translateY(-2px) scale(1.02) !important;
    filter: brightness(1.1) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3) !important;
}

/* --- Button Refinement: Larger Size --- */
.hero-badges .ods-btn,
.hero-badges .badge-link {
    height: 58px !important;
    /* Larger uniform height */
    padding: 0 35px !important;
    /* More breathing room */
    font-size: 16px !important;
    /* Slightly larger text */
    letter-spacing: 0.5px;
}

.hero-badges .ods-btn i {
    font-size: 18px !important;
    /* Larger icons */
}

/* --- Corporate Page Template Styles --- */
.ods-corporate-page {
    background-color: var(--ods-light);
}

.corporate-hero {
    padding: 180px 0 100px;
    background: #020617;
    /* Base Dark Slate */
    position: relative;
    overflow: hidden;
}

.corporate-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #020617 0%, #1e3a5a 50%, #0f172a 100%);
    background-size: cover;
    z-index: 1;
    opacity: 1;
    pointer-events: none;
}

.corporate-hero .grid-container {
    position: relative;
    z-index: 10;
}

.ods-breadcrumbs-section {
    padding: 0px 0;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #64748b;
}

.breadcrumb-list a {
    color: var(--ods-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
    color: var(--ods-secondary);
}

.ods-legal-section {
    padding: 80px 0;
}

.ods-legal-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.ods-legal-content {
    padding: 60px;
    line-height: 1.8;
    color: #334155;
    font-size: 1.1rem;
}

/* Typography Inside Legal Content */
.ods-legal-content h2 {
    font-size: 2rem;
    color: var(--ods-primary);
    margin: 40px 0 20px;
    font-weight: 800;
}

.ods-legal-content h3 {
    font-size: 1.5rem;
    color: var(--ods-primary);
    margin: 30px 0 15px;
    font-weight: 700;
}

.ods-legal-content p {
    margin-bottom: 20px;
}

.ods-legal-content strong,
.ods-legal-content b {
    color: var(--ods-midnight);
    font-weight: 700;
}

.ods-legal-content ul,
.ods-legal-content ol {
    margin-bottom: 25px;
    padding-left: 25px;
}

.ods-legal-content li {
    margin-bottom: 12px;
}

.ods-legal-content ol li {
    list-style: decimal;
}

.ods-legal-content ul li {
    list-style: disc;
}

.ods-simple-cta {
    padding: 40px 0 80px;
}

.ods-simple-cta .cta-inner {
    padding: 30px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    color: #64748b;
}

.ods-simple-cta a {
    color: var(--ods-primary);
    font-weight: 700;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .ods-legal-content {
        padding: 30px 20px;
        font-size: 1rem;
    }

    .ods-legal-section {
        padding: 40px 0;
    }

    .ods-legal-content h2 {
        font-size: 1.5rem;
    }
}


/* --- Unified Gallery Grid --- */
.portfolio-gallery-section {
    padding: 100px 0;
    background: #f8fafc;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.gallery-grid.layout-phone {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.gallery-item-wrap {
    perspective: 1000px;
}

.gallery-item {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    /* Default Landscape */
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #fff;
    cursor: zoom-in;
}

.layout-phone .gallery-item {
    aspect-ratio: 9/16;
    /* Vertical for Phone */
}

.layout-tablet .gallery-item {
    aspect-ratio: 3/2;
    /* iPad / Tablet / Web */
}

.layout-cinema .gallery-item {
    aspect-ratio: 16/9;
    /* Video / Cinema */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 58, 90, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: #fff;
    font-size: 2rem;
}

/* --- Lightweight Lightbox Modal --- */
.ods-lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.95);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: zoom-out;
}

.ods-lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.ods-lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.ods-lightbox-modal.active .ods-lightbox-content {
    transform: scale(1);
}

.ods-lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    display: block;
}

.ods-lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100001;
}

.ods-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
}