/* ==========================================================================
   RESET & ZÁKLADNÁ TYPOGRAFIA (S ochranou pre Samsung / Android Auto-zoom)
   ========================================================================== */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    min-width: 0; /* Oprava rozťahovania Gridu na Androide */
}

html { 
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%; /* Vypne auto-zväčšovanie písma na iOS/Safari */
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;        /* Vypne auto-zväčšovanie písma na Samsung Internet & Chrome */
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    background-color: #121315; 
    color: #e2e8f0;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

/* ==========================================================================
   1. HLAVIČKA A NAVIGÁCIA (DESKTOP)
   ========================================================================== */
header {
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    height: 135px;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: none;
}

.logo-link {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
}

.logo-img {
    height: 85px; 
    width: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
    margin-left: 0;
}
.logo-img:hover { transform: scale(1.03); }

nav ul { 
    display: flex; 
    list-style: none; 
    gap: 36px; 
    align-items: center;
}
nav a {
    color: #a3a3a3;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}
nav a:hover, nav a.active { 
    color: #ffffff; 
}
nav a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #e5d5c5;
}

.nav-cta {
    background-color: #e5d5c5;
    color: #121315 !important;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 800 !important;
    font-size: 0.98rem !important;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}
.nav-cta:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
}
.nav-cta::after { display: none !important; }

.btn-sand {
    background-color: #e5d5c5;
    color: #121315;
    padding: 18px 40px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.btn-sand:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(229, 213, 197, 0.25);
}

/* ==========================================================================
   2. PÄTKA (FOOTER)
   ========================================================================== */
footer {
    text-align: center;
    padding: 30px;
    background-color: #0b0c0e;
    color: #64748b;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: auto;
}

.page-kontakt footer, .page-portfolio footer { background-color: #050607; }

/* ==========================================================================
   3. ŠPECIFICKÉ ŠTÝLY PRE INDEX.HTML (DOMOV)
   ========================================================================== */
.index-hero-wrapper {
    position: relative;
    width: 100%;
    min-height: 88vh; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(rgba(18, 19, 21, 0.25), rgba(18, 19, 21, 0.45)), 
                url('pozadie.png') center/cover no-repeat fixed;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 240px 4rem 50px 4rem; 
}

.hero-container {
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.hero-left-content {
    max-width: 800px;
    text-align: left;
    margin-bottom: 50px;
    margin-left: 0;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

.hero-eyebrow {
    color: #e5d5c5;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.hero-left-content h1 {
    font-size: 4.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.12;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.9);
}

.hero-left-content p {
    color: #f8fafc;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.65;
    margin-bottom: 40px;
    max-width: 700px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95);
}

.hero-action-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    margin-top: auto;
}

.feature-item {
    display: flex;
    flex-direction: column; 
    align-items: center;
    text-align: center;
    gap: 12px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    color: #e5d5c5;
    margin-top: 0;
    margin-bottom: 4px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6));
}

.feature-text h4 {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 6px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.8);
}

.feature-text p {
    color: #cbd5e1;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    text-shadow: 0 2px 6px rgba(0,0,0,0.8);
}

.page-index main {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 80px 20px;
}

.about-section {
    background: #181a1d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 70px;
    scroll-margin-top: 40px;
}

.about-section h2 {
    color: #e5d5c5;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.about-section p {
    color: #cbd5e1;
    font-size: 1.25rem;
    font-weight: 500;
    max-width: 850px;
    margin: 0 auto 35px auto;
    line-height: 1.7;
}

.services-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 30px;
    max-width: 880px;
    margin: 0 auto 40px auto;
    text-align: left;
    list-style: none;
}

.services-list li {
    display: flex;
    align-items: center; 
    color: #f1f5f9;
    font-size: 1.15rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.03);
    padding: 14px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.check-icon {
    width: 24px;
    height: 24px;
    margin-right: 14px;
    flex-shrink: 0;
    color: #e5d5c5;
}

.faq-section { margin-top: 40px; }

