/* ================================================
   MAQ Management - Strona wzorowana na noho-management.com
   Kolorystyka: Ciemny granat + Miedź/Rose-gold
   ================================================ */

/* CSS Variables - Dark Theme (default) */
:root,
[data-theme="dark"] {
    --color-bg-primary: #1D2841;
    --color-bg-secondary: #162036;
    --color-bg-dark: #0f1626;
    --color-accent-primary: #CB7E64;
    --color-accent-hover: #A6624E;
    --color-accent-dark: #604548;
    --color-text-light: #FFFFFF;
    --color-text-muted: #9BA3B5;
    --color-text-dark: #1D2841;
    --color-card-bg: rgba(22, 32, 54, 0.5);
    --color-card-border: rgba(203, 126, 100, 0.2);
    --color-navbar-bg: transparent;
    --color-navbar-scrolled: rgba(29, 40, 65, 0.98);
    --color-input-bg: rgba(255, 255, 255, 0.05);
    --color-input-border: rgba(203, 126, 100, 0.3);
    --color-shadow: rgba(0, 0, 0, 0.3);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition-fast: 0.25s ease;
    --transition-medium: 0.4s ease;
}

/* CSS Variables - Light Theme */
[data-theme="light"] {
    --color-bg-primary: #FFFFFF;
    --color-bg-secondary: #F8F9FA;
    --color-bg-dark: #EBEDF0;
    --color-accent-primary: #CB7E64;
    --color-accent-hover: #A6624E;
    --color-accent-dark: #604548;
    --color-text-light: #1D2841;
    --color-text-muted: #6B7280;
    --color-text-dark: #FFFFFF;
    --color-card-bg: #FFFFFF;
    --color-card-border: rgba(29, 40, 65, 0.1);
    --color-navbar-bg: rgba(255, 255, 255, 0.98);
    --color-navbar-scrolled: rgba(255, 255, 255, 0.98);
    --color-input-bg: #FFFFFF;
    --color-input-border: rgba(29, 40, 65, 0.2);
    --color-shadow: rgba(0, 0, 0, 0.1);
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .nav-link,
    .service-link,
    .dropdown-item,
    .lang-btn {
        min-height: 44px;
        min-width: 44px;
    }
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-primary);
    color: var(--color-text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Remove focus outlines on non-interactive elements */
h1, h2, h3, h4, h5, h6, p, div, section {
    outline: none;
}

*:focus:not(:focus-visible) {
    outline: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ================================================
   NAWIGACJA - Logo na środku jak noho-management.com
   ================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all var(--transition-medium);
}

.navbar.scrolled {
    background: var(--color-navbar-scrolled);
    backdrop-filter: blur(10px);
    padding: 12px 40px;
    box-shadow: 0 2px 20px var(--color-shadow);
}

/* Light theme navbar */
[data-theme="light"] .navbar {
    background: var(--color-navbar-bg);
    box-shadow: 0 1px 10px var(--color-shadow);
}

[data-theme="light"] .navbar.scrolled {
    box-shadow: 0 2px 20px var(--color-shadow);
}

/* Logo na środku */
.navbar-logo-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.navbar-logo-center img {
    height: 55px;
    width: auto;
    transition: all var(--transition-fast);
}

.navbar.scrolled .navbar-logo-center img {
    height: 45px;
}

.navbar-logo-center:hover img {
    transform: scale(1.05);
}

/* Menu po lewej i prawej stronie logo */
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.navbar-nav-left {
    margin-right: auto;
}

.navbar-nav-right {
    margin-left: auto;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-text-light);
    padding: 10px 0;
    transition: color var(--transition-fast);
    cursor: pointer;
}

.nav-link:hover {
    color: var(--color-accent-primary);
}

/* Dropdown */
.dropdown .nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown .nav-link::after {
    content: '';
    width: 5px;
    height: 5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-top: -2px;
    transition: transform var(--transition-fast);
}

.dropdown:hover .nav-link::after {
    transform: rotate(-135deg);
    margin-top: 2px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    min-width: 280px;
    background: var(--color-bg-secondary);
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-fast);
    border-top: 2px solid var(--color-accent-primary);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 25px;
    font-size: 12px;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    color: var(--color-accent-primary);
    background: rgba(203, 126, 100, 0.08);
    padding-left: 30px;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 8px;
    margin-left: 20px;
}

.lang-btn {
    background: transparent;
    border: none;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--color-accent-primary);
}

/* Mobile Menu Toggle */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    position: absolute;
    right: 30px;
}

