@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');
.other{
    font-family: 'Inter', Courier, monospace;
}
html, body{
    background-color: white;
}
.more-link i {
    transition: transform 0.3s ease;
}
.more-link:hover i {
    transform: translateX(5px);
}
.navbar{
    background-color: white;
    font-family: 'Urbanist', Courier, monospace;
}
.navbar-nav .nav-link, .dropdown-item {
    font-size: 1.15em;
}
.navbar-toggler, .navbar-toggler:focus {
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}
.navbar-toggler:focus, .navbar-toggler:active, .navbar-toggler-icon:focus {
    outline: none;
    box-shadow: none;
}

#theme-toggle{
    border: none; 
    background: none;
}

/* INTRODUCTURY */

.introductury-bg {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('data/background.jpg') no-repeat center;
    background-size: cover;
    height: 100vh;
}

.introductury-content-left { 
    position: absolute; 
    top: 35%; 
    left: 5%; }
.info-box-bottom-right { 
    position: absolute; 
    bottom: 8%; 
    right: 5%; 
    max-width: 500px; 
}
.info-box {
    padding: 20px;
    color: white;
    font-size: 1.5em;
}

/* SERVICE */

.service-card {
    background-color: #f2f2f2 !important;
}
        .service-card p {
            font-size: 0.95rem;
            line-height: 1.6;
        }

.service-image {
    height: 250px; 
    width: 100%;
    overflow: hidden;
}
        .service-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

/* REBRANDING */

.rebranding-background{
    background-color: #f2f2f2 !important;
}
.rebranding{
    max-width: 500px; 
    margin-left: auto; 
    margin-right: 40px;
}

.rebranding-image{
    min-height: 450px;
}
.cosi{
    float: right;
}
.vision{
    max-width: 500px; 
    margin-left: auto; 
    margin-right: 40px;
}

.logo-box {
    width: 150px;
    height: 150px;
    background: #f2f2f2;
    border-radius: 1.3rem;
    display: flex;
    padding: 2rem;
    transition: all 0.3s ease;
}
        .logo-box:hover {
            transform: translateY(-5px);
        }
            .logo-box img {
                max-width: 100%;
                margin: auto;
            }

/* PROCESS */

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
        .card:hover {
            transform: translateY(-5px);
        }

/* SOMETHING */

.object-fit-cover {
    width: 100%;      
    height: 400px;     
    object-fit: cover; 
    display: block;    
}

/* OFFER */

.pricing-card {
    border: 1px solid #f0f0f0 !important; 
    border-radius: 16px !important;
    box-shadow: none;
}

.card-title {
    font-weight: 600;
    font-size: 1.15rem;
}

.price-value {
    font-size: 4.8rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -3px;
}

.price-unit {
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: 8px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.features-list li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
}

.features-list li i {
    margin-right: 12px;
    margin-top: 4px; 
    font-size: 1rem;
    color: #000;
}

.btn-custom-blue {
    background-color: #2b95ff !important; 
    color: #ffffff !important;
    border: none !important;
    padding: 14px !important;
    border-radius: 8px !important;
    font-size: 1rem;
}

.btn-custom-blue:hover {
    background-color: #1a83eb !important;
}

.custom-input {
    background-color: #f2f2f2 !important;
    border: none !important;
    border-radius: 15px !important;
    padding: 12px 15px !important;
    font-size: 0.95rem;
}

.custom-input:focus {
    background-color: #e9e9e9 !important;
    box-shadow: none !important;
}

.btn-close-custom {
    background: #f2f2f2;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    font-size: 1.5rem;
    transition: 0.2s;
}

.btn-close-custom:hover {
    background: #e2e2e2;
}

.btn-submit-form {
    background-color: #337ab7;
    color: white;
    border: none;
    padding: 12px 40px;
    border-radius: 15px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-submit-form:hover {
    background-color: #286090;
    transform: scale(1.05);
}

.form-label {
    font-size: 0.9rem;
    margin-bottom: 5px;
    margin-left: 5px;
}

.modal-content{
    border-radius: 20px;
}

.robot_check{
    display: none;
}

#thankYouMessage{
    display:none; 
    opacity: 0; 
    transition: opacity 0.5s ease;
}
.thankYouMessage1{
    background-color: #f2f8ff; 
    border: 1px solid #2b95ff;
}
.thankYouMessage2{
    color: #2b95ff;
}

/* TEAM */

.image-wrapper {
    aspect-ratio: 1 / 1;
}
        .image-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

.team-card:hover img {
    transform: scale(1.02);
}

.social-link {
    color: #000;
    text-decoration: none;
    font-size: 1.2rem;
    transition: 0.3s ease;
}
        .social-link:hover {
            transform: translateY(-3px);
        }

/* GALLERY */

.masonry-grid {
    column-count: 3;
}

.masonry-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 1rem;
}

.masonry-item img {
    transition: transform 0.3s;
}

.masonry-item img:hover {
    transform: scale(1.02);
}
.masonry-item img {
    content-visibility: auto;
    contain-intrinsic-size: 300px;
}

/* EXPERIENCE */

.custom-card {
    background-color: #f8f9fa !important; 
    border-radius: 20px !important; 
    transition: transform 0.2s;
}

