:root {
    /* Colors - Elite/Niche Palette [LOCKED BY USER] */
    --primary-color: #1A1A1A;
    /* Dark Anthracite / Soft Black - DO NOT CHANGE */
    --secondary-color: #AB8850;
    /* Antique Bronze / Gold - DO NOT CHANGE */
    --secondary-dark: #8A6D3B;
    --text-color: #333333;
    /* Dark Grey for body */
    --text-light: #F5F5F5;
    --light-bg: #F9F9F9;
    /* Warmer Light Grey BG */
    --white: #ffffff;

    /* Fonts */
    --font-main: 'Montserrat', sans-serif;
    /* Modern Sans-serif */
    --font-serif: 'Montserrat', sans-serif;
    /* Using same font for headers for clean look */

    /* Spacing */
    --container-width: 1400px;
    --section-padding: 100px 0;

    /* Architectural Grid Variables */
    --grid-border-color: rgba(0, 0, 0, 0.08);
    --grid-text-dark: #1a1a1a;
    --grid-text-gray: #555;
    --grid-bg-light: #fcfcfc;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    font-weight: 400;
    /* Regular weight */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

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

ul {
    list-style: none;
}

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

/* Utility Classes */
.btn {
    display: inline-block;
    padding: 16px 40px;
    /* Larger buttons */
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--secondary-color);
    /* Outline style */
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 0;
    /* Sharp corners for corporate look */
    text-transform: uppercase;
    letter-spacing: 2px;
    /* Wide spacing */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn:hover {
    color: var(--white);
}

.btn:hover::before {
    width: 100%;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    /* Larger titles */
    margin-bottom: 4rem;
    position: relative;
    padding-bottom: 20px;
    letter-spacing: -1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--secondary-color);
}

.container-fluid {
    width: 100%;
    padding: 0 60px;
    /* More padding for full width look */
    margin: 0 auto;
}

/* Header */
.main-header {
    background-color: transparent;
    /* Starts Transparent */
    border-bottom: none;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
    /* Slower transition for cinematic feel */
    box-shadow: none;
    /* No shadow initially */
}

/* Scrolled State */
.main-header.scrolled {
    background-color: var(--primary-color);
    /* Solid Dark on scroll */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    /* Deep shadow */
    border-bottom: 1px solid var(--secondary-color);
    /* Elite Gold Line */
}

/* Removed the unconditional height change here, moved to media query below */

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 140px;
    max-width: 100% !important;
    /* Override standard container */
    padding: 0 60px;
    /* Wider padding for edges */
    transition: height 0.4s ease;
    /* Smooth height change */
}

@media (min-width: 769px) {
    .main-header.scrolled .header-container {
        height: 100px;
        /* Shrink height only on Desktop */
    }
}



/* --- SECOR BRANDING V5 (Official) --- */
#secor-logo-container {
    background-color: #ffffff;
    padding: 8px 18px;
    /* Strict V5 Padding */
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-decoration: none !important;
    border-radius: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#secor-logo-container:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.secor-main {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 38px;
    line-height: 0.85;
    letter-spacing: -1.5px;
    color: #1a1b1f;
    /* Solid Anthracite */
    text-transform: uppercase;
    margin: 0;
    padding-top: 2px;
}

.char-c-ligature {
    letter-spacing: -3.5px;
    margin-right: 1px;
}



/* Sub-text remains untouched as requested */

/* Main Navigation (Right Aligned) */
.main-nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
    list-style: none;
}

.main-nav a {
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--secondary-color);
}

/* Language Switcher */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 20px;
}

