/* =====================================================
   DIJITAL DERGI - MAIN STYLESHEET
   Modern Digital Magazine & Blog Theme
   ===================================================== */

/* ----- CSS Variables ----- */
:root {
    /* Primary Colors - Koyu Lacivert Paleti */
    --primary: #1A1F2E;
    /* Ana Koyu Lacivert */
    --primary-dark: #0F1524;
    /* Gece Yarısı */
    --primary-light: #141B2D;
    /* Derin Lacivert */

    /* Secondary Colors - Mavi Tonları */
    --secondary: #1E3A5F;
    /* Kraliyet Mavisi */
    --secondary-dark: #2C4A6E;
    /* Çelik Mavisi */
    --secondary-light: #1A4B6E;
    /* Okyanus */

    /* Accent Colors - Bakır/Terracotta */
    --accent: #C4785A;
    /* Bakır/Terracotta */
    --accent-hover: #d4896b;
    /* Bakır Açık */
    --accent-light: rgba(196, 120, 90, 0.1);

    /* Blue Tones - Mavi Vurgular */
    --blue-primary: #1E56A0;
    /* Kobalt */
    --blue-bright: #3A7BD5;
    /* Azure / Gök Mavisi */
    --blue-light: #5B9BD5;
    /* Gökyüzü */
    --blue-pale: #7EB8DA;
    /* Pudra Mavisi */
    --blue-ice: #A8C5D6;
    /* Buz Mavisi */

    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #F5F2EB;
    /* Kirli Beyaz */
    --black: #000000;
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f4;
    --gray-200: #e8eaed;
    --gray-300: #dadce0;
    --gray-400: #bdc1c6;
    --gray-500: #8E919B;
    /* Gümüş Gri */
    --gray-600: #80868b;
    --gray-700: #5f6368;
    --gray-800: #3c4043;
    --gray-900: #202124;

    /* Special Colors */
    --burgundy: #6B2D3C;
    /* Koyu Bordo */
    --silver: #8E919B;
    /* Gümüş Gri */

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;

    /* Spacing */
    --container-max: 1320px;
    --container-padding: 20px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(26, 31, 46, 0.05);
    --shadow-md: 0 4px 6px rgba(26, 31, 46, 0.07);
    --shadow-lg: 0 10px 25px rgba(26, 31, 46, 0.1);
    --shadow-xl: 0 20px 40px rgba(26, 31, 46, 0.15);

    /* Z-index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-overlay: 500;
}

/* ----- Reset & Base Styles ----- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    outline: none;
}

/* ----- Container ----- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* =====================================================
   HEADER STYLES
   ===================================================== */

.header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    background-color: transparent;
}

/* ----- Top Bar ----- */
.top-bar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    font-size: 13px;
    height: 44px;
    display: flex;
    align-items: center;
    /* Smooth transition for transform and opacity */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.date-display {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
}

.date-display svg {
    opacity: 0.7;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.top-bar-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
}

/* Language Selector */
.language-selector {
    position: relative;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.language-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.language-btn svg:last-child {
    transition: transform var(--transition-fast);
}

.language-selector.active .language-btn svg:last-child {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 130px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    z-index: var(--z-dropdown);
}

.language-selector.active .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: 13px;
    color: var(--gray-700);
    transition: all var(--transition-fast);
}

.language-dropdown li a:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

.language-dropdown li a.active {
    color: var(--accent);
    font-weight: 600;
}

.login-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    transition: color var(--transition-fast);
    margin-right: 12px;
}

.login-link:hover {
    color: var(--white);
}

/* ----- Main Header ----- */
.main-header {
    position: relative;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 40px;
}

/* ----- Logo ----- */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 50px;
    width: auto;
    transition: opacity var(--transition-fast);
}

.logo-light {
    display: none;
}

/* ----- Navigation ----- */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-800);
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.nav-link svg {
    transition: transform var(--transition-fast);
}

.nav-item:hover .nav-link,
.nav-item.active .nav-link {
    color: var(--accent);
    background-color: var(--accent-light);
}

.nav-item.has-dropdown:hover .nav-link svg {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 200px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: var(--z-dropdown);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--white);
}

.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    transition: all var(--transition-fast);
}

.dropdown-menu li a:hover {
    background: var(--accent-light);
    color: var(--accent);
    padding-left: 28px;
}

/* ----- Header Actions ----- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--gray-700);
    transition: all var(--transition-fast);
}

.search-toggle:hover {
    background: var(--gray-100);
    color: var(--accent);
}

.subscribe-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    min-width: 110px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.4);
}

/* Header Login Button */
.header-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--gray-300);
    border-radius: 50px;
    transition: all var(--transition-fast);
}