.navbar-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-text-light);
    transition: all var(--transition-fast);
}

/* ================================================
   HERO SECTION - Efekt 3 kolumn jak noho-management
   ================================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-primary);
    overflow: hidden;
    margin-top: 95px; /* Wysokość navbara - hero zaczyna się pod nim */
}

/* 3 kolumny ze zdjęciem - efekt schodkowy z przerwami */
.hero-columns {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px; /* Większe przerwy */
    padding: 0 8%;
}

.hero-column {
    flex: 1;
    max-width: 480px; /* Szersze kafelki */
    overflow: hidden;
    position: relative;
}

.hero-column-inner {
    width: 100%;
    height: calc(100vh - 95px + 150px); /* Pełna wysokość + zapas na parallax */
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    position: absolute;
    left: 0;
    transition: transform 0.1s ease-out;
}

/* Przesunięcie schodkowe - ROSNĄCE od lewej do prawej */
/* Kolumna 1 - najniżej (największy margin-top) */
.hero-column:nth-child(1) {
    margin-top: 120px;
    height: calc(100% - 120px);
}

.hero-column:nth-child(1) .hero-column-inner {
    top: 0;
    background-position: 25% center;
}

/* Kolumna 2 - środek */
.hero-column:nth-child(2) {
    margin-top: 60px;
    height: calc(100% - 60px);
}

.hero-column:nth-child(2) .hero-column-inner {
    top: -60px;
    background-position: 50% center;
}

/* Kolumna 3 - najwyżej (najmniejszy margin-top) */
.hero-column:nth-child(3) {
    margin-top: 0;
    height: 100%;
}

.hero-column:nth-child(3) .hero-column-inner {
    top: -120px;
    background-position: 75% center;
}

/* Overlay na kolumnach */
.hero-column::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(29, 40, 65, 0.3) 0%,
        rgba(29, 40, 65, 0.5) 50%,
        rgba(29, 40, 65, 0.7) 100%
    );
    pointer-events: none;
}

/* Animacja wejścia kolumn */
.hero-column {
    opacity: 0;
    transform: translateY(100px);
    animation: columnIn 0.8s ease forwards;
}

.hero-column:nth-child(1) { animation-delay: 0.1s; }
.hero-column:nth-child(2) { animation-delay: 0.25s; }
.hero-column:nth-child(3) { animation-delay: 0.4s; }

@keyframes columnIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Treść Hero - wyśrodkowana */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 40px;
    margin-top: 0;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(24px, 4vw, 42px);
    font-weight: 400;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: var(--color-accent-primary);
    margin-bottom: 15px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.hero-subtitle {
    font-size: clamp(12px, 1.5vw, 16px);
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-text-light);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.8s forwards;
}

/* Menu usług pod tytułem */
.hero-services {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 60px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 1s forwards;
}

.hero-service-link {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
    cursor: pointer;
}

.hero-service-link:hover {
    color: var(--color-accent-primary);
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0;
    animation: fadeInUp 0.8s ease 1.2s forwards;
}

.hero-scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-accent-primary) 0%, transparent 100%);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.6); opacity: 0.5; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================
   SEKCJE
   ================================================ */
.section {
    padding: 120px 60px;
}

.section-dark {
    background: var(--color-bg-secondary);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    color: var(--color-accent-primary);
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ================================================
   O NAS
   ================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-content h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--color-accent-primary);
    margin-bottom: 30px;
    font-weight: 400;
}

.about-content p {
    font-size: 16px;
    color: var(--color-text-muted);
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-quote {
    font-family: var(--font-heading);
    font-size: 24px;
    font-style: italic;
    color: var(--color-accent-primary);
    padding: 30px 0 30px 30px;
    border-left: 3px solid var(--color-accent-primary);
    margin-top: 40px;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -25px;
    right: -25px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-accent-primary);
    z-index: -1;
}

