/* General Styles */
:root {
    --primary-color: #005eb8; /* Example Freeman blue */
    --secondary-color: #003366; /* Darker blue */
    --accent-color: #f37321; /* Example accent orange */
    --light-gray: #f4f4f4;
    --dark-gray: #333;
    --text-color: #333;
    --light-text-color: #fff;
    --border-color: #ddd;
    --shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Use a clean sans-serif */
}

body {
    margin: 0;
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 70px; /* Adjust if navbar height changes */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    margin-top: 0;
    line-height: 1.2;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 60px 0;
}

/* .video-slider-section padding is handled in its specific rule below */


.cta-button {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Navigation Bar */
.navbar {
    background-color: var(--light-text-color);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px; /* Adjust as needed */
}

.logo {
    display: inline-block;
    height: 45px; /* Adjust height - slightly larger? */
    vertical-align: middle; /* Helps align the anchor itself if needed */
}

.logo-image {
    height: 100%; /* Scale image to fit the anchor's height */
    width: auto;   /* Maintain aspect ratio */
    display: block; /* Prevents extra space below image */
}

.logo {
    display: flex; /* Use flexbox to align image and text */
    align-items: center; /* Vertically center items */
    text-decoration: none; /* Remove underline from link */
    color: inherit; /* Inherit text color */
}

.logo-text {
    margin-left: 10px; /* Space between image and text */
    font-size: 1.5rem; /* Adjust size as needed */
    font-weight: 600; /* Make it bold */
    color: var(--secondary-color); /* Use a theme color */
    line-height: 1; /* Adjust line height for better vertical alignment */
}


.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.nav-item {
    position: relative;
    margin-left: 25px;
}

.nav-link {
    color: var(--text-color);
    padding: 10px 0;
    display: block;
    position: relative;
}

.nav-link:hover,
.nav-item.has-dropdown:hover > .nav-link {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown Menus */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--light-text-color);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    min-width: 220px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    border-top: none;
    z-index: 1001;
}

/* Show dropdown on hover ONLY on desktop */
@media (min-width: 993px) {
    .nav-item.has-dropdown:hover .dropdown-menu {
        display: block;
    }
}

.dropdown-menu li a {
    display: block;
    padding: 8px 20px;
    color: var(--text-color);
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
}

/* Nav Actions (CTA & Search) */
.nav-actions {
    display: flex;
    align-items: center;
    margin-left: 30px;
}

.nav-cta {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    margin-right: 15px;
}

.nav-cta:hover {
    background-color: var(--secondary-color);
    color: var(--light-text-color);
}

.search-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-color);
    padding: 5px;
}

.search-toggle:hover {
    color: var(--primary-color);
}

.search-bar {
    display: none; /* Hidden by default */
    position: absolute;
    top: 70px; /* Below navbar */
    right: 20px;
    background-color: var(--light-text-color);
    padding: 10px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    z-index: 1002;
}

.search-bar.active {
    display: flex; /* Show when active */
    align-items: center;
}

.search-bar input {
    padding: 8px;
    border: 1px solid var(--border-color);
    margin-right: 5px;
}

.search-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-gray);
}

/* Hamburger Menu */
.hamburger {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

/* Services Section */
/* Eski .hero-section stilleri kaldırıldı */
.services-section {
    background-color: var(--light-gray);
}

.services-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid */
    gap: 30px;
}

.service-card {
    background-color: var(--light-text-color);
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center; /* Center icon/text */
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.service-icon {
    color: var(--primary-color);
    margin-bottom: 15px;
}


.service-card h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-size: 1.3rem; /* Adjusted size */
}

.service-card p {
    margin-bottom: 20px;
    color: #555;
    font-size: 0.95rem; /* Adjusted size */
}

.cta-link {
    font-weight: bold;
    color: var(--primary-color);
    display: inline-block;
    position: relative;
}

.cta-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.cta-link:hover::after {
    width: 100%;
}

/* Projects Section */
.projects-section {
    background-color: var(--light-gray); /* Or keep white */
}

.projects-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 30px;
}

