/* 
 * KÖROĞLU HOLDING - AVANT-GARDE LUXURY THEME
 * Design System: High-End, Artistic, Brutalist Elegance
 */

:root {
    /* Color Palette - Deep & Rich */
    --color-bg-primary: #030303;
    /* Void Black */
    --color-bg-secondary: #0a0a0a;
    /* Deep Black */
    --color-bg-card: rgba(22, 22, 22, 0.6);

    --color-accent: #E5D5C0;
    /* muted champagne */
    --color-accent-glow: rgba(229, 213, 192, 0.15);

    --color-text-primary: #ffffff;
    --color-text-secondary: #999999;

    --color-border: rgba(255, 255, 255, 0.08);

    /* Typography - Unified "Syne" for everything */
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Syne', sans-serif;
    /* Unified as requested */

    /* Spacing */
    --spacing-sm: 1rem;
    --spacing-md: 2.5rem;
    --spacing-lg: 5rem;
    --spacing-xl: 120px;

    /* UI Effects */
    --glass-blur: blur(20px);
    --noise-url: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48ZmlsdGVyIGlkPSJnoiPjxmZVR1cmJ1bGVuY2UgdHlwZT0iZnJhY3RhbE5vaXNlIiBiYXNlRnJlcXVlbmN5PSIwLjY1IiBudW1PY3RhdmVzTMiMyIgc3RpdGNoVGlsZXM9InN0aXRjaCIvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbHRlcj0idXJsKCNuKSIgb3BhY2l0eT0iMC4wNSIvPjwvc3ZnPg==');
}

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    line-height: 1.5;
    overflow-x: hidden;
    position: relative;
}

/* Noise Overlay - Adds Texture/Depth */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--noise-url);
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 0;
}

/* Typography - THE "MEATY" PART */
.h1,
.h2,
.h3,
.h4 {
    font-family: var(--font-heading);
    color: var(--color-text-primary);
    line-height: 1;
}

.h1 {
    font-weight: 800;
    /* Extra Bold */
    font-size: 6rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    background: linear-gradient(180deg, #fff 0%, #aaa 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.h2 {
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 2rem;
}

.h3 {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    /* Reduced from 1rem to match design tightness */
}

/* Layout */
.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 4rem;
}

.section {
    padding: 8rem 0;
    position: relative;
}

/* HEADER - Floating Glass */
.main-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1400px;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.4);
    /* More transparent for glassy feel */
    backdrop-filter: blur(12px);
    /* Smooth, premium frost */
    -webkit-backdrop-filter: blur(12px);
    /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Subtle glass edge */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    /* Depth */
    border-radius: 16px;
    height: 70px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 2rem;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -0.05em;
}

.logo span {
    color: var(--color-accent);
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-secondary);
    font-weight: 400;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text-primary);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 2rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-secondary);
    transition: 0.3s;
    padding: 0;
    font-family: inherit;
    font-weight: inherit;
    text-transform: uppercase;
}

.lang-btn.active,
.lang-btn:hover {
    color: var(--color-accent);
    text-shadow: 0 0 8px var(--color-accent-glow);
}

.lang-separator {
    color: var(--color-border);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.5rem 3rem;
    background: var(--color-accent);
    color: #000;
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1rem;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 90% 100%, 0 100%);
    /* Tech/Industrial shape */
    transition: 0.3s;
}

.btn:hover {
    transform: scale(1.05);
    background: #fff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

/* Grids & Cards - Complex & Modern */
.sector-grid,
.company-grid,
.stats-grid,
.footer-grid {
    display: grid;
    gap: 2rem;
}

.sector-grid {
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
}

.stats-grid {
    grid-template-columns: repeat(3, 1fr);
    border: none;
    align-items: center;
    /* Center vertically */
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-icon-wrapper svg {
    display: block;
    margin-bottom: 0.5rem;
    /* Match margin of h3 */
    height: 4rem;
    /* Match approximate height of text */
    width: auto;
}

/* Footer */
.main-footer {
    background: #000;
    border-top: 1px solid #222;
    padding-top: 6rem;
    margin-top: 10rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    /* Wider brand column */
    gap: 4rem;
    /* More generous gap */
    align-items: start;
    padding-bottom: 4rem;
}

.footer-brand h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.footer-desc {
    max-width: 300px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    font-size: 1rem;
}

.footer-col h4 {
    color: #fff;
    /* Stark white for contrast */
    margin-bottom: 2rem;
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    position: relative;
    display: inline-block;
}

/* Subtle accent line under headers */
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-accent);
}

.footer-col ul li {
    margin-bottom: 1.2rem;
}

.footer-col ul li a {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    transition: 0.3s;
    position: relative;
}