.custom-card:hover {
    transform: scale(1.02); 
}

.stars {
    font-size: 2rem;
}
.rounded-circle {
    object-fit: cover;
    object-position: center;
}
/* FOOTER */

#responseMessage{
    display: none;
}
.map{
    max-width: 300px;
}
.map iframe{
    border:0;
}

/* COOKIES */

#cookie-bar {
    z-index: 10000; 
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    display: none; 
    background-color: white !important;
    color: #212529 !important;
}

#cookie-bar h5, #cookie-bar p {
    color: #212529 !important;
}

#cookie-bar .btn-outline-custom {
    color: #212529 !important;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    padding: 7px 15px;
}

#cookie-bar .btn-outline-custom:hover {
    background-color: #e2e2e2;
}

.show-cookie-bar {
    display: block !important;
    animation: slideUp 0.5s ease-out forwards;
}

@keyframes slideUp {
    from { 
        transform: translateY(100%); 
        opacity: 0; 
    }
    to { 
        transform: translateY(0); 
        opacity: 1; 
    }
}

#cookieSettingsModal .modal-content {
    color: #212529 !important;
}

/* MEDIAQUERIES */

@media (max-width: 991px) {
    .logo-box { 
        width: 120px; 
        height: 120px; 
        padding: 1rem; 
    }
}
@media (max-width: 576px) {
    .info-box{
        font-size: 1.2em !important;
    }
    .col-sm-5 {
        height: 180px;
    }
    .masonry-grid {
        column-count: 1;
    }
        .card-body {
        padding: 1.5rem !important;
    }
    .process-row {
        display: block;
    }
}
@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
    .price-value {
        font-size: 3.8rem;
    }
}
@media (max-width: 992px) {
    .masonry-grid {
        column-count: 2;
    }
}
@media (min-width: 1921px){
    .info-box{
        font-size: 2.5em;
        width: 120%;
    }
}
@media (min-width: 2300px){
    .info-box{
        font-size: 3em;
        width: 120%;
    }
}
/* DARK MODE */

[data-bs-theme="dark"] #cookie-bar,
[data-bs-theme="dark"] body, 
[data-bs-theme="dark"] .navbar, 
[data-bs-theme="dark"] footer, 
[data-bs-theme="dark"] .bg-white {
    background-color: #0b0e0d !important;
    color: #f8f9fa;
}

[data-bs-theme="dark"] .service-card, 
[data-bs-theme="dark"] .rebranding-background, 
[data-bs-theme="dark"] .something, 
[data-bs-theme="dark"] .card, 
[data-bs-theme="dark"] .logo-box, 
[data-bs-theme="dark"] .modal-content, 
[data-bs-theme="dark"] .custom-card {
    background-color: #1b201f !important;
    color: white;
    border-color: #333 !important;
}

[data-bs-theme="dark"] .custom-input, 
[data-bs-theme="dark"] .form-control, 
[data-bs-theme="dark"] .form-select {
    background-color: #2d3433 !important;
    color: white !important;
    border: none !important;
}
[data-bs-theme="dark"] .btn-close-custom {
    background-color: #2d3433 !important;
    color: white !important;
}

[data-bs-theme="dark"] .text-dark, 
[data-bs-theme="dark"] .nav-link, 
[data-bs-theme="dark"] i {
    color: white !important;
}

[data-bs-theme="dark"] .text-muted, 
[data-bs-theme="dark"] .text-secondary {
    color: #adb5bd !important;
}

[data-bs-theme="dark"] .modal-content {
    background-color: #1b201f !important;
    color: white;
}
[data-bs-theme="dark"] .modal-body .bg-light {
    background-color: #2d3433 !important;
}
[data-bs-theme="dark"] .thankYouMessage1 {
    background-color: #1b201f !important;
    border-color: #2b95ff !important;
}
[data-bs-theme="dark"] .thankYouMessage2 {
    color: white !important;

}


/* Hlavní mřížka - 3 sloupce */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Přesně 3 sloupce */
    gap: 20px; /* Mezera mezi rámečky */
    max-width: 1100px;
    margin: 0 auto;
}

/* Nastavení "obdélníku" */
.masonry-item {
    position: relative;
    width: 100%;
    /* Tady nastavujeme výšku obdélníku (poměr 3:4) */
    aspect-ratio: 3 / 4; 
    overflow: hidden;
    border-radius: 12px;
    background-color: #f0f0f0; /* Provizorní barva než se načte fotka */
}

/* Aby některé fotky byly delší (jako v předloze) */
/* Každý druhý nebo třetí může být vyšší, pokud chceš ten "rozbitý" efekt */
.masonry-item:nth-child(2n) {
    aspect-ratio: 3 / 5; /* Udělá některé buňky delší */
}

/* Samotná fotka uvnitř obdélníku */
.masonry-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* TATO FUNKCE JE KLÍČOVÁ - fotka vyplní obdélník a neořízne se ošklivě */
    object-position: center; /* Centruje ořez na střed */
    display: block;
}

/* Responzivita pro mobily */
@media (max-width: 768px) {
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .masonry-grid {
        grid-template-columns: 1fr;
    }
}

