/* Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif;
    background: #1e1e1e;
    color: #e1e1e1;
}

/* ======================= INTRO ======================= */

#intro {
    position: fixed;
    inset: 0;
    background: #1e1e1e;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOut 1s ease forwards;
    animation-delay: 3s;
}

.logo-wrap {
    opacity: 0;
    transform: scale(0.9);
    animation: showLogo 1.2s ease forwards;
}

.logo {
    width: 350px;
    max-width: 80vw;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.2));
}

@keyframes showLogo {
    to { opacity: 1; transform: scale(1); }
}

@keyframes fadeOut {
    to { opacity: 0; visibility: hidden; }
}

/* ======================= HEADER ======================= */

header {
    width: 100%;
    height: 120px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

    background: rgba(30,30,30,1);
    border-bottom: 1px solid rgba(212,175,55,0.25);
    box-shadow: 0 8px 25px rgba(0,0,0,0.45);

    opacity: 0;
    transform: translateY(-10px);
}


/* Fade-in animace hlavičky */
header.fade-in {
    animation: headerFadeIn 1s ease forwards;
}

@keyframes headerFadeIn {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.header-logo {
    height: 100px;
    width: auto;
    padding-top: 10px;
    padding-bottom: 10px;
}



/* ======================= MENU (desktop) ======================= */

.menu ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

.menu ul li a {
    text-decoration: none;
    color: #dcdcdc;
    font-size: 1rem;
    font-weight: 500;
    transition: 0.2s;
}

.menu ul li a:hover {
    color: #ffffff;
}

.menu ul li a.active {
    color: #d4af37;
    position: relative;
}

.menu ul li a.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        #d4af37,
        transparent
    );
    box-shadow: 0 0 10px #d4af37;
    transform: translateX(-50%);
    transition: width 0.35s ease;
}

.menu ul li a.active {
    text-shadow: 0 0 6px rgba(212,175,55,0.6);
}

.menu ul li a.active::after {
    width: 120%;
}




/* ======================= HAMBURGER ======================= */

.hamburger {
    display: none;
    position: relative;
    width: 35px;
    height: 24px; 
    cursor: pointer;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 35px;
    height: 4px;
    background: #d4af37;
    border-radius: 2px;
    transition: 0.3s;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { top: 20px; }

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 10px;
}

/* ======================= MOBILNÍ MENU ======================= */

@media (max-width: 700px) {

    /* zobraz hamburger */
    .hamburger {
        display: flex;
    }

    /* ZÁKLAD – menu je skryté, ale animovatelné */
    .menu ul {
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;   /* neklikatelný stav */
        position: absolute;
        top: 100px;
        left: 0;
        width: 100%;
        background: #1e1e1e;
        border-top: 1px solid #d4af37;
        border-bottom: 1px solid #d4af37;
        padding: 40px 0;
        gap: 35px;
        text-align: center;
        z-index: 999;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        transition: opacity 0.35s ease, transform 0.35s ease;
    }

    /* OTEVŘENÉ MENU – fade + slide */
    .menu.open ul {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* všechny položky mají stejnou šířku */
    .menu ul li {
        width: 100%;
    }

    .menu ul li a {
        display: block;
        width: 100%;
        font-size: 1.2rem;
        padding: 5px 0;
    }

    /* ⚠️ mobilní verze NESMÍ mít zlatou čáru pod aktivní položkou */
    .menu ul li a.active {
        border-bottom: none;
    }
}


/* ======================= MAIN ======================= */

main {
    padding-top: 120px;
}
main.no-top-padding {
    padding-top: 0 !important;
}


.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
	margin-bottom: -40px;
}

.hero img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 36px;
    background: #d4af37;
    color: #1e1e1e;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
}
.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}


/* Text uprostřed hero obrázku */
.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;

    width: 90%;
    max-width: 800px;

    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* Hlavní nadpis */
.hero-text h1 {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: #d4af37;
}

.hero-text p {
    font-size: clamp(1rem, 2vw, 1.6rem);
    font-weight: 300;
}


