/* ============================ RESET ============================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    min-height: 100%;
}

body {
    font-family: system-ui, Arial, sans-serif;
    background: #0f2027; /* fallback barva */
    color: white;
    overflow-x: hidden;
}

/* ============================ HOME PAGE ============================ */
.home-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 30% 30%, rgba(53,208,194,0.15), transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(255,224,102,0.08), transparent 40%),
        linear-gradient(135deg, #0f2027, #203a43, #1c2a2f);
    background-attachment: fixed;
}

/* ============================ TOPBAR ============================ */
.topbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 30px;
    z-index: 10;
    color: white;
}

.logo {
    font-weight: 600;
    letter-spacing: 1px;
}

.logo a {
    color: white;
    text-decoration: none;
}

.menu-toggle {
    cursor: pointer;
    font-size: 22px;
}

/* ============================ HERO ============================ */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    width: 90%;
    text-align: center;
    color: white;
}

.headline {
    font-size: 42px;
    margin-bottom: 50px;
    font-weight: 300;
    letter-spacing: 2px;
    color: #f5f5f5;
    text-shadow: 0 0 20px rgba(53,208,194,0.15);
}

/* ============================ TILES ============================ */
.tiles {
    display: grid;
    gap: 20px;
    justify-content: center;
}

.tiles.secondary {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tiles.primary {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 60px; /* vzdálenost k secondary */
}

/* ============================ OBECNÁ DLAŽDICE ============================ */
.tile {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 32px;
    min-width: 260px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: white;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.12);
    transition: all 0.25s ease;
}

/* velikosti dlaždic */
.tile.large {
    font-size: 18px;
    padding: 0;
    width: 220px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tile.small {
    font-size: 15px;
    padding: 14px 28px;
    min-width: 150px;
}

/* hover efekt */
.tile:hover {
    background: rgba(207,166,60,0.85);
    border-color: rgba(207,166,60,1);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(207,166,60,0.6), 0 10px 40px rgba(207,166,60,0.35);
}

/* ============================ PUJČOVNA PAGE ============================ */

/* ================= OVERLAY MENU ================= */

.menu-toggle{

    font-size:28px;
    cursor:pointer;
    z-index:30;

}

.menu-close{

    position:absolute;
    top:25px;
    right:25px;

    font-size:32px;
    color:white;

    cursor:pointer;

}

.menu-close:hover{
    opacity:0.7;
}

.overlay-menu{

    position:fixed;
    top:0;
    left:0;

    width:100%;
    height:100vh;

    background:#0f2027;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    gap:30px;

    transform:translateY(-100%);
    transition:0.4s ease;

    z-index:50;

}

.overlay-menu.open{
    transform:translateY(0);
}

.overlay-menu a{
    font-size:26px;
    color:white;
    text-decoration:none;
}

/* MOBIL MENU TUNING */

@media (max-width: 900px){

    .overlay-menu{

        position:fixed;
        top:0px;
        left:0;
        right:0;

        width:100%;
        height:auto;

        padding:25px;

        background: rgba(15, 32, 39, 0.85); /* trochu průhledné */
        backdrop-filter: blur(6px);

        display:flex;
        flex-direction:column;
        align-items:flex-start;

        gap:18px;

        transform:translateY(-20px);
        opacity:0;
        pointer-events:none;
    }

    .overlay-menu a{

        font-size:22px;     /* trochu menší text */
        line-height:1.2;

    }

    .overlay-menu.open{

        transform:translateY(0);
        opacity:1;
        pointer-events:auto;

    }

    .menu-close{
        top:15px;       /* křížek nahoře */
        right:20px;
        font-size:30px;
    }

}


@media (min-width: 900px){

    .overlay-menu {
        position: fixed;
        top: 0;
        right: 0;      /* menu je na pravé straně */
        left: auto;     /* zajistí, že se nepřepíše pozice */
        width: 280px;
        height: 100vh;
        background: rgba(15, 32, 39, 0.85);
        backdrop-filter: blur(8px);
        padding: 60px 30px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        transform: translateX(100%); /* skryto mimo pravou stranu */
        transition: transform 0.35s ease, opacity 0.35s ease;
        opacity: 0;
        pointer-events: none;
        border-left: 1px solid rgba(255,255,255,0.1);
        z-index: 50;
    }


    .overlay-menu.open {
        transform: translateX(0); /* vysunuté přesně na pravou hranu */
        opacity: 1;
        pointer-events: auto;
    }


    .overlay-menu a {
        font-size: 18px;
        color: white;
        text-decoration: none;
        transition: color 0.25s ease, transform 0.25s ease;
    }

    .overlay-menu a:hover {
        color: rgba(207, 166, 60, 0.95);
        transform: translateX(4px);
    }

    .menu-close {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 28px;
        color: white;
        cursor: pointer;
        z-index: 60;
    }

}


.pujcovna-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 30% 30%, rgba(53,208,194,0.15), transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(255,224,102,0.08), transparent 40%),
        linear-gradient(135deg, #0f2027, #203a43, #1c2a2f);
    background-attachment: fixed;
}