/* ================================================
   USŁUGI
   ================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--color-bg-secondary);
    padding: 50px 40px;
    text-align: center;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-accent-primary);
    transform: scaleX(0);
    transition: transform var(--transition-medium);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-number {
    font-family: var(--font-heading);
    font-size: 48px;
    color: var(--color-accent-dark);
    opacity: 0.3;
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 400;
    color: var(--color-text-light);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.service-card p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 30px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent-primary);
    transition: gap var(--transition-fast);
}

.service-link:hover {
    gap: 15px;
}

.service-link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* ================================================
   REALIZACJE
   ================================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project-card {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: pointer;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(29, 40, 65, 0.95) 0%,
        rgba(29, 40, 65, 0.3) 50%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-title {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--color-text-light);
    margin-bottom: 5px;
}

.project-category {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent-primary);
}

/* ================================================
   KONTAKT
   ================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--color-accent-primary);
    margin-bottom: 40px;
    font-weight: 400;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(203, 126, 100, 0.1);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--color-accent-primary);
    stroke-width: 1.5;
    fill: none;
}

.contact-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.contact-item p {
    font-size: 15px;
    color: var(--color-text-muted);
}

/* Formularz */
.contact-form {
    background: var(--color-bg-secondary);
    padding: 50px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 15px 20px;
    background: var(--color-bg-primary);
    border: 1px solid var(--color-accent-dark);
    color: var(--color-text-light);
    font-family: var(--font-body);
    font-size: 15px;
    transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-accent-primary);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 40px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary {
    background: var(--color-accent-primary);
    color: var(--color-text-light);
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(203, 126, 100, 0.3);
}

/* ================================================
   DESTINATION SECTION - przed footerem jak noho
   ================================================ */
.destination-section {
    background: var(--color-bg-primary);
}

/* Część 1: Lista usług */
.destination-services {
    display: grid;
    grid-template-columns: 1fr 2fr;
    min-height: 300px;
}

.destination-services-content {
    padding: 80px 60px;
}

.destination-services-content h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 600;
    color: var(--color-accent-primary);
    margin-bottom: 20px;
}

.destination-services-content > p {
    color: var(--color-text-muted);
    font-size: 15px;
    margin-bottom: 25px;
}

.destination-services-content ul {
    list-style: none;
}

.destination-services-content ul li {
    margin-bottom: 12px;
}

.destination-services-content ul li a {
    color: var(--color-text-light);
    font-size: 15px;
    transition: all var(--transition-fast);
    position: relative;
    padding-left: 0;
}

.destination-services-content ul li a:hover {
    color: var(--color-accent-primary);
    padding-left: 10px;
}

/* Część 2: Zdjęcie podzielone na 2 kolumny */
.destination-image {
    position: relative;
    height: 850px;
    overflow: hidden;
}

.destination-image-columns {
    display: flex;
    justify-content: center;
    gap: 60px;
    height: 100%;
    padding: 0 15%;
}

.destination-column {
    flex: 1;
    max-width: 600px;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.destination-column:nth-child(1) {
    margin-top: 0;
}

.destination-column:nth-child(2) {
    margin-top: 300px;
}

.destination-column-inner {
    width: 100%;
    height: 120%;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.1s ease-out;
}

.destination-column:nth-child(1) .destination-column-inner {
    background-position: 30% center;
    top: -120px;
}

.destination-column:nth-child(2) .destination-column-inner {
    background-position: 70% center;
    top: 0;
}

/* Część 3: Tekst MAQMANAGEMENT przesuwający się - nakłada na zdjęcie */
.destination-brand {
    background: transparent;
    overflow: visible;
    padding: 0;
    position: relative;
    margin-top: -250px;
    z-index: 10;
    pointer-events: none;
}

.brand-text-wrapper {
    white-space: nowrap;
    padding-left: 10%;
    padding-top: 40px;
    padding-bottom: 120px;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(29, 40, 65, 0.7) 30%,
        var(--color-bg-primary) 60%,
        var(--color-bg-primary) 100%
    );
}

.brand-text-large {
    font-family: var(--font-heading);
    font-size: clamp(60px, 10vw, 140px);
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.08em;
    margin: 0;
    display: inline-block;
    transition: transform 0.02s linear;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 2px 10px rgba(203, 126, 100, 0.3);
    position: relative;
    pointer-events: auto;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
    background: var(--color-bg-dark);
    padding: 80px 60px 40px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(203, 126, 100, 0.2);
}

.footer-brand img {
    height: 50px;
    margin-bottom: 25px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.8;
    max-width: 350px;
}

.footer-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent-primary);
    margin-bottom: 25px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--color-text-muted);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-accent-primary);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.footer-contact svg {
    width: 16px;
    height: 16px;
    stroke: var(--color-accent-primary);
    stroke-width: 1.5;
    fill: none;
    flex-shrink: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
}

.footer-copyright {
    font-size: 13px;
    color: var(--color-text-muted);
}

.footer-credits {
    font-size: 13px;
    color: var(--color-text-muted);
}

.footer-credits a {
    color: var(--color-accent-primary);
    transition: opacity var(--transition-fast);
}