.lang-switch .sep {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

.lang-switch a {
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    opacity: 0.6;
}

.lang-switch a.active,
.lang-switch a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.lang-switch a::after {
    display: none;
    /* No underline for lang switch */
}

/* Hero Section */
.hero {
    height: 100vh;
    background-color: var(--primary-color);
    /* Fallback to avoid white flash */
    background-image: url('../img/office.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(26, 26, 26, 0.1) 0%, rgba(26, 26, 26, 0.85) 100%);
    /* Cinematic Vignette: Clear center, dark edges - [LOCKED BY USER] */
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -2px;
    font-weight: 700;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 0.5px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Scroll Down Indicator */
.hero-scroll-btn {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.hero-scroll-btn:hover {
    opacity: 1;
}

.scroll-icon {
    width: 24px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 12px;
    position: relative;
}

.scroll-icon::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

/* Intro & Why Us */
.section-padding {
    padding: 120px 0;
}

/* Removed unused Intro Text */

/* Removed unused Why Us Grid Styles */

/* --- LONDON ARCHITECTURAL GRID LAYOUT --- */
.london-grid {
    display: grid;
    grid-template-columns: 25% 75%;
    min-height: auto;
    border-bottom: 1px solid var(--grid-border-color);
}

.london-grid-item {
    padding: 80px 60px;
    border-right: 1px solid var(--grid-border-color);
    display: flex;
    flex-direction: column;
    min-width: 0;
    /* Prevents grid blowout */
}

.london-grid-item:last-child {
    border-right: none;
}

.london-grid.no-border {
    border-bottom: none;
}

/* Vertical centering variant for Expertise Areas */
.expertise-grid .london-grid-item {
    justify-content: center;
    padding: 50px 60px;
}

/* Content Styling inside Grid */
.content-label {
    font-family: var(--font-main);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 30px;
    display: block;
}

.content-heading {
    font-family: 'Marcellus', serif;
    font-size: 2.2rem;
    color: var(--grid-text-dark);
    margin-bottom: 30px;
    line-height: 1.3;
    font-weight: 400;
}

.content-body {
    font-family: var(--font-main);
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--grid-text-gray);
    font-weight: 300;
    text-align: justify;
}

.content-body p {
    margin-bottom: 25px;
}

/* Photo Integration for Hakkımızda */
.photo-section {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
    margin-top: 40px;
    border-radius: 1px;
}

.photo-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(5%) contrast(1.05);
    transition: transform 0.6s ease;
}

.photo-section:hover img {
    transform: scale(1.02);
}

/* Section Header Variants */
.section-header-large {
    padding: 120px 0 60px;
    border-bottom: 1px solid var(--grid-border-color);
}

.section-header-large h1 {
    font-family: 'Marcellus', serif;
    font-size: 4.5rem;
    font-weight: 400;
    color: var(--grid-text-dark);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

/* Responsive Grid */
@media (max-width: 992px) {
    .london-grid {
        grid-template-columns: 1fr;
    }

    .london-grid-item {
        border-right: none;
        border-bottom: 1px solid var(--grid-border-color);
        padding: 50px 30px;
    }

    .section-header-large h1 {
        font-size: 3rem;
    }
}

.bg-architectural {
    background-color: var(--grid-bg-light) !important;
}

.bg-architectural .container {
    max-width: 1400px;
    /* Force a slightly wider, standard width for this specific layout to prevent "small" feel */
    width: 100%;
}


/* Removed unused Practice Preview Styles */

/* Footer */
.main-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    margin-top: auto;
    border-top: 3px solid var(--secondary-color);
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.8)), url('../img/page-header-bg.jpg');
    background-size: cover;
    background-position: center;
    background-color: var(--primary-color);
    /* Fallback */
    color: var(--white);
    padding: 130px 0 60px;
    /* Adjusted Ideal Height (User Request) */
    text-align: center;
    position: relative;
    /* Ensure image covers fully */
    background-repeat: no-repeat;
    background-origin: padding-box;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.page-header h1 {
    color: var(--white);
    font-size: 4.5rem;
    letter-spacing: -0.02em;
    font-family: 'Marcellus', serif;
    font-weight: 400;
}

/* About Page */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    /* More gap */
    align-items: center;
}

.about-text p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #444;
}

