:root {
    /* Varsayılan Tema: Açık Kurumsal (Light Corporate) */
    --bg-rgb: 248, 250, 252;
    --primary-blue: rgb(var(--bg-rgb));
    --accent-gold: #b45309; 
    --text-light: #0f172a;
    --text-muted: #475569;
    --glass-bg: rgba(0, 0, 0, 0.03);
    --glass-border: rgba(0, 0, 0, 0.08);
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="industrial"] {
    --bg-rgb: 30, 41, 59;
    --primary-blue: rgb(var(--bg-rgb));
    --accent-gold: #f97316;
    --text-light: #f1f5f9;
    --text-muted: #cbd5e1;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

[data-theme="emerald"] {
    --bg-rgb: 6, 78, 59;
    --primary-blue: rgb(var(--bg-rgb));
    --accent-gold: #fbbf24;
    --text-light: #ecfdf5;
    --text-muted: #a7f3d0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* Theme Switcher Styles */
.theme-switcher {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    padding-bottom: 20px;
}
.theme-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--glass-border);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    outline: none;
}
.theme-btn:hover { transform: scale(1.15); }
.theme-btn.active { 
    border-color: var(--accent-gold); 
    transform: scale(1.15); 
    box-shadow: 0 0 10px rgba(var(--bg-rgb), 0.5);
}
.theme-btn[data-style="light"] { background: #f8fafc; border: 2px solid #cbd5e1; }
.theme-btn[data-style="industrial"] { background: #1e293b; }
.theme-btn[data-style="emerald"] { background: #064e3b; }


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--primary-blue);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 16px 8%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

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

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    font-size: 0.9rem;
    opacity: 0.9;
    transition: var(--transition-smooth);
}

nav.scrolled .nav-links a {
    color: #0f172a;
}

.nav-links a:hover {
    color: var(--accent-gold);
    opacity: 1;
}

.btn-quote {
    background: var(--accent-gold);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 100px;
    margin-left: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(180, 83, 9, 0.3);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2001;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--accent-gold);
    transition: all 0.3s ease;
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--primary-blue);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu a {
    font-size: 1.5rem;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: var(--accent-gold);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    nav.scrolled {
        padding: 10px 5%;
    }
}


/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 0 10%;
    color: #ffffff;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #0f172a; /* Fallback Slate Navy */
    background-image: linear-gradient(rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.78)),
        url('./resim/hero-main.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: kenBurns 25s linear infinite alternate;
    will-change: transform;
}

@keyframes kenBurns {
    0% {
        transform: scale(1) translateX(0);
    }
    100% {
        transform: scale(1.15) translateX(2%);
    }
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 24px;
    line-height: 1.1;
    color: #ffffff;
}

.hero-content h1 span {
    color: #f59e0b; /* Brighter Gold for visibility */
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.hero-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(180, 83, 9, 0.1);
    border: 1px solid rgba(180, 83, 9, 0.3);
    color: var(--accent-gold);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.btn-primary {
    background: var(--accent-gold);
    color: white;
    padding: 18px 36px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition-smooth);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 18px 36px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: var(--transition-smooth);
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-gold);
}

/* Stats Ribbon */
.stats-ribbon {
    position: relative;
    margin-top: -60px;
    z-index: 10;
    padding: 0 10%;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 40px;
    background: rgba(var(--bg-rgb), 0.7);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--glass-border);
}

@media (max-width: 992px) {
    .stats-container {
        flex-wrap: wrap;
        gap: 30px;
    }
    .stat-divider { display: none; }
    .stat-card { min-width: 150px; }
}

/* ROI Calculator Section */
.roi-section {
    padding: 100px 10%;
    background: linear-gradient(135deg, rgba(180, 83, 9, 0.05) 0%, transparent 50%);
}

.roi-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 60px;
    align-items: center;
}

.roi-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.roi-content h2 span {
    color: var(--accent-gold);
}

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

.roi-form {
    display: grid;
    gap: 25px;
}

.roi-input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.roi-input-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-light);
}

.roi-input-group input, .roi-input-group select {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-light);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-smooth);
}

.roi-input-group input:focus, .roi-input-group select:focus {
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.1);
}

.roi-result {
    display: flex;
    flex-direction: column;
    gap: 25px;
    background: rgba(180, 83, 9, 0.05);
    padding: 40px;
    border-radius: 20px;
    border: 1px dashed var(--accent-gold);
}

.result-box {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.result-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-value {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--accent-gold);
}

@media (max-width: 992px) {
    .roi-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 30px;
    }
}