.pujcovna-page h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 300;
    text-align: center;
    letter-spacing: 1px;
    margin-bottom: 40px;
    color: white;
}

.page-wrapper {
    min-height: 100vh;
    padding-bottom: 100px;
}

.page-hero {
    background: linear-gradient(rgba(15,32,39,0.65), rgba(15,32,39,0.65)),
                url("images/uvod_pujcovna.jpg");
    background-size: cover;
    background-position: center;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 200px 20px 120px 20px;
    margin-bottom: 60px;
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-small {
    font-size: 34px;
    font-weight: 300;
    font-family: 'Montserrat', sans-serif;
    color: rgba(202, 180, 122, 0.85);
}

.hero-big {
    font-size: 90px;
    font-weight: 400;
    font-family: 'Forum', sans-serif;
}

.hero-divider {
    width: 220px;
    height: 2px;
    background: rgba(202, 180, 122, 0.85);
    margin: 35px 0;
}

.hero-subtitle {
    font-size: 12px;
    letter-spacing: 3px;
    opacity: 0.8;
    margin-bottom: 60px;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 30px;
}

.page-hero p {
    font-size: 20px;
    opacity: 0.85;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.hero-cta {
    margin-top: 20px;
}

/* ============================ CONTAINER ============================ */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ============================ BENEFITS ============================ */
.pujcovna-benefits h2 {
    text-align: center;
    margin-bottom: 60px;
    font-weight: 300;
    font-size: 32px;
    letter-spacing: 1px;
}

.pujcovna-benefits .benefit-grid:first-child {
    margin-bottom: 60px;
}

/* =================================== PRIMÁRNÍ CTA KARTA =================================== */
.benefit-card--primary {
    width: 420px;
    padding: 28px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    background: rgba(207,166,60,0.92);
    border-radius: 18px;
    border: 1px solid rgba(207,166,60,1);
    transition: all 0.35s ease;
}

.benefit-card--primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(207,166,60,0.35);
}

/* =================================== Ostatní CTA KARTY =================================== */
.benefit-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.benefit-card {
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 30px;
    width: 300px;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: rgba(207, 166, 60, 0.85);
    border-color: rgba(53,208,194,0.4);
    transform: translateY(-5px);
}

.benefit-card h3 {
    margin-bottom: 0px;
    font-weight: 500;
}

/* ============================ SECTION MARGINS ============================ */
.page-wrapper > section {
    margin-bottom: 80px;
}

.section {
    margin-top: 120px;
}

/* ============================ INFO SECTIONS ============================ */
.info-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    font-weight: 300;
}

.info-section p {
    max-width: 800px;
    margin: 0 auto 30px auto;
    text-align: left;
    line-height: 1.7;
    opacity: 0.85;
    padding-left: 0;
}