/* Removed unused About Image Placeholder */

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mv-item {
    background: var(--white);
    padding: 60px;
    /* More padding */
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    /* Softer, larger shadow */
    text-align: center;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.mv-item:hover {
    transform: translateY(-5px);
}

.mv-item h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* Responsive Updates for Laptops (1024px - 1440px) */
@media (max-width: 1440px) {
    .header-container {
        padding: 0 30px;
        /* Reduce side padding */
    }

    .main-nav ul {
        gap: 20px;
        /* Reduce gap between items */
    }

    /* .logo-text-corporate removed */

    .main-nav a {
        font-size: 0.8rem;
        /* Scale down nav links slightly */
    }
}

/* Responsive Updates for Mobile */
@media (max-width: 768px) {

    /* Prevent Horizontal Scrolling/Zooming Out */
    html,
    body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.1rem;
        /* Reduce hero paragraph size */
    }

    .header-container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
        /* Tighter padding */
    }

    /* Stack Logo and Nav */
    #secor-logo-container {
        margin-bottom: 20px;
    }

    .main-nav {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .main-nav ul {
        margin-top: 0;
        gap: 15px;
        /* Smaller gap */
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .main-nav a {
        font-size: 0.75rem;
        /* Smaller text for mobile */
    }

    .lang-switch {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    /* Page Header - CRITICAL FIX */
    .page-header {
        padding: 200px 0 40px;
        /* Increased from 100px to 200px - Fixed header is ~182px on mobile */
    }

    .page-header h1 {
        font-size: 2rem !important;
        /* 72px → 32px - Force override */
        line-height: 1.2;
        padding: 0 15px;
        /* Add side padding */
    }

    /* Section Header Large */
    .section-header-large {
        padding: 80px 0 40px;
        /* Reduce padding */
    }

    .section-header-large h1 {
        font-size: 2.2rem !important;
        /* Further reduce from 3rem */
        line-height: 1.2;
    }

    /* London Grid Items */
    .london-grid-item {
        padding: 30px 20px !important;
        /* Override 50px 30px from tablet */
    }

    /* Content Heading - CRITICAL FIX */
    .content-heading {
        font-size: 1.5rem !important;
        /* 35px → 24px */
        line-height: 1.3;
        margin-bottom: 20px;
    }

    /* Content Body */
    .content-body {
        font-size: 1rem !important;
        /* Reduce from 1.15rem */
        line-height: 1.7;
    }

    /* Content Label */
    .content-label {
        font-size: 0.75rem;
        margin-bottom: 20px;
    }

    /* Section Title */
    .section-title {
        font-size: 2rem;
        /* Reduce from 3rem */
        margin-bottom: 2rem;
    }

    /* Container Padding */
    .container {
        padding: 0 20px;
        /* Reduce from 30px */
    }

    .container-fluid {
        padding: 0 20px;
        /* Reduce from 60px */
    }

    /* About Grid */
    .about-grid,
    .mv-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        /* Reduce gap */
    }

    /* MV Items */
    .mv-item {
        padding: 40px 30px;
        /* Reduce from 60px */
    }

    .mv-item h3 {
        font-size: 1.3rem;
        /* Slightly smaller */
    }

    /* Contact Wrapper */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Practice Grid */
    .practice-grid {
        grid-template-columns: 1fr;
        /* Single column on mobile */
    }

    /* Photo Section */
    .photo-section {
        height: 300px;
        /* Reduce from 400px */
    }

    /* Section Padding */
    .section-padding {
        padding: 60px 0;
        /* Reduce from 120px */
    }
}

/* Practice Areas */
.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.practice-item {
    background: var(--white);
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.practice-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--secondary-color);
}

.practice-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Contact Page */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.info-item {
    margin-bottom: 30px;
}