.header-login-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-light);
}

.header-login-btn svg {
    color: currentColor;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    transition: background var(--transition-fast);
}

.mobile-menu-toggle:hover {
    background: var(--gray-100);
}

.hamburger {
    position: relative;
    width: 24px;
    height: 18px;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.mobile-menu-toggle.active .hamburger span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* ----- Search Overlay ----- */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: var(--z-overlay);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-content {
    position: relative;
    width: 100%;
    max-width: 700px;
    padding: 0 20px;
    transform: translateY(30px);
    transition: transform var(--transition-normal);
}

.search-overlay.active .search-overlay-content {
    transform: translateY(0);
}

.search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    padding: 20px 60px 20px 24px;
    font-family: var(--font-primary);
    font-size: 18px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 60px;
    outline: none;
    transition: all var(--transition-fast);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-input:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.15);
}

.search-submit {
    position: absolute;
    right: 8px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.search-submit:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
}

.search-close {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all var(--transition-fast);
    z-index: 10;
}

.search-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

/* ----- Mobile Menu ----- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    z-index: var(--z-overlay);
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: none;
}

.mobile-menu-header .logo img {
    height: 36px;
}

.mobile-menu-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-800);
    border-radius: 8px;
    background: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.mobile-menu-close:hover {
    background: var(--gray-100);
}

.mobile-nav {
    flex: 1;
    padding: 0;
    overflow-y: auto;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-item {
    border-bottom: 1px solid var(--gray-100);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-size: 17px;
    font-weight: 500;
    color: var(--gray-900);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.mobile-nav-link:hover {
    background: var(--gray-50);
}

.mobile-nav-item.active .mobile-nav-link {
    color: var(--accent);
}

.mobile-nav-link svg {
    color: var(--gray-400);
    transition: transform 0.3s ease;
}

.mobile-nav-item.has-submenu.open .mobile-nav-link svg {
    transform: rotate(180deg);
}

/* Mobile Submenu - Smooth sliding animation, white bg */
.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    background: var(--white);
    padding: 0;
    list-style: none;
    margin: 0;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.3s ease,
        opacity 0.3s ease;
}

.mobile-nav-item.has-submenu.open .mobile-submenu {
    max-height: 500px;
    padding: 8px 0;
    opacity: 1;
}

.mobile-submenu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px 16px 24px;
    font-size: 15px;
    color: var(--gray-800);
    text-decoration: none;
    background: var(--white);
    transition: background 0.2s ease;
}

.mobile-submenu li a:hover {
    background: var(--gray-50);
}

.mobile-submenu li a::after {
    content: '›';
    font-size: 20px;
    color: var(--gray-400);
    font-weight: 300;
}

.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-subscribe-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 20px;
    transition: all var(--transition-normal);
}

.mobile-subscribe-btn:hover {
    transform: scale(1.02);
}

.mobile-social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.mobile-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all var(--transition-fast);
}

.mobile-social-links a:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

/* =====================================================
   HERO SECTION STYLES
   ===================================================== */

.main-content {
    min-height: 100vh;
}

.hero-section {
    padding: 40px 0 80px;
    background: var(--white);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1;
    max-width: 580px;
}

.hero-title {
    font-family: var(--font-body);
    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--gray-900);
    margin-bottom: 24px;
}

.hero-highlight {
    display: inline;
    position: relative;
    background-color: rgba(239, 68, 68, 0.15);
    padding: 4px 8px;
    margin-left: -8px;
    border-radius: 4px;
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all var(--transition-normal);
}

.hero-btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.3);
}

.hero-btn-primary:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.hero-btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.hero-btn-outline:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Hero Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }

    .hero-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 20px 0 40px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-btn {
        padding: 12px 20px;
        font-size: 13px;
    }

    .hero-image {
        order: -1;
        max-width: 60%;
    }
}

/* =====================================================
   FEATURED ARTICLES SECTION
   ===================================================== */

.featured-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-title {
    font-family: var(--font-body);
    font-size: 32px;
    font-weight: 700;
    color: var(--gray-900);
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--accent);
    transition: all var(--transition-fast);
}

.view-all-link:hover {
    gap: 12px;
    color: #dc2626;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* View All Card */
.view-all-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: linear-gradient(135deg, var(--accent) 0%, #dc2626 100%);
    border-radius: 16px;
    transition: all var(--transition-normal);
    text-align: center;
    padding: 24px;
}

.view-all-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(239, 68, 68, 0.4);
}

.view-all-card-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
}

.view-all-card svg {
    stroke: var(--white);
}

.article-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all var(--transition-normal);
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.article-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-content {
    padding: 24px;
}

