:root {
    --bg-color: #0b1114;
    --bg-surface: #141f25;
    --text-main: #f0f0f0;
    --text-muted: #a0aab2;

    /* Primary Turkish/Teal accents */
    --accent: #008080;
    --accent-light: #00b3b3;
    --accent-dark: #004d4d;

    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Inter', sans-serif;

    --glass-bg: rgba(20, 31, 37, 0.6);
    --glass-border: rgba(255, 255, 255, 0.05);

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

[data-theme="light"] {
    /* ── Beautiful Light Palette ── */
    --bg-color: #f5f7fa;
    --bg-surface: #ffffff;
    --bg-surface-alt: #eef2f7;
    --text-main: #1e293b;
    --text-muted: #64748b;

    /* Richer teal accents for light mode */
    --accent: #0d9488;
    --accent-light: #0f766e;
    --accent-dark: #115e59;

    --glass-bg: rgba(255, 255, 255, 0.80);
    --glass-border: rgba(14, 148, 136, 0.15);

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 14px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.08);
}

/* ── Light theme: global overrides ── */

/* Body & background animation */
[data-theme="light"] body {
    background-color: var(--bg-color);
}

[data-theme="light"] .falling-ink-container {
    opacity: 0.35;
}
[data-theme="light"] .falling-ink-container .p-1 {
    background: radial-gradient(ellipse, rgba(13,148,136,0.12) 0%, transparent 60%);
}
[data-theme="light"] .falling-ink-container .p-2 {
    background: radial-gradient(ellipse, rgba(13,148,136,0.08) 0%, transparent 60%);
}
[data-theme="light"] .falling-ink-container .p-3 {
    background: radial-gradient(ellipse, rgba(13,148,136,0.15) 0%, transparent 60%);
}
[data-theme="light"] .falling-ink-container .p-4 {
    background: radial-gradient(ellipse, rgba(13,148,136,0.10) 0%, transparent 60%);
}
[data-theme="light"] .falling-ink-container .p-5 {
    background: radial-gradient(ellipse, rgba(13,148,136,0.13) 0%, transparent 60%);
}
[data-theme="light"] .falling-plume {
    mix-blend-mode: multiply;
}

/* Header & Navigation */
[data-theme="light"] header.scrolled {
    background: rgba(255,255,255,0.88);
    border-bottom: 1px solid rgba(14,148,136,0.12);
    box-shadow: 0 1px 8px rgba(0,0,0,0.05);
}

[data-theme="light"] .dropdown-content {
    background-color: rgba(255,255,255,0.96);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border: 1px solid rgba(14, 148, 136, 0.12);
}
[data-theme="light"] .dropdown-content a:hover {
    background-color: rgba(13,148,136,0.08);
}

/* Glass Cards */
[data-theme="light"] .glass-card {
    background: rgba(255,255,255,0.90);
    border: 1px solid rgba(14,148,136,0.10);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(8px);
}
[data-theme="light"] .glass-card:hover {
    border-color: rgba(14,148,136,0.25);
    box-shadow: var(--shadow-lg);
}

/* Buttons */
[data-theme="light"] .btn-primary {
    background-color: var(--accent);
    box-shadow: 0 4px 14px rgba(13,148,136,0.25);
}
[data-theme="light"] .btn-primary:hover {
    background-color: var(--accent-light);
    box-shadow: 0 6px 20px rgba(13,148,136,0.35);
}
[data-theme="light"] .btn-outline {
    border-color: var(--accent);
    color: var(--accent);
}
[data-theme="light"] .btn-outline:hover {
    background-color: var(--accent);
    color: #fff;
}

/* Footer */
[data-theme="light"] footer {
    background-color: #e8ecf1;
    border-top: 1px solid rgba(14,148,136,0.12);
}
[data-theme="light"] .footer-bottom {
    border-top: 1px solid rgba(14,148,136,0.12);
}

/* ── Page-specific overrides for light theme ── */

