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

:root {
    /* Color Palette */
    --primary: hsl(194, 76%, 22%);      /* Corporate Petrol/Teal */
    --primary-light: hsl(194, 70%, 30%);
    --primary-dark: hsl(194, 85%, 15%);
    --secondary: hsl(43, 65%, 55%);     /* Champagne Gold */
    --secondary-dark: hsl(43, 65%, 45%);
    --secondary-light: hsl(43, 65%, 65%);
    --secondary-rgb: 212, 175, 55;
    
    --text-dark: hsl(194, 40%, 12%);
    --text-muted: hsl(194, 15%, 45%);
    --text-white: #ffffff;
    --text-heading: hsl(194, 70%, 10%);
    
    --bg-light: hsl(194, 20%, 98%);
    --bg-white: #ffffff;
    --bg-dark: hsl(194, 60%, 8%);
    
    --border-color: hsl(194, 15%, 90%);
    
    /* Layout & Spacing */
    --container-width: 1200px;
    --header-height: 80px;
    --topbar-height: 40px;
    
    /* Design Tokens */
    --shadow-sm: 0 2px 8px rgba(15, 43, 70, 0.04);
    --shadow-md: 0 8px 24px rgba(15, 43, 70, 0.08);
    --shadow-lg: 0 16px 40px rgba(15, 43, 70, 0.12);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    --header-bg: rgba(255, 255, 255, 0.95);
    --header-link-color: var(--primary);
    --logo-rekor-color: var(--primary);
}

[data-theme="dark"] {
    --primary: hsl(194, 55%, 32%);
    --primary-light: hsl(194, 50%, 42%);
    --primary-dark: hsl(194, 60%, 18%);
    
    --secondary: hsl(43, 65%, 55%);
    --secondary-dark: hsl(43, 65%, 45%);
    --secondary-light: hsl(43, 65%, 65%);
    --secondary-rgb: 212, 175, 55;
    
    --text-dark: hsl(194, 10%, 92%);
    --text-muted: hsl(194, 10%, 70%);
    --text-heading: hsl(194, 10%, 95%);
    
    --bg-light: hsl(194, 25%, 10%);
    --bg-white: hsl(194, 30%, 14%);
    
    --header-bg: rgba(25, 39, 47, 0.95);
    --header-link-color: var(--text-dark);
    --logo-rekor-color: var(--text-white);
    
    --border-color: hsl(194, 15%, 22%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-heading);
}

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

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

/* Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

.text-center {
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--secondary-rgb), 0.3);
}

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

[data-theme="dark"] .btn-outline {
    border-color: var(--secondary);
    color: var(--secondary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--text-white);
    transform: translateY(-2px);
}

[data-theme="dark"] .btn-outline:hover {
    background-color: var(--secondary);
    color: var(--text-white);
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 16px;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 50px;
}

/* Topbar Header */
.topbar {
    background: linear-gradient(to right, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--text-white);
    height: var(--topbar-height);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-info {
    display: flex;
    gap: 24px;
}

.topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    transition: var(--transition-fast);
}

.topbar-link:hover {
    color: var(--secondary);
    transform: translateY(-1px);
}

.topbar-socials {
    display: flex;
    gap: 10px;
}

.topbar-social-link {
    color: rgba(255, 255, 255, 0.85);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.08);
    transition: var(--transition-fast);
}

.topbar-social-link:hover {
    background-color: var(--secondary);
    color: var(--text-white);
    transform: translateY(-2px) scale(1.05);
}

.header-nav {
    background-color: var(--header-bg);
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

.header-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.95rem;
    letter-spacing: -0.5px;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-fast);
}

.logo-text .brand-rekor {
    color: var(--logo-rekor-color, var(--primary));
}

.logo-text .brand-elektrik {
    color: var(--secondary);
    margin-left: 2px;
}

.logo-text:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-menu a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
    color: var(--header-link-color, var(--primary));
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition-normal);
}

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

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: calc(100vh - var(--header-height) - var(--topbar-height));
    min-height: 480px;
    overflow: hidden;
    background-color: var(--primary-dark);
}

.slides-container {
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity var(--transition-slow);
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

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

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 43, 70, 0.85) 0%, rgba(15, 43, 70, 0.4) 100%);
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    color: var(--text-white);
    max-width: 700px;
    padding: 24px;
}

.slide-content h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-slow) 0.2s;
}

.slide-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-slow) 0.4s;
}

.slide-content .btn {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-slow) 0.6s;
}

.slide.active .slide-content h2,
.slide.active .slide-content p,
.slide.active .slide-content .btn {
    opacity: 1;
    transform: translateY(0);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
}

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

.slider-btn.prev {
    left: 24px;
}

