/* style.css - Premium Design System for ETS Makine */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    --font-primary: 'Outfit', sans-serif;
}

/* Theme variables - DEFAULT IS LIGHT mode as requested */
[data-theme="light"] {
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --surface: rgba(255, 255, 255, 0.85);
    --surface-hover: rgba(255, 255, 255, 0.98);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --primary: #d97706; /* Golden Amber - Industrial vibe */
    --primary-hover: #b45309;
    --accent: #b45309;
    --border: rgba(15, 23, 42, 0.08);
    --border-hover: rgba(217, 119, 6, 0.4);
    --shadow: rgba(15, 23, 42, 0.05);
    --glow: rgba(217, 119, 6, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(15, 23, 42, 0.06);
    --hero-overlay: linear-gradient(to right, rgba(248, 250, 252, 0.95) 45%, rgba(248, 250, 252, 0.3) 100%);
    --card-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    --modal-bg: #ffffff;
}

[data-theme="dark"] {
    --bg-primary: #090d16;
    --bg-secondary: #0f1622;
    --surface: rgba(19, 29, 45, 0.7);
    --surface-hover: rgba(28, 42, 64, 0.9);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --primary: #f59e0b; /* Bright Amber for dark mode readability */
    --primary-hover: #d97706;
    --accent: #ef4444;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(245, 158, 11, 0.4);
    --shadow: rgba(0, 0, 0, 0.5);
    --glow: rgba(245, 158, 11, 0.15);
    --glass-bg: rgba(9, 13, 22, 0.85);
    --glass-border: rgba(255, 255, 255, 0.05);
    --hero-overlay: linear-gradient(to right, rgba(9, 13, 22, 0.95) 45%, rgba(9, 13, 22, 0.3) 100%);
    --card-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    --modal-bg: #0f1622;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.3s ease;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
    border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Common Layout Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 12px;
    display: inline-block;
    position: relative;
}

.section-tag::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--primary);
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.glow-text {
    text-shadow: 0 0 15px var(--glow);
}

/* Premium Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-bounce);
    border: 1px solid transparent;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #ffffff;
    box-shadow: 0 4px 15px var(--glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(217, 119, 6, 0.05);
    color: var(--primary);
    transform: translateY(-3px);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

/* Top Info Bar styling */
.top-bar {
    height: 40px;
    background: #0f172a;
    color: #94a3b8;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

[data-theme="light"] .top-bar {
    background: #f8fafc;
    color: #475569;
    border-bottom: 1px solid rgba(15,23,42,0.06);
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.top-bar-left {
    display: flex;
    align-items: center;
}

.top-bar-left a:hover {
    color: var(--primary);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar-right a {
    color: inherit;
    font-size: 0.9rem;
}

.top-bar-right a:hover {
    color: var(--primary);
}

.header.scrolled .top-bar {
    margin-top: -40px;
    opacity: 0;
    pointer-events: none;
}

.header.scrolled {
    padding: 5px 0;
    box-shadow: 0 10px 30px var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.logo img {
    height: 55px;
    width: auto;
    transition: var(--transition-smooth);
}

.header.scrolled .logo img {
    height: 45px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 5px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-smooth);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Language and Theme Toggles */
.toggle-btn {
    background: var(--surface);
    border: 1px solid var(--border);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.toggle-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 15px var(--glow);
    transform: scale(1.05);
}

.lang-switch {
    display: flex;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 2px;
    overflow: hidden;
}

.lang-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lang-btn.active {
    background: var(--primary);
    color: #ffffff;
}

.mobile-nav-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    background: transparent;
    border: none;
    cursor: pointer;
}

/* Hero Section with slideshow Carousel banner */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    overflow: hidden;
    padding-top: 0;
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--hero-overlay);
    z-index: 2;
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-content {
    max-width: 650px;
    animation: fadeInUp 0.8s ease forwards;
}

.slider-badge-tag {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 15px;
    display: inline-block;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 35px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* Hero Slider controls */
.hero-arrows-container {
    position: absolute;
    bottom: 50px;
    right: 5%;
    display: flex;
    gap: 15px;
    z-index: 10;
}

.hero-arrow {
    width: 50px;
    height: 50px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 700;
    transition: var(--transition-smooth);
    box-shadow: var(--card-shadow);
}

.hero-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--glow);
}

.hero-dots-container {
    position: absolute;
    bottom: 65px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.hero-dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 6px;
}

/* Stats Section */
.stats {
    position: relative;
    z-index: 3;
    margin-top: -80px;
    padding: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--border);
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 10px;
    font-family: var(--font-primary);
}