/* Page Header gradient */
[data-theme="light"] .page-header {
    background: linear-gradient(to bottom, #dff0ef 0%, var(--bg-color) 100%) !important;
}

/* Hero section */
[data-theme="light"] .hero {
    background: #e8eef3 !important;
}
[data-theme="light"] .hero-overlay {
    background: linear-gradient(to bottom, rgba(245,247,250,0.3) 0%, rgba(245,247,250,1) 100%) !important;
}
[data-theme="light"] .hero-content h1 {
    text-shadow: 0 2px 10px rgba(0,0,0,0.08);
    color: var(--text-main);
}

/* Artist cards */
[data-theme="light"] .artist-card {
    box-shadow: var(--shadow-sm);
}
[data-theme="light"] .artist-card:hover {
    box-shadow: var(--shadow-lg);
}
[data-theme="light"] .artist-name {
    color: var(--text-main) !important;
}
[data-theme="light"] .tag {
    background: rgba(13,148,136,0.08);
    border-color: rgba(13,148,136,0.20);
    color: var(--accent-light);
}

/* Gallery section */
[data-theme="light"] .gallery-section {
    background: var(--bg-surface-alt, #eef2f7) !important;
}

/* Pricing / dark sections */
[data-theme="light"] .pricing-section {
    background: var(--bg-surface-alt, #eef2f7) !important;
}
[data-theme="light"] .payment-logos span {
    background: #fff !important;
    color: var(--text-main) !important;
    border: 1px solid rgba(14,148,136,0.15);
    box-shadow: var(--shadow-sm);
}

/* Icon circles */
[data-theme="light"] .icon-circle {
    background: rgba(13,148,136,0.08);
    border-color: rgba(13,148,136,0.20);
}
[data-theme="light"] .highlight-item:hover .icon-circle {
    box-shadow: 0 0 20px rgba(13,148,136,0.3);
}

.icon-circle svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
    display: block;
    filter: drop-shadow(0 0 5px var(--accent));
    transition: var(--transition);
}

.highlight-item:hover .icon-circle svg {
    filter: drop-shadow(0 0 12px var(--accent-light));
    transform: scale(1.1);
}

/* Featured banner */
[data-theme="light"] .featured-banner {
    border-color: rgba(14,148,136,0.10);
    background: var(--bg-surface);
}

/* Service rows */
[data-theme="light"] .service-row {
    box-shadow: var(--shadow-sm);
}

/* Scrollbar */
[data-theme="light"]::-webkit-scrollbar {
    width: 8px;
}
[data-theme="light"]::-webkit-scrollbar-track {
    background: var(--bg-color);
}
[data-theme="light"]::-webkit-scrollbar-thumb {
    background: rgba(13,148,136,0.3);
    border-radius: 4px;
}

/* Smooth transition when switching themes */
[data-theme="light"],
[data-theme="light"] body,
[data-theme="light"] header,
[data-theme="light"] footer,
[data-theme="light"] .glass-card,
[data-theme="light"] .artist-card,
[data-theme="light"] .service-row,
[data-theme="light"] .falling-ink-container {
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-accent {
    color: var(--accent);
}

.section-padding {
    padding: 100px 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 128, 128, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 128, 128, 0.5);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--accent);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: #fff;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.nav-right {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-left: 20px;
    padding-top: 10px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.1;
    margin-left: 60px;
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    align-items: flex-start;
    flex-wrap: wrap;
    padding-top: 10px;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-light);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    top: 100%;
    left: 0;
    padding: 10px 0;
}