.slider-btn.next {
    right: 24px;
}

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

.dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-normal);
}

.dot.active {
    background-color: var(--secondary);
    width: 28px;
}

/* Info Cards Section */
.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: -60px;
    position: relative;
    z-index: 20;
}

.info-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 20px;
    transition: var(--transition-normal);
    border-top: 4px solid var(--primary);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-card:nth-child(2) {
    border-top-color: var(--secondary);
}

.info-card-icon {
    font-size: 2rem;
    color: var(--secondary);
    display: flex;
    align-items: flex-start;
}

.info-card-content h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.info-card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Welcome Section */
.welcome-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 80px;
    align-items: start;
}

.welcome-text h2 {
    font-size: 2.2rem;
    margin-bottom: 24px;
}

.welcome-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.welcome-image-wrapper {
    position: relative;
}

.welcome-image {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--bg-white);
    z-index: 2;
    position: relative;
}

.welcome-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-left: 5px solid var(--secondary);
    border-top: 5px solid var(--secondary);
    z-index: 1;
}

/* Product Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.category-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background-color: var(--card-accent, var(--secondary));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover::after {
    width: 100%;
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: var(--card-accent, var(--secondary));
    box-shadow: 0 20px 35px rgba(15, 43, 70, 0.05), 0 10px 20px var(--card-accent-alpha, rgba(var(--secondary-rgb), 0.1));
}

.category-icon {
    width: 60px;
    height: 60px;
    background-color: var(--card-accent-alpha, rgba(var(--secondary-rgb), 0.08));
    color: var(--card-accent, var(--secondary));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px var(--card-accent-alpha, rgba(var(--secondary-rgb), 0.08));
    transition: background-color 0.4s ease, color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.category-card:hover .category-icon {
    background-color: var(--card-accent);
    color: var(--text-white);
    transform: scale(1.05);
    box-shadow: 0 8px 20px var(--card-accent-alpha, rgba(var(--secondary-rgb), 0.3));
}

.category-icon svg {
    width: 30px;
    height: 30px;
}

.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    transition: color 0.3s ease;
}

.category-card:hover h3 {
    color: var(--card-accent, var(--primary));
}

.category-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.category-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.category-link svg {
    transition: transform 0.3s ease;
}

.category-card:hover .category-link {
    color: var(--card-accent, var(--secondary));
}

.category-card:hover .category-link svg {
    transform: translateX(6px);
}

/* Brand Slider (Marquee) */
.brand-section {
    background-color: var(--bg-white);
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.brand-slider-wrapper {
    display: flex;
    overflow: hidden;
    user-select: none;
    position: relative;
    width: 100%;
}

.brand-slider-track {
    display: flex;
    gap: 50px;
    animation: scroll 35s linear infinite;
    width: max-content;
    align-items: center;
}

.brand-logo-item {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-light);
    opacity: 0.6;
    transition: var(--transition-fast);
    padding: 10px 24px;
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.brand-logo-item:hover {
    opacity: 1;
    color: var(--secondary);
    border-color: var(--secondary);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 25px)); } /* Loop at half-track width */
}

/* Page Header Banner */
.page-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: var(--text-white);
    padding: 60px 0;
    position: relative;
}

.page-banner h1 {
    color: var(--text-white);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.breadcrumbs {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    gap: 8px;
    list-style: none;
}

.breadcrumbs a:hover {
    color: var(--secondary);
}

/* Hakkımızda Page Details */
.about-details-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    margin-bottom: 80px;
}

.about-text h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.value-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--secondary);
}

.value-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Products overview filter */
.products-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--secondary);
    color: var(--text-white);
    border-color: var(--secondary);
}

/* Category Details Layout */
.category-detail-layout {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 50px;
}

.category-sidebar {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    height: fit-content;
}

.category-sidebar-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.sidebar-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-menu a {
    display: block;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.sidebar-menu a:hover,
.sidebar-menu li.active a {
    background-color: var(--bg-light);
    color: var(--secondary);
    border-left-color: var(--secondary);
    padding-left: 20px;
    font-weight: 600;
}

.category-main-content h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    border-left: 4px solid var(--secondary);
    padding-left: 15px;
}

.category-main-content .category-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.subproducts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.subproduct-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition-normal);
}

.subproduct-card:hover {
    border-color: var(--secondary);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-md);
}

.subproduct-bullet {
    width: 10px;
    height: 10px;
    background-color: var(--secondary);
    border-radius: var(--radius-full);
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.subproduct-card:hover .subproduct-bullet {
    transform: scale(1.4);
    background-color: var(--primary);
}

.subproduct-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
}