.project-card {
    display: block; /* Make the whole card clickable */
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--light-text-color);
    color: var(--text-color); /* Reset link color */
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.project-card img {
    width: 100%;
    height: 220px; /* Adjust height */
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-info {
    padding: 20px;
}

.project-info h4 {
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.project-info p {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
}


/* CTA Section */
.cta-section {
    background-color: var(--secondary-color); /* Dark background */
    color: var(--light-text-color);
    padding: 60px 0;
    text-align: center;
}

.cta-content .cta-lead {
    font-size: 1.1rem;
    margin-bottom: 5px;
    /* font-style: italic; */ /* Optional */
}

.cta-content h3 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    font-weight: bold;
}

.cta-main-button {
    background-color: var(--light-text-color);
    color: var(--secondary-color);
    padding: 12px 35px;
    font-size: 1.1rem;
}

.cta-main-button:hover {
    background-color: var(--light-gray);
    color: var(--secondary-color);
}

/* New Footer Styles */
.site-footer {
    background-color: var(--dark-gray); /* Dark background */
    color: var(--light-gray); /* Light text color */
    padding: 40px 0 20px; /* Padding top/bottom */
}

.footer-main {
    /* Uses the general .container styles for max-width and padding */
}

.footer-top {
    display: flex;
    justify-content: space-between; /* Space between contact/locations and social */
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #555; /* Separator line */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.footer-column {
    /* Basic column setup */
}

.footer-contact-locations {
    /* Styles for left column */
}

.footer-link {
    color: var(--light-gray);
    text-decoration: none;
    margin: 0 5px; /* Spacing around links */
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--light-text-color);
    text-decoration: underline;
}

.footer-link-divider {
    color: #555; /* Divider color */
    margin: 0 5px;
}

.footer-social {
    display: flex;
    align-items: center;
}

.social-link {
    color: var(--light-gray);
    font-size: 1.3rem; /* Icon size */
    margin-left: 18px; /* Space between icons */
    transition: color 0.3s ease, transform 0.3s ease;
    text-decoration: none; /* Remove underline from icons */
}

.social-link:hover {
    color: var(--light-text-color); /* Lighter color on hover */
    transform: scale(1.1); /* Slight zoom effect */
}

.footer-bottom {
    text-align: center; /* Center legal links and copyright */
    font-size: 0.85rem; /* Smaller font size */
}

.legal-links {
    margin-bottom: 10px;
}

.footer-link-small {
    color: var(--light-gray);
    text-decoration: none;
    margin: 0 5px;
    font-size: inherit; /* Inherit size from .footer-bottom */
    transition: color 0.3s ease;
}

.footer-link-small:hover {
    color: var(--light-text-color);
    text-decoration: underline;
}

.copyright {
    color: #aaa; /* Slightly dimmer color for copyright */
    margin-top: 5px; /* Space above copyright */
    font-size: 0.8rem;
}


/* Equipment Inventory Section Styles */
.equipment-inventory-section {
    padding: 60px 0;
    background-color: var(--light-gray); /* Match alt background */
}

.equipment-inventory-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 30px;
}

