:root {
    --bg-color: #0a0a0b;
    --card-bg: rgba(255, 255, 255, 0.02);
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --accent: #e63946; /* Vibrant Red */
    --accent-hover: #b91c1c;
    --accent-glow: rgba(230, 57, 70, 0.3);
    --glass-border: rgba(230, 57, 70, 0.15); /* Slightly more visible red border */
    --transition: all 0.4s ease;
    --reveal-transition: all 1s cubic-bezier(0.2, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Base Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

nav.scrolled {
    background: rgba(10, 10, 11, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .nav-links { display: none; }
}
.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent);
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(10, 10, 11, 0.9) 0%, rgba(10, 10, 11, 0.4) 100%), url('assets/header-bg.webp');
    background-size: cover;
    background-position: center;
}

.hero h1 {
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 2rem;
    color: white;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    border-radius: 4px; /* Back to solid angular buttons or slightly rounded? Let's use 4px for solid look */
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: var(--accent-hover);
    box-shadow: 0 8px 25px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: white;
}

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

/* Services */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.contact-form-container {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 12px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.05); /* Subtle red glow */
}

.service-card:hover {
    background: rgba(230, 57, 70, 0.03);
    border-color: var(--accent);
    transform: translateY(-5px);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--accent);
}

/* Gallery Section Tiny Preview */
.gallery-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery-preview a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--accent);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.2);
    transition: var(--transition);
}

.gallery-preview img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-preview a:hover img {
    transform: scale(1.1);
    filter: brightness(1.2);
}

@media (max-width: 768px) {
    .gallery-preview img {
        height: 180px;
    }
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item label {
    display: block;
    color: var(--accent);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.contact-item p {
    font-size: 1.5rem;
    font-weight: 500;
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-links a {
    color: var(--text-primary);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

/* Gallery Page Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 4rem 1rem;
}

#o-nas, #sluzby, #klientela, #faq {
    position: relative;
    overflow: hidden;
}

#o-nas {
    border-bottom: 1px solid var(--accent);
}

#sluzby, #faq {
    background: linear-gradient(135deg, rgba(10, 10, 11, 0.98) 0%, rgba(10, 10, 11, 0.95) 100%), url('assets/header-bg.webp');
    background-size: cover;
    background-position: center;
}

#klientela {
    background: rgba(10, 10, 11, 0.98);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 100px 0;
}

.sparks-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.spark-bg-particle {
    position: absolute;
    background: #ffcc00;
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 5px #ff6600, 0 0 10px #ff4400;
    opacity: 0;
}

#klientela .container {
    position: relative;
    z-index: 2;
}

.client-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.client-card {
    flex: 0 1 calc(25% - 2rem);
    min-width: 250px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-radius: 12px;
    transition: var(--transition);
}

@media (max-width: 992px) {
    .client-card { flex: 0 1 calc(33.333% - 2rem); }
}

@media (max-width: 768px) {
    .client-card { flex: 0 1 calc(50% - 2rem); }
}

@media (max-width: 576px) {
    .client-card { flex: 1 1 100%; }
}

.client-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.client-card p {
    font-weight: 600;
    font-size: 1.1rem;
}

.client-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    background: rgba(230, 57, 70, 0.05);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1;
    cursor: pointer;
    background: #1a1a1b;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.gallery-item:hover {
    border-color: var(--accent);
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-item::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--accent);
    font-size: 2rem;
    opacity: 0;
    transition: var(--transition);
}

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

/* Lightbox */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(10px);
}

#lightbox img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 4px;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.1);
}

#lightbox .close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 3.5rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-grid { display: flex !important; flex-direction: column !important; }
    .hero-btns { flex-direction: column !important; align-items: center !important; width: 100%; gap: 1rem !important; }
    .hero-btns .btn { width: 100% !important; max-width: 320px !important; margin: 0 !important; }
    .about-image { order: -1; margin-bottom: 2.5rem; width: 100%; }
    .about-image img { width: 100% !important; height: auto !important; box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important; display: block; }
    .about-features { grid-template-columns: 1fr; gap: 1.5rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-links { display: none; }
}

/* FAQ accordion */
.faq-container {
    max-width: 800px;
    margin: 4rem auto 0;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.faq-question i {
    transition: var(--transition);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0, 1, 0, 1);
    color: var(--text-secondary);
}

.faq-item.active {
    border-color: var(--accent);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 2rem 1.5rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* About Us styles */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item h4 {
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* Animations */
.reveal {
    opacity: 1; /* Always visible to prevent "disappearing" issue */
    transform: none;
}

.reveal.active {
    opacity: 1;
    transform: none;
}

.btn-spark {
    position: fixed;
    width: 2px;
    height: 2px;
    background: #ffcc00; /* Orange-yellow core */
    pointer-events: none;
    z-index: 10000;
    box-shadow: 0 0 4px #ff6600, 0 0 8px #ff4400; /* Orange glow */
}

/* White Logo - Clean version */
.steel-logo {
    display: inline-block;
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1); /* Pure white */
    transition: var(--transition);
    vertical-align: middle;
}

.steel-logo:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.hero-logo {
    height: 160px; /* Ešte o niečo menšie pre lepšiu harmóniu */
    width: auto;
    max-width: 80%; /* Responzivita */
    margin-bottom: 0.2rem; /* Výrazne bližšie k textu */
    display: block;
    margin-left: auto;
    margin-right: auto;
}

footer .steel-logo {
    height: 40px;
}
.contact-item p a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.contact-item p a:hover {
    color: var(--accent);
    transform: translateX(8px);
    text-shadow: 0 0 8px var(--accent-glow);
}

footer a {
    transition: var(--transition);
}

footer a:hover {
    color: white !important;
    text-shadow: 0 0 10px var(--accent);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.social-links a {
    color: var(--text-primary);
    font-size: 1.6rem;
    transition: var(--transition);
    opacity: 0.6;
}

.social-links a:hover {
    opacity: 1;
    color: var(--accent) !important;
    transform: translateY(-8px) scale(1.2);
    filter: drop-shadow(0 0 8px var(--accent));
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: -100px;
    left: 2rem;
    right: 2rem;
    background: rgba(20, 20, 22, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    z-index: 3000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

#cookie-banner.active {
    bottom: 2rem;
}

#cookie-banner p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-right: 2rem;
    max-width: 70%;
}

#cookie-banner a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

#cookie-banner .cookie-btns {
    display: flex;
    gap: 1rem;
}

@media (max-width: 768px) {
    #cookie-banner {
        flex-direction: column;
        left: 0;
        right: 0;
        bottom: -150px;
        border-radius: 0;
        padding: 1.2rem;
        text-align: center;
    }
    #cookie-banner.active {
        bottom: 0;
    }
    #cookie-banner p {
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
        font-size: 0.8rem;
        line-height: 1.4;
    }
    #cookie-banner .cookie-btns {
        width: 100%;
    }
    #cookie-banner .btn {
        width: 100%;
        padding: 0.8rem !important;
    }
}

/* Gallery & Button Mobile Optimization */
@media (max-width: 768px) {
    .gallery-preview {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .gallery-preview img {
        height: 180px;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns .btn {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
    
    .gallery-section .btn {
        width: 90%;
        padding: 1.2rem 2rem !important;
    }
}

/* Mobile Hero Logo */
@media (max-width: 768px) {
    .hero-logo {
        height: 100px !important;
        margin-bottom: 0.2rem !important;
    }
}