.article-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--gray-900);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-600);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

.article-meta-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article-author {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
}

.article-date {
    font-size: 13px;
    color: var(--gray-500);
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    transition: all var(--transition-fast);
    align-self: flex-end;
}

.read-more-link:hover {
    color: #dc2626;
    gap: 10px;
}

/* Featured Articles Responsive */
@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .featured-section {
        padding: 60px 0;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .section-title {
        font-size: 26px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .article-content {
        padding: 20px;
    }

    .article-title {
        font-size: 16px;
    }
}

/* =====================================================
   MAGAZINES SECTION
   ===================================================== */

.magazines-section {
    padding: 80px 0;
    background: var(--white);
}

.magazines-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.magazine-view-all {
    aspect-ratio: 3 / 4;
    min-height: auto;
}

.magazine-card {
    background: var(--gray-50);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.magazine-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.magazine-cover {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.magazine-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.magazine-card:hover .magazine-cover img {
    transform: scale(1.05);
}

.magazine-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
}

.magazine-info {
    padding: 20px;
    text-align: center;
}

.magazine-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.magazine-issue {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.magazine-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.magazine-download:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Magazines Responsive */
@media (max-width: 1024px) {
    .magazines-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .magazines-section {
        padding: 60px 0;
    }

    .magazines-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .magazine-info {
        padding: 16px;
    }

    .magazine-download {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .magazines-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 0 auto;
    }
}

/* =====================================================
   APPLICATION SECTION
   ===================================================== */

.application-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--primary-dark) 100%);
}

.application-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.application-info {
    color: var(--white);
}

.application-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.application-description {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 24px;
}

.application-benefits {
    list-style: none;
}

.application-benefits li {
    font-size: 15px;
    margin-bottom: 12px;
    opacity: 0.85;
}

.application-form {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    transition: all var(--transition-fast);
    font-family: var(--font-body);
}

.form-group select {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    transition: all var(--transition-fast);
    font-family: var(--font-body);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-color: var(--white);
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Custom Select Dropdown */
.custom-select-wrapper {
    position: relative;
}

.custom-select {
    position: relative;
}

.custom-select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    font-size: 15px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    background: var(--white);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.custom-select-trigger:hover {
    border-color: var(--gray-300);
}

.custom-select.open .custom-select-trigger {
    border-color: var(--gray-300);
    box-shadow: none;
}

.custom-select.open .custom-select-trigger svg {
    transform: rotate(180deg);
}

.custom-select-trigger svg {
    transition: transform var(--transition-fast);
    stroke: var(--gray-500);
}

.custom-select-value {
    color: var(--gray-600);
}

.custom-select-value.selected {
    color: var(--gray-900);
}

.custom-select-dropdown {
    position: absolute;
    top: 100%;
    left: -2px;
    right: -2px;
    background: var(--white);
    border: 2px solid var(--gray-300);
    border-top: 1px solid var(--gray-200);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    z-index: 100;
    display: none;
}

.custom-select.open .custom-select-trigger {
    border-radius: 10px 10px 0 0;
    border-bottom-color: var(--gray-200);
}

.custom-select.open .custom-select-dropdown {
    display: block;
}

.custom-select-options {
    list-style: none;
    max-height: 200px;
    overflow-y: auto;
    padding: 0;
}

.custom-select-options li {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--gray-700);
    cursor: pointer;
    transition: background var(--transition-fast);
    border-bottom: 1px solid var(--gray-100);
}

.custom-select-options li:last-child {
    border-bottom: none;
}

.custom-select-options li:hover {
    background: var(--gray-100);
}

.custom-select-options li.selected {
    background: #5ba4d9;
    color: var(--white);
    font-weight: 500;
}

/* Searchable Select / Custom Dropdown - Kayıt sayfasıyla aynı */
.searchable-select-wrapper {
    position: relative;
}

.searchable-select {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--gray-700);
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.searchable-select .select-text {
    flex: 1;
}

.searchable-select svg {
    flex-shrink: 0;
    margin-left: 10px;
    color: var(--gray-400);
    transition: transform var(--transition-fast);
}

.searchable-select:hover {
    border-color: var(--gray-400);
}

.searchable-select.active {
    border-color: #5B9BD5;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.searchable-select.active svg {
    transform: rotate(180deg);
}

.searchable-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid #5B9BD5;
    border-top: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    display: none;
    z-index: 100;
    max-height: 300px;
    overflow: hidden;
}

.searchable-dropdown.show {
    display: block;
}

.search-input-wrapper {
    padding: 8px;
    border-bottom: 1px solid var(--gray-200);
}

.search-input-wrapper input {
    width: 100%;
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--gray-800);
    background: #E8F4FC;
    border: none;
    border-radius: 6px;
    outline: none;
}