/* Responsivita */
@media (max-width: 700px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 1rem;
    }
}



/* ===== Proč spolupracovat s námi ===== */

.why-us {
    width: 100%;
    padding: 80px 20px;
    text-align: center;
}

.why-us h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 60px;
    color: #ffffff;
}

.why-us h2 span {
    color: #d4af37; /* zlatá */
}

.why-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.why-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 30px 25px;
    max-width: 320px;
    text-align: left;
    transition: 0.3s;
}

.why-item:hover {
    transform: translateY(-5px);
    border-color: #d4af37;
}

.why-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #d4af37;
}

.why-item p {
    font-size: 1rem;
    line-height: 1.5rem;
    margin-bottom: 20px;
}

.why-item a {
    color: #d4af37;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
}

.why-item a:hover {
    border-bottom: 1px solid #d4af37;
}

/* Mobilní verze */
@media (max-width: 700px) {
    .why-item {
        max-width: 100%;
    }
}

/* ======================= NAŠE PROJEKTY ======================= */

.projects {
    position: relative;
    width: 100%;
    padding: 60px 20px;
    text-align: center;

    background: #d4af37; /* ZLATÉ POZADÍ */
    color: #1e1e1e;

    overflow: hidden; /* kvůli fade vrstvě */
}

/* HORNÍ FADE — pouze pozadí */
.projects::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;

    background: linear-gradient(
        to bottom,
        rgba(212,175,55,0) 0%,
        rgba(212,175,55,1) 100%
    );

    z-index: 0;  /* pod obsahem */
}

/* DOLNÍ FADE — pouze pozadí */
.projects::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;

    background: linear-gradient(
        to top,
        rgba(212,175,55,0) 0%,
        rgba(212,175,55,1) 100%
    );

    z-index: 0;
}

/* Zbytek obsahu musí být NAD pozadím */
.projects * {
    position: relative;
    z-index: 2;
}

.projects h2 {
    font-size: 2.4rem;
    margin-bottom: 50px;
    font-weight: 700;
    color: #1e1e1e;
}

/* GRID 3 sloupce */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Karta projektu */
.project-card {
    background: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 18px rgba(0,0,0,0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 28px rgba(0,0,0,0.6);
}

.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.project-card h3 {
    padding: 20px;
    font-size: 1.3rem;
    color: #dcdcdc;
}

/* Tlačítko */
.projects-btn-wrapper {
    margin-top: 50px;
}

.projects-btn {
    display: inline-block;
    padding: 14px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;

    background: #1e1e1e;
    color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(0,0,0,0.4);
    transition: 0.3s ease;
}

.projects-btn:hover {
    background: #000000;
    transform: translateY(-3px);
}

/* ======================= RESPONSIVITA ======================= */

@media (max-width: 900px) {
    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card img {
        height: 200px;
    }
}


/* ======================= JAK PRACUJEME – TIMELINE ======================= */

.how-we-work {
    background: #1e1e1e;
    padding: 90px 20px;
    text-align: center;
    color: #e1e1e1;
}

.how-we-work h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #d4af37;
}

/* TIMELINE container */
.timeline {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

/* Jednotlivé kroky */
.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-bottom: 40px;
}

/* Kolečko s číslem */
.timeline-step .circle {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: #333;
    color: #d4af37;
    font-size: 1.8rem;
    font-weight: 700;

    display: flex;
    justify-content: center;
    align-items: center;
}

/* Text pod číslem */
.step-content {
    margin-top: 20px;
    text-align: center;
}

.step-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.step-content p {
    font-size: 1.05rem;
    line-height: 1.5;
    max-width: 500px;
    margin: 0 auto;
    color: #e1e1e1;
}

/* Vertikální čárkovaná čára mezi kroky */
.timeline-line {
    width: 2px;
    height: 60px;
    background: repeating-linear-gradient(
        to bottom,
        #d4af37 0px,
        #d4af37 6px,
        transparent 6px,
        transparent 12px
    );
    margin: -10px auto 20px auto;
}

