html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.configurator-container {
    width: 900px;
    margin: 0 auto;
    text-align: center;
}

.shirt-preview {
    position: relative;
    width: 400px;
    margin: 0 auto;
}

.tshirt-base {
    width: 100%;
}

.design-preview {
    position: absolute;
    top: 150px;
    left: 100px;
    width: 150px;
    cursor: move;
    transition: transform 0.1s;
}

.controls {
    margin-top: 20px;
}

.text-preview {
    position: absolute;
    top: 250px;
    left: 120px;
    font-size: 28px;
    font-weight: bold;
    cursor: move;
}

.configurator-container {
    width: 900px;
    margin: 0 auto;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 0 25px rgba(0,0,0,0.1);
}

button {
    margin-top: 20px;
    padding: 10px 20px;
    border: none;
    background: #2a82f0;
    color: white;
    border-radius: 8px;
    cursor: pointer;
}

    button:hover {
        background: #1b68c9;
    }

.text-preview {
    position: absolute;
    top: 250px;
    left: 120px;
    font-size: 28px;
    font-weight: bold;
    cursor: move;
    user-select: none; /* nepůjde označit text, bude lepší manipulace */
}

input[type="file"] {
    color: transparent;
}

    input[type="file"]::-webkit-file-upload-button {
        color: white;
        background: #2a82f0;
        padding: 8px 15px;
        border: none;
        border-radius: 8px;
        cursor: pointer;
    }

    input[type="file"]::file-selector-button {
        color: white;
        background: #2a82f0;
        padding: 8px 15px;
        border: none;
        border-radius: 8px;
        cursor: pointer;
    }

.TextOnas {
    width: 900px;
    margin: 0 auto;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 0 25px rgba(0,0,0,0.1);
}



