/* Liman Akaryakıt - Custom Styles */

/* Dark Mode (default) */
:root {
    --gold-400: #f5d77a;
    --gold-500: #c9a227;
    --gold-600: #a68520;
    --dark-900: #0a0a0a;
    --dark-800: #121212;
    --dark-700: #1a1a1a;
    --bg-primary: #0a0a0a;
    --bg-secondary: #121212;
    --bg-tertiary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border-color: rgba(201, 162, 39, 0.1);
    --card-bg: linear-gradient(135deg, #1a1a1a, #121212);
    --glass-bg: rgba(10, 10, 10, 0.8);
}

/* Light Mode */
[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --text-primary: #1a1a1a;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    --border-color: rgba(201, 162, 39, 0.2);
    --card-bg: linear-gradient(135deg, #ffffff, #f8f9fa);
    --glass-bg: rgba(255, 255, 255, 0.9);
}

/* Theme Switcher Button */
.theme-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-switcher:hover {
    background: var(--gold-500);
    color: var(--bg-primary);
}

.theme-switcher svg {
    width: 20px;
    height: 20px;
}

/* Apply theme colors */
body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

[data-theme="light"] .glass-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .glass-nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .nav-link {
    color: #374151;
}

[data-theme="light"] .nav-link:hover {
    color: var(--gold-600);
}

[data-theme="light"] .text-white {
    color: var(--text-primary) !important;
}

[data-theme="light"] .text-gray-400 {
    color: #4b5563 !important;
}

[data-theme="light"] .text-gray-500 {
    color: #6b7280 !important;
}

[data-theme="light"] .text-gray-300 {
    color: #374151 !important;
}

[data-theme="light"] .bg-dark-900 {
    background-color: var(--bg-primary) !important;
}

[data-theme="light"] .bg-dark-800\/50 {
    background-color: #f3f4f6 !important;
}

[data-theme="light"] .service-card,
[data-theme="light"] .sector-card,
[data-theme="light"] .contact-card,
[data-theme="light"] .form-container {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .service-card:hover,
[data-theme="light"] .sector-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--gold-500);
}

[data-theme="light"] .form-input {
    background: #f9fafb;
    border: 1px solid #d1d5db;
    color: #111827;
}

[data-theme="light"] .form-input:focus {
    border-color: var(--gold-500);
    background: #ffffff;
}

[data-theme="light"] #mobile-menu {
    background: rgba(255, 255, 255, 0.98);
}

[data-theme="light"] #mobile-menu .nav-link {
    color: #374151;
}

[data-theme="light"] .hero-slideshow .slide.active {
    opacity: 0.25;
}

/* Hero section light mode - dark overlay for text readability */
[data-theme="light"] section.min-h-screen .bg-dark-900\/70 {
    background: rgba(0, 0, 0, 0.6) !important;
}

[data-theme="light"] section.min-h-screen h1,
[data-theme="light"] section.min-h-screen p,
[data-theme="light"] section.min-h-screen span {
    color: #ffffff !important;
}

[data-theme="light"] section.min-h-screen .btn-secondary {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.5);
}

[data-theme="light"] section.min-h-screen .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] section.min-h-screen .btn-secondary svg {
    stroke: #ffffff;
}