/* Contact Page Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
}

.contact-cards-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 20px;
    transition: var(--transition-normal);
}

.contact-info-card:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.contact-info-card-icon {
    width: 52px;
    height: 52px;
    background-color: rgba(var(--secondary-rgb), 0.08);
    color: var(--secondary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.contact-info-card-icon svg {
    width: 24 height: 24;
}

.contact-info-card:hover .contact-info-card-icon {
    background-color: var(--secondary);
    color: var(--text-white);
}

.contact-info-card-content h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 6px;
    color: var(--primary);
}

.contact-info-card-content p, 
.contact-info-card-content a {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.contact-info-card-content a:hover {
    color: var(--secondary);
}

.contact-form-container {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form-container h3 {
    font-size: 1.6rem;
    margin-bottom: 24px;
}

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

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

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(var(--secondary-rgb), 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.captcha-container {
    display: flex;
    gap: 16px;
    align-items: center;
}

.captcha-label {
    background-color: var(--bg-light);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    border: 1px solid var(--border-color);
    white-space: nowrap;
}

.captcha-input {
    flex: 1;
    width: auto;
}

.alert {
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background-color: hsl(120, 40%, 93%);
    color: hsl(120, 60%, 25%);
    border: 1px solid hsl(120, 40%, 85%);
}

.alert-danger {
    background-color: hsl(0, 75%, 95%);
    color: hsl(0, 60%, 30%);
    border: 1px solid hsl(0, 70%, 90%);
}

.map-container {
    margin-top: 60px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.map-container iframe {
    display: block;
    border: none;
}

/* Footer Section */
.footer {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 30px;
    border-top: 4px solid var(--secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: var(--text-white);
    font-size: 1.3rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary);
    border-radius: var(--radius-full);
}

.footer-col p {
    font-size: 0.95rem;
    margin-bottom: 16px;
}

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

.footer-links a {
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 6px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    font-size: 0.95rem;
}

.footer-contact-item svg {
    color: var(--secondary);
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
    color: var(--secondary);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .welcome-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-details-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .category-detail-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .topbar {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-white);
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        gap: 30px;
        transition: var(--transition-slow);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
        margin-top: -30px;
    }
    
    .slide-content h2 {
        font-size: 2.2rem;
    }
    
    .slide-content p {
        font-size: 1.1rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .subproducts-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Why Choose Us Section */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.why-us-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 30px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}
.why-us-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-md);
}
.why-us-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: rgba(var(--secondary-rgb), 0.08);
    color: var(--secondary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: background-color 0.4s ease, color 0.4s ease;
}
.why-us-icon-wrapper svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transition: transform 0.4s ease;
}
.why-us-card:hover .why-us-icon-wrapper {
    background-color: var(--secondary);
    color: var(--text-white);
}
.why-us-card:hover .why-us-icon-wrapper svg {
    transform: scale(1.1) rotate(5deg);
}
.why-us-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--primary);
}
.why-us-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* References / Completed Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.project-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}
.project-img {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    overflow: hidden;
}
.project-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
    transition: transform 0.4s ease, opacity 0.4s ease;
}
.project-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 43, 70, 0.15);
    z-index: 1;
}
.project-img-inner {
    position: relative;
    z-index: 2;
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(4px);
    transition: var(--transition-normal);
}
.project-img-inner svg {
    width: 36px;
    height: 36px;
    stroke: var(--text-white);
    fill: none;
    stroke-width: 1.5;
    transition: var(--transition-normal);
}
.project-card:hover .project-img-inner {
    background-color: var(--secondary);
    border-color: var(--secondary);
    box-shadow: 0 10px 24px rgba(var(--secondary-rgb), 0.4);
    transform: scale(1.08) rotate(5deg);
}
.project-card:hover .project-img::before {
    transform: scale(1.1);
    opacity: 0.15;
}
.project-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--secondary);
    color: var(--text-white);
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    z-index: 3;
    font-family: 'Montserrat', sans-serif;
}
.project-info {
    padding: 24px;
}
.project-info h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--primary);
}
.project-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Timeline (Hakkımızda Page) */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
    padding: 20px 0;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: var(--border-color);
    transform: translateX(-50%);
}
.timeline-item {
    margin-bottom: 40px;
    position: relative;
    width: 50%;
    padding: 0 40px;
}
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--bg-white);
    border: 4px solid var(--secondary);
    border-radius: var(--radius-full);
    top: 15px;
    z-index: 2;
    transition: var(--transition-normal);
}
.timeline-item.left {
    left: 0;
}
.timeline-item.right {
    left: 50%;
}
.timeline-item.right::after {
    left: -10px;
}
.timeline-content {
    background-color: var(--bg-white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}
.timeline-item:hover .timeline-content {
    border-color: var(--secondary);
    box-shadow: var(--shadow-md);
}
.timeline-item:hover::after {
    background-color: var(--secondary);
}
.timeline-year {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: var(--secondary);
    font-size: 1.3rem;
    margin-bottom: 8px;
}
.timeline-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Timeline responsive */
@media (max-width: 768px) {
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .timeline::before {
        left: 31px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .timeline-item.left, 
    .timeline-item.right {
        left: 0;
    }
    .timeline-item::after, 
    .timeline-item.right::after {
        left: 21px;
    }
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.reveal-fade {
    transform: translateY(20px);
}
.reveal.reveal-slide-left {
    transform: translateX(-40px);
}
.reveal.reveal-slide-right {
    transform: translateX(40px);
}
.reveal.active {
    opacity: 1;
    transform: translate(0) !important;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 30%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Elegant card hover borders & glow effect */
.category-card, .why-us-card, .project-card, .value-card, .subproduct-card {
    position: relative;
    overflow: hidden;
}
.category-card::before, .why-us-card::before, .project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle 80px at var(--mouse-x, 0) var(--mouse-y, 0), rgba(var(--secondary-rgb), 0.08), transparent 80%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.category-card:hover::before, .why-us-card:hover::before, .project-card:hover::before {
    opacity: 1;
}

/* Smooth Fade out marquee edges */
.brand-slider-wrapper::before, .brand-slider-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}
.brand-slider-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-white) 0%, transparent 100%);
}
.brand-slider-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-white) 0%, transparent 100%);
}

/* Statistics Counter Section on Homepage */
.stats-section {
    background-color: var(--primary-dark);
    color: var(--text-white);
    padding: 60px 0;
    border-bottom: 4px solid var(--secondary);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.stat-item h3 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
}
.stat-item p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* Card Beautification & Animations */
.category-card, .why-us-card, .project-card, .value-card, .subproduct-card, .contact-info-card, .contact-form-container {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.4s ease, 
                border-color 0.4s ease;
    border: 1px solid var(--border-color);
}

.why-us-card:hover, .project-card:hover, .value-card:hover, .subproduct-card:hover, .contact-info-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 35px rgba(15, 43, 70, 0.08), 0 10px 20px rgba(var(--secondary-rgb), 0.12);
    border-color: var(--secondary);
}

.category-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 35px rgba(15, 43, 70, 0.08), 0 10px 20px var(--card-accent-alpha, rgba(var(--secondary-rgb), 0.15));
    border-color: var(--card-accent, var(--secondary));
}

/* Category Card Icon Spin/Tilt on Hover */
.category-card:hover .category-icon {
    background-color: var(--card-accent);
    color: var(--text-white);
}

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

.category-icon svg {
    transition: transform 0.4s ease, color 0.4s ease;
}

/* Subproduct Card Hover Bullets */
.subproduct-card:hover .subproduct-bullet {
    background-color: var(--primary);
    transform: scale(1.3);
}

.subproduct-bullet {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Timeline card slide animations */
.timeline-item .timeline-content {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.4s ease, 
                border-color 0.4s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 30px rgba(var(--secondary-rgb), 0.15);
    border-color: var(--secondary);
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(to right, var(--secondary) 0%, var(--secondary-light) 100%);
    z-index: 9999;
    width: 0%;
    transition: width 0.1s ease;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: -60px;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background-color: var(--primary);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                background-color 0.3s ease, 
                transform 0.3s ease;
    border: 1px solid var(--border-color);
}
.back-to-top.show {
    right: 30px;
}
.back-to-top:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dark);
    transition: var(--transition-fast);
    padding: 0;
}
.theme-toggle-btn:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    background-color: var(--bg-light);
}
.theme-toggle-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

/* Products Search & Filtering Bar */
.search-container {
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}
.search-input-wrapper {
    display: flex;
    align-items: center;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 6px 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}
.search-input-wrapper:focus-within {
    border-color: var(--secondary);
    box-shadow: 0 10px 20px rgba(var(--secondary-rgb), 0.1);
}
.search-input {
    width: 100%;
    border: none;
    background: none;
    outline: none;
    font-size: 1rem;
    color: var(--text-dark);
    padding: 8px 0;
}
.search-icon {
    color: var(--text-muted);
    margin-right: 12px;
}

.welcome-mv-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--shadow-md);
    background-color: var(--bg-white) !important;
}

/* Category Card Product Preview Bullets */
.card-product-bullets {
    list-style: none;
    margin: 20px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px dashed var(--border-color);
    padding-top: 20px;
}

.card-product-bullets li {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-product-bullets li svg {
    color: var(--secondary);
    flex-shrink: 0;
}