.search-input-wrapper input::placeholder {
    color: var(--gray-400);
}

.dropdown-options {
    max-height: 200px;
    overflow-y: auto;
}

.dropdown-option {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--gray-700);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dropdown-option:hover {
    background: var(--gray-100);
}

.dropdown-option.highlighted,
.dropdown-option.selected {
    background: #5B9BD5;
    color: var(--white);
}

.search-hint {
    padding: 10px 16px;
    font-size: 12px;
    color: #E65100;
    background: #FFF3E0;
    border-top: 1px solid var(--gray-200);
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--accent);
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.submit-btn:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

/* Application Responsive */
@media (max-width: 1024px) {
    .application-wrapper {
        gap: 40px;
    }

    .application-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .application-section {
        padding: 60px 0;
    }

    .application-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .application-title {
        font-size: 26px;
    }

    .application-form {
        padding: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* =============================================== */
/* FAQ SECTION */
/* =============================================== */
.faq-section {
    padding: 80px 0;
    background: var(--white);
}

.faq-header {
    text-align: center;
    margin-bottom: 48px;
}

.faq-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(239, 68, 68, 0.1);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.faq-title {
    font-family: var(--font-primary);
    font-size: 36px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.faq-subtitle {
    font-size: 18px;
    color: var(--gray-500);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--gray-50);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.faq-item.active {
    background: var(--white);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all var(--transition-fast);
}

.faq-question span {
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-800);
    flex: 1;
    padding-right: 16px;
}

.faq-question svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    stroke: var(--accent);
    transition: transform 0.4s ease-in-out;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 250px;
    opacity: 1;
}

.faq-answer p {
    padding: 0 28px 24px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--gray-600);
    transform: translateY(0);
}

/* FAQ Responsive */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }

    .faq-title {
        font-size: 28px;
    }

    .faq-question {
        padding: 20px 24px;
    }

    .faq-question span {
        font-size: 15px;
    }

    .faq-answer p {
        padding: 0 24px 20px;
        font-size: 14px;
    }
}

/* =============================================== */
/* EDITOR'S PICK SECTION */
/* =============================================== */
.editor-pick-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fef7f7 0%, #fff5f5 100%);
}

.editor-pick-wrapper {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 48px;
}

.editor-pick-header {
    margin-bottom: 32px;
}

.editor-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--accent);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 24px;
    margin-bottom: 16px;
}

.editor-badge svg {
    stroke: var(--white);
}

.editor-pick-title {
    font-family: var(--font-primary);
    font-size: 32px;
    font-weight: 700;
    color: var(--gray-900);
}

.featured-book {
    display: flex;
    gap: 32px;
    background: var(--white);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.book-cover {
    position: relative;
    width: 200px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.book-cover img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.book-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
}

.book-badge {
    padding: 6px 12px;
    background: var(--accent);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px;
}

.book-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.book-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    margin-bottom: 12px;
    width: fit-content;
}

.book-title {
    font-family: var(--font-primary);
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
    line-height: 1.3;
}

.book-author {
    font-size: 15px;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.book-description {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 16px;
    flex: 1;
}

.book-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.book-pages {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gray-500);
}

.book-pages svg {
    stroke: var(--gray-400);
}

.book-year {
    font-size: 13px;
    color: var(--gray-500);
}

.book-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: var(--accent);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    transition: all var(--transition-fast);
    width: fit-content;
}

.book-btn:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.category-picks {
    background: var(--white);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.category-picks-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 24px;
}

.category-pick-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.category-pick-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: 12px;
    transition: all var(--transition-fast);
}

.category-pick-item:hover {
    background: var(--gray-100);
    transform: translateX(4px);
}

.category-pick-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    flex-shrink: 0;
}

.category-pick-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pick-category {
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pick-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
}

.submit-research-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--accent) 0%, #dc2626 100%);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    transition: all var(--transition-fast);
}

.submit-research-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.35);
}

.submit-research-btn svg {
    stroke: var(--white);
}

/* Editor Pick Responsive */
@media (max-width: 1024px) {
    .editor-pick-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .editor-pick-section {
        padding: 60px 0;
    }

    .featured-book {
        flex-direction: column;
    }

    .book-cover {
        width: 100%;
    }

    .book-cover img {
        height: 220px;
    }

    .editor-pick-title {
        font-size: 26px;
    }
}