.footer-credits a:hover {
    opacity: 0.8;
}

/* ================================================
   PODSTRONY
   ================================================ */
.page-hero {
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: var(--color-bg-secondary);
    padding-top: 80px;
}

.page-hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, var(--color-accent-primary), transparent);
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 56px);
    color: var(--color-accent-primary);
    letter-spacing: 8px;
    text-transform: uppercase;
}

.page-subtitle {
    font-size: 16px;
    color: var(--color-text-muted);
    margin-top: 20px;
    letter-spacing: 3px;
}

.content-section {
    padding: 100px 60px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.content-number {
    font-family: var(--font-heading);
    font-size: 72px;
    color: var(--color-accent-primary);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 20px;
}

.content-title {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--color-accent-primary);
    margin-bottom: 25px;
    font-weight: 400;
}

.content-text {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.9;
}

.content-list {
    margin-top: 30px;
}

.content-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.content-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--color-accent-primary);
}

/* ================================================
   ANIMACJE SCROLL
   ================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ================================================
   LOADING
   ================================================ */
.loading {
    position: fixed;
    inset: 0;
    background: var(--color-bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-content {
    text-align: center;
}

.loading-logo {
    height: 80px;
    margin-bottom: 30px;
    animation: pulse 2s ease-in-out infinite;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-bg-secondary);
    border-top-color: var(--color-accent-primary);
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 1s linear infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#blazor-error-ui {
    background: var(--color-accent-hover);
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 15px 25px;
    position: fixed;
    width: 100%;
    z-index: 1000;
    color: white;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* ================================================
   LIGHT THEME OVERRIDES
   ================================================ */

/* Hero section light */
[data-theme="light"] .hero-content {
    text-shadow: none;
}

[data-theme="light"] .hero-title {
    color: var(--color-accent-primary);
}

[data-theme="light"] .hero-subtitle {
    color: var(--color-text-muted);
}

[data-theme="light"] .hero-service-link {
    color: var(--color-text-muted);
    border-color: var(--color-card-border);
}

[data-theme="light"] .hero-service-link:hover {
    color: var(--color-accent-primary);
    border-color: var(--color-accent-primary);
}

/* Section headers light */
[data-theme="light"] .section-title {
    color: var(--color-accent-primary);
}

[data-theme="light"] .section-subtitle {
    color: var(--color-text-muted);
}

/* About section light */
[data-theme="light"] .about-content h3 {
    color: var(--color-accent-primary);
}

[data-theme="light"] .about-content p {
    color: var(--color-text-muted);
}

[data-theme="light"] .about-quote {
    background: var(--color-bg-secondary);
    border-color: var(--color-accent-primary);
    color: var(--color-text-light);
}

/* Service cards light */
[data-theme="light"] .service-card {
    background: var(--color-card-bg);
    border-color: var(--color-card-border);
    box-shadow: 0 4px 20px var(--color-shadow);
}

[data-theme="light"] .service-card h3 {
    color: var(--color-text-light);
}

[data-theme="light"] .service-card p {
    color: var(--color-text-muted);
}

[data-theme="light"] .service-number {
    color: rgba(203, 126, 100, 0.15);
}

/* Project cards light */
[data-theme="light"] .project-card {
    box-shadow: 0 4px 20px var(--color-shadow);
}

/* Contact section light */
[data-theme="light"] .contact-info h3 {
    color: var(--color-accent-primary);
}

[data-theme="light"] .contact-item h4 {
    color: var(--color-accent-primary);
}

[data-theme="light"] .contact-item p {
    color: var(--color-text-muted);
}

[data-theme="light"] .contact-icon svg {
    stroke: var(--color-accent-primary);
}

/* Form light */
[data-theme="light"] .form-input,
[data-theme="light"] .form-textarea {
    background: var(--color-input-bg);
    border-color: var(--color-input-border);
    color: var(--color-text-light);
}

[data-theme="light"] .form-input::placeholder,
[data-theme="light"] .form-textarea::placeholder {
    color: var(--color-text-muted);
}

[data-theme="light"] .form-label {
    color: var(--color-text-muted);
}

[data-theme="light"] .contact-form {
    background: var(--color-bg-secondary);
    box-shadow: 0 4px 30px var(--color-shadow);
}

/* Buttons light */
[data-theme="light"] .btn-primary {
    background: var(--color-accent-primary);
    color: #FFFFFF;
}

/* Destination section light */
[data-theme="light"] .destination-services {
    background: var(--color-bg-secondary);
}

[data-theme="light"] .destination-services-content h2 {
    color: var(--color-accent-primary);
}

[data-theme="light"] .destination-services-content p {
    color: var(--color-text-muted);
}

[data-theme="light"] .destination-services-content ul li a {
    color: var(--color-text-light);
}

[data-theme="light"] .brand-text-wrapper {
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.7) 30%,
        var(--color-bg-primary) 60%,
        var(--color-bg-primary) 100%
    );
}