.dropdown-content a {
    color: var(--text-main);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.dropdown-content a::after {
    display: none;
    /* remove the underline hover effect for dropdown items */
}

.dropdown-content a:hover {
    background-color: rgba(0, 128, 128, 0.2);
    color: var(--accent-light);
    width: 100%;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Glass Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 30px;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 128, 128, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Footer */
footer {
    background-color: #05080a;
    padding: 60px 0 20px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: var(--accent);
}

.footer-col p {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Mobile Menu Toggle (hidden on desktop) */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

/* ── Theme Toggle (Premium Pill Switch) ── */
.theme-toggle {
    position: relative;
    width: 52px;
    height: 28px;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.3);
    border: 1.5px solid rgba(0, 128, 128, 0.4);
    cursor: pointer;
    margin-left: 14px;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: center;
    padding: 3px;
}

.theme-toggle:hover {
    border-color: var(--accent);
    box-shadow: 0 0 12px rgba(0, 128, 128, 0.3);
}

.theme-toggle-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    box-shadow: 0 2px 8px rgba(0, 128, 128, 0.4);
}

.theme-toggle-thumb svg {
    width: 12px;
    height: 12px;
    fill: #0b1114;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.theme-toggle-thumb .icon-moon {
    display: none;
}

[data-theme="light"] .theme-toggle {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(13, 148, 136, 0.3);
}

[data-theme="light"] .theme-toggle-thumb {
    transform: translateX(24px);
    background: var(--accent);
}

[data-theme="light"] .theme-toggle-thumb .icon-sun {
    display: none;
}

[data-theme="light"] .theme-toggle-thumb .icon-moon {
    display: block;
    fill: #fff;
}

/* ── Nav right-side flex container ── */
.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Responsive */
@media (max-width: 1200px) {
    .nav-links {
        gap: 15px;
    }
}

@media (max-width: 992px) {
    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .logo {
        margin-left: 10px;
    }
    .nav-links {
        display: none;
        /* Will be toggled via JS class */
    }

    .nav-links.nav-open {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(11, 17, 20, 0.97);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 20px;
        border-bottom: 1px solid rgba(0, 128, 128, 0.3);
        z-index: 999;
        gap: 0;
        animation: slideDown 0.3s ease;
    }

    [data-theme="light"] .nav-links.nav-open {
        background: rgba(245, 247, 250, 0.97);
    }

    .nav-links.nav-open li {
        width: 100%;
    }

    .nav-links.nav-open a {
        display: block;
        padding: 14px 10px;
        border-bottom: 1px solid var(--glass-border);
        font-size: 1rem;
    }

    .nav-links.nav-open a::after {
        display: none;
    }

    /* Mobile dropdown */
    .nav-links.nav-open .dropdown-content {
        position: static;
        display: none;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0 0 0 20px;
    }

    .nav-links.nav-open .dropdown.open .dropdown-content {
        display: block;
        opacity: 1;
        visibility: visible;
        position: static;
        transform: none;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .mobile-toggle {
        display: block;
    }

    .section-padding {
        padding: 70px 0;
    }

    .theme-toggle {
        margin-left: 0;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-col {
        text-align: center !important;
    }

    .btn {
        padding: 12px 24px;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }

    .section-padding {
        padding: 50px 0;
    }

    .glass-card {
        padding: 20px;
    }
}

/* --- Dynamic Force Mobile Menu --- */
body.force-mobile-menu .logo { margin-left: 10px; }
body.force-mobile-menu .nav-links { display: none; }
body.force-mobile-menu .nav-links.nav-open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(11, 17, 20, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 20px;
    border-bottom: 1px solid rgba(0, 128, 128, 0.3);
    z-index: 999;
    gap: 0;
    animation: slideDown 0.3s ease;
}
[data-theme="light"] body.force-mobile-menu .nav-links.nav-open {
    background: rgba(245, 247, 250, 0.97);
}
body.force-mobile-menu .nav-links.nav-open li { width: 100%; }
body.force-mobile-menu .nav-links.nav-open a {
    display: block;
    padding: 14px 10px;
    border-bottom: 1px solid var(--glass-border);
    font-size: 1rem;
}
body.force-mobile-menu .nav-links.nav-open a::after { display: none; }
body.force-mobile-menu .nav-links.nav-open .dropdown-content {
    position: static;
    display: none;
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0 0 0 20px;
}
body.force-mobile-menu .nav-links.nav-open .dropdown.open .dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
    position: static;
    transform: none;
}
body.force-mobile-menu .mobile-toggle { display: block; }
body.force-mobile-menu .theme-toggle { margin-left: 0; }

/* ----------------------------------------------------
   GLOBAL BACKGROUND - FALLING INK (Option 10-B)
   ---------------------------------------------------- */
body {
    background-color: var(--bg-color);
    /* Użyto zmiennej CSS dla obsługi motywów */
}

/* Ustawienia kontenera na ruszający się tusz i jego filtr */
.falling-ink-container {
    position: fixed;
    /* Fixed by "pływał" za treścią na całej długości strony */
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    /* Zawsze z tyłu */
    filter: url(#global-falling-ink-filter);
    contain: layout style paint;
}

.falling-plume {
    position: absolute;
    top: -20%;
    border-radius: 50%;
    mix-blend-mode: screen;
    animation: fallInk linear infinite;
    will-change: transform, opacity;
}

@keyframes fallInk {
    0% {
        transform: translateY(-50vh) scale(0.4);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(120vh) scale(3.5);
        opacity: 0;
    }
}

/* 5 chmur (Ciemny pył wodny / Option 10-B) */
.falling-ink-container .p-1 {
    left: 5%;
    width: 200px;
    height: 800px;
    background: radial-gradient(ellipse, rgba(0, 77, 77, 0.4) 0%, transparent 60%);
    animation-duration: 35s;
    animation-delay: -5s;
}

.falling-ink-container .p-2 {
    left: 25%;
    width: 400px;
    height: 1000px;
    background: radial-gradient(ellipse, rgba(0, 128, 128, 0.2) 0%, transparent 60%);
    animation-duration: 40s;
    animation-delay: -20s;
}

.falling-ink-container .p-3 {
    left: 50%;
    width: 600px;
    height: 1200px;
    background: radial-gradient(ellipse, rgba(0, 50, 50, 0.6) 0%, transparent 60%);
    animation-duration: 45s;
    animation-delay: -15s;
    z-index: -2;
}

.falling-ink-container .p-4 {
    left: 70%;
    width: 300px;
    height: 900px;
    background: radial-gradient(ellipse, rgba(0, 128, 128, 0.35) 0%, transparent 60%);
    animation-duration: 38s;
    animation-delay: -2s;
}

.falling-ink-container .p-5 {
    left: 85%;
    width: 250px;
    height: 700px;
    background: radial-gradient(ellipse, rgba(0, 77, 77, 0.5) 0%, transparent 60%);
    animation-duration: 32s;
    animation-delay: -10s;
}