/* ==========================================================================
   CSS VARIABLES & DESIGN SYSTEM
   ========================================================================== */
:root {
    /* Colors */
    --bg-main: #0B0B0C; /* Deep almost black */
    --bg-darker: #050505;
    --bg-card: #151515; /* Dark grey */
    --accent-color: #E31837; /* Strong Red matching the logo */
    --accent-glow: rgba(227, 24, 55, 0.4);
    --accent-hover: #C6102A;
    
    --accent-alt: #FFFFFF; /* Using white for 'Premium/Nejžádanější' elements */
    
    --text-main: #FFFFFF;
    --text-muted: #A0A0A5;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 120px 0;
}

.bg-darker {
    background-color: var(--bg-darker);
}

.text-center { text-align: center; }
.text-accent { color: var(--accent-color); }
.text-muted { color: var(--text-muted); }
.mb-2 { margin-bottom: 2rem; }
.mt-top { margin-top: 3rem; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 40px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #FFFFFF;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    background-color: var(--text-main);
    color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255,255,255,0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 2px solid var(--text-muted);
}

.btn-outline:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(11, 12, 16, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
    padding: 15px 0;
}

.header.scrolled {
    padding: 10px 0;
    background-color: rgba(6, 7, 9, 0.95);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 800;
    letter-spacing: -1px;
}

.logo-accent {
    font-weight: 300;
    color: var(--accent-color);
    margin-right: 5px;
}

.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    gap: clamp(15px, 3vw, 40px);
}

.nav-link {
    font-size: 1.05rem;
    font-weight: 600;
    position: relative;
    padding: 8px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('./assets/hero-bg.png?v=2') center/cover no-repeat;
    text-align: center;
    padding: 0 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 11, 12, 0.8) 0%, rgba(227, 24, 55, 0.15) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

.hero-subtitle {
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 1rem;
    margin-bottom: 2rem;
    display: inline-block;
    padding: 8px 24px;
    border: 2px solid var(--accent-color);
    border-radius: 50px;
    background: rgba(227, 24, 55, 0.1);
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.hero-description {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    max-width: 750px;
    margin-inline: auto;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    letter-spacing: -1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.lead {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: 500;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

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

.stat-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.stat-card h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.stat-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.section-subtitle {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

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

.service-card {
    background-color: var(--bg-main);
    padding: 60px 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.service-card:hover {
    transform: translateY(-15px);
    background-color: var(--bg-card);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.service-card:hover::before {
    transform: translateX(100%);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(227, 24, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   GALERIE SECTION (SLIDER)
   ========================================================================== */
.slider-container {
    position: relative;
    width: 100%;
    margin: 40px auto 0;
    overflow: hidden;
    padding: 20px 60px; /* Increased side padding for arrows */
}

.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 20px;
}

.gallery-item {
    flex: 0 0 calc(33.333% - 14px);
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(227, 24, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(227, 24, 55, 0.9);
    backdrop-filter: blur(4px);
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.slider-btn:hover {
    background: white;
    color: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(227, 24, 55, 0.4);
}

.slider-btn.prev { left: 5px; }
.slider-btn.next { right: 5px; }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--accent-color);
    width: 30px;
    border-radius: 10px;
}

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 5px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 10001;
}

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 20px;
    transition: color 0.3s ease;
}

.lightbox-btn:hover {
    color: var(--accent-color);
}

.lightbox-prev { left: -70px; }
.lightbox-next { right: -70px; }

@media (max-width: 992px) {
    .gallery-item {
        flex: 0 0 calc(50% - 10px);
    }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}

@media (max-width: 600px) {
    .gallery-item {
        flex: 0 0 100%;
    }
}

/* ==========================================================================
   PRICING SECTION (TABLE)
   ========================================================================== */
.table-container {
    width: 100%;
    overflow-x: auto;
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.pricing-table th, 
.pricing-table td {
    padding: 24px 20px;
    text-align: right;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.pricing-table th {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-size: 1.2rem;
    font-weight: 800;
    padding-bottom: 30px;
    text-transform: uppercase;
}

.pricing-table th.table-header-service {
    text-align: left;
}

.pricing-table td.service-name {
    text-align: left;
    color: var(--text-main);
}

.pricing-table td.service-name h3 {
    font-size: 1rem;
    font-weight: 500;
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    display: inline-block;
}

.pricing-table td.price {
    color: var(--accent-color);
    font-weight: 600;
    font-family: var(--font-heading);
    transition: var(--transition);
}

.pricing-table tbody tr {
    transition: var(--transition);
}

.pricing-table tbody tr:hover {
    background-color: rgba(227, 24, 55, 0.05);
    transform: scale(1.01);
}

.pricing-table tbody tr:hover td.price {
    color: var(--text-main);
    text-shadow: 0 0 10px var(--accent-glow);
}

.pricing-table tbody tr:last-child th,
.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-card {
    background-color: var(--bg-card);
    border-radius: 30px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.05);
}

.contact-info {
    padding: 80px;
}

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

.contact-item .icon {
    width: 70px;
    height: 70px;
    background-color: rgba(227, 24, 55, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-item:hover .icon {
    background-color: var(--accent-color);
    color: white;
    transform: scale(1.1);
}

.contact-item h4 {
    margin-bottom: 10px;
    font-size: 1.4rem;
    font-weight: 800;
}

.contact-item a, 
.contact-item p {
    font-size: 1.2rem;
}
}

.contact-item p, .contact-item a {
    color: var(--text-muted);
}

.contact-item a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-main);
}

.social-icon:hover {
    background-color: var(--accent-color);
    color: #000;
    transform: translateY(-3px);
}

.contact-map {
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    flex: 1;
    display: block;
    border: 0;
    min-height: 400px;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.faq-item {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.faq-item h3 {
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: 800;
}

.faq-item p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    padding: 40px 0;
    background-color: var(--bg-main);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1250px) {
    .section {
        padding: 60px 0;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-darker);
        padding: 20px 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }
    
    .nav-menu.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
        padding: 0;
        gap: 25px;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .d-none-mobile {
        display: none;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .about-grid, 
    .contact-card {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .stat-card {
        padding: 60px 40px;
    }

    .stat-icon {
        font-size: 4rem;
        margin-bottom: 25px;
    }

    .stat-card h3 {
        font-size: 1.8rem;
    }

    .stat-card p {
        font-size: 1.2rem;
    }

    .table-container {
        padding: 20px;
    }

    .pricing-table {
        min-width: 500px;
    }

    .pricing-table th, 
    .pricing-table td {
        padding: 12px 8px;
        font-size: 0.9rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

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

@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }

    .nav-link {
        display: inline-block;
        font-size: 1.1rem;
        padding: 8px 15px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .contact-info {
        padding: 40px 20px;
    }
    
    .contact-map {
        height: 300px;
    }
}

@media (max-width: 600px) {
    .services-grid, 
    .about-stats {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .service-card,
    .stat-card {
        padding: 40px 25px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .slider-container {
        padding: 20px 30px;
    }
}