[data-theme="light"] .brand-text-large {
    color: var(--color-accent-primary);
    text-shadow: 0 4px 30px rgba(203, 126, 100, 0.3);
}

/* Footer light */
[data-theme="light"] .footer {
    background: var(--color-bg-dark);
}

[data-theme="light"] .footer-title {
    color: var(--color-accent-primary);
}

[data-theme="light"] .footer-brand p,
[data-theme="light"] .footer-links a,
[data-theme="light"] .footer-contact p {
    color: var(--color-text-muted);
}

[data-theme="light"] .footer-copyright,
[data-theme="light"] .footer-credits {
    color: var(--color-text-muted);
}

/* Page hero light */
[data-theme="light"] .page-hero {
    background: var(--color-bg-secondary);
}

[data-theme="light"] .page-title {
    color: var(--color-accent-primary);
}

[data-theme="light"] .page-subtitle {
    color: var(--color-text-muted);
}

/* Content sections light */
[data-theme="light"] .content-title {
    color: var(--color-text-light);
}

[data-theme="light"] .content-text {
    color: var(--color-text-muted);
}

[data-theme="light"] .content-list li {
    color: var(--color-text-muted);
}

[data-theme="light"] .content-number {
    color: rgba(203, 126, 100, 0.2);
}

/* Dropdown light */
[data-theme="light"] .dropdown-menu {
    background: var(--color-bg-primary);
    box-shadow: 0 10px 30px var(--color-shadow);
}

[data-theme="light"] .dropdown-item {
    color: var(--color-text-muted);
}

[data-theme="light"] .dropdown-item:hover {
    color: var(--color-accent-primary);
    background: var(--color-bg-secondary);
}

/* Theme/Lang switcher */
.theme-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
}

.theme-btn {
    background: transparent;
    border: 1px solid var(--color-card-border);
    color: var(--color-text-light);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.theme-btn:hover {
    border-color: var(--color-accent-primary);
    color: var(--color-accent-primary);
}

.theme-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1200px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-columns {
        padding: 0 5%;
    }

    .destination-services {
        padding: 80px 60px;
    }

    .destination-image-columns {
        padding: 0 60px;
    }

    .brand-text-wrapper {
        padding-left: 12%;
    }
}

@media (max-width: 1024px) {
    .navbar {
        padding: 15px 20px;
    }

    .navbar.scrolled {
        padding: 10px 20px;
    }

    .navbar-nav-left,
    .navbar-nav-right {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-bg-secondary);
        flex-direction: column;
        padding: 30px;
        gap: 0;
    }

    .navbar-nav-left.active,
    .navbar-nav-right.active {
        display: flex;
    }

    .navbar-logo-center {
        position: relative;
        left: auto;
        transform: none;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(203, 126, 100, 0.1);
    }

    .nav-link {
        display: block;
        padding: 20px 0;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        padding-left: 20px;
        min-width: auto;
    }

    .lang-switcher {
        display: flex;
        justify-content: center;
        padding: 20px 0;
        border-bottom: none;
    }

    .navbar-toggle {
        display: flex;
    }

    /* Destination section tablet */
    .destination-services {
        padding: 80px 40px;
    }

    .destination-image {
        height: 650px;
    }

    .destination-image-columns {
        gap: 20px;
        padding: 0 40px;
    }

    .destination-column:nth-child(1) { margin-top: 0; }
    .destination-column:nth-child(2) { margin-top: 200px; }

    .destination-brand {
        margin-top: -180px;
    }

    .destination-image-columns {
        gap: 40px;
    }

    .brand-text-wrapper {
        padding-bottom: 100px;
    }

    .brand-text-wrapper {
        padding-left: 10%;
    }

    .brand-text-large {
        font-size: clamp(50px, 10vw, 100px);
    }

    .hero {
        margin-top: 70px;
    }

    .hero-columns {
        gap: 15px;
        padding: 0 5%;
    }

    /* Tablet - schodki rosnące */
    .hero-column:nth-child(1) { margin-top: 80px; height: calc(100% - 80px); }
    .hero-column:nth-child(2) { margin-top: 40px; height: calc(100% - 40px); }
    .hero-column:nth-child(2) .hero-column-inner { top: -40px; }
    .hero-column:nth-child(3) { margin-top: 0; height: 100%; }
    .hero-column:nth-child(3) .hero-column-inner { top: -80px; }

    .hero-services {
        flex-direction: column;
        gap: 20px;
    }

    .section {
        padding: 80px 30px;
    }

    .about-grid,
    .contact-grid,
    .content-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .services-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer {
        padding: 60px 30px 30px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 0 20px;
        margin-top: 40px;
    }

    .hero-title {
        letter-spacing: 4px;
    }

    /* Mobile - schodki rosnące */
    .hero-column:nth-child(1) { margin-top: 60px; height: calc(100% - 60px); }
    .hero-column:nth-child(2) { margin-top: 30px; height: calc(100% - 30px); }
    .hero-column:nth-child(2) .hero-column-inner { top: -30px; }
    .hero-column:nth-child(3) { margin-top: 0; height: 100%; }
    .hero-column:nth-child(3) .hero-column-inner { top: -60px; }

    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px;
    }

    /* Destination section mobile */
    .destination-services {
        padding: 60px 20px;
    }

    .destination-services-content h2 {
        font-size: 28px;
    }

    .destination-image {
        height: 550px;
    }

    .destination-image-columns {
        gap: 15px;
        padding: 0 20px;
    }

    .destination-brand {
        margin-top: -150px;
    }

    .brand-text-wrapper {
        padding-left: 3%;
        padding-bottom: 80px;
    }

    .brand-text-large {
        font-size: clamp(40px, 12vw, 80px);
    }

    .destination-column:nth-child(2) { margin-top: 160px; }

    /* Page hero mobile */
    .page-hero {
        min-height: 300px;
        padding: 100px 20px 60px;
    }

    .page-title {
        font-size: clamp(28px, 8vw, 42px);
        letter-spacing: 4px;
    }

    .page-subtitle {
        font-size: 14px;
    }

    /* Content sections mobile */
    .content-section {
        padding: 60px 20px;
    }

    .content-number {
        font-size: 48px;
    }

    .content-title {
        font-size: 24px;
    }

    .content-list li {
        padding-left: 20px;
        font-size: 14px;
    }

    /* Section headers mobile */
    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    /* Service cards mobile */
    .service-card {
        padding: 30px;
    }

    .service-number {
        font-size: 36px;
    }

    /* Project cards mobile */
    .project-card {
        height: 280px;
    }

    /* Contact info mobile */
    .contact-info h3 {
        font-size: 24px;
    }

    .contact-item h4 {
        font-size: 14px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero {
        min-height: 80vh;
    }

    .hero-columns {
        gap: 8px;
        padding: 0 3%;
    }

    .hero-column {
        max-width: none;
        flex: 1;
    }

    /* Extra small - schodki */
    .hero-column:nth-child(1) { margin-top: 40px; height: calc(100% - 40px); }
    .hero-column:nth-child(2) { margin-top: 20px; height: calc(100% - 20px); }
    .hero-column:nth-child(2) .hero-column-inner { top: -20px; }
    .hero-column:nth-child(3) { margin-top: 0; height: 100%; }
    .hero-column:nth-child(3) .hero-column-inner { top: -40px; }

    .hero-title {
        font-size: 18px;
        letter-spacing: 3px;
    }

    .hero-subtitle {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .hero-services {
        gap: 15px;
    }

    .hero-service-link {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .section {
        padding: 50px 15px;
    }

    .about-quote {
        font-size: 16px;
        padding: 20px;
    }

    .destination-image {
        height: 450px;
    }

    .destination-column:nth-child(1) { margin-top: 0; }
    .destination-column:nth-child(2) { margin-top: 120px; }

    .destination-brand {
        margin-top: -120px;
    }

    .destination-image-columns {
        gap: 20px;
    }

    .brand-text-wrapper {
        padding-left: 2%;
        padding-bottom: 80px;
    }

    .brand-text-large {
        font-size: 36px;
        letter-spacing: 0.03em;
    }

    .page-hero {
        min-height: 250px;
        padding: 80px 15px 50px;
    }

    .content-grid {
        gap: 30px;
    }

    .footer {
        padding: 40px 15px 25px;
    }

    .footer-brand p {
        font-size: 13px;
    }

    .footer-title {
        font-size: 14px;
    }

    .footer-links a {
        font-size: 13px;
    }
}