.equipment-item {
    background-color: var(--light-text-color);
    padding: 25px;
    border: 1px solid var(--border-color);
    min-height: 300px; /* Added: Ensure minimum card height */
    border-radius: 5px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.equipment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.equipment-image {
    width: 100%;
    max-width: 180px; /* Limit image size */
    height: 150px; /* Added back: Fixed height for image container */
    object-fit: cover; /* Changed: Cover the container, cropping if needed */
    margin: 0 auto 15px auto; /* Center image and add space below */
    background-color: #eee; /* Placeholder background */
    border: 1px solid var(--border-color); /* Placeholder border */
    border-radius: 4px;
}

.equipment-item h4 {
    margin-bottom: 5px;
    color: var(--secondary-color);
    font-size: 1.1rem;
    min-height: 2.5em; /* Added: Reserve space for title */
}

.equipment-item p {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
    min-height: 1.2em; /* Added: Reserve space for quantity */
}

/* Dark Mode for Equipment Section */
body.dark-mode .equipment-inventory-section {
    background-color: #222; /* Dark background */
}

body.dark-mode .equipment-inventory-section h2 {
    color: var(--light-text-color);
}

body.dark-mode .equipment-item {
    background-color: #2c2c2c; /* Dark card background */
    border-color: var(--border-color);
}

body.dark-mode .equipment-item:hover {
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

body.dark-mode .equipment-image {
    background-color: #444; /* Darker placeholder background */
    border-color: #555;
}

body.dark-mode .equipment-item h4 {
    color: var(--light-text-color);
}

body.dark-mode .equipment-item p {
    color: #bbb;
}

/* --- Project Card Modal Styles --- */

/* Add cursor pointer to indicate clickability */
.project-card {
    cursor: pointer;
    position: relative; /* Needed for potential overlay on hover */
    overflow: hidden; /* Ensure image zoom doesn't break layout */
}

/* Hover effect for project card */
.project-card:hover {
    transform: translateY(-5px) scale(1.02); /* Slightly lift and scale */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Enhance shadow */
}

.project-card:hover img {
    transform: scale(1.1); /* Zoom image slightly more on hover */
}

/* Modal Base Styles (Hidden by default) */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1050; /* High z-index */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if content is too long */
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent black overlay */
    align-items: center; /* Vertically center content */
    justify-content: center; /* Horizontally center content */
}

/* Modal Visible State */
.modal.active {
    display: flex; /* Use flex to center content */
}

/* Modal Content Box */
.modal-content {
    background-color: var(--light-text-color);
    margin: auto; /* Helps with centering */
    padding: 30px;
    border-radius: 5px;
    position: relative;
    width: 90%;
    max-width: 600px; /* Max width of modal */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: fadeInModal 0.3s ease-out; /* Simple fade-in animation */
}

/* Modal Image */
.modal-img {
    width: 100%;
    height: auto;
    max-height: 400px; /* Limit image height */
    object-fit: contain; /* Show full image, don't crop */
    margin-bottom: 20px;
    border-radius: 4px;
}

/* Modal Close Button */
.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #aaa;
    font-size: 2rem;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.modal-close:hover,
.modal-close:focus {
    color: var(--dark-gray);
    text-decoration: none;
    outline: none;
}

/* Modal Text */
.modal-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.modal-content p {
    color: #555;
    line-height: 1.6;
}

/* Modal Overlay (for clicking outside to close) */
.modal-overlay {
    position: fixed; /* Cover the whole screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Behind the modal content */
    cursor: pointer;
}

/* Fade-in Animation */
@keyframes fadeInModal {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Dark Mode Modal Styles */
body.dark-mode .modal {
    background-color: rgba(0, 0, 0, 0.8); /* Darker overlay */
}

body.dark-mode .modal-content {
    background-color: #2c2c2c; /* Dark card background */
    color: var(--text-color);
}

body.dark-mode .modal-close {
    color: #888;
}

body.dark-mode .modal-close:hover,
body.dark-mode .modal-close:focus {
    color: var(--light-gray);
}

body.dark-mode .modal-content h3 {
    color: var(--light-text-color);
}

body.dark-mode .modal-content p {
    color: #bbb;
}

/* --- Added Styles for Navbar Phone, WhatsApp Button, and Form Success --- */

/* Style for the phone number next to the logo */
.navbar-phone {
    color: var(--text-color);
    font-weight: 600; /* Make it slightly bold */
    margin-left: 15px; /* Space from logo */
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap; /* Prevent wrapping */
}
.navbar-phone:hover {
    color: var(--primary-color);
}

/* Style for WhatsApp button item to align it properly */
.whatsapp-button-item {
    display: flex; /* Use flex to align button vertically */
    align-items: center; /* Center button vertically */
    margin-right: 15px; /* Space before the next nav item */
    margin-left: 10px; /* Add some left margin */
}

/* Style for the WhatsApp button itself */
.whatsapp-button {
    background-color: #25D366; /* WhatsApp green */
    color: white !important; /* Ensure text is white, override general link styles */
    padding: 8px 15px; /* Adjust padding */
    border-radius: 20px; /* More rounded */
    font-size: 0.9rem; /* Adjust font size */
    display: inline-flex; /* Align icon and text */
    align-items: center;
    gap: 8px; /* Space between icon and text */
    transition: background-color 0.3s ease;
    border: none; /* Remove default border */
    line-height: 1; /* Adjust line height for button */
}

.whatsapp-button:hover {
    background-color: #128C7E; /* Darker WhatsApp green */
    color: white !important; /* Keep text white on hover */
}

.whatsapp-button i {
    font-size: 1.1rem; /* Adjust icon size */
}

/* Mobile WhatsApp Button (Initially Hidden) */
.mobile-whatsapp-button {
    display: none;
    margin-left: 10px; /* Space from logo */
    order: 3; /* Default order */
}

/* Contact Form Success Message */
.form-success-message {
    margin-top: 20px;
    padding: 15px;
    background-color: #d4edda; /* Light green background */
    color: #155724; /* Dark green text */
    border: 1px solid #c3e6cb; /* Green border */
    border-radius: 4px;
    text-align: center;
}

/* Dark Mode Styles for New Elements */
body.dark-mode .navbar-phone {
    color: var(--light-text-color);
}
body.dark-mode .navbar-phone:hover {
    color: var(--primary-color);
}

body.dark-mode .whatsapp-button {
    /* Keep WhatsApp colors in dark mode for branding */
    background-color: #25D366;
    color: white !important;
}
body.dark-mode .whatsapp-button:hover {
    background-color: #128C7E;
    color: white !important;
}

body.dark-mode .form-success-message {
    background-color: #1a4a2a; /* Darker green background */
    color: #c3e6cb; /* Lighter green text */
    border-color: #2a683b; /* Darker green border */
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: 1px solid var(--border-color);
    padding: 5px 10px;
    cursor: pointer;
    font-size: 1rem; /* Adjust size as needed */
    border-radius: 3px;
    color: var(--text-color);
    margin-left: 15px; /* Space from language switcher */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.theme-toggle:hover {
    background-color: var(--light-gray);
}

.theme-toggle i {
    /* Style for the icon inside the button */
}

/* Scroll-to-Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--light-text-color);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    cursor: pointer;
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top.visible {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--secondary-color);
}

/* Dark Mode Styles */
body.dark-mode {
    --primary-color: #007bff; /* Lighter blue for dark mode */
    --secondary-color: #0056b3; /* Slightly lighter dark blue */
    --accent-color: #ff8c00; /* Darker orange */
    --light-gray: #2c2c2c; /* Dark gray for light elements */
    --dark-gray: #1a1a1a; /* Very dark background */
    --text-color: #e0e0e0; /* Light text */
    --light-text-color: #f5f5f5; /* Even lighter text */
    --border-color: #444; /* Darker border */
    --shadow: 0 2px 5px rgba(255, 255, 255, 0.1); /* Lighter shadow */

    background-color: var(--dark-gray);
    color: var(--text-color);
}

body.dark-mode .navbar {
    background-color: #222; /* Dark navbar background */
    border-bottom-color: var(--border-color);
}

body.dark-mode .logo-image {
    /* Consider adding a filter for dark mode if the logo doesn't contrast well */
    /* filter: brightness(0) invert(1); */
}

body.dark-mode .nav-link,
body.dark-mode .hamburger,
body.dark-mode .search-toggle,
body.dark-mode .lang-button,
body.dark-mode .theme-toggle {
    color: var(--light-text-color);
}

body.dark-mode .nav-link:hover,
body.dark-mode .nav-item.has-dropdown:hover > .nav-link,
body.dark-mode .search-toggle:hover,
/* body.dark-mode .lang-button:hover, */ /* Handled separately below */
body.dark-mode .theme-toggle:hover {
    color: var(--primary-color);
    /* background-color: #333; */ /* Removing generic background hover */
}

/* Dark Mode Language Switcher Styles */
body.dark-mode .lang-button {
    color: var(--light-text-color);
    border-color: var(--border-color); /* Use dark mode border color if border is desired */
    border: none; /* Ensure border is removed */
}
body.dark-mode .lang-button:hover {
    background-color: #333; /* Darker hover background */
    color: var(--primary-color);
}
body.dark-mode .lang-options {
    background-color: #2a2a2a; /* Dark dropdown background */
    border-color: var(--border-color);
}
body.dark-mode .lang-option {
    color: var(--light-text-color);
}
body.dark-mode .lang-option:hover {
    background-color: #383838; /* Slightly lighter dark hover */
    color: var(--primary-color);
}

body.dark-mode .nav-link::after {
    background-color: var(--primary-color);
}

body.dark-mode .dropdown-menu {
    background-color: #2a2a2a;
    border-color: var(--border-color);
}

body.dark-mode .dropdown-menu li a {
    color: var(--light-text-color);
}

body.dark-mode .logo-image {
    /* Consider adding a filter for dark mode if the logo doesn't contrast well */
     filter: brightness(0) invert(1); /* Invert logo colors for dark mode */
}

body.dark-mode .logo-text {
    color: var(--light-text-color); /* Light text color for dark mode */
}

body.dark-mode .search-bar {
    background-color: #2a2a2a;
    border-color: var(--border-color);
}

body.dark-mode .search-bar input {
    background-color: #333;
    border-color: var(--border-color);
    color: var(--light-text-color);
}

body.dark-mode .search-close {
    color: var(--light-gray);
}

body.dark-mode .video-slider-section {
    background-color: #252525; /* Darker background for slider section */
}

body.dark-mode .background-text {
    color: rgba(255, 255, 255, 0.05); /* Very faint white text */
}

body.dark-mode .services-section,
body.dark-mode .projects-section,
body.dark-mode .service-features-section.alt-background,
body.dark-mode .about-content-section.alt-background,
body.dark-mode .partners-section.alt-background {
    background-color: #222; /* Dark background for sections */
}

body.dark-mode .service-card,
body.dark-mode .project-card,
body.dark-mode .feature-item,
body.dark-mode .brand-card { /* Removed partner-card */
    background-color: #2c2c2c; /* Dark card background */
    border-color: var(--border-color);
    color: var(--text-color);
}

body.dark-mode .service-card:hover,
body.dark-mode .project-card:hover,
body.dark-mode .brand-card:hover { /* Removed partner-card */
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

body.dark-mode .service-card h3,
body.dark-mode .project-info h4,
body.dark-mode .feature-item h4,
body.dark-mode .brand-card h4,
body.dark-mode .service-intro-section h2,
body.dark-mode .service-features-section h2,
body.dark-mode .about-text-content h2,
body.dark-mode .partners-section .section-title,
body.dark-mode .contact-form-container h2,
body.dark-mode .contact-details-container h2 {
    color: var(--light-text-color); /* Lighter headings */
}

body.dark-mode .service-card p,
body.dark-mode .project-info p,
body.dark-mode .feature-item p,
body.dark-mode .brand-card p,
body.dark-mode .service-intro-section p,
body.dark-mode .about-text-content p,
/* body.dark-mode .partner-name, */ /* Removed partner-name */
body.dark-mode .contact-info-item p,
body.dark-mode .values-list li {
    color: #bbb; /* Slightly dimmer paragraph text */
}

body.dark-mode .cta-link,
body.dark-mode .contact-info-item p a {
    color: var(--primary-color);
}
body.dark-mode .cta-link:hover,
body.dark-mode .contact-info-item p a:hover {
    color: #4dabf7; /* Lighter blue hover */
}

body.dark-mode .cta-section {
    background-color: var(--secondary-color);
}

body.dark-mode .cta-main-button {
    background-color: var(--light-text-color);
    color: var(--secondary-color);
}
body.dark-mode .cta-main-button:hover {
    background-color: #ddd;
    color: var(--secondary-color);
}

body.dark-mode .site-footer {
    background-color: #111; /* Even darker footer */
    color: #ccc;
}
body.dark-mode .footer-top {
    border-bottom-color: #333;
}
body.dark-mode .footer-link,
body.dark-mode .footer-link-small,
body.dark-mode .social-link {
    color: #ccc;
}
body.dark-mode .footer-link:hover,
body.dark-mode .footer-link-small:hover,
body.dark-mode .social-link:hover {
    color: var(--light-text-color);
}
body.dark-mode .footer-link-divider {
    color: #444;
}
body.dark-mode .copyright {
    color: #888;
}

body.dark-mode .cookie-banner {
    background-color: rgba(0, 0, 0, 0.9);
    color: #eee;
}
body.dark-mode .cookie-content a {
    color: #eee;
}
body.dark-mode .cookie-accept-button {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}
body.dark-mode .cookie-accept-button:hover {
    background-color: var(--secondary-color);
}

body.dark-mode .service-hero-section .hero-overlay {
    background-color: rgba(0, 0, 0, 0.7); /* Slightly darker overlay */
}

body.dark-mode .about-hero-section,
body.dark-mode .page-header-section {
    background-color: var(--secondary-color);
}

body.dark-mode .form-group label,
body.dark-mode .contact-info-item strong {
    color: var(--light-text-color);
}

body.dark-mode .form-group input[type="text"],
body.dark-mode .form-group input[type="email"],
body.dark-mode .form-group textarea {
    background-color: #333;
    border-color: var(--border-color);
    color: var(--light-text-color);
}
body.dark-mode .form-group input[type="text"]:focus,
body.dark-mode .form-group input[type="email"]:focus,
body.dark-mode .form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

body.dark-mode .form-submit-button {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}
body.dark-mode .form-submit-button:hover {
    background-color: var(--secondary-color);
}

body.dark-mode .map-placeholder {
    background-color: #333;
    color: #aaa;
}
body.dark-mode .map-placeholder iframe {
    filter: invert(90%) hue-rotate(180deg); /* Basic dark mode filter for map */
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Dark semi-transparent */
    color: var(--light-text-color);
    padding: 15px 0;
    z-index: 9999;
    display: block; /* Initially visible */
    font-size: 0.9rem;
}

.cookie-banner.hidden {
    display: none; /* Hide when accepted */
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.cookie-content p {
    margin: 0;
    margin-right: 20px; /* Space between text and button */
    flex-grow: 1; /* Allow text to take available space */
}

.cookie-content a {
    color: var(--light-text-color);
    text-decoration: underline;
}
.cookie-content a:hover {
    color: #eee;
}

.cookie-accept-button {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 8px 20px;
    white-space: nowrap; /* Prevent button text wrapping */
    margin-top: 10px; /* Add margin if it wraps below text */
}

.cookie-accept-button:hover {
    background-color: var(--secondary-color);
    color: var(--light-text-color);
}

/* Family of Brands Page Styles */
.family-brands-page {
    /* Specific styles if needed */
}

.brands-grid-section {
    padding: 60px 0;
}

.brands-grid-section h2 {
     text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.brand-card {
    background-color: var(--light-text-color);
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-card:hover {
     transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.brand-logo {
    max-height: 60px; /* Adjust as needed */
    width: auto;
    margin: 0 auto 20px auto; /* Center logo */
}

.brand-card h4 {
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-size: 1.3rem;
}

.brand-card p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 20px;
    min-height: 60px; /* Give some consistent height */
}

.brand-card .cta-link {
    font-weight: bold;
}

/* Service Page General Styles */
.service-page {
    /* Base styles for all service pages */
}

.service-hero-section {
    position: relative;
    padding: 100px 0; /* Adjust padding */
    background-size: cover;
    background-position: center;
    color: var(--light-text-color);
    text-align: center;
}

.service-hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Slightly adjust overlay */
    z-index: 1;
}


.service-hero-content {
    position: relative;
    z-index: 2;
}

.service-hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 10px;
}

.service-hero-content .subtitle {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.service-intro-section {
    padding: 60px 0;
    text-align: center;
}

.service-intro-section h2 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.service-intro-section p {
    max-width: 800px;
    margin: 0 auto 15px auto;
    line-height: 1.7;
    color: #555;
}

.service-features-section {
     padding: 60px 0;
}

.service-features-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature-item {
    background-color: var(--light-text-color); /* Or keep transparent if on alt background */
    padding: 30px;
    border-radius: 5px;
    /* Optional: Add border or shadow if needed */
    /* border: 1px solid var(--border-color); */
    /* box-shadow: var(--shadow); */
}
.alt-background .feature-item {
     box-shadow: var(--shadow);
}


.feature-icon {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-item h4 {
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.feature-item p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.service-cta-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--light-text-color);
}

.service-cta-section h2 {
    margin-bottom: 15px;
    font-size: 2.2rem;
}

.service-cta-section p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.service-cta-section .cta-button {
    background-color: var(--light-text-color);
    color: var(--primary-color);
    padding: 12px 30px;
}
.service-cta-section .cta-button:hover {
     background-color: var(--light-gray);
     color: var(--primary-color);
}


/* About Us Page (Impact Style) Styles */
.about-us-page {
    /* General page styles if needed */
}

.about-hero-section {
    background-color: var(--secondary-color); /* Dark blue background */
    color: var(--light-text-color);
    padding: 80px 0;
    text-align: center;
}

.about-hero-section h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.about-hero-section .subtitle {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.about-content-section {
    padding: 80px 0;
}

.about-content-section.alt-background {
    background-color: var(--light-gray); /* Alternate background for contrast */
}

.about-content-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    align-items: center;
}

/* Reverse layout for alternating sections */
.about-content-container.reverse-layout {
    grid-template-areas: "image text"; /* Define grid areas */
}
.about-content-container.reverse-layout .about-text-content {
    grid-area: text;
}
.about-content-container.reverse-layout .about-image-content {
    grid-area: image;
}


.about-text-content h2 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.about-text-content p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #555;
}
.about-text-content p:last-of-type {
    margin-bottom: 25px;
}

.about-text-content .cta-link {
    font-weight: bold;
}

/* Added */
.values-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}
/* Added */
.values-list li {
    margin-bottom: 8px;
    font-size: 1.05rem;
    color: #444;
}
/* Add icons if desired: .values-list li::before { content: '✓ '; color: var(--primary-color); margin-right: 5px; } */


.about-image-content img {
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Style for videos replacing images on about page */
.about-video {
    width: 100%; /* Take full width of container */
    height: auto; /* Maintain aspect ratio */
    max-height: 400px; /* Limit max height if needed */
    object-fit: cover; /* Cover the area */
    border-radius: 5px; /* Match image border-radius */
    display: block; /* Remove extra space below */
}


/* Language Switcher Styles */
.language-switcher {
    position: relative;
    margin-left: 20px; /* Space from search icon */
}

.lang-button {
    background: none;
    /* border: 1px solid var(--border-color); */ /* Removed border */
    border: none; /* Explicitly remove border */
    padding: 8px 12px; /* Adjusted padding */
    cursor: pointer;
    font-size: 0.9rem;
    border-radius: 4px; /* Slightly more rounded */
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease; /* Added transition */
}
.lang-button:hover {
    background-color: var(--light-gray); /* Subtle background on hover */
    color: var(--primary-color); /* Change text color on hover */
}
.lang-button i {
    margin-left: 5px;
    transition: transform 0.3s ease; /* Add transition for caret */
}

.lang-options {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%;
    right: 0; /* Align to the right */
    background-color: var(--light-text-color);
    list-style: none;
    padding: 5px 0;
    margin: 5px 0 0 0;
    min-width: auto; /* Adjust width automatically */
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    border-radius: 4px; /* Rounded corners for dropdown */
    z-index: 1003; /* Above search bar */
    overflow: hidden; /* Ensure options fit rounded corners */
}

/* Style individual language options */
.lang-option {
    display: block;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 8px 12px; /* Reduced padding */
    font-size: 0.9rem;
    color: var(--text-color);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.lang-option:hover {
    background-color: var(--light-gray); /* Hover effect */
    color: var(--primary-color);
}


/* Show dropdown when parent is active */
.language-switcher.active .lang-options {
    display: block;
}
/* Rotate caret when dropdown is active */
.language-switcher.active .lang-button i {
    transform: rotate(180deg);
}


/* Contact Page Styles */
.page-header-section {
    background-color: var(--secondary-color); /* Dark blue background */
    color: var(--light-text-color);
    padding: 60px 0;
    text-align: center;
}

.page-header-section h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.page-header-section .subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.contact-content-section {
    padding: 60px 0; /* Keep general section padding */
}

.contact-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Form takes 2/3, details take 1/3 */
    gap: 40px; /* Space between columns */
}

/* Contact Form Styles */
.contact-form-container h2,
.contact-details-container h2 {
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--dark-gray);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none; /* Remove default outline */
    box-shadow: 0 0 0 2px rgba(0, 94, 184, 0.2); /* Subtle focus shadow */
}

.form-group textarea {
    resize: vertical; /* Allow vertical resize only */
    min-height: 120px;
}

.form-submit-button {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 12px 30px;
    font-size: 1.1rem;
    cursor: pointer;
}

.form-submit-button:hover {
    background-color: var(--secondary-color);
}

/* Contact Details Styles */
.contact-details-container {
    /* Styles for the right column */
}

.contact-info-item {
    display: flex;
    align-items: flex-start; /* Align icon with the top of the text */
    margin-bottom: 25px;
}

.contact-info-item .icon {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-right: 15px;
    width: 25px; /* Fixed width for alignment */
    text-align: center;
}

.contact-info-item div {
    /* Container for text */
}

.contact-info-item strong {
    display: block;
    margin-bottom: 3px;
    color: var(--dark-gray);
}

.contact-info-item p {
    margin: 0;
    line-height: 1.5;
    color: #555;
}
.contact-info-item p a {
    color: var(--primary-color);
    text-decoration: none;
}
.contact-info-item p a:hover {
    text-decoration: underline;
}


.map-placeholder {
    height: 250px;
    background-color: #e9e9e9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    border-radius: 5px;
    margin-top: 30px;
    font-style: italic;
}

/* Background Text Style */
.background-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18vw; /* Viewport genişliğine göre boyut */
    font-weight: bold;
    color: rgba(0, 0, 0, 0.05); /* Çok soluk siyah renk */
    z-index: 1; /* Slider container'ın arkasında */
    pointer-events: none; /* Tıklama olaylarını engelle */
    white-space: nowrap; /* Yazının tek satırda kalmasını sağla */
    user-select: none; /* Yazının seçilmesini engelle */
}

/* Horizontal Video Slider Section Styles */
.video-slider-section {
    position: relative;
    width: 100%;
    padding: 40px 50px; /* Increased horizontal padding to allow adjacent slides to peek */
    background-color: #f0f0f0; /* Arka plan rengi */
    overflow: hidden; /* Restore outer overflow hidden */
    margin-top: 70px; /* Navbar yüksekliği kadar boşluk */
    display: flex; /* İçeriği (container) dikeyde ortalamak için */
    align-items: center; /* İçeriği (container) dikeyde ortala */
    box-sizing: border-box; /* Ensure padding is included in width/height */
}

.video-slider-container {
    display: flex; /* Slaytları yatayda sırala */
    align-items: center; /* Slaytları dikeyde ortala */
    transition: transform 0.5s ease-in-out; /* Yumuşak geçiş efekti */
    width: max-content; /* Allow container to grow with slides */
    overflow: visible; /* Allow inner slides to visually overflow container bounds */
    /* Başlangıç pozisyonu JS ile ayarlanacak */
}

.video-slide {
    flex: 0 0 auto; /* Slaytların küçülmemesini ve büyümemesini sağla */
    width: 300px; /* Dikey videolar için sabit genişlik (ayarlanabilir) */
    height: calc(300px * 16 / 9); /* 9:16 dikey en boy oranı (ayarlanabilir) */
    margin: 0 15px; /* Slaytlar arası boşluk */
    position: relative;
    overflow: hidden;
    border-radius: 10px; /* Köşeleri yuvarlat */
    box-sizing: border-box; /* Ensure padding/border are included in width/height */
    /* Default state: full size, full opacity */
    transform: scale(1);
    opacity: 1;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    cursor: pointer; /* Ortadaki slayta tıklanabilir hissi */
    background-color: #000; /* Add black background for letterboxing */
}

/* Ensure video and poster image fill the slide */
.video-slide video,
.video-slide img { /* Assuming poster images are used */
    width: 100%;
    height: 100%;
    object-fit: contain; /* Contain the video/image within the bounds, preserving aspect ratio */
    display: block; /* Remove extra space below */
    position: absolute; /* Position within the slide */
    top: 0;
    left: 0;
    border-radius: inherit; /* Inherit border-radius from parent */
}


.video-slide.active {
    transform: scale(1); /* Aktif slaytı normal boyutuna getir */
    opacity: 1; /* Aktif slaytı netleştir */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Aktif slayta gölge ekle */
    cursor: default;
}

/* Slider Butonları */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10; /* Diğer elemanların üzerinde */
    font-size: 1.2rem;
    width: 40px; /* Buton genişliği */
    height: 40px; /* Buton yüksekliği */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.slider-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev-btn {
    left: 30px; /* Soldan boşluk */
}

.next-btn {
    right: 30px; /* Sağdan boşluk */
}

/* Partners Section Styles */
.partners-section {
    padding: 60px 0; /* Standard section padding */
}

.partners-section.alt-background {
    background-color: var(--light-gray); /* Use light gray background */
    }

    /* .video-slide rules from 768px breakpoint should cascade */
    /* Adjust if needed for very small screens, but 90vw should work */

    .partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Adjusted minmax for more items */
    gap: 25px; /* Spacing between items */
    align-items: center; /* Vertically align items */
    justify-content: center; /* Center grid items horizontally */
}

.partner-item {
    background-color: var(--light-text-color); /* Optional: card background */
    padding: 20px; /* Padding inside item */
    border-radius: 5px; /* Rounded corners */
    box-shadow: var(--shadow); /* Subtle shadow */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px; /* Fixed height for consistency */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; /* Hide overflow */
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.partner-logo {
    max-width: 100%; /* Logo takes full width of container */
    max-height: 80%; /* Limit height within container */
    width: auto; /* Maintain aspect ratio */
    height: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Ensure logo fits without distortion */
    filter: grayscale(100%); /* Start grayscale */
    transition: filter 0.3s ease, transform 0.3s ease;
}

.partner-item:hover .partner-logo {
    filter: grayscale(0%); /* Remove grayscale on hover */
    transform: scale(1.05); /* Slightly enlarge logo on hover */
}


/* Optional "View All Partners" Button */
.partners-cta {
    text-align: center;
    margin-top: 40px; /* Space above the button */
}

.partners-cta .cta-button {
    /* Inherits base .cta-button styles */
    background-color: var(--primary-color);
    color: var(--light-text-color);
    border-color: var(--primary-color);
}

.partners-cta .cta-button:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--light-text-color); /* Ensure text remains light */
}


/* Visually Hidden Class for Accessibility */
.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap; /* Prevent content from wrapping */
}