/* Kontejner pro celý panel */
.controls {
    margin-top: 20px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Jednotlivý řádek ovládacích prvků */
.controls-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

/* Popisky */
.controls label {
    font-weight: bold;
    margin-right: 5px;
}

/* Styly prvků */
.controls input[type="text"],
.controls select,
.controls input[type="color"],
.controls input[type="range"] {
    margin-right: 10px;
}

/* Vybrat soubor */
.controls input[type="file"] {
    margin-right: 15px;
}

.switch-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.switch-button {
    padding: 8px 18px;
    background: #ccc;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

    .switch-button.active {
        background: #2a82f0;
        color: white;
    }

.shirt-side {
    display: none;
}

    .shirt-side.active-side {
        display: block;
    }
.container-foot{
    width:450px;
    float:left;
    margin-top:60px;
    margin-left:500px;
    
}
.container-foot-kontakt{
    width:450px;
    float:right;
    margin-top:60px;
    margin-right:500px;
    text-align:left;
}


.container-fluid {
    font-weight: bold;
}

.info {
    width: 900px;
    margin: 0 auto;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 0 25px rgba(0,0,0,0.1);
}

.ObchPodm {
    width: 900px;
    margin: 0 auto;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 0 25px rgba(0,0,0,0.1);
}

.CoNabizime {
    width: 900px;
    margin: 0 auto;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 0 25px rgba(0,0,0,0.1);
}


.nav-link text-dark:hover {
    background: #2a82f0;
}


/* ===== základní layout a typografie ===== */
.services-page {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color: #222;
}

.hero {
    padding: 36px 0;
}

.hero-inner {
    width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    margin: 0 0 8px 0;
    font-size: 34px;
}

.lead {
    color: #444;
    margin: 0;
}

/* services grid */
.services-overview {
    width: 800px;
    margin: 30px auto;
}

    .services-overview h2 {
        margin-bottom: 16px;
    }

.grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}

.card {
    background: #fff;
    padding: 16px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .card h3 {
        margin-top: 6px;
    }

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

.card-icon {
    width: 100%;
    max-width: 450px; /* <<< tady zvětšujeme obrázky */
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 15px auto;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    /* efekt při přejetí myší */
    .card-icon:hover {
        transform: scale(1.05);
        box-shadow: 0 10px 25px rgba(0,0,0,0.18);
    }

/* mobilní telefony */
@media (max-width: 768px) {
    .card-icon {
        max-width: 100%;
        margin: 10px auto;
    }
}


/* upsell tips */
.upsell {
    width: 800px;
    margin: 30px auto;
}

    .upsell .tips {
        display: flex;
        gap: 14px;
        flex-wrap: wrap;
    }

.tip {
    flex: 1 1 45%;
    background: #fff;
    padding: 14px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

    .tip:hover {
        transform: translateY(-5px) scale(1.03);
        box-shadow: 0 8px 25px #2a82f0; #2a82f0
    }


/* gallery carousel */
.gallery {
    width: 900px;
    margin: 30px auto;
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.slides {
    display: flex;
    transition: transform 0.45s ease;
}

.slide {
    min-width: 900px;
}

    .slide img {
        width: 100%;
        height: 400px;
        object-fit: cover;
        display: block;
    }

.cbtn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

    .cbtn.prev {
        left: 10px;
    }

    .cbtn.next {
        right: 10px;
    }

/* partners */
.partners {
    width: 900px;
    margin: 30px auto;
    text-align: center;
}

.partner-grid {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.partner {
    width: 160px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    padding: 8px;
}

    .partner img {
        max-width: 140px;
        max-height: 64px;
        object-fit: contain;
    }

/* cta form */
.cta {
    width: 100%;
    padding: 30px 0;
    margin:0 auto;
}

.cta-inner {
    width: 900px;
    margin: 0 auto;
    
    gap: 20px;
    align-items: flex-start;
    justify-content: space-between;
}

.order-form {
    width: 420px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .order-form input, .order-form select, .order-form textarea {
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 15px;
    }

.primary {
    background: #2a82f0;
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
}

.muted {
    color: #666;
    font-size: 14px;
}

/* responsive */
@media (max-width: 980px) {
    .hero-inner, .services-overview, .upsell, .gallery, .partners, .cta-inner {
        width: 95%;
    }

    .grid {
        grid-template-columns: repeat(2,1fr);
    }

    .slide {
        min-width: 100%;
    }

    .cta-inner {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 640px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .tip {
        flex-basis: 100%;
    }

}


/*ceník*/

.price-section {
    width: 900px;
    margin: 40px auto;
    padding: 20px;
}

.price-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
    font-weight: bold;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.price-card {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform .25s, box-shadow .25s;
    cursor: pointer;
}

    .price-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 25px rgba(0,0,0,0.18);
    }

    .price-card h3 {
        font-size: 22px;
        margin-bottom: 6px;
    }

    .price-card .desc {
        color: gray;
        margin-bottom: 12px;
        font-size: 14px;
    }

    .price-card ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .price-card ul li {
            display: flex;
            justify-content: space-between;
            margin: 8px 0;
            padding-bottom: 4px;
            border-bottom: 1px dashed #ddd;
        }

            .price-card ul li span {
                font-weight: bold;
                color: #2a82f0;
            }
.pulse {
    transform: scale(1.03);
}
/*cookie lišta*/

.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #222;
    color: white;
    padding: 15px;
    display: none;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
}

    .cookie-bar p {
        margin: 0;
        font-size: 14px;
    }

    .cookie-bar a {
        color: #4da8ff;
        text-decoration: underline;
    }

    .cookie-bar button {
        background: #2a82f0;
        border: none;
        padding: 8px 16px;
        border-radius: 6px;
        color: white;
        cursor: pointer;
    }


/* ----------------------------------------------------
   RESPONSIVE LAYER – optimalizace pro mobily a tablety
-------------------------------------------------------*/

/* TABLETY (max 992px) */
@media (max-width: 992px) {

    .configurator-container,
    .info,
    .ObchPodm,
    .TextOnas {
        width: 95%;
        padding: 15px;
    }

    .controls-row {
        flex-wrap: wrap;
    }

    .shirt-preview {
        width: 300px;
    }
}

/* MOBILY (max 768px) */
@media (max-width: 768px) {

    .configurator-container h2 {
        font-size: 20px;
    }

    .shirt-preview {
        width: 260px;
        min-height: 300px;
    }

    .design-preview {
        width: 120px !important;
    }

    .text-preview {
        font-size: 20px !important;
    }

    /* ovládací panel pod sebe */
    .controls-row {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

        .controls-row label {
            margin: 0;
        }

    /* tlačítka přepínání stran */
    .switch-container {
        flex-direction: row;
        flex-wrap: wrap;
    }

    /* obrázky v sekcích nabídky */
    .card-icon {
        width: 100%;
        max-width: 230px;
        height: auto;
    }

    /* ceník */
    .pricing-card {
        width: 100%;
        margin: 10px auto;
    }

    /* kontakt */
    .contact-form {
        width: 100%;
        max-width: 100%;
    }
}

/* MOBILY MALÉ (max 480px) */
@media (max-width: 480px) {

    .shirt-preview {
        width: 220px;
        min-height: 250px;
    }

    .design-preview {
        width: 90px !important;
    }

    .text-preview {
        font-size: 18px !important;
    }

    .configurator-container {
        padding: 10px;
    }

    .switch-button {
        padding: 6px 12px;
    }

    button {
        width: 100%;
        padding: 12px;
    }
}


/* ---------- RESPONSIVE FIX for "Co nabízíme" and Price section ---------- */

/* Make main content flexible instead of fixed 900px */
.services-overview,
.upsell,
.gallery,
.partners,
.cta-inner,
.info,
.ObchPodm,
.TextOnas,
.price-section {
    width: 95%;
    max-width: 1100px; /* maximum desktop width */
    margin: 30px auto;
    box-sizing: border-box;
    padding: 0 12px;
}

/* Responsive cards grid for services (auto-fit) */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

/* Make card-icon behave nicely */
.card-icon {
    width: 100%;
    max-width: 420px; /* větší na desktopu */
    height: auto;
    margin: 12px auto;
    display: block;
    object-fit: contain;
}

/* Upsell tips responsive layout */
.upsell .tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

/* Gallery slides responsive */
.carousel .slides {
    display: flex;
    gap: 12px;
}

.slide {
    min-width: 100%;
}

/* Price grid responsive */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

/* Price card spacing */
.price-card {
    padding: 18px;
    border-radius: 12px;
}

/* FAQ / CTA widths handled by services-overview rule above */

/* ---------- Specific smaller-screen tweaks ---------- */
@media (max-width: 992px) {
    .shirt-preview {
        width: 320px;
    }

    .design-preview {
        width: 130px !important;
    }

    .text-preview {
        font-size: 20px !important;
    }
}

@media (max-width: 768px) {
    /* stack controls and make them full width */
    .controls-row,
    .order-form,
    .contact-form {
        flex-direction: column;
        width: 100%;
    }

    .configurator-container,
    .services-overview,
    .upsell,
    .gallery,
    .partners,
    .cta-inner,
    .info {
        width: 95%;
        padding: 10px;
    }

    .shirt-preview {
        width: 260px;
        min-height: 300px;
    }

    .design-preview {
        width: 110px !important;
    }

    .text-preview {
        font-size: 18px !important;
    }

    .card-icon {
        max-width: 100%;
    }

    .slide img {
        height: auto;
        object-fit: cover;
    }

    /* Price card typography smaller */
    .price-card h3 {
        font-size: 18px;
    }

    .price-card ul li {
        font-size: 14px;
    }
}

/* extra small phones */
@media (max-width: 420px) {
    .shirt-preview {
        width: 220px;
        min-height: 250px;
    }

    .design-preview {
        width: 90px !important;
    }

    .text-preview {
        font-size: 16px !important;
    }

    .controls-row {
        gap: 8px;
    }

    .price-title {
        font-size: 22px;
    }
}

/* ------------------ RESPONSIVE FIX FOR "CO NABÍZÍME" PAGE ------------------ */

/* Globální obal */
.CoNabizime {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Uvnitř stránka */
.services-page {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* HERO sekce */
.hero {
    width: 100%;
    padding: 40px 20px;
    text-align: center;
}

/* ---------- GRID SLUŽEB ---------- */
.services-overview {
    width: 100%;
    margin: 40px auto;
}

    .services-overview .grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 25px;
    }

/* Cardy */
.card {
    background: white;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 0 20px rgba(0,0,0,0.08);
    text-align: center;
}

/* Obrázky v kartách */
.card-icon {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 0 auto 12px;
}

/* ---------- UPSALES ---------- */
.upsell {
    width: 100%;
    margin: 40px auto;
}

    .upsell .tips {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 20px;
    }

.tip {
    background: white;
    padding: 18px;
    border-radius: 14px;
    box-shadow: 0 0 20px rgba(0,0,0,0.08);
}

/* ---------- PARTNEŘI ---------- */
.partners {
    width: 100%;
    margin: 40px auto;
    text-align: center;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.partner img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

/* ---------- FORM / CTA ---------- */
.cta-inner {
    width: 100%;
    max-width: 650px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 0 25px rgba(0,0,0,0.08);
}

/* Formulář */
.order-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ---------- MOBILNÍ BREAKPOINTY ---------- */
@media (max-width: 768px) {

    .card-icon {
        max-width: 80%;
    }

    .services-overview .grid {
        grid-template-columns: 1fr;
    }

    .upsell .tips {
        grid-template-columns: 1fr;
    }

    .partner-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .cta-inner {
        padding: 16px;
    }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

    .slider-container {
        margin: 20px auto;
        border-radius: 10px;
    }

    .slider-btn {
        font-size: 18px;
        padding: 8px 12px;
    }
}

/* EXTRA SMALL PHONES */
@media (max-width: 480px) {
    .slider-btn {
        font-size: 16px;
        padding: 6px 10px;
    }
}














/*FAQ*/

/* FAQ sekce */
.faq-section {
    width: 900px;
    max-width: 95%;
    margin: 40px auto;
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.faq-title {
    text-align: center;
    margin-bottom: 25px;
}

.faq-item {
    border-bottom: 1px solid #ddd;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 15px 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color .2s;
    color: #000;
}

    .faq-question:hover {
        color: #2a82f0;
    }

.faq-icon {
    font-size: 22px;
    transition: transform .3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 5px;
    font-size: 15px;
    color: #444;
    line-height: 1.5;
    transition: max-height .35s ease, padding .35s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 10px 5px 15px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