/* =============================================== */
/* ABOUT US SECTION */
/* =============================================== */
.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.about-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(239, 68, 68, 0.2);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.about-title {
    font-family: var(--font-primary);
    font-size: 42px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.about-description {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.about-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(239, 68, 68, 0.15);
    border-radius: 12px;
    flex-shrink: 0;
}

.about-feature-icon svg {
    stroke: var(--accent);
}

.about-feature-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.about-feature-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    transition: all var(--transition-normal);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.stat-number {
    display: block;
    font-family: var(--font-primary);
    font-size: 36px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* About Responsive */
@media (max-width: 1024px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-title {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 0;
    }

    .about-title {
        font-size: 28px;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-number {
        font-size: 28px;
    }
}

/* =====================================================
   RESPONSIVE STYLES
   ===================================================== */

/* Tablet */
@media (max-width: 1024px) {
    .nav-list {
        gap: 4px;
    }

    .nav-link {
        padding: 10px 12px;
        font-size: 14px;
    }

    .header-content {
        gap: 20px;
    }

    .subscribe-btn {
        padding: 10px 18px;
        font-size: 13px;
    }
}

/* Mobile */
@media (max-width: 768px) {

    /* Top Bar */
    .top-bar {
        height: 38px;
        padding: 6px 0;
        font-size: 12px;
    }

    .top-bar .container {
        justify-content: flex-end;
    }

    .top-bar-left {
        display: none;
    }

    .social-links {
        gap: 8px;
    }

    .social-links a {
        width: 26px;
        height: 26px;
    }

    .social-links a svg {
        width: 14px;
        height: 14px;
    }

    /* Main Header */
    .header-content {
        height: 70px;
    }

    .logo img {
        height: 40px;
    }

    /* Hide Desktop Navigation */
    .main-nav {
        display: none;
    }

    .subscribe-btn,
    .header-login-btn {
        display: none;
    }

    /* Show Mobile Toggle */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Search Overlay */
    .search-input {
        font-size: 16px;
        padding: 16px 56px 16px 20px;
    }

    .search-submit {
        width: 42px;
        height: 42px;
    }

    .search-close {
        top: 20px;
        right: 20px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .top-bar-divider {
        display: none;
    }

    .header-content {
        height: 60px;
    }

    .logo img {
        height: 35px;
    }

    .mobile-menu {
        width: 100%;
        max-width: 100%;
    }

    .demo-placeholder {
        padding: 60px 20px;
    }

    .demo-placeholder h1 {
        font-size: 28px;
    }

    .demo-placeholder p {
        font-size: 16px;
    }
}

/* =====================================================
   SCROLLED HEADER STATE - ikas style transform animation
   ===================================================== */

/* Top-bar slides up and fades */
.header.scrolled .top-bar {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

/* Main-header slides up to fill the gap */
.header.scrolled .main-header {
    transform: translateY(-44px);
    box-shadow: var(--shadow-md);
}

/* Mobile: top-bar is 38px */
@media (max-width: 768px) {
    .header.scrolled .main-header {
        transform: translateY(-38px);
    }
}

/* =====================================================
   UTILITY CLASSES
   ===================================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* =====================================================
   FOOTER STYLES
   ===================================================== */
.footer {
    background: #2D2D3A;
    color: var(--white);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-column h4 {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
}

.footer-column ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

/* Newsletter Column in Footer */
.footer-newsletter-column {
    min-width: 200px;
}

.newsletter-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
}

.newsletter-form-compact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.newsletter-form-compact input {
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: var(--white);
    font-size: 13px;
    outline: none;
    transition: all var(--transition-fast);
}

.newsletter-form-compact input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form-compact input:focus {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form-compact button {
    padding: 10px 16px;
    background: var(--accent);
    border: none;
    border-radius: 6px;
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.newsletter-form-compact button:hover {
    background: var(--accent-hover);
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* Footer Responsive */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand {
        max-width: 100%;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 0;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-column ul li a:hover {
        padding-left: 0;
    }
}

/* Newsletter Section - Compact */
.footer-newsletter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.newsletter-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 2px;
}

.newsletter-content p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form {
    flex: 0 0 auto;
    max-width: 320px;
}

.newsletter-input-wrapper {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all var(--transition-normal);
}

.newsletter-input-wrapper:focus-within {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-input-wrapper input {
    flex: 1;
    padding: 10px 14px;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 13px;
    outline: none;
    min-width: 140px;
}

.newsletter-input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-input-wrapper button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--blue-bright) 0%, var(--blue-light) 100%);
    border: none;
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.newsletter-input-wrapper button:hover {
    background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue-bright) 100%);
    transform: translateX(2px);
}

.newsletter-input-wrapper button svg {
    transition: transform var(--transition-fast);
}

.newsletter-input-wrapper button:hover svg {
    transform: translateX(4px);
}

/* Footer Bottom - Policy Links */
.footer-bottom {
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-policy-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-policy-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-fast);
}

.footer-policy-links a:hover {
    color: var(--white);
}

.footer-policy-links .separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
}

/* Footer Language Selector */
.footer-language-selector {
    position: relative;
}

.footer-language-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.footer-language-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--white);
}