.info-list {
    max-width: 800px;
    margin: 0 auto;
    padding-left: 0;
    list-style: none;
}

.info-list li {
    margin-bottom: 15px;
    margin-left: 30px;
    line-height: 1.6;
    opacity: 0.85;
}

.info-bg {
    background: linear-gradient(rgba(15,32,39,0.65), rgba(15,32,39,0.65)),
                url("images/pro_koho2.png");
    background-size: cover;
    background-position: center top;
    padding: 120px 0 600px 0;
}

.info-box {
    flex: 1;
    padding: 80px;
    background: rgba(15,32,39,0.85);
}

.info-box h2 {
    margin-bottom: 25px;
}

/* ============================ PROČ SI VIOLONCELLO PŮJČIT ============================ */
#proc-pujcit {
    background: rgba(202, 180, 122, 0.85);
    color: #000000;
    width: 100%;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 50px;
    box-sizing: border-box;
    text-align: center;
    margin-bottom: 0;
    position: relative;
}

#proc-pujcit h2 {
    color: #000000;
}

#proc-pujcit .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
}

.pro-koho-section {
    display: flex;
    width: 100%;
}

.side-bg {
    flex: 1;
    background: rgba(15,32,39,0.85);
}

.pro-koho-layout {
    display: flex;
    max-width: 1200px;
    width: 100%;
}

.pro-koho-image-wrapper {
    flex: 1;
}

.pro-koho-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================ JAK TO FUNGUJE – 3 SLOUPCE ============================ */
.steps-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 60px;
    flex-wrap: wrap;
    text-align: center;
}

.step {
    max-width: 260px;
}

.step img {
    width: 80px;
    height: auto;
    margin-bottom: 25px;
    opacity: 0.9;
    transition: transform 0.3s ease;
}

.step p {
    line-height: 1.6;
    opacity: 0.85;
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cello-sizes {
    margin: 40px auto 10px auto;
    width: 650px;
    max-width: 90%;
    height: auto;
    display: block;
}

/* ============================ NABÍDKA ============================ */
#nabidka .pro-koho-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

#nabidka .info-box {
    max-width: 900px;
    text-align: center;
    background: transparent;
}

#nabidka {
    background: rgba(15,32,39,0.85);
}

/* ============================ CENÍK – PRICING CARDS ============================ */
/* TABS */
.pricing-tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.pricing-tabs .tab:hover {
    transform: translateY(-5px);
}

.tab {
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab.active {
    background: rgba(207, 166, 60, 0.85);
    border-color: rgba(53,208,194,0.5);
}

.pricing-wrapper {
    position: relative;
}

.pricing-content {
    display: none;
}

.pricing-content.active {
    display: block;
}

.pricing-table {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    border-collapse: collapse;
    text-align: center;
}

.pricing-table th, .pricing-table td {
    padding: 12px 15px;
    border: 1px solid rgba(255,255,255,0.15);
}

.pricing-table th {
    background: rgba(53,208,194,0.1);
}

.pricing-table tr:nth-child(even) {
    background: rgba(255,255,255,0.05);
}

/* MENŠÍ MEZERY UVNITŘ CENÍKU */
#cenik .pricing-content p {
    margin: 15px auto;
}

#cenik .pricing-content ul {
    margin: 10px auto 15px auto;
}

#cenik .pricing-content {
    max-width: 700px;
    margin: 0 auto;
}

.equipment-list {
    max-width: 800px;
    margin: 10px auto 20px auto;
    padding-left: 20px;
    list-style: disc;
}

.equipment-list li {
    margin-bottom: 3px;
    opacity: 0.85;
}