.info-item h4 {
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-family: var(--font-main);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

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

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.map-container {
    width: 100%;
    height: 400px;
}

/* Responsive Updates for Contact */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* --- NEW HOME LAYOUT: SPLIT VIEWPORT --- */
.home-page.no-scroll-y {
    overflow: hidden;
    /* Prevent vertical scroll on desktop */
    height: 100vh;
}

.split-viewport {
    height: 100vh;
    display: flex;
    flex-direction: column;
    /* BACKGROUND IMAGE MOVED HERE FOR FULL COVERAGE */
    background-color: var(--primary-color);
    background-image: url('../img/office.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.split-viewport::before {
    /* Full screen dark overlay for text readability */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(26, 26, 26, 0.1) 0%, rgba(26, 26, 26, 0.6) 100%);
    pointer-events: none;
}

/* 1. Top Section: Hero (70vh) */
.hero-split {
    height: 70vh;
    position: relative;
    background: transparent;
    /* Transparent so parent bg shows */
}

/* Remove the specific hero overlay as we now have a global one */
.hero-split .hero-overlay {
    display: none;
}

/* 2. Bottom Section: Slider (30vh) */
.slider-split {
    height: 30vh;
    /* GLASSMORPHISM STYLE */
    background-color: rgba(255, 255, 255, 0.15);
    /* Very see-through white */
    backdrop-filter: blur(12px);
    /* Frosted glass effect */
    -webkit-backdrop-filter: blur(12px);

    position: relative;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    /* Subtle top border */
    padding: 0 40px;
    /* Space for buttons */
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
    /* Shadow to separate from top */
}

/* Slider Track */
.slider-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    height: 100%;
    align-items: center;
    /* Center cards vertically */
    padding: 0 20px;
    width: 100%;

    /* Hide Scrollbar */
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.slider-track::-webkit-scrollbar {
    display: none;
}

/* Slider Card - Semi-Transparent Glass */
.slider-card {
    min-width: 300px;
    max-width: 300px;

    /* GLASS CARD */
    background: rgba(255, 255, 255, 0.85);
    /* 85% opacity white - Readable but blends */
    backdrop-filter: blur(5px);

    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    scroll-snap-align: center;
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
    height: 80%;
    /* Takes up most of the 30% height */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.slider-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.95);
    /* More opaque on hover */
    border-color: var(--secondary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.card-num {
    display: block;
    font-family: var(--font-main);
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.slider-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    /* Clean, serious font */
    color: var(--primary-color);
    margin: 0;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Removed .slider-card p rule as descriptions are deleted */

.slider-card p {
    font-size: 0.85rem;
    color: #444;
    /* Darker for readability on transparency */
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Limit text lines */
    line-clamp: 2;
    /* Standard property */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    /* Circle */
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Responsive adjustments for Split Layout */
@media (max-width: 768px) {
    .home-page.no-scroll-y {
        height: auto;
        overflow-y: auto;
    }

    .split-viewport {
        height: auto;
        min-height: 100vh;
        /* Ensure it covers */
        overflow-x: hidden;
    }

    .hero-split {
        height: 50vh;
        /* Reduced from 60vh to give more space/less scroll */
    }

    .slider-split {
        height: auto;
        padding: 20px 0 40px;
        /* Reduced top padding */
        background-color: #fcfcfc;
        backdrop-filter: none;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }


}

/* --- TABS & PUBLICATIONS CSS --- */
.slider-split {
    /* Update to column layout to stack tabs on top */
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding-top: 90px;
    /* More space for tabs */
}

.slider-tabs {
    position: absolute;
    top: 0;
    left: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    height: 60px;
    /* Header area height */
    z-index: 20;
}

.tab-btn {
    background: none;
    border: none;
    font-family: var(--font-main);
    font-size: 0.9rem;
    /* Increased size slightly */
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    /* Light white for inactive */
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    padding: 10px 0;
    position: relative;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    /* Ensure readability on any bg */
}

.tab-btn:hover {
    color: #fff;
    /* Pure white on hover */
}

.tab-btn.active {
    color: #fff;
    font-weight: 700;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 10px;
    /* Moved up slightly */
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
    /* Glow effect for gold line */
}

.tab-divider {
    width: 1px;
    height: 15px;
    background-color: rgba(255, 255, 255, 0.5);
    /* Lighter divider */
}

/* Views */
.slider-view {
    width: 100%;
    height: 100%;
    display: none;
    /* Hidden by default */
    align-items: center;
    position: relative;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.slider-view.active-view {
    display: flex;
    opacity: 1;
}

/* Publications Specific - Optimized */
.publications-track {
    display: flex;
    justify-content: flex-start;
    /* Align left */
    gap: 30px;
    width: 100%;
    padding: 0 20px;
    overflow-x: auto;
}

.pub-card {
    min-width: 400px;
    /* Wider for publications */
    max-width: 400px;
    background: rgba(255, 255, 255, 0.98);
    /* Matching high opacity */
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid var(--secondary-color);
    /* Editorial Accent */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.pub-card:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.pub-date {
    font-size: 0.8rem;
    color: #999;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    font-weight: 500;
}

.pub-card h3 {
    font-family: 'Marcellus', serif;
    font-size: 1.3rem;
    /* Larger */
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.pub-card p {
    font-size: 0.95rem;
    /* Larger body */
    color: #444;
    line-height: 1.6;
}

/* --- BILGI NOTLARI & INSIGHTS PAGE STYLES --- */
.notes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.note-card {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    /* Subtle border */
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    position: relative;
}

.note-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border-color: var(--secondary-color);
}

.note-image-wrapper {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.note-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(5%) contrast(1.05);
    /* Brand filter */
    transition: transform 0.6s ease;
}

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

.note-content {
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.note-title {
    font-family: 'Marcellus', serif;
    font-size: 1.5rem;
    line-height: 1.35;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 400;
}

.note-title a {
    text-decoration: none;
    color: inherit;
}

.note-summary {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
    flex-grow: 1;
    /* Pushes the button down */
    font-weight: 300;
}

.read-more-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.read-more-link::after {
    content: '→';
    font-size: 1.1em;
}

.read-more-link:hover {
    gap: 12px;
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 992px) {
    .notes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Legal Modal Styles */
.legal-footer-row {
    display: flex;
    justify-content: flex-end;
    padding-top: 20px;
}

.legal-link {
    color: #888;
    text-decoration: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    border-bottom: 1px solid transparent;
}

.legal-link:hover {
    color: #fff;
    border-bottom-color: #fff;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    justify-content: center;
    align-items: center;
}

/* FIX: Specific Mobile Overrides for Tabs (Placed here to override general styles) */
@media (max-width: 768px) {
    .slider-tabs {
        position: relative;
        /* No longer absolute */
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 20px;
        /* Space before slider */
        gap: 10px;
        padding: 0 10px;
    }

    .tab-btn {
        font-size: 0.75rem;
        color: #555 !important;
        /* Force dark color */
        padding: 8px 12px;
        border: 1px solid #eee;
        border-radius: 4px;
        background: #fff;
        opacity: 1 !important;
        /* Force opacity */
        text-shadow: none;
    }

    .tab-btn:hover {
        color: #000 !important;
        background: #f9f9f9;
    }

    .tab-btn.active {
        color: #fff !important;
        background: var(--primary-color);
        border-color: var(--primary-color);
        font-weight: 600;
    }

    .tab-btn.active::after {
        display: none;
    }

    .tab-divider {
        display: none;
    }

    .slider-track {
        padding: 0 20px;
    }

    .slider-btn {
        display: none;
    }
}

.modal-overlay.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #fff;
    padding: 50px;
    max-width: 650px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;
}

.modal-overlay.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #aaa;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #000;
}

.modal-title {
    font-family: 'Marcellus', serif;
    font-size: 1.5rem;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.modal-body {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

.modal-body p {
    margin-bottom: 15px;
}

.modal-body p:last-child {
    margin-bottom: 0;
}