@font-face {
    font-family: "Microgramma D Bold Extended";
    src: url("https://db.onlinewebfonts.com/t/49441315ab9ce55176682715f25ea4b2.eot");
    src: url("https://db.onlinewebfonts.com/t/49441315ab9ce55176682715f25ea4b2.eot?#iefix") format("embedded-opentype"),
         url("https://db.onlinewebfonts.com/t/49441315ab9ce55176682715f25ea4b2.woff2") format("woff2"),
         url("https://db.onlinewebfonts.com/t/49441315ab9ce55176682715f25ea4b2.woff") format("woff"),
         url("https://db.onlinewebfonts.com/t/49441315ab9ce55176682715f25ea4b2.ttf") format("truetype"),
         url("https://db.onlinewebfonts.com/t/49441315ab9ce55176682715f25ea4b2.svg#Microgramma D Bold Extended") format("svg");
    font-display: swap;
}

:root {
    --primary-red: #e50914;
    --btn-orange: #ff3b00;
    --header-bg: #1e1f22; 
    --dark-gray: #121214;
    --section-bg: #1a1a1c;
    --card-bg: #222327;
    --light-gray: #a0a0a0;
    --white: #ffffff;
    --font-microgramma: "Microgramma D Bold Extended", sans-serif;
    --font-sans: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: #000;
    color: var(--white);
    overflow-x: hidden;
}