/* ============================ FORMULÁŘE ============================ */
.form-tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.form-tab {
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-tab.active {
    background: rgba(207, 166, 60, 0.85);
}

.form-tab:hover {
    transform: translateY(-5px);
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.form-content {
    display: none;
}

.form-content.active {
    display: block;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    opacity: 0.8;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    color: white;
    font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(207,166,60,0.8);
}

.form-button {
    margin-top: 10px;
    padding: 14px;
    border: none;
    border-radius: 30px;
    background: rgba(207,166,60,0.85);
    color: white;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(207,166,60,0.3);
}

.form-group select {
    background: rgba(255,255,255,0.05);
    color: white;
}

.form-group select option {
    background: #ffffff;
    color: #111;
}

#totalPrice {
    background: rgba(255,255,255,0.05);
    color: #cfa63c;
    font-weight: 600;
    text-align: center;
}

.o-nas-bg{

    background:
        linear-gradient(rgba(15,32,39,0.75), rgba(15,32,39,0.75)),
        url("images/o-nas.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding:120px 0;
}

.phone-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.phone-link:hover {
    color: rgba(207,166,60,0.95);
}

.phone-link:visited {
    color: white;
}


@media (max-width: 768px){

    .page-hero{
        padding:140px 20px 80px 20px;
        min-height:auto;
    }

    .hero-small{
        font-size:18px;
    }

    .hero-big{
        font-size:42px;
    }

    .hero-divider{
        width:120px;
        margin:20px 0;
    }

    .hero-subtitle{
        font-size:10px;
        letter-spacing:2px;
    }

    #proc-pujcit {
        padding: 20px 50px;
    }

    .pro-koho-section{
    flex-direction:column;
    }

    .pro-koho-layout{
        flex-direction:column;
    }

    .pro-koho-image{
        height:250px;
    }

    .side-bg{
        display:none;
    }

    .info-box{
        padding:40px 25px;
    }

    .steps-grid{
    flex-direction:column;
    gap:40px;
    }

    .step{
        max-width:100%;
    }

    .pricing-table{
    font-size:14px;
    }

    .pricing-table th,
    .pricing-table td{
        padding:8px;
    }

    .form-wrapper{
    width:100%;
    }

    .contact-form{
        gap:15px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select{
        font-size:16px;
    }

    .info-section p{
    text-align:left;
    }

    .info-list li{
        margin-left:15px;
    }

    .container{
        width:92%;
    }

    .tile{
    min-width:100%;
    }

    .tile.large{
        width:160px;
    }

    .page-wrapper > section {
        margin-bottom: 20px;
    }

    .info-section {
        padding-top: 10px;
        padding-bottom: 20px;
        display: flow-root; /* nebo overflow: hidden; */
    }


}

/* RESPONSIVE */

@media(max-width:700px){

    .headline{
        font-size:28px;
    }

    .topbar{
        padding:15px;
    }

    .benefit-grid{
        flex-direction:column;
        align-items:center;
        gap:15px;
        }

        .benefit-card{
            width:100%;
            max-width:320px;
        }

        .benefit-card--primary{
            width:100%;
            max-width:320px;
            font-size:20px;
        }

    }

/* GDPR */
.gdpr-container {
    max-width: 800px;
    margin: 120px auto 80px auto;
    padding: 40px 20px;
    background: rgba(15,32,39,0.65);
    backdrop-filter: blur(6px);
    border-radius: 12px;
}

.gdpr-consent {
    display: block;
    font-size: 14px;
    margin-top: 15px;
    line-height: 1.5;
    opacity: 0.85;
}

.gdpr-consent a{
    color: rgba(255,255,255,0.85);
}

.gdpr-consent input {
    margin-right: 8px;
}

.gdpr-link {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.gdpr-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ===== KONTAKT KOMPAKTNĚ ===== */
#kontakt .container {
    max-width: 500px;
}

#kontakt p {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* ===== GDPR FOOTER ===== */
.gdpr-footer {
    text-align: center;
    margin-top: 20px;
    padding: 10px 0 40px 0;
}

.gdpr-link {
    color: rgba(255,255,255,0.75);
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.gdpr-container ul {
    padding-left: 25px;
    margin: 10px 0 25px 0;
}

.gdpr-container li {
    margin-bottom: 8px;
    line-height: 1.6;
}