.footer-language-btn svg:last-child {
    transition: transform var(--transition-fast);
}

.footer-language-selector.active .footer-language-btn svg:last-child {
    transform: rotate(180deg);
}

.footer-language-dropdown {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 140px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: var(--z-dropdown);
}

.footer-language-selector.active .footer-language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.footer-language-dropdown li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 13px;
    color: var(--gray-700);
    transition: all var(--transition-fast);
}

.footer-language-dropdown li a:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

.footer-language-dropdown li a.active {
    color: var(--accent);
    font-weight: 600;
}

/* Recent Posts List */
.recent-posts li a {
    display: block;
    font-size: 13px !important;
    line-height: 1.5;
}

/* Newsletter Responsive */
@media (max-width: 768px) {
    .footer-newsletter {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        max-width: 100%;
        width: 100%;
    }

    .newsletter-input-wrapper {
        flex-direction: column;
    }

    .newsletter-input-wrapper button {
        width: 100%;
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-policy-links {
        justify-content: center;
    }
}

/* Hide Google Translate Toolbar */
.goog-te-banner-frame,
.skiptranslate,
body>.skiptranslate,
.goog-tooltip,
.goog-tooltip:hover,
.goog-text-highlight {
    display: none !important;
}

body {
    top: 0 !important;
}

.goog-te-gadget {
    font-size: 0 !important;
}

.goog-te-gadget .goog-te-combo {
    font-size: 14px !important;
}

/* =====================================================
   MODERN TOAST NOTIFICATIONS
   ===================================================== */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-width: 380px;
    pointer-events: auto;
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast.show {
    transform: translateX(0);
}

.toast.toast-success {
    border-left: 4px solid #4CAF50;
}

.toast.toast-error {
    border-left: 4px solid #F44336;
}

.toast.toast-warning {
    border-left: 4px solid #FF9800;
}

.toast.toast-info {
    border-left: 4px solid #2196F3;
}

.toast-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-success .toast-icon {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.toast-error .toast-icon {
    background: rgba(244, 67, 54, 0.1);
    color: #F44336;
}

.toast-warning .toast-icon {
    background: rgba(255, 152, 0, 0.1);
    color: #FF9800;
}

.toast-info .toast-icon {
    background: rgba(33, 150, 243, 0.1);
    color: #2196F3;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.toast-message {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.5;
}

.toast-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}

.toast-close:hover {
    color: var(--gray-700);
}

/* =====================================================
   FORM ERROR FEEDBACK
   ===================================================== */
.input-error {
    /* Marker class. Visual styles are applied by selectors below. */
}

input.input-error,
textarea.input-error,
select.input-error,
.input-wrapper.input-error input,
.pw-toggle-wrap.input-error input,
.searchable-select.input-error,
.custom-select.input-error,
.dropdown-btn.input-error,
.agreement-item.input-error,
.agreement-checkbox.input-error,
.remember-me.input-error,
.radio-group.input-error,
.gender-options.input-error,
.form-options.input-error {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1) !important;
    animation: errorPulse 0.25s ease-out;
}

.error-msg {
    color: #ef4444;
    font-size: 12px;
    font-weight: 600;
    margin-top: 6px;
    margin-left: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: slideDownFade 0.3s ease-out;
}

.error-msg svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

@keyframes errorPulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.28); }
    100% { box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1); }
}

@keyframes slideDownFade {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   COOKIE CONSENT BANNER
   ===================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.1);
    z-index: 9998;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 280px;
}

.cookie-banner-text h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-banner-text h3 svg {
    color: #FF9800;
}

.cookie-banner-text p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.5;
}