/* Footer light mode */
[data-theme="light"] footer {
    background-color: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

[data-theme="light"] footer a {
    color: #4b5563;
}

[data-theme="light"] footer a:hover {
    color: var(--gold-600);
}

[data-theme="light"] footer h4 {
    color: var(--gold-600);
}

[data-theme="light"] footer p,
[data-theme="light"] footer li {
    color: #4b5563;
}

/* Page header sections light mode */
[data-theme="light"] section.pt-32 {
    background-color: #f3f4f6 !important;
}

[data-theme="light"] section.pt-32 h1 {
    color: #111827;
}

[data-theme="light"] section.pt-32 p {
    color: #4b5563;
}

/* Stats and cards light mode */
[data-theme="light"] .bg-dark-700\/50 {
    background-color: #ffffff !important;
    border: 1px solid #e5e7eb;
}

[data-theme="light"] .bg-gradient-to-br.from-dark-700 {
    background: #ffffff !important;
    border: 1px solid #e5e7eb;
}

/* CTA sections */
[data-theme="light"] .bg-gradient-to-r.from-gold-500\/20 {
    background: linear-gradient(to right, rgba(201, 162, 39, 0.15), rgba(245, 215, 122, 0.1)) !important;
    border-color: rgba(201, 162, 39, 0.3);
}

[data-theme="light"] .bg-gradient-to-r.from-gold-500\/20 h2,
[data-theme="light"] .bg-gradient-to-r.from-gold-500\/20 p {
    color: #1a1a1a !important;
}

/* Button adjustments */
[data-theme="light"] .btn-secondary {
    color: #374151;
    border-color: rgba(201, 162, 39, 0.5);
}

[data-theme="light"] .btn-secondary:hover {
    background: rgba(201, 162, 39, 0.15);
    color: #1a1a1a;
}

/* Social icons */
[data-theme="light"] .social-icon {
    background: #e5e7eb;
    color: #4b5563;
}

[data-theme="light"] .social-icon:hover {
    background: var(--gold-500);
    color: #ffffff;
}

/* Floating buttons */
[data-theme="light"] .floating-btn {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Header Logo - Light Mode */
[data-theme="light"] .header-logo {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

[data-theme="light"] .header-logo:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* Glassmorphism Navigation */
.glass-nav {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 162, 39, 0.1);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.glass-nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Navigation Links */
.nav-link {
    color: #9ca3af;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--gold-400);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-400), var(--gold-500));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Primary Button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    color: #0a0a0a;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 162, 39, 0.5);
}

/* Secondary Button */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: white;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(201, 162, 39, 0.3);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(201, 162, 39, 0.1);
    border-color: var(--gold-400);
}

/* Floating Buttons */
.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.floating-btn:hover {
    transform: scale(1.1);
}

/* Hero Ken Burns Slideshow */
.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slideshow .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1.5s ease-in-out;
    animation: kenburns 20s ease-in-out infinite;
}

.hero-slideshow .slide.active {
    opacity: 0.4;
}

@keyframes kenburns {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

/* Service Cards */
.service-card {
    background: linear-gradient(135deg, var(--dark-700), var(--dark-800));
    border: 1px solid rgba(201, 162, 39, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(201, 162, 39, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

/* Sector Cards */
.sector-card {
    background: linear-gradient(135deg, var(--dark-700), var(--dark-800));
    border: 1px solid rgba(201, 162, 39, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.sector-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-500);
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.1), var(--dark-800));
}

.sector-icon {
    font-size: 2.5rem;
}

.sector-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 0.5rem;
}

/* Contact Cards */
.contact-card {
    background: linear-gradient(135deg, var(--dark-700), var(--dark-800));
    border: 1px solid rgba(201, 162, 39, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: rgba(201, 162, 39, 0.3);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Form Styles */
.form-container {
    background: linear-gradient(135deg, var(--dark-700), var(--dark-800));
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 1.5rem;
    padding: 2rem;
}

.form-label {
    display: block;
    color: #9ca3af;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    background: var(--dark-900);
    border: 1px solid rgba(201, 162, 39, 0.1);
    border-radius: 0.75rem;
    padding: 1rem;
    color: white;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--gold-500);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

.form-input::placeholder {
    color: #4b5563;
}

/* Social Icons */
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--dark-700);
    color: #9ca3af;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--gold-500);
    color: var(--dark-900);
}

/* About Image */
.about-image-container {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 2px solid rgba(201, 162, 39, 0.2);
    border-radius: 1rem;
    transform: rotate(3deg);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Mobile Menu */
#mobile-menu.active {
    display: flex;
}

/* Feature Cards */
.feature-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(18, 18, 18, 0.9));
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(201, 162, 39, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(201, 162, 39, 0.1);
}

[data-theme="light"] .feature-card {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-color: #e5e7eb;
}

[data-theme="light"] .feature-card:hover {
    border-color: var(--gold-500);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 30px rgba(201, 162, 39, 0.15);
}

[data-theme="light"] .feature-card h3 {
    color: #1a1a1a;
}

[data-theme="light"] .feature-card p {
    color: #4b5563;
}