/* Services */
.services {
    padding: 100px 10%;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
}

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

.service-card {
    padding: 40px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-gold), transparent);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
}

.service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 25px;
    color: var(--accent-gold);
    position: relative;
    z-index: 1;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-light);
    position: relative;
    z-index: 1;
    transition: color 0.3s;
}

.service-card:hover h3 {
    color: var(--accent-gold);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

/* References Section */
.references {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
    position: relative;
}

.references .section-title {
    margin-bottom: 40px;
}

.logo-slider {
    display: flex;
    width: 200%;
    gap: 50px;
    padding: 20px 0;
}

.logo-track {
    display: flex;
    gap: 80px;
    animation: marquee 25s linear infinite;
    align-items: center;
    cursor: grab;
    user-select: none;
    will-change: transform;
    touch-action: pan-y; /* Allows vertical page scroll but lets JS handle horizontal drag */
}

.logo-track.is-dragging {
    cursor: grabbing;
    animation: none !important;
}

.logo-track.is-dragging .logo-item {
    pointer-events: none; /* Prevent hover/click animations while dragging */
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 80px;
    filter: grayscale(1) opacity(0.6);
    transition: var(--transition-smooth);
    cursor: pointer;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.logo-item:hover {
    filter: grayscale(0) opacity(1);
    transform: scale(1.1);
}

.logo-item img {
    max-width: 140px;
    max-height: 50px;
    object-fit: contain;
}

/* Fallback for generated logos or text-based ones */
.logo-placeholder {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text-light);
    border: 1px solid var(--glass-border);
    padding: 10px 20px;
    border-radius: 8px;
    background: var(--glass-bg);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* Elite Premium Footer Styling - Force Override */
html footer#contact, 
footer#contact {
    padding: 100px 10% 40px !important;
    background-color: #0f172a !important; /* Deep Corporate Navy */
    background: #0f172a !important;
    color: #f8fafc !important;
    border-top: 3px solid #fbbf24 !important; /* Elegant Gold Border */
    position: relative !important;
    overflow: hidden !important;
    display: block !important;
}

footer#contact .footer-grid {
    display: grid !important;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 2;
}

footer#contact h4 {
    color: #fbbf24 !important; /* Premium Gold */
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin-bottom: 35px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
}

footer#contact .footer-logo {
    height: 80px !important;
    width: auto !important;
    margin-bottom: 25px !important;
    border-radius: 8px !important;
    background: #f7f1e3 !important; /* Protecting the original beige background of the logo box if it exists */
    padding: 5px;
    transition: transform 0.3s ease;
}

footer#contact .footer-logo:hover {
    transform: scale(1.05);
}

footer#contact p {
    color: #94a3b8 !important; /* Muted Slate */
    line-height: 1.8 !important;
    font-size: 0.95rem !important;
}

footer#contact .contact-item {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    margin-bottom: 22px !important;
}

footer#contact .contact-item svg {
    width: 24px !important;
    height: 24px !important;
    color: #fbbf24 !important;
    flex-shrink: 0 !important;
}

footer#contact .contact-item span {
    color: #cbd5e1 !important;
    font-size: 1rem !important;
}

footer#contact ul {
    list-style: none !important;
    padding: 0 !important;
}

footer#contact ul li {
    margin-bottom: 15px !important;
}

footer#contact ul li a {
    color: #cbd5e1 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
}

footer#contact ul li a:hover {
    color: #fbbf24 !important;
    transform: translateX(8px) !important;
}

footer#contact .footer-bottom {
    margin-top: 80px !important;
    padding-top: 30px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    text-align: center !important;
}

footer#contact .footer-bottom p {
    color: #64748b !important;
    font-size: 0.9rem !important;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .logo-track {
        gap: 40px;
    }
}

/* Modal CSS */
.quote-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.quote-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.quote-modal-box {
    background: var(--primary-blue);
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    border: 1px solid var(--glass-border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.quote-modal-overlay.active .quote-modal-box {
    transform: translateY(0);
}

.quote-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s;
}

.quote-modal-close:hover {
    color: var(--text-light);
}

.quote-modal-box h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--text-light);
}

.quote-modal-box p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

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

.quote-form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.quote-form-group input,
.quote-form-group select,
.quote-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 0.95rem;
    transition: border-color 0.2s;
}
.quote-form-group select option {
    background: var(--primary-blue);
    color: var(--text-light);
}

.quote-form-group input:focus,
.quote-form-group select:focus,
.quote-form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.quote-modal-box .btn-submit {
    width: 100%;
    margin-top: 10px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}