.cookie-banner-text a {
    color: var(--accent);
    font-weight: 500;
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.cookie-btn-accept {
    background: var(--accent);
    color: var(--white);
    border: none;
}

.cookie-btn-accept:hover {
    background: var(--accent-hover);
}

.cookie-btn-settings {
    background: transparent;
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.cookie-btn-settings:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
}

@media (max-width: 768px) {

    /* Mobile top-bar - show it like desktop, smaller font */
    .top-bar {
        height: 38px;
        font-size: 12px;
    }

    /* Mobile header adjustments */
    .main-header {
        border-bottom: 1px solid var(--gray-100);
    }

    /* Fix header content height and padding on mobile */
    .header-content {
        height: 56px;
        padding: 8px 0;
    }

    /* Mobile logo size */
    .logo img {
        height: 36px;
    }

    .toast-container {
        top: auto;
        bottom: 100px;
        right: 16px;
        left: 16px;
    }

    .toast {
        max-width: 100%;
    }

    /* =====================================================
       MOBILE COOKIE BANNER - Floating with margins
       ===================================================== */
    .cookie-banner {
        bottom: 16px;
        left: 16px;
        right: 16px;
        border-radius: 16px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    }

    .cookie-banner-content {
        flex-direction: column;
        text-align: left;
        padding: 24px;
        gap: 20px;
    }

    .cookie-banner-text {
        min-width: auto;
    }

    .cookie-banner-text h3 {
        font-size: 17px;
        font-weight: 700;
        margin-bottom: 8px;
        justify-content: flex-start;
    }

    .cookie-banner-text h3 svg {
        display: none;
    }

    .cookie-banner-text p {
        font-size: 14px;
        line-height: 1.5;
    }

    .cookie-banner-actions {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .cookie-btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 15px;
        border-radius: 10px;
        text-align: center;
    }

    .cookie-btn-accept {
        order: 1;
        background: #2C3E50;
    }

    .cookie-btn-settings {
        order: 2;
        background: var(--white);
        border: 1px solid var(--gray-200);
    }

    /* Hide cookie banner when mobile menu or search is open */
    body.menu-open .cookie-banner {
        display: none !important;
    }

    /* =====================================================
       MOBILE MENU - Full Page (like reference)
       ===================================================== */
    .mobile-menu {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: var(--white) !important;
        z-index: 10000 !important;
        display: flex;
        flex-direction: column;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .mobile-menu.active {
        transform: translateX(0);
    }

    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 24px;
        background: var(--white);
        border-bottom: none;
    }

    .mobile-menu-header .logo img {
        height: 36px;
        filter: none;
    }

    .mobile-menu-close {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        color: var(--gray-800);
        cursor: pointer;
        font-size: 24px;
    }

    .mobile-nav {
        flex: 1;
        overflow-y: auto;
        padding: 0;
    }

    .mobile-nav-list {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .mobile-nav-item {
        border-bottom: 1px solid var(--gray-100);
    }

    .mobile-nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 24px;
        font-size: 17px;
        font-weight: 500;
        color: var(--gray-900) !important;
        text-decoration: none;
        transition: background 0.2s;
    }

    .mobile-nav-link:hover {
        background: var(--gray-50);
    }

    .mobile-nav-link svg {
        color: var(--gray-400);
        transition: transform 0.3s;
    }

    .mobile-nav-item.open .mobile-nav-link svg {
        transform: rotate(180deg);
    }

    .mobile-nav-item.active .mobile-nav-link {
        color: var(--accent) !important;
    }

    /* Mobile Submenu - Icon list style */
    .mobile-submenu {
        display: none;
        background: var(--gray-50);
        padding: 8px 0;
        list-style: none;
        margin: 0;
    }

    .mobile-nav-item.open .mobile-submenu {
        display: block;
    }

    .mobile-submenu li {
        display: flex;
        align-items: center;
    }

    .mobile-submenu a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 16px 24px 16px 32px;
        font-size: 15px;
        color: var(--gray-700) !important;
        text-decoration: none;
        transition: background 0.2s;
    }

    .mobile-submenu a:hover {
        background: var(--gray-100);
    }

    .mobile-submenu a::after {
        content: '›';
        font-size: 18px;
        color: var(--gray-400);
    }

    .mobile-menu-footer {
        padding: 24px;
        background: var(--white);
        border-top: 1px solid var(--gray-100);
    }

    .mobile-subscribe-btn {
        display: block;
        width: 100%;
        padding: 14px;
        background: var(--accent);
        color: var(--white);
        text-align: center;
        border-radius: 10px;
        font-weight: 600;
        font-size: 15px;
        margin-bottom: 16px;
    }

    .mobile-social-links {
        display: flex;
        justify-content: center;
        gap: 12px;
    }

    .mobile-social-links a {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--white);
        border: 1px solid var(--gray-200);
        border-radius: 50%;
        color: var(--gray-600);
    }

    /* Cookie Modal - Mobile FULL SCREEN */
    .cookie-modal {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        margin: 0;
        border-radius: 0;
        transform: translate(0, 0) scale(1);
    }

    .cookie-modal.active {
        transform: translate(0, 0) scale(1);
    }

    .cookie-modal-header {
        padding: 20px 24px;
    }

    .cookie-modal-body {
        padding: 20px 24px;
        flex: 1;
        overflow-y: auto;
    }

    .cookie-modal-footer {
        padding: 16px 24px;
        flex-direction: column;
        gap: 10px;
    }

    .cookie-modal-footer-left {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .cookie-modal-btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }
}