.stat-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.about-img-wrapper {
    position: relative;
}

.about-img-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border);
}

.about-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    padding: 24px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    text-align: center;
    max-width: 180px;
}

.about-badge-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.about-badge-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 1.05rem;
}

/* Services (Capabilities) Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 30px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--card-shadow), 0 0 15px var(--glow);
}

.service-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(217, 119, 6, 0.08);
    border: 1px solid rgba(217, 119, 6, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 25px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-box {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.1);
}

.service-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Machinery Park Section */
.machinery-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 30px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-secondary);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 15px var(--glow);
}

.table-wrapper {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.machinery-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.machinery-table th {
    background: var(--bg-secondary);
    padding: 20px 24px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.machinery-table td {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.machinery-table tr:last-child td {
    border-bottom: none;
}

.machinery-table tr {
    transition: var(--transition-smooth);
}

.machinery-table tr:hover {
    background: rgba(217, 119, 6, 0.02);
}

.mac-type {
    font-weight: 700;
    color: var(--primary);
}

/* Quality Control Section */
.quality {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.quality-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
}

.quality-badge-list {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.quality-badge-item {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
}

/* Portfolio Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary);
    box-shadow: var(--card-shadow), 0 0 15px var(--glow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-cat {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 5px;
}

.gallery-item-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
}

/* Blog Slider / Carousel Styles */
.blog-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.blog-slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 30px;
    width: 100%;
}

.blog-card {
    flex: 0 0 calc(33.333% - 20px);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 480px;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--card-shadow), 0 0 15px var(--glow);
}

.blog-img-box {
    position: relative;
    height: 220px;
    width: 100%;
    overflow: hidden;
}

.blog-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.blog-card:hover .blog-img-box img {
    transform: scale(1.06);
}

.video-overlay-btn {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    transition: var(--transition-smooth);
}

.blog-card:hover .video-overlay-btn {
    opacity: 1;
    background: rgba(0, 0, 0, 0.4);
}

.play-icon-circle {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(217, 119, 6, 0.4);
    transition: var(--transition-bounce);
}

.blog-card:hover .play-icon-circle {
    transform: scale(1.15);
}

.blog-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
    gap: 5px;
}

.blog-card-footer svg {
    transition: var(--transition-smooth);
}

.blog-card:hover .blog-card-footer svg {
    transform: translateX(5px);
}

/* Slider Navigation Controls */
.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--card-shadow);
}

.slider-arrow:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--glow);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 10px;
}

/* General Modal Overlay System */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(8, 12, 20, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 20px;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--modal-bg);
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.active .modal-content {
    transform: scale(1);
}