/* HLAVIČKA */
header {
    width: 100%;
    height: 60px;
    background-color: var(--header-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.header-logo img {
    height: 32px;
    width: auto;
}

.header-logo span {
    color: var(--white);
    font-family: var(--font-microgramma);
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

.hamburger {
    width: 28px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger div {
    width: 100%;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
}

.nav-overlay {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: rgba(20, 20, 22, 0.97);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
    z-index: 999;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.nav-links {
    list-style: none;
    text-align: center;
}

.nav-links li { margin: 25px 0; }

.nav-links a {
    color: var(--white);
    font-family: var(--font-microgramma);
    font-size: 1.5rem;
    text-decoration: none;
    text-transform: uppercase;
}

/* HERO SEKCIA */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    padding-top: 60px;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 6%;
    padding-left: 6%;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        rgba(0, 0, 0, 0.05) 0%, 
        rgba(0, 0, 0, 0.35) 55%, 
        rgba(0, 0, 0, 0.65) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    max-width: 800px;
}

.hero-title {
    font-family: var(--font-microgramma);
    font-size: 3.6rem;
    color: var(--primary-red);
    text-transform: uppercase;
    line-height: 1.02;
    letter-spacing: 0.5px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-family: 'Caveat', cursive;
    font-size: 4.8rem;
    color: var(--white);
    font-weight: 700;
    line-height: 0.9;
    margin-top: -5px;
    margin-right: 15px;
    margin-bottom: 25px;
    transform: rotate(-3deg) skewX(-12deg);
    transform-origin: right center;
    display: inline-block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.materials-list {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 35px;
    display: flex;
    gap: 10px;
    align-items: center;
    white-space: nowrap;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.materials-list span {
    color: var(--primary-red);
    font-size: 1.2rem;
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    margin-bottom: 30px;
}

.brand-text-wrapper {
    display: flex;
    flex-direction: column;
}

.brand-text {
    font-family: var(--font-microgramma);
    font-size: 3.4rem;
    color: var(--primary-red);
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
    white-space: nowrap;
}

.brand-underline {
    width: 100%;
    height: 4px;
    background-color: var(--primary-red);
    margin-top: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.brand-svg-logo {
    width: 48px;
    height: 48px;
    display: block;
    margin-top: -8px;
    filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.7));
    flex-shrink: 0;
}

.brand-sub {
    font-family: var(--font-microgramma);
    font-size: 0.95rem;
    font-weight: bold;
    color: var(--primary-red);
    text-transform: lowercase;
    align-self: flex-end;
    margin-bottom: 2px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
    white-space: nowrap;
}

/* ŠTÝL PRE TLAČIDLO VOLAŤ IHNEĎ V HERO SEKCII */
.hero-call-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--btn-orange);
    color: var(--white);
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(255, 59, 0, 0.5);
    transition: all 0.3s ease;
}

.hero-call-btn:hover {
    background-color: #e03400;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 59, 0, 0.7);
}

/* SEKCIA 2: PRETO SME TÁ SPRÁVNA VOĽBA */
.services-section {
    background-color: var(--section-bg);
    padding: 90px 8%;
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: 1px;
}

.section-description {
    font-size: 1.2rem;
    color: #ddd;
    line-height: 1.8;
    font-weight: 400;
}

.highlight {
    color: var(--primary-red);
    font-weight: 700;
}

/* SEKCIA 3: UKÁŽKY NAŠEJ PRÁCE */
.portfolio-section {
    background-color: var(--dark-gray);
    padding: 90px 8% 60px 8%;
    position: relative;
    z-index: 10;
}

.portfolio-header {
    text-align: center;
    margin-bottom: 50px;
}

.portfolio-title {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.portfolio-subtitle {
    font-size: 1.1rem;
    color: var(--light-gray);
    font-weight: 400;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1250px;
    margin: 0 auto;
}

.portfolio-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.card-media {
    width: 100%;
    height: 230px;
    overflow: hidden;
    background-color: #000;
}

.card-media img, .card-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.portfolio-card:hover .card-media img {
    transform: scale(1.04);
}

.card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 12px;
    line-height: 1.35;
    letter-spacing: 0.5px;
}

.card-text {
    font-size: 0.95rem;
    color: var(--light-gray);
    line-height: 1.5;
}

/* FOTOGALÉRIA A LIGHTBOX */
.gallery-btn-wrapper {
    text-align: center;
    margin-top: 45px;
}

.gallery-btn {
    background-color: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 14px 28px;
    border-radius: 6px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.gallery-btn:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.extended-gallery {
    display: none;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 1250px;
    margin: 30px auto 0 auto;
}

.extended-gallery.open {
    display: grid;
}

.gallery-item {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #17181c;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 2010;
}

.lightbox-close:hover {
    color: var(--primary-red);
}

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 2rem;
    padding: 12px 18px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 2010;
}

.lightbox-btn:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
}

.lightbox-btn.prev { left: 30px; }
.lightbox-btn.next { right: 30px; }

.lightbox-counter {
    position: absolute;
    bottom: 25px;
    color: var(--light-gray);
    font-size: 0.95rem;
}

/* SEKCIA 4: REFERENCIE */
.references-section {
    background-color: var(--section-bg);
    padding: 90px 8%;
    position: relative;
    z-index: 10;
}

.references-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 1100px;
    margin: 0 auto;
}

.reference-simple-card {
    background-color: var(--card-bg);
    padding: 18px 22px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.reference-simple-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.reference-simple-card.more-card h3 {
    color: var(--primary-red);
    font-style: italic;
}

/* SEKCIA 5: ĎALŠIE ČINNOSTI */
.other-services-section {
    padding: 60px 20px;
    background-color: #111;
    color: #fff;
}

.other-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
}

.other-services-section .portfolio-card {
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333;
}

.other-services-section .portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.other-services-section .card-media {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.other-services-section .card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.other-services-section .card-body {
    padding: 20px;
    flex-grow: 1;
}

.other-services-section .card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.other-services-section .card-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ccc;
}

/* SEKCIA 6: KONTAKT */
.contact-section {
    background-color: var(--section-bg);
    padding: 90px 8%;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-container {
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-company-name {
    font-family: var(--font-microgramma);
    font-size: 2rem;
    color: var(--primary-red);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.contact-executive {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 25px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    font-size: 1.3rem;
    margin-top: 2px;
}

.contact-item-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--light-gray);
    margin-bottom: 2px;
}

.contact-item-value {
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-item-value:hover {
    color: var(--btn-orange);
}

.contact-item-text {
    font-size: 1rem;
    color: var(--white);
    line-height: 1.4;
}

.contact-item-text .sub-text {
    display: inline-block;
    font-size: 0.88rem;
    color: var(--light-gray);
    margin-top: 3px;
}

.company-details {
    background-color: #151619;
    padding: 22px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.92rem;
    color: #ccc;
    line-height: 1.7;
    margin-top: 10px;
}

.company-details .details-row {
    margin-bottom: 6px;
}

.company-details strong {
    color: var(--white);
}

.registry-text {
    margin-top: 14px;
    font-size: 0.8rem;
    color: var(--light-gray);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 12px;
    line-height: 1.4;
}

.contact-form-box {
    background-color: #17181c;
    padding: 35px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 18px;
}

.form-control {
    width: 100%;
    background-color: #0e0f11;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 14px 18px;
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--btn-orange);
}

.form-control::placeholder {
    color: #55565b;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    background-color: var(--btn-orange);
    color: var(--white);
    border: none;
    padding: 16px;
    border-radius: 6px;
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 59, 0, 0.3);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
    background-color: #e03400;
    transform: translateY(-2px);
}

/* PÄTIČKA */
footer {
    background-color: #0a0a0c;
    padding: 25px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
}

footer p {
    color: var(--light-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 4rem; }
    .materials-list { font-size: 1rem; }
    .brand-text { font-size: 2.8rem; }
    .brand-svg-logo { width: 40px; height: 40px; }
    
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .extended-gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    header { padding: 0 15px; }

    .hero-section {
        justify-content: center;
        padding: 20px 15px;
    }

    .hero-content {
        align-items: center;
        text-align: center;
        max-width: 100%;
    }

    .hero-title { font-size: 1.85rem; }
    .hero-subtitle { font-size: 2.7rem; margin-right: 0; }

    .materials-list {
        flex-wrap: wrap;
        justify-content: center;
        font-size: 0.85rem;
    }

    .brand-container { justify-content: center; }
    .brand-text { font-size: 1.6rem; }

    .services-section, .portfolio-section, .references-section, .contact-section {
        padding: 60px 20px;
    }

    .section-title, .portfolio-title { font-size: 1.8rem; }
    .portfolio-grid, .references-list-grid { grid-template-columns: 1fr; }
    .extended-gallery { grid-template-columns: repeat(2, 1fr); }
    
    .other-services-grid {
        grid-template-columns: 1fr;
    }
    
    .other-services-section .card-media {
        height: 200px;
    }
}