/* RESPONSIVITA */
@media (max-width: 600px) {
    .timeline-step .circle {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }

    .how-we-work h2 {
        font-size: 2rem;
    }
}


/* ======================= RECENZE ======================= */

.reviews {
    width: 100%;
    padding: 60px 20px;
    text-align: center;

    background: #d4af37;
    color: #1e1e1e;

    /* jemný fade nahoře i dole */
    position: relative;
}

.reviews::before,
.reviews::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 60px;
    pointer-events: none;

    background: linear-gradient(
        to bottom,
        rgba(212,175,55,0) 0%,
        rgba(212,175,55,1) 100%
    );
}

.reviews::before {
    top: 0;
}

.reviews::after {
    bottom: 0;
    transform: rotate(180deg);
}

.reviews h2 {
    font-size: 2.4rem;
    margin-bottom: 50px;
    font-weight: 700;
    color: #1e1e1e;
}

/* Grid 3 sloupce */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Karta recenze */
.review-card {
    background: #1e1e1e;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
    color: #e1e1e1;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 25px rgba(0,0,0,0.5);
}

.review-card .stars {
    font-size: 1.4rem;
    color: #d4af37;
    margin-bottom: 15px;
}

.review-card p {
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.review-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
}

/* RESPONSIVITA */
@media (max-width: 900px) {
    .reviews-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}


/* ======================= FOOTER ======================= */

.footer {
    background: #1a1a1a;
    padding: 60px 20px 20px;
    color: #dcdcdc;
    margin-top: 80px;
}

/* Hlavní obsah footeru */
.footer-content {
    max-width: 1300px;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

/* Jednotlivé sloupce */
.footer-col {
    flex: 1;
    min-width: 250px;
}

/* Logo footeru */
.footer-logo {
    width: 180px;
    margin-bottom: 20px;
}

/* Nadpis sekce */
.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #d4af37; /* zlatá */
}

/* Odkazy */
.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 1rem;
}

.footer-col ul li a {
    color: #dcdcdc;
    text-decoration: none;
    transition: 0.2s;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

/* Spodní lišta */
.footer-bottom {
    margin-top: 40px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.95rem;
    color: #9b9b9b;
}

/* ===================================== */
/* RESPONSIVITA */
/* ===================================== */

@media (max-width: 800px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-col {
        min-width: 100%;
    }

    .footer-logo {
        margin: 0 auto 20px;
    }
}



.page-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.content-box {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 40px 35px;
    transition: 0.3s;
}

.content-box:hover {
    transform: translateY(-4px);
    border-color: #d4af37;
}

.content-box h2,
.content-box h3 {
    color: #d4af37;
    margin-bottom: 15px;
}

.content-box p {
    line-height: 1.7;
}


.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.price-card {
    background: #111;
    border: 1px solid #333;
    padding: 30px;
    border-radius: 14px;
    text-align: center;
    transition: 0.3s;
}

.price-card:hover {
    transform: translateY(-4px);
    border-color: #d4af37;
}

.price-card h3 {
    color: #d4af37;
    margin-bottom: 15px;
}

.price-card p {
    font-size: 1.2rem;
    font-weight: 600;
}

.price-cta {
    text-align: center;
}

.price-cta h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.price-cta p {
    margin-bottom: 25px;
}

.about-list {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.about-list li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
    line-height: 1.6;
}

.about-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #d4af37;
    font-weight: bold;
}

.project-tag {
    font-size: 0.9rem;
    color: #aaa;
    padding: 0 20px 20px;
}


/* ===================== KONTAKT ===================== */

.contact-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    line-height: 1.8;
}

.contact-list li {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.contact-list a {
    color: #d4af37;
    text-decoration: none;
}

.contact-list a:hover {
    text-decoration: underline;
}

/* FORMULÁŘ */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 16px;
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #d4af37;
}

.contact-form button {
    padding: 16px;
    background: #d4af37;
    border: none;
    color: #1e1e1e;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.25s;
}

.contact-form button:hover {
    background: #ffcf4a;
    transform: translateY(-2px);
}