/* Video Pop-up Modal System */
.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(8, 12, 20, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: opacity 0.4s ease;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    background: var(--modal-bg);
    border: 1px solid var(--border);
    width: 100%;
    max-width: 800px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-player-container {
    position: relative;
    padding-top: 56.25%;
    width: 100%;
    background: #000;
}

.video-player-container video, .video-player-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-modal-header {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.video-modal-title {
    font-size: 1.2rem;
    font-weight: 700;
}

.video-modal-close {
    background: var(--bg-secondary);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    font-weight: 800;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.video-modal-close:hover {
    background: var(--accent);
    color: #ffffff;
    transform: scale(1.05);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    height: 100%;
}

.contact-details {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 50px;
    height: 50px;
    background: rgba(217, 119, 6, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-detail-content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact-detail-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 20px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--glow);
    outline: none;
}

textarea.form-input {
    resize: none;
    min-height: 120px;
}

.form-status {
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: none;
    font-weight: 500;
}

.form-status.success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgb(16, 185, 129);
    color: #10b981;
    display: block;
}

.form-status.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgb(239, 68, 68);
    color: #ef4444;
    display: block;
}

/* Map Section */
.map-section {
    padding: 0;
    height: 450px;
    position: relative;
    border-top: 1px solid var(--border);
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: none;
}

[data-theme="dark"] .map-section iframe {
    filter: grayscale(0.8) invert(0.9) contrast(1.2);
}

.map-overlay-card {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 100;
    background: var(--surface);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    max-width: 300px;
}

@media (max-width: 768px) {
    .map-section {
        height: auto;
        display: flex;
        flex-direction: column-reverse;
    }
    .map-section iframe {
        height: 350px !important;
    }
    .map-overlay-card {
        position: relative;
        top: auto;
        left: auto;
        margin: 20px 15px;
        max-width: calc(100% - 30px);
        box-shadow: none;
        backdrop-filter: none;
    }
}

/* Footer Section */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.footer-about h3 {
    color: var(--text-primary);
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.footer-about h3 span {
    color: var(--primary);
}

.footer-about p {
    margin-bottom: 25px;
    font-weight: 300;
}

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

.social-btn {
    width: 40px;
    height: 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    color: var(--text-primary);
}

.social-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 0 15px var(--glow);
}

.footer-links h4, .footer-contact h4 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.85rem;
}

.admin-link {
    font-size: 0.85rem;
    font-weight: 600;
}

.admin-link:hover {
    color: var(--primary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

.icon-svg {
    width: 1em;
    height: 1em;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* Responsive Queries */
@media (max-width: 1200px) {
    .blog-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .about-grid, .contact-grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .stats-grid {
        padding: 30px;
    }
    .about-badge {
        bottom: -15px;
        right: -15px;
    }
    .quality-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 40px 0;
        gap: 25px;
        transition: var(--transition-smooth);
        z-index: 999;
        border-top: 1px solid var(--border);
    }
    .nav-menu.active {
        left: 0;
    }
    .mobile-nav-toggle {
        display: block;
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .stat-item:not(:last-child)::after {
        display: none;
    }
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .blog-card {
        flex: 0 0 100%;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1999;
    transition: var(--transition-bounce);
}

.whatsapp-float.right {
    bottom: 40px;
    right: 40px;
}

.whatsapp-float.left {
    bottom: 40px;
    left: 40px;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -6px;
    border: 2px solid #25D366;
    border-radius: 50%;
    opacity: 0.4;
    animation: whatsapp-pulse 1.8s infinite;
}

.wa-svg {
    transition: var(--transition-bounce);
}

.whatsapp-float:hover .wa-svg {
    transform: scale(1.08);
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.25);
        opacity: 0;
    }
}

/* KVKK Cookie Consent Banner styling */
.kvkk-banner {
    position: fixed;
    bottom: -200px;
    left: 40px;
    right: 40px;
    background: var(--surface);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    pointer-events: none;
}

.kvkk-banner.show {
    bottom: 40px;
    opacity: 1;
    pointer-events: auto;
}

.kvkk-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.kvkk-content {
    flex-grow: 1;
}

@media (max-width: 768px) {
    .kvkk-banner {
        left: 20px;
        right: 20px;
        padding: 20px;
    }
    .kvkk-banner.show {
        bottom: 20px;
    }
    .kvkk-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .kvkk-actions {
        width: 100%;
        margin-left: 0 !important;
    }
    .kvkk-actions button {
        width: 100%;
        justify-content: center;
    }
}