/* Cookie Banner Active State */
.cookie-banner.active {
    transform: translateY(0);
}

/* =====================================================
   COOKIE SETTINGS MODAL
   ===================================================== */
.cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cookie-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cookie-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid var(--gray-200);
}

.cookie-modal-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
}

.cookie-modal-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: var(--white);
    cursor: pointer;
    transition: all 0.2s;
}

.cookie-modal-close:hover {
    background: var(--gray-100);
    border-color: var(--gray-300);
}

.cookie-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px 28px;
}

.cookie-modal-intro {
    margin-bottom: 24px;
}

.cookie-modal-intro h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.cookie-modal-intro p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cookie-category-item {
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.cookie-category-item:hover {
    border-color: var(--gray-300);
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    background: var(--gray-50);
}

.cookie-category-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cookie-category-left svg {
    color: var(--gray-500);
    transition: transform 0.2s;
}

.cookie-category-item.open .cookie-category-left svg {
    transform: rotate(180deg);
}

.cookie-category-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
}

/* Toggle Switch - Modern Style with X icon */
.cookie-toggle {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-toggle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    width: 52px;
    height: 28px;
    background: var(--gray-300);
    border-radius: 28px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
}

.cookie-toggle-slider::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: var(--white);
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Unchecked - show X inside circle */
.cookie-toggle input:not(:checked)+.cookie-toggle-slider::after {
    content: '×';
    position: absolute;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-500);
}

/* Checked state - dark blue */
.cookie-toggle input:checked+.cookie-toggle-slider {
    background: #2C3E50;
}

.cookie-toggle input:checked+.cookie-toggle-slider::before {
    transform: translateX(24px);
}

/* Checked - show checkmark */
.cookie-toggle input:checked+.cookie-toggle-slider::after {
    content: '✓';
    position: absolute;
    left: 9px;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
}

/* Disabled state (for functional cookies - always on) */
.cookie-toggle input:disabled+.cookie-toggle-slider {
    background: #2C3E50;
    opacity: 0.8;
    cursor: not-allowed;
}

.cookie-toggle input:disabled+.cookie-toggle-slider::before {
    transform: translateX(24px);
}

.cookie-toggle input:disabled+.cookie-toggle-slider::after {
    content: '✓';
    position: absolute;
    left: 9px;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
}

/* External X indicator - hidden, using slider ::after instead */
.cookie-toggle-x {
    display: none;
}

.cookie-category-content {
    display: none;
    padding: 16px 20px;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
}

.cookie-category-item.open .cookie-category-content {
    display: block;
}

.cookie-category-content p {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.6;
}

.cookie-modal-footer {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 20px 28px;
    border-top: 1px solid var(--gray-200);
    gap: 12px;
}

.cookie-modal-footer-left {
    display: flex;
    gap: 12px;
    flex: 1;
}

.cookie-modal-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.cookie-modal-btn-primary {
    background: #2C3E50;
    color: var(--white);
    border: none;
}

.cookie-modal-btn-primary:hover {
    background: #1a252f;
}

.cookie-modal-btn-secondary {
    background: transparent;
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.cookie-modal-btn-secondary:hover {
    background: var(--gray-100);
}

.cookie-modal-btn-outline {
    background: transparent;
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.cookie-modal-btn-outline:hover {
    background: var(--gray-100);
}

@media (max-width: 600px) {
    .cookie-modal {
        width: 95%;
        max-height: 90vh;
    }

    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 16px 20px;
    }

    .cookie-modal-footer {
        flex-direction: column;
    }

    .cookie-modal-footer-left {
        width: 100%;
        flex-direction: column;
    }

    .cookie-modal-btn {
        width: 100%;
        text-align: center;
    }
}

/* =====================================================
   CONTACT/BIZE ULASIN SECTION (Policy Pages)
   ===================================================== */
.contact-section {
    background: linear-gradient(135deg, #E8EEF8 0%, #F0E8F8 100%);
    padding: 60px 0;
    margin-top: 60px;
}

.contact-section .container {
    max-width: 800px;
    text-align: center;
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: #6366F1;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.contact-section h2 {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 30px;
    line-height: 1.3;
}

.contact-email-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #4F46E5;
    color: var(--white);
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.contact-email-btn:hover {
    background: #4338CA;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.contact-email-btn svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .contact-section {
        padding: 40px 0;
        margin-top: 40px;
    }

    .contact-section h2 {
        font-size: 28px;
    }

    .contact-email-btn {
        padding: 14px 28px;
        font-size: 15px;
    }
}
