:root {
    --primary-color: #1d3460;
    --secondary-color: #2ecc71;
    --accent-color: #f39c12;
    --dark-color: #1d3460;
    --light-color: #f8f9fa;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* GLOBAL RESET & TYPOGRAPHY */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #1d3460;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
    color: white;
}

header.scrolled {
    padding: 5px 0;
    box-shadow: var(--shadow-md);
    background: rgba(29, 52, 96, 0.95);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img, footer .footer-grid img {
    transition: var(--transition);
}

footer .footer-grid img {
    filter: brightness(0) invert(1);
}

.logo:hover img, footer .footer-grid img:hover {
    transform: scale(1.1) !important;
    filter: brightness(0) saturate(100%) invert(64%) sepia(69%) saturate(464%) hue-rotate(95deg) brightness(94%) contrast(89%) !important;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: white;
    font-weight: 500;
}

/* Dropdown Styles */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--secondary-color);
    border-radius: 0 0 10px 10px;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 10px 0;
    z-index: 1000;
}

.nav-links li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    padding: 10px 20px;
    display: block;
    color: var(--primary-color) !important;
    font-size: 0.85rem;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: #f4f7f9;
    color: var(--secondary-color) !important;
}

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

.btn-cta {
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: #004494;
}

header .btn-cta {
    background: white;
    color: var(--primary-color);
}

header .btn-cta:hover {
    background: var(--secondary-color);
    color: white;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.9), rgba(46, 204, 113, 0.8)), url('../assets/bursa-temizlik-sirketi-artibir-temizlik-hizmetleri.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Services --- */
.services {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    text-align: center;
}

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

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* --- Footer --- */
footer {
    background: #1d3460;
    color: white;
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.6;
}

.ig-minimal-post {
    overflow: hidden;
    position: relative;
    display: block;
}

.ig-minimal-post img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.ig-minimal-post:hover img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: #1d3460;
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transition: 0.4s ease;
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-toggle {
        display: block !important;
        cursor: pointer;
        font-size: 1.5rem;
        color: white;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-btns .btn-cta {
        margin-left: 0 !important;
        width: 100%;
    }

    #quote-section {
        margin-top: 0;
        padding: 40px 0;
    }
    
    #quote-section .container {
        padding: 0 10px;
    }
}

.nav-toggle {
    display: none;
}

/* --- Footer Enhancements --- */
.footer-phone {
    font-size: 1.8rem;
    font-weight: 800;
    color: #2ecc71 !important;
    display: block;
    margin: 15px 0;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.footer-phone:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.footer-phone i {
    margin-right: 10px;
    font-size: 1.5rem;
}

/* Footer Interaction */
footer ul li a {
    transition: all 0.3s ease;
}

footer ul li a:hover {
    color: #2ecc71 !important;
    padding-left: 5px;
}

/* --- Logo Slider (References) --- */
.logo-slider {
    background: #fff;
    padding: 80px 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.logo-slider-header {
    text-align: center;
    margin-bottom: 50px;
}

.logo-slider-header h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.logo-slider-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.logo-track {
    display: flex;
    width: calc(250px * 20);
    animation: scroll 40s linear infinite;
}

.logo-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 10)); }
}

.slide {
    height: 100px;
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    flex-shrink: 0;
}

.slide img {
    height: 70px;
    width: 170px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.4s ease;
}

.slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Gradient Overlay for smooth edges */
.logo-slider::before,
.logo-slider::after {
    content: "";
    height: 100%;
    position: absolute;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.logo-slider::before {
    left: 0;
    top: 0;
    background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
}

.logo-slider::after {
    right: 0;
    top: 0;
    background: linear-gradient(to left, white 0%, rgba(255, 255, 255, 0) 100%);
}

.footer-grid div div a {
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-grid div div a:hover {
    color: #2ecc71 !important;
    transform: scale(1.3);
    filter: drop-shadow(0 0 5px rgba(46, 204, 113, 0.5));
}

/* Hero Slider Styles */
.slider-container {
    position: relative;
    overflow: hidden;
    background: #000;
}
.bg-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;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bg-slide.active {
    opacity: 1;
}
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
    transform: translateY(-50%);
    z-index: 3;
}
.slider-controls button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.3s;
}
.slider-controls button:hover {
    background: rgba(255, 255, 255, 0.5);
}
.slider-dots {
    position: absolute;
    bottom: 80px;
    width: 100%;
    text-align: center;
    z-index: 3;
}
.slider-dots .dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}
.slider-dots .dot.active {
    background: white;
}

/* Slider Mobile Optimization to prevent excessive cropping */
@media (max-width: 768px) {
    .hero.slider-container {
        height: auto !important;
        min-height: 70vh !important;
        padding-top: 100px;
        padding-bottom: 80px;
    }
    .bg-slide {
        background-position: center 30%;
    }
    .slider-controls button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .slider-controls {
        padding: 0 15px;
    }
    .slider-dots {
        bottom: 40px;
    }
}