.footer-col ul li a:hover {
    color: var(--color-accent);
    padding-left: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* Lighter border */
    padding: 3rem 0;
    text-align: center;
    color: #666;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(50px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {

    /* TYPOGRAPHY SCALING */
    html {
        font-size: 14px;
        /* Slight base reduction */
    }

    .h1 {
        font-size: 3rem;
        /* Massive reduction from 6rem */
        letter-spacing: -0.01em;
    }

    .h2 {
        font-size: 2rem;
        /* Reduced from 3rem */
        margin-bottom: 1.5rem;
    }

    .h3 {
        font-size: 1.5rem;
        /* Reduced from 2rem */
    }

    /* LAYOUT & CONTAINER */
    .container {
        padding: 0 1.5rem;
        width: 100%;
    }

    .section {
        padding: 4rem 0;
        /* Reduced from 8rem */
    }

    .main-header {
        width: 100%;
        top: 0;
        left: 0;
        transform: none;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        height: 60px;
        background: rgba(3, 3, 3, 0.95);
        /* Darker/Solid on mobile */
        backdrop-filter: blur(10px);
    }

    .logo {
        font-size: 1.2rem;
    }

    /* NAVIGATION */
    .nav-links {
        display: none;
        /* Hide desktop nav */
    }

    .mobile-menu-btn {
        display: block !important;
        z-index: 1001;
    }

    /* GRIDS - STACK EVERYTHING */
    .sector-grid,
    .stats-grid,
    .footer-grid,
    .values-grid,
    .company-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    /* STRATEGIC FOCUS SECTION - KEY FIX */
    .focus-grid {
        display: flex;
        flex-direction: column;
        height: auto;
        /* Remove 800px fixed height */
    }

    .focus-item {
        width: 100%;
        height: 400px;
        /* Fixed functional height for mobile */
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 2rem;
    }

    .focus-title {
        font-size: 2rem;
    }

    .focus-content {
        transform: translateY(0);
        /* Always visible on mobile */
    }

    .focus-desc {
        opacity: 1;
        /* Always visible */
        font-size: 1rem;
    }

    /* HERO */
    .hero-section {
        height: 100vh;
        /* Keep full height */
        background-attachment: scroll;
        /* Fix for mobile browsers */
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* FOUNDATION */
    .foundation-section {
        padding: 6rem 0;
        background-attachment: scroll;
    }

    .foundation-content {
        padding: 2rem;
        margin: 0 1rem;
    }

    .foundation-title {
        font-size: 2.5rem;
    }

    /* FOOTER */
    .main-footer {
        margin-top: 5rem;
        padding-top: 4rem;
        text-align: center;
    }

    .footer-grid {
        gap: 3rem;
        padding-bottom: 2rem;
    }

    .footer-brand h2 {
        font-size: 2rem;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* BOARD & VALUES */
    .board-item {
        flex-direction: column;
        gap: 0.5rem;
        text-align: left;
    }
}

/* Strategic Focus Section (Sabancı Style) */
.focus-section {
    padding: 0;
    /* Full width/height feel */
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: 800px;
    /* Tall impressive section */
}

.focus-item {
    position: relative;
    display: flex;
    align-items: flex-end;
    /* Text at bottom */
    padding: 4rem;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    transition: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.focus-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1));
    z-index: 1;
    transition: 0.5s;
}

.focus-item:hover::before {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
}

.focus-content {
    position: relative;
    z-index: 2;
    transform: translateY(20px);
    transition: 0.5s;
}

.focus-item:hover .focus-content {
    transform: translateY(0);
}

.focus-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.focus-desc {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 90%;
    opacity: 0.8;
}

.focus-item:hover .focus-desc {
    opacity: 1;
}

/* Foundation Section (EMEK Vakfı) */
.foundation-section {
    position: relative;
    padding: 10rem 0;
    background: url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.foundation-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 3, 3, 0.85);
    /* Heavy dark overlay for readability */
    backdrop-filter: blur(5px);
}

.foundation-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 4rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border-radius: 4px;
}

.foundation-tag {
    color: var(--color-accent);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: block;
}

.foundation-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 1rem;
    color: #fff;
}

.foundation-subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 300;
    color: #ccc;
    margin-bottom: 2rem;
    font-style: italic;
}

.foundation-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
}

/* Dropdown Menu - Premium Style */
.nav-item.dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 100%;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    min-width: 240px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    display: block;
    padding: 1rem 2rem;
    color: var(--color-text-secondary);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: 0.3s;
    text-align: center;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.dropdown-link:last-child {
    border-bottom: none;
}

.dropdown-link:hover {
    color: var(--color-accent);
    background: rgba(255, 255, 255, 0.02);
    padding-left: 2.2rem;
}

/* Arrow indicator */
.nav-link.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.4em;
}

.nav-link.dropdown-trigger::after {
    content: '';
    width: 5px;
    height: 5px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    opacity: 0.6;
    transition: 0.3s;
}

.nav-item.dropdown:hover .nav-link.dropdown-trigger::after {
    transform: rotate(225deg) translateY(-2px);
    color: var(--color-accent);
}

.dropdown-link {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    transition: 0.2s;
    text-align: left;
    white-space: nowrap;
}

.dropdown-link:hover {
    color: var(--color-accent);
    background: rgba(255, 255, 255, 0.03);
}

.nav-link.dropdown-trigger::after {
    content: '▾';
    display: inline-block;
    margin-left: 5px;
    font-size: 0.8em;
    opacity: 0.7;
}