.faq-title {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 35px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.faq-card {
    background: #181a1d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
}

.faq-card h4 {
    color: #e5d5c5;
    margin-bottom: 12px;
    font-size: 1.25rem;
    font-weight: 700;
}

.faq-card p {
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.6;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   4. ŠPECIFICKÉ ŠTÝLY PRE KONTAKT A PORTFÓLIO
   ========================================================================== */
.page-kontakt { background-color: #08090b; }
.page-portfolio { background-color: #08090b; }

.subpage-hero-wrapper {
    position: relative;
    width: 100%;
    background-image: linear-gradient(rgba(8, 9, 11, 0.55), rgba(8, 9, 11, 0.85)), url('portfoliopozadie.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center 80%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 150px 4rem 45px 4rem;
}

.subpage-hero-text { max-width: 800px; text-align: left; }
.subpage-hero-text h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.9);
}
.subpage-hero-text p {
    color: #cbd5e1;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.5;
    max-width: 650px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

/* ==========================================================================
   5. ŠPECIFICKÉ ŠTÝLY PRE KONTAKT.HTML
   ========================================================================== */
.page-kontakt main {
    flex: 1;
    width: 100%;
    margin: 0 auto;
    padding: 35px 4rem 50px 4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.25fr 0.9fr;
    gap: 35px;
    align-items: stretch;
}

.section-eyebrow {
    color: #a3a3a3;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 14px;
}

.info-column h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
}

.contact-standalone-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    color: #e5d5c5;
    margin-top: 3px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6));
}

.info-text strong {
    display: block;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.info-text a, .info-text p {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 1.12rem;
    line-height: 1.5;
}

.info-text small {
    display: block;
    color: #94a3b8;
    font-size: 0.95rem;
    margin-top: 3px;
}

.socials-block { margin-top: 32px; }
.social-icons { display: flex; gap: 14px; margin-top: 10px; }

.social-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}
.social-icon-btn:hover {
    border-color: #e5d5c5;
    color: #121315;
    background: #e5d5c5;
    transform: translateY(-2px);
}
.social-icon-btn svg { width: 22px; height: 22px; }

.form-column h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}
.form-column p.form-subtitle {
    color: #a3a3a3;
    font-size: 0.98rem;
    margin-bottom: 20px;
}

.input-group { position: relative; margin-bottom: 14px; }
.input-group-icon {
    position: absolute;
    left: 16px;
    top: 15px;
    color: #64748b;
    pointer-events: none;
}
.input-group-icon svg { width: 18px; height: 18px; }

.form-control {
    width: 100%;
    padding: 13px 16px 13px 48px;
    background-color: #0e1013;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.98rem;
    transition: all 0.3s ease;
}
.form-control:focus {
    outline: none;
    border-color: #e5d5c5;
    box-shadow: 0 0 12px rgba(229, 213, 197, 0.15);
}
textarea.form-control { resize: vertical; min-height: 110px; }

.btn-sand-submit {
    width: 100%;
    background-color: #e5d5c5;
    color: #121315;
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-weight: 800;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    margin-top: 6px;
}
.btn-sand-submit:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(229, 213, 197, 0.25);
}

