:root {
    /* Jennings Anodes Theme */
    --primary-color: #192A3D;
    /* Navy Blue */
    --secondary-color: #BB4A28;
    /* Terracotta / Warm Orange */
    --accent-color: #254159;
    /* Steel Blue for headings */
    --bg-body: #F8F9FA;
    --text-body: #6A7281;
    --bg-dark: #F8F9FA;
    --bg-secondary: #ffffff;
    /* Light gray for sections (matches top-bar) */
    --bg-card: #ffffff;
    --border-color: #e0e0e0;
    --font-main: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
    --primary-rgb: 25, 42, 61;
}

[data-theme="dark"] {
    --text-body: #94A3B8;
    --primary-color: #E2E8F0;
    --bg-body: #0F172A;
    --bg-dark: #0F172A;
    --bg-secondary: #0F172A;
    --bg-card: #1E293B;
    --border-color: #334155;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-body, var(--bg-dark));
    color: var(--text-body, var(--text-color));
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

a {
    text-decoration: none;
    color: var(--link-color, inherit);
    transition: var(--transition);
}

a:hover {
    color: var(--link-hover-color, var(--hover-secondary, var(--secondary-color)));
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--section-title-color, var(--accent-color));
    /* Headings get the specialized section title color or steel blue */
    margin-bottom: 1rem;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
    color: var(--section-title-color, #fff);
}

.c-btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.c-btn-primary {
    background: var(--btn-primary-bg, var(--btn-bg, var(--secondary-color)));
    color: var(--btn-primary-text, var(--btn-text, white));
}

.c-btn-primary:hover {
    background: var(--btn-primary-hover-bg, var(--btn-hover-bg, #a33e20));
    color: var(--btn-primary-hover-text, var(--btn-hover-text, var(--btn-text, white)));
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.c-btn-secondary {
    background: var(--btn-secondary-bg, var(--primary-color));
    color: var(--btn-secondary-text, white);
}

.c-btn-secondary:hover {
    background: var(--btn-secondary-hover-bg, var(--accent-color));
    color: var(--btn-secondary-hover-text, white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Header */
.top-bar {
    background: var(--bg-topbar, #e9ecef);
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-topbar, var(--primary-color));
}

[data-theme="dark"] .top-bar {
    background: var(--bg-topbar, #02060b);
    color: var(--text-topbar, var(--text-color));
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.container-custom {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1600px;
}

@media (min-width: 1200px) {
    .top-bar .container-custom,
    header .container-custom {
        max-width: 96%;
    }
}

.top-bar .container,
.top-bar .container-fluid,
.top-bar .container-xl,
.top-bar .container-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info i {
    color: var(--icon-color, var(--secondary-color));
    margin-right: 5px;
}

.social-icons a {
    color: var(--icon-color, var(--primary-color));
    margin-left: 15px;
    opacity: 0.8;
}

[data-theme="dark"] .social-icons a {
    color: var(--icon-color, var(--text-topbar, rgba(255, 255, 255, 0.7)));
}

#theme-toggle i {
    color: var(--icon-color, var(--primary-color));
    transition: var(--transition);
}

.social-icons a:hover, #theme-toggle:hover i {
    color: var(--icon-color, var(--secondary-color));
    opacity: 1;
}

header {
    background: var(--bg-header, var(--bg-dark));
    /* Using variable so it responds to dark mode directly */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--header-border-color, var(--secondary-color));
    /* Yeni İnce Kırmızı Alt Çizgi - Artık kontrol edilebilir */
}

[data-theme="dark"] header {
    background: var(--bg-header, #050b14);
    border-bottom: 3px solid var(--header-border-color, var(--secondary-color));
    /* Karanlık Modda da korunsun */
}

.navbar-custom {
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-header, var(--primary-color)) !important;
    letter-spacing: 1px;
}

/* Custom margin removed, using container width expansion instead */

[data-theme="dark"] .navbar-brand {
    color: var(--text-header, #ffffff);
}

.navbar-brand img {
    height: 60px !important;
    /* Force smaller size */
    margin-right: 10px !important;
}

.navbar-brand span {
    color: var(--logo-accent-color, var(--secondary-color));
}

.nav-links {
    display: flex;
    gap: 15px;
    /* Reduced gap default */
}

/* Custom margin removed, using container width expansion instead */

/* Navigation Links */
.nav-link {
    color: var(--text-nav, var(--text-header, var(--primary-color))) !important;
    font-weight: 600;
    margin-left: 10px;
    /* Condensed margin */
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    /* Slightly smaller text */
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

[data-theme="dark"] .nav-link {
    color: var(--text-nav, var(--text-header, rgba(255, 255, 255, 0.9))) !important;
}

.nav-link:hover {
    color: var(--menu-hover-text, var(--secondary-color)) !important;
    transform: translateY(-1px);
}

.nav-link i {
    font-size: 0.75rem;
    margin-left: 8px;
    opacity: 0.7;
    transition: 0.3s;
}

.nav-link:hover i {
    transform: rotate(180deg);
    opacity: 1;
}

@keyframes dropdownSlideFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Dropdown Hover Effect (Desktop) */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        animation: dropdownSlideFadeIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
}

/* Ensure Dropdown is visible when clicked (Bootstrap .show class) */
.dropdown-menu.show {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    animation: dropdownSlideFadeIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Inner Items Animation */
@keyframes menuItemFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-nav .dropdown:hover .dropdown-menu > li,
.dropdown-menu.show > li,
.navbar-nav .dropdown:hover .dropdown-menu .mega-menu-column,
.dropdown-menu.show .mega-menu-column {
    opacity: 0;
    animation: menuItemFadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Stagger inner items */
.navbar-nav .dropdown:hover .dropdown-menu > li:nth-child(1), .dropdown-menu.show > li:nth-child(1),
.navbar-nav .dropdown:hover .dropdown-menu .mega-menu-column:nth-child(1), .dropdown-menu.show .mega-menu-column:nth-child(1) { animation-delay: 0.15s; }
.navbar-nav .dropdown:hover .dropdown-menu > li:nth-child(2), .dropdown-menu.show > li:nth-child(2),
.navbar-nav .dropdown:hover .dropdown-menu .mega-menu-column:nth-child(2), .dropdown-menu.show .mega-menu-column:nth-child(2) { animation-delay: 0.35s; }
.navbar-nav .dropdown:hover .dropdown-menu > li:nth-child(3), .dropdown-menu.show > li:nth-child(3),
.navbar-nav .dropdown:hover .dropdown-menu .mega-menu-column:nth-child(3), .dropdown-menu.show .mega-menu-column:nth-child(3) { animation-delay: 0.55s; }
.navbar-nav .dropdown:hover .dropdown-menu > li:nth-child(4), .dropdown-menu.show > li:nth-child(4),
.navbar-nav .dropdown:hover .dropdown-menu .mega-menu-column:nth-child(4), .dropdown-menu.show .mega-menu-column:nth-child(4) { animation-delay: 0.75s; }
.navbar-nav .dropdown:hover .dropdown-menu > li:nth-child(5), .dropdown-menu.show > li:nth-child(5),
.navbar-nav .dropdown:hover .dropdown-menu .mega-menu-column:nth-child(5), .dropdown-menu.show .mega-menu-column:nth-child(5) { animation-delay: 0.95s; }
.navbar-nav .dropdown:hover .dropdown-menu > li:nth-child(6), .dropdown-menu.show > li:nth-child(6),
.navbar-nav .dropdown:hover .dropdown-menu .mega-menu-column:nth-child(6), .dropdown-menu.show .mega-menu-column:nth-child(6) { animation-delay: 1.15s; }

.dropdown-menu {
    background-color: var(--bg-card);
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    margin-top: 0;
    display: none;
    opacity: 0;
    visibility: hidden;
}

.dropdown-item {
    color: var(--text-menu, #333333);
    padding: 10px 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.2s;
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: var(--menu-hover-bg, rgba(0, 0, 0, 0.03)) !important;
    color: var(--menu-hover-text, var(--secondary-color)) !important;
    padding-left: 30px;
}

.btn-quote {
    background: var(--btn-primary-bg, var(--secondary-color));
    padding: 8px 20px;
    border-radius: 4px;
    color: var(--btn-primary-text, white) !important;
}

/* Dark Mode Adjustments for Dropdown */
[data-theme="dark"] .dropdown-menu {
    background-color: var(--bg-menu, var(--bg-card));
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .dropdown-item {
    color: var(--text-menu, #e6f1ff);
}

[data-theme="dark"] .dropdown-item:hover {
    background-color: var(--menu-hover-bg, rgba(255, 255, 255, 0.05)) !important;
    color: var(--menu-hover-text, var(--menu-hover-text-light, #e6f1ff)) !important;
}

/* Mega Menu Styles */
.nav-item.dropdown-mega {
    position: static;
}

.mega-menu {
    width: 100%;
    left: 0;
    right: 0;
    padding: 40px 0;
    margin-top: 0;
    border-radius: 0 0 20px 20px;
    background-color: var(--bg-menu, var(--bg-card));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-top: none;
}

[data-theme="dark"] .mega-menu {
    background-color: var(--bg-menu, var(--bg-card));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: none;
}

.mega-menu-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.mega-menu-column {
    flex: 1;
    min-width: 200px;
}

.mega-menu-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--menu-title-color, var(--primary-color));
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--header-border-color, var(--secondary-color));
    display: flex;
    align-items: center;
    gap: 10px;
}

.mega-menu-title i {
    color: var(--icon-color, var(--secondary-color));
    font-size: 1rem;
    opacity: 0.9;
}

[data-theme="dark"] .mega-menu-title {
    color: var(--menu-title-color, #ffffff);
}

.mega-menu-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.mega-menu-list li {
    margin-bottom: 8px;
}

.mega-menu-list a {
    color: var(--text-menu, var(--text-color));
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
}

.mega-menu-list a i {
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
    opacity: 0.6;
    transition: var(--transition);
}

.mega-menu-list a:hover {
    color: var(--menu-hover-text, var(--secondary-color)) !important;
    padding-left: 8px;
}

.mega-menu-list a:hover i {
    opacity: 1;
    color: var(--menu-hover-text, var(--secondary-color)) !important;
}

/* Seminar Card Styles */
.seminar-card-link {
    display: block;
    margin-top: 25px;
    text-decoration: none !important;
}

.seminar-card {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.seminar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: 0.5s;
}

.seminar-card:hover::before {
    left: 100%;
}

.seminar-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.seminar-card-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.seminar-card-body h6 {
    color: white !important;
    margin-bottom: 5px;
    font-size: 1rem;
    font-weight: 700;
}

.seminar-card-body p {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.8rem;
    margin-bottom: 0;
    line-height: 1.3;
}

[data-theme="dark"] .mega-menu-list a {
    color: var(--text-menu, #b0b8c8);
}

[data-theme="dark"] .mega-menu-list a:hover {
    color: var(--secondary-color);
}

/* Mobile responsive for mega menu */
@media (max-width: 991px) {
    .mega-menu {
        position: relative;
        width: 100%;
        box-shadow: none;
        padding: 10px 0;
    }

    .mega-menu-container {
        flex-direction: column;
        gap: 20px;
    }

    .mega-menu-column {
        min-width: 100%;
    }
}

/* Hero Section */
.hero {
    height: 90vh;
    /* Default Light Theme Hero Background - Dynamic Slider now handles images */
    /* Background colors kept as fallback or overlay base if needed */
    background-color: var(--bg-hero, var(--bg-dark));
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* Ensure slides don't overflow */
    transition: var(--transition);
}

[data-theme="dark"] .hero {
    background-color: var(--bg-hero, #050b14);
}

/* Hero Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Behind content */
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    /* Center content vertically */
}

.hero-slide.active {
    opacity: 1;
    z-index: 10;
    /* Bring active slide above others */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
    pointer-events: none;
    transition: var(--transition);
}

[data-theme="dark"] .hero-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.hero-content {
    max-width: 800px;
    padding: 40px;
    position: relative;
    z-index: 3;
    /* Above overlay */
    background: transparent;
    text-align: left;
    margin-left: 5%;

    /* HÄ±zlÄ±ca saÄŸa doÄŸru kayarak Ã§Ä±kÄ±ÅŸ efekti */
    opacity: 0;
    transform: translateX(150px);
    transition: all 0.3s ease-in;
    transition-delay: 0s;
}

/* Soldan yavaÅŸÃ§a ve zarifÃ§e giriÅŸ efekti */
@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-150px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* When the slide becomes active, animate the content in */
.hero-slide.active .hero-content {
    animation: slideInFromLeft 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both;
}

[data-theme="dark"] .hero-content {
    background: transparent;
}

/* Slider Navigation */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .hero-nav {
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border-color: rgba(255, 255, 255, 0.1);
}

.hero-nav:hover {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.hero-prev {
    left: 20px;
}

.hero-next {
    right: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    /* Overlay azaldÄ±ÄŸÄ± iÃ§in yazÄ±yÄ± okunabilir kÄ±lacak gÃ¼Ã§lÃ¼ gÃ¶lge */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
    color: var(--text-hero, white) !important;
}

[data-theme="dark"] .hero h1 {
    color: var(--text-hero, white) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-hero, white);
    max-width: 600px;
    font-weight: 500;
    /* Overlay azaldÄ±ÄŸÄ± iÃ§in yazÄ±yÄ± okunabilir kÄ±lacak gÃ¼Ã§lÃ¼ gÃ¶lge */
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .hero p {
    color: var(--text-hero, #e6f1ff);
}

/* Sections */
.section-padding {
    padding: 100px 0;
    background: var(--bg-secondary);
}

[data-theme="dark"] .section-padding {
    background: var(--bg-secondary);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    color: var(--section-title-color, var(--primary-color));
}

[data-theme="dark"] .section-title h2 {
    color: white;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 15px auto 0;
}

.section-title p {
    color: var(--section-subtitle-color, var(--text-body));
    margin-top: 15px;
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Products */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: var(--card-hover-bg, var(--bg-card));
    border-color: var(--hover-secondary, var(--secondary-color));
}

.contact-info i {
    color: var(--icon-color, var(--secondary-color)) !important;
}

.product-img {
    height: 250px;
    background: #1a2736;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

[data-theme="dark"] .product-info h3 {
    color: var(--card-title-color, white);
}

[data-theme="dark"] .product-info p {
    color: #b0b8c8 !important;
    /* Ensure visibility in dark mode */
}

/* References */
.references-section {
    background: var(--bg-secondary);
    padding: 80px 0;
}

.references-section h2 {
    color: var(--section-title-color, var(--primary-color));
}

[data-theme="dark"] .references-section h2 {
    color: var(--section-title-color, white);
}

.logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 60px;
    /* Increased gap for better spacing */
}

/* Logo Fix: Use a container logic with Box Constraints */
.client-logo {
    display: block;
    width: 200px;
    height: 100px;
    object-fit: contain;
    transition: var(--transition);
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--secondary-color);
    /* Her zaman gÃ¶rÃ¼nen ince kÄ±rmÄ±zÄ±/terracotta kenarlÄ±k */
}

.client-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
.site-footer {
    background: var(--bg-footer, #e9ecef);
    padding: 60px 0 20px;
    color: var(--text-footer, var(--primary-color));
    border-top: 3px solid var(--footer-border-color, var(--secondary-color));
}

[data-theme="dark"] .site-footer {
    background: var(--bg-footer, #0A3663);
    color: var(--text-footer, #ffffff);
    padding: 80px 0 30px;
    border-top: 5px solid var(--footer-border-color, var(--secondary-color));
}

.footer-content {
    margin-bottom: 40px;
}

.footer-col {
    margin-bottom: 30px;
}

/* Sol KÃ„Â±sÃ„Â±m: Ã„Â°letiÃ…Å¸im */
.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-contact i {
    color: var(--icon-color, var(--secondary-color));
    margin-top: 5px;
    margin-right: 15px;
    font-size: 1.1rem;
}

/* Orta KÃ„Â±sÃ„Â±m: Linkler */
.footer-col h4 {
    font-size: 1.2rem;
    color: var(--footer-title-color, var(--primary-color));
    margin-bottom: 25px;
    font-weight: 700;
}

[data-theme="dark"] .footer-col h4 {
    color: var(--footer-title-color, var(--section-title-color, #fff));
}

/* Ãƒâ€¡izgi kaldÃ„Â±rÃ„Â±ldÃ„Â± (h4::after) */

.footer-links {
    padding-left: 0;
    /* Bootstrap ul padding sÃ„Â±fÃ„Â±rlandÃ„Â± */
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--footer-link-color, var(--primary-color));
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

[data-theme="dark"] .footer-links a {
    color: var(--footer-link-color, var(--text-footer, #b0b8c8));
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* SaÃ„Å¸ KÃ„Â±sÃ„Â±m: Social */
.footer-social-icons {
    display: flex;
    gap: 15px;
}

.footer-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    color: var(--icon-color, var(--primary-color));
    border-radius: 50%;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .footer-social-icons a {
    background: #1a2736;
    color: var(--icon-color, white);
    border-color: rgba(255, 255, 255, 0.1);
}

.footer-social-icons a:hover {
    background: var(--btn-primary-bg, var(--secondary-color));
    color: var(--btn-primary-text, white);
    border-color: var(--btn-primary-bg, var(--secondary-color));
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--footer-bottom-border-color, rgba(0, 0, 0, 0.1));
    padding-top: 20px;
    font-size: 0.95rem;
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
}

[data-theme="dark"] .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #8892b0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */
/* Mobile & Tablet Optimization */
@media (max-width: 991px) {

    /* Top Bar */
    .top-bar {
        padding: 4px 0;
    }

    .top-bar .container-custom {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 15px;
    }

    .contact-info {
        font-size: 0.75rem;
    }

    .social-icons {
        justify-content: flex-end;
        width: auto;
        margin-top: 0;
    }

    .social-icons a {
        margin-left: 10px;
    }

    #theme-toggle {
        margin-left: 10px !important;
    }

    .lang-btn {
        margin-left: 10px !important;
    }

    /* Navbar Branding */
    .navbar-brand img {
        height: 50px !important;
    }

    .navbar-brand div {
        font-size: 1rem;
    }

    .navbar-brand [data-lang="nav-brand-subtitle"] {
        font-size: 0.25rem !important;
    }

    /* Navbar Toggle */
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 1rem;
    }

    .navbar-collapse {
        background: var(--bg-card);
        padding: 15px;
        margin-top: 10px;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        border: 1px solid var(--border-color);
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-links {
        margin-top: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        /* Removing gap, using padding instead */
        width: 100%;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-link {
        padding: 15px 0;
        /* Larger touch targets */
        font-size: 1rem;
        margin-left: 0;
    }

    .nav-link i {
        float: right;
        /* Arrow to the right */
        margin-right: 10px;
    }

    /* Dropdowns in Mobile */
    .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        background: rgba(0, 0, 0, 0.03);
        box-shadow: none;
        padding-left: 20px;
        margin-top: 5px;
        border: none;
        border-radius: 8px;
        border-left: 3px solid var(--secondary-color);
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: all 0.2s ease;
    }

    [data-theme="dark"] .dropdown-menu {
        background: rgba(255, 255, 255, 0.05);
    }

    .dropdown-menu.show {
        display: block;
    }

    .dropdown-item {
        color: var(--primary-color) !important;
        padding: 10px 15px;
        font-size: 0.9rem;
        font-weight: 500;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    [data-theme="dark"] .dropdown-item {
        color: #e6f1ff !important;
        border-bottom-color: rgba(255, 255, 255, 0.05);
    }

    .dropdown-item:last-child {
        border-bottom: none;
    }

    .dropdown-item:hover {
        background: transparent;
        color: var(--secondary-color) !important;
        padding-left: 20px;
    }

    /* Mega Menu in Mobile */
    .mega-menu {
        padding: 15px !important;
        border-radius: 8px !important;
    }

    .mega-menu-title {
        font-size: 1rem;
        margin-bottom: 10px;
        margin-top: 15px;
    }

    .mega-menu-list a {
        padding: 8px 10px;
        font-size: 0.9rem;
    }

    .seminar-card {
        padding: 15px;
        margin-top: 15px;
    }

    .seminar-card-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .seminar-card-body h6 {
        font-size: 0.9rem;
    }

    /* Typography */
    h1 { font-size: 1.8rem !important; }
    h2 { font-size: 1.6rem !important; }
    h3 { font-size: 1.4rem !important; }
    h4 { font-size: 1.2rem !important; }
    p { font-size: 0.95rem !important; }

    /* Hero Section */
    .hero {
        height: 70vh !important; /* Fixed height for mobile to ensure absolute children work */
        min-height: 500px;
        padding: 0;
    }

    .hero-slider, .hero-slide {
        height: 100% !important;
    }

    .hero-content {
        margin: 0 20px;
        padding: 30px 20px;
        text-align: center;
        background: rgba(var(--primary-rgb), 0.4); /* Stronger background */
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        max-width: 90%;
    }

    .hero-overlay {
        background: rgba(0, 0, 0, 0.4) !important; /* Ensure image is visible but text is readable */
        z-index: 1;
    }

    .hero h1 {
        font-size: 1.6rem !important;
        margin-bottom: 12px;
        text-shadow: 0 2px 10px rgba(0,0,0,0.5) !important;
    }

    .hero p {
        font-size: 0.85rem !important;
        margin-bottom: 20px;
        text-shadow: 0 2px 5px rgba(0,0,0,0.5) !important;
    }

    /* Slider Nav - Hide on very small screens or adjust */
    .hero-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .hero-prev {
        left: 10px;
    }

    .hero-next {
        right: 10px;
    }

    /* Sections */
    .section-padding {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    /* Product Cards */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }

    .product-card {
        border-radius: 12px;
    }

    .product-img {
        height: 200px;
    }

    .product-info h3 {
        font-size: 1.1rem;
    }

    /* Service Cards */
    .service-card-premium {
        padding: 20px;
        border-radius: 12px;
    }

    .service-header {
        margin-bottom: 15px;
        padding-bottom: 15px;
    }

    .service-icon-box {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-right: 15px;
    }

    .service-header h3 {
        font-size: 1.1rem;
    }

    .service-body ul li {
        font-size: 0.85rem;
        padding-left: 25px;
    }

    /* Footer */
    .footer-content {
        text-align: center;
    }

    .footer-col {
        margin-bottom: 40px;
    }

    .footer-left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-left ul {
        text-align: left;
    }

    .footer-social-icons {
        justify-content: center;
    }

    /* Page Specific Refinements */
    .header-placeholder {
        height: 80px !important;
    }

    .ratio-16x9 {
        min-height: 400px !important;
    }

    .section-padding {
        padding: 40px 0;
    }

    .section-title {
        margin-bottom: 30px;
    }
}

/* Page Specifics */
.contact-info-box {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    /* Light shadow */
    height: 100%;
    border: 1px solid var(--border-color);
}

.about-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Form Controls */
.form-control {
    background-color: var(--bg-card);
    /* Use card bg for inputs */
    border-color: var(--border-color);
    color: var(--text-color);
    padding: 12px;
}

.form-control:focus {
    background-color: var(--bg-card);
    border-color: var(--secondary-color);
    color: var(--text-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 69, 0, 0.25);
}

/* Interactive Product Cards */
.interactive-card {
    cursor: pointer;
    overflow: hidden;
}

.interactive-card .product-img {
    position: relative;
    overflow: hidden;
}

.interactive-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--primary-rgb), 0.7);
    /* Using primary color with opacity if var exists, else hardcode */
    background: rgba(2, 6, 11, 0.7);
    /* Fallback to dark */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.interactive-card:hover .overlay {
    opacity: 1;
}

.interactive-card:hover .product-img img {
    transform: scale(1.1);
}

.product-detail-item {
    animation: fadeInUp 0.5s ease-out;
}

.form-label {
    margin-bottom: 8px;
    font-weight: 500;
}

/* Premium Service Cards */
.service-card-premium {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    background: var(--card-hover-bg, var(--bg-card));
    border-color: var(--hover-secondary, var(--secondary-color));
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .service-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.service-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 69, 0, 0.1);
    /* Secondary color with opacity */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--secondary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.service-card-premium:hover .service-icon-box {
    background: var(--hover-secondary, var(--secondary-color));
    color: white;
}

.service-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.4;
}

[data-theme="dark"] .service-header h3 {
    color: white;
}

.service-body ul {
    padding-left: 0;
    list-style: none;
    margin: 0;
}

.service-body ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: var(--text-color);
    font-size: 0.95rem;
}

.service-body ul li:last-child {
    margin-bottom: 0;
}

.service-body ul li::before {
    content: "\f00c";
    /* FontAwesome check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Products Page Search Bar */
.products-search-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.search-container {
    position: relative;
    max-width: 300px;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    pointer-events: none;
    transition: var(--transition);
}

.search-container input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    background: var(--bg-card);
    color: var(--primary-color);
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.search-container input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 8px 25px rgba(187, 74, 40, 0.15);
    transform: translateY(-2px);
}

.search-container input:focus + .search-icon {
    transform: translateY(-50%) scale(1.1);
}

[data-theme="dark"] .search-container input {
    background: #1a2736;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.1);
}

/* Breadcrumb Styles */
.breadcrumb-wrap {
    background: var(--breadcrumb-bg, #f8f9fa);
    padding: 15px 0;
    margin-bottom: 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    margin-bottom: 0;
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--breadcrumb-text, var(--primary-color));
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-item a:hover {
    color: var(--secondary-color);
}

.breadcrumb-item.active {
    color: var(--breadcrumb-active-text, var(--text-body));
    font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--breadcrumb-text, #ccc);
}

[data-theme="dark"] .breadcrumb-wrap {
    background: var(--breadcrumb-bg, #1a2736);
}


@media (max-width: 768px) {
    .products-search-wrapper {
        justify-content: center;
    }
    .search-container {
        max-width: 100%;
    }
}