.privacy-note {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 0.85rem;
    margin-top: 10px;
}
.privacy-note svg { width: 14px; height: 14px; color: #64748b; }

.form-status { display: none; padding: 12px; margin-top: 12px; border-radius: 6px; text-align: center; font-weight: 600; font-size: 0.92rem; }
.form-status.success { display: block; background-color: rgba(229, 213, 197, 0.15); color: #e5d5c5; border: 1px solid #e5d5c5; }
.form-status.error { display: block; background-color: rgba(74, 25, 25, 0.8); color: #f09898; border: 1px solid #8b0000; }

.visual-column {
    position: relative;
    width: 100%;
    height: 100%; 
    min-height: 680px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    margin-top: 8px;
}

.visual-column img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom center;
    display: block;
}

/* ==========================================================================
   6. ŠPECIFICKÉ ŠTÝLY PRE PORTFÓLIO.HTML
   ========================================================================== */
.page-portfolio main {
    flex: 1;
    width: 100%;
    margin: 0 auto;
    padding: 35px 4rem 80px 4rem;
}

/* Desktop filtre - tlačidlá ZOBRAZENÉ na PC */
.filter-container {
    display: flex !important;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 45px;
}
.filter-btn {
    background-color: #111317;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    padding: 14px 28px; 
    border-radius: 6px;
    font-size: 1.05rem; 
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn:hover {
    border-color: rgba(229, 213, 197, 0.7);
    color: #ffffff;
    background-color: #171a20;
}
.filter-btn.active {
    background: #e5d5c5;
    border-color: #e5d5c5;
    color: #121315;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(229, 213, 197, 0.25);
}

/* Mobilné rozbaľovacie menu SKRYTÉ na PC */
.filter-mobile-wrapper {
    display: none !important;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 24px;
    width: 100%;
}

.portfolio-card {
    position: relative;
    background: #0e1013;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.portfolio-grid .portfolio-card:nth-child(2) {
    grid-column: span 2;
    grid-row: span 2;
}
.portfolio-grid .portfolio-card:nth-child(7) {
    grid-column: span 2;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    border-color: rgba(229, 213, 197, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.media-box {
    width: 100%;
    height: 100%;
    position: relative;
}
.media-box img, .media-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.portfolio-card:hover .media-box img { transform: scale(1.05); }

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px 28px;
    background: linear-gradient(to top, rgba(8, 9, 11, 0.95) 0%, rgba(8, 9, 11, 0.3) 70%, transparent 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.overlay-text h3 {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
    text-shadow: 0 2px 8px rgba(0,0,0,0.9);
}
.portfolio-card:nth-child(2) .overlay-text h3 { font-size: 1.8rem; }

.card-arrow {
    color: #e5d5c5;
    font-size: 1.4rem;
    transition: transform 0.3s ease;
    padding-left: 12px;
    flex-shrink: 0;
}
.portfolio-card:hover .card-arrow { transform: translateX(6px); }

.status-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background-color: rgba(217, 119, 6, 0.9);
    border: 1px solid #f59e0b;
    color: #ffffff;
    padding: 5px 14px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
    z-index: 2;
}

.empty-state {
    display: none;
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    background: #0e1013;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 6px;
}
.empty-state svg { width: 56px; height: 56px; margin-bottom: 18px; stroke: #e5d5c5; }
.empty-state h3 { color: #ffffff; font-size: 1.35rem; margin-bottom: 10px; }
.empty-state p { color: #cbd5e1; font-size: 1rem; max-width: 520px; margin: 0 auto; }

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.96);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(12px);
}
.modal-content-wrapper {
    max-width: 950px;
    width: 100%;
    background-color: #0e1013;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.modal-media-container {
    position: relative;
    width: 100%;
    min-height: 380px;
    max-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #050607;
}
.modal-media { width: 100%; max-height: 65vh; object-fit: contain; }
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(8, 9, 11, 0.85);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.5rem;
    padding: 12px 18px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s;
    user-select: none;
    z-index: 5;
}
.gallery-nav:hover { background: #e5d5c5; color: #121315; }
.gallery-nav.prev { left: 20px; }
.gallery-nav.next { right: 20px; }
.gallery-counter {
    position: absolute;
    bottom: 15px;
    right: 20px;
    background: rgba(8, 9, 11, 0.85);
    border: 1px solid rgba(229, 213, 197, 0.4);
    color: #e5d5c5;
    padding: 5px 14px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}
.modal-info { padding: 28px; background-color: #0e1013; }
.modal-info h3 { color: #e5d5c5; font-size: 1.5rem; margin-bottom: 10px; font-weight: 700; }
.modal-info p { color: #cbd5e1; font-size: 1.05rem; line-height: 1.6; }
.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}
.close-modal:hover { color: #e5d5c5; }

/* ==========================================================================
   7. RESPONZÍVNY DIZAJN PRE MOBILY A TABLETY (Zvýšené na 992px pre S22/S23)
   ========================================================================== */
@media (max-width: 1200px) {
    .page-index main, .page-kontakt main, .page-portfolio main { padding-left: 2rem; padding-right: 2rem; }
    .index-hero-wrapper, .subpage-hero-wrapper { padding-left: 2rem; padding-right: 2rem; }
    header { padding-left: 2rem; padding-right: 2rem; }
    
    .contact-grid { grid-template-columns: 1fr 1fr; }
    .visual-column { grid-column: span 2; height: 450px; min-height: auto; }
    .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .hero-features-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
    .portfolio-grid .portfolio-card:nth-child(2) { grid-column: span 2; grid-row: span 1; }
    .portfolio-grid .portfolio-card:nth-child(7) { grid-column: span 1; }
}

@media (max-width: 992px) {
    /* HLAVIČKA A HAMBURGER MENU */
    header { 
        height: 70px;
        padding: 10px 1.2rem; 
        position: sticky; 
        top: 0;
        background-color: #121315;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 10000;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .logo-img { height: 40px; }

    .mobile-nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 10001;
        padding: 0;
    }

    .mobile-nav-toggle span {
        width: 100%;
        height: 3px;
        background-color: #e5d5c5;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .mobile-nav-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .mobile-nav-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-nav-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #121315;
        padding: 25px 20px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.8);
        display: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.open {
        display: block;
    }

    nav ul { 
        flex-direction: column;
        gap: 18px; 
        align-items: center;
    }

    nav a { 
        font-size: 1.1rem; 
        letter-spacing: 1px;
    }

    .nav-cta { 
        display: inline-block; 
        margin-top: 10px;
        padding: 10px 20px;
    }

    /* BANNERY PRE MOBIL */
    .index-hero-wrapper, 
    .subpage-hero-wrapper { 
        padding: 40px 1.2rem 30px 1.2rem; 
        min-height: auto;
        background-attachment: scroll !important;
        background-position: center center;
    }

    .hero-left-content h1 { font-size: 2.1rem; line-height: 1.2; margin-bottom: 16px; }
    .hero-left-content p { font-size: 1.05rem; margin-bottom: 25px; }
    .hero-eyebrow { font-size: 0.85rem; letter-spacing: 1.5px; margin-bottom: 10px; }
    .subpage-hero-text h1 { font-size: 2.1rem; }
    .subpage-hero-text p { font-size: 1rem; }

    .btn-sand {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    /* HERO SEKCIA - 2 STĹPCE NA MOBILE */
    .hero-features-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 16px 12px; 
        padding-top: 20px; 
    }
    
    .feature-item { 
        text-align: center; 
        align-items: center; 
        gap: 6px;
    }

    .feature-icon {
        width: 30px;
        height: 30px;
        margin-bottom: 2px;
    }

    .feature-text h4 {
        font-size: 0.92rem;
        margin-bottom: 2px;
    }

    .feature-text p {
        font-size: 0.80rem;
        line-height: 1.3;
    }

    .about-section { padding: 30px 18px; }
    .about-section h2 { font-size: 1.75rem; }
    .about-section p { font-size: 1.05rem; }

    .services-list { grid-template-columns: 1fr; gap: 10px; }
    .services-list li { font-size: 0.98rem; padding: 12px 15px; }

    /* KONTAKT NA MOBILE */
    .page-kontakt main {
        padding: 30px 1.2rem 50px 1.2rem;
        background: linear-gradient(rgba(8, 9, 11, 0.88), rgba(8, 9, 11, 0.93)), 
                    url('kontaktobrazok.png') center/cover no-repeat;
    }

    .contact-grid { 
        grid-template-columns: 1fr; 
        gap: 30px; 
    }

    .visual-column { 
        display: none !important;
    }

    .form-control {
        font-size: 16px !important; 
    }

    /* PORTFÓLIO NA MOBILE */
    .filter-container {
        display: none !important;
    }

    .filter-mobile-wrapper {
        display: flex !important;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 30px;
        width: 100%;
    }

    .filter-label {
        color: #e5d5c5;
        font-size: 0.85rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .filter-select {
        width: 100%;
        padding: 14px 18px;
        background-color: #111317;
        color: #ffffff;
        border: 1px solid #e5d5c5;
        border-radius: 6px;
        font-size: 1rem;
        font-weight: 700;
        outline: none;
        appearance: none;
        -webkit-appearance: none;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e5d5c5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 16px center;
        background-size: 18px;
        cursor: pointer;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    }

    .filter-select:focus {
        border-color: #ffffff;
        box-shadow: 0 0 12px rgba(229, 213, 197, 0.25);
    }

    .portfolio-grid { 
        grid-template-columns: 1fr; 
        grid-auto-rows: 240px; 
        gap: 16px;
    }
    .portfolio-grid .portfolio-card:nth-child(2) { grid-column: span 1; grid-row: span 1; }
    .portfolio-grid .portfolio-card:nth-child(7) { grid-column: span 1; }
    .portfolio-card:nth-child(2) .overlay-text h3 { font-size: 1.35rem; }
}

@media (min-width: 993px) {
    .mobile-nav-toggle {
        display: none;
    }
}