body {
    background-color: #231f20 !important;
    color : #F8F3E6;
    margin: 0%;
    font-family: 'Ubuntu', sans-serif !important;
}



p {
    color : #F8F3E6;
    font-size: 120%;
}

.p {
    color : #F8F3E6;
    font-size: 120%;
}

li {
    font-size: 140%;
}

.h3 {
    color : #F8F3E6 !important;
    font-size: 300% !important;
}

.h5 {
    color : #F8F3E6 !important;
    font-size: 160% !important;
}


.cenik-table {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    border-collapse: collapse;
}

.cenik-table th, .cenik-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.cenik-table th {
    background-color: #444;
    color: #fff;
}

.cenik-table td {
    color: #F8F3E6;
}

.topbar {
    position: sticky;
    top: 0;
    background-color: #cb1a2f !important;
    color: #F8F3E6; /* Same as body text color */
    padding: 10px 20px;
    padding-left: 16px;
    z-index: 1000;
    width: auto;
    height: 40%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.topbar a {
    padding-left: 8px;
}

.topbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
}

.topbar li {
    display: inline;
    font-weight: bold;
    cursor: pointer;
    margin-right: 16px;
    font-size: 24px;
}

.topbar li:hover {
    text-decoration: underline;
}

.fullscreen-image {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 160px;
}

.centered-content {
    width: 50%;
}

.fullscreen-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the entire area */
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1; /* Places the image behind other content */
    
}

button {
    background-color: #F8F3E6 !important;
    color: #231f20 !important;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 20px !important;
    cursor: pointer;
    margin-top: 10px;
}

.carousel-control-prev, .carousel-control-next {
    background-color: #cb1a2f00 !important;
    color: #231f20 !important;

}

button:hover {
    /*background-color: #A12230;*/
}

.container-fluid {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0 !important;
    background-color: #cb1a2f !important;
    margin-bottom: 160px;
}

.left {
    flex: 1;
    max-width: 50%;
}

.left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.right {
    flex: 1;
    max-width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.right ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 20px;
    color: #F8F3E6;
}

.icon-1, .icon-2, .icon-3, .icon-4 {
    flex: 1;
    justify-content: center;
    text-align: center;
}

.icon-div {
    padding-top: 32px;
    padding-bottom: 32px;
    color: #F8F3E6;
}

.icon {
    width: 100px;  /* Fixed width */
    height: 100px; /* Fixed height to maintain aspect ratio */
    margin: 20px;  /* Add some spacing around icons */
}

.center {
    text-align: center;
}
.services-container {
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    display: flex;
    gap: 20px;
    padding: 20px 0;
}

.service {
    min-width: 100%;
    display: flex;
    scroll-snap-align: start;
    background-color: #cb1a2f;
}

.service .left {
    flex: 1;
    max-width: 50%;
}

.service .right {
    flex: 1;
    max-width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.carousel {
    margin-bottom: 160px;
}

/* For mobile devices */
@media screen and (max-width: 768px) {
    .service {
        flex-direction: column;
    }

    .service .left,
    .service .right {
        max-width: 100%;
    }
}

/* Add smooth scrolling */
.services-container {
    scroll-behavior: smooth;
}

/* Optional: Add scrollbar styling */
.services-container::-webkit-scrollbar {
    height: 8px;
}

.services-container::-webkit-scrollbar-track {
    background: #231f20;
}

.services-container::-webkit-scrollbar-thumb {
    background: #cb1a2f;
    border-radius: 4px;
}

.form {
    background-color: #cb1a2f;
}



@media screen and (max-width: 768px) {
    .container-fluid {
        flex-direction: column;
    }

    .left, .right {
        max-width: 100%;
        width: 100%;
    }

    .left img {
        height: 300px; /* Fixed height for mobile */
    }

    .right {
        padding: 20px; /* Smaller padding on mobile */
    }
}

.services-wrapper {
    position: relative;
    width: 100%;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(203, 26, 47, 0.8); /* #BC2C3D with opacity */
    color: #F8F3E6;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    font-size: 24px;
}

.nav-prev {
    left: 20px;
}

.nav-next {
    right: 20px;
}

.nav-arrow:hover {
    background: rgba(188, 44, 61, 1); /* Solid color on hover */
}

/* Update services-container to hide scrollbar */
.services-container {
    /* ...existing styles... */
    -ms-overflow-style: none;  /* Hide scrollbar for IE and Edge */
    scrollbar-width: none;     /* Hide scrollbar for Firefox */
}

.services-container::-webkit-scrollbar {
    display: none;  /* Hide scrollbar for Chrome, Safari and Opera */
}

@media screen and (max-width: 768px) {
    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

.contact-form {
    display: flex;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 120px;
}

.form-left, .form-right {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #F8F3E6;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #231f20;
    border-radius: 4px;
    background-color: #231f20;
    color: #F8F3E6;
}

.form-group textarea {
    width: 100%;
    height: calc(100% - 60px); /* Adjust height to leave space for label and padding */
    padding: 10px;
    border: 1px solid #231f20;
    border-radius: 4px;
    background-color: #231f20;
    color: #F8F3E6;
    resize: none;
}

.form-right {
    display: flex;
    flex-direction: column;
}

.form-right button {
    align-self: flex-end;
    margin-top: 10px;
}

.form-right .form-group textarea {
    min-height: 140px; /* Default height for all screens */
}

.form-text {
    padding-top:20px;
    padding-bottom: 60px;
}

.nav-item a {
    text-decoration: none;
    color: #F8F3E6;
}

.nav-item a:hover {
    color: #F8F3E6;
    text-decoration: none;
}

.cenik-table, .kontakt {
    margin-bottom: 120px;
}

.container-fluid.icon-div {
    padding: 40px 0; /* Increase vertical padding */
    gap: 30px; /* Space between icon containers */
}

.icon-1, .icon-2, .icon-3, .icon-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px; /* Increase space between icon and text */
    padding: 20px;
    padding-top: 80px; /* Additional space at the top */
    padding-bottom: 80px;
    text-align: center;
}

.icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px; /* Additional space below icons */
}

h4 {
    color: #F8F3E6;
    margin: 0;
    max-width: 300px; /* Limit text width for better readability */
}

.container-fluid.icon-div {
    display: flex;
    justify-content: space-between;
    padding: 40px 20px;
    gap: 30px;
}

.icon-1, .icon-2, .icon-3, .icon-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-height: 300px; /* Fixed height for consistent spacing */
}

.icon {
    width: 120px; /* Larger icons */
    height: 120px;
    flex: 1; /* Takes up 50% of the container height */
    object-fit: contain;
    margin: 20px 0;
}

h4 {
    color: #F8F3E6;
    text-align: center;
    flex: 1; /* Takes up 50% of the container height */
    margin: 20px 0;
    display: flex;
    align-items: center;
    max-width: 250px;
}

/* Responsive design for mobile */
@media screen and (max-width: 768px) {
    .container-fluid.icon-div {
        flex-direction: column;
        padding: 20px;
    }

    .icon-1, .icon-2, .icon-3, .icon-4 {
        min-height: 200px;
    }

    .icon {
        width: 80px;
        height: 80px;
    }
}

/* Responsive adjustments for mobile */
@media screen and (max-width: 768px) {
    .container-fluid.icon-div {
        flex-direction: column;
        padding: 20px 0;
    }
    
    .icon {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }
}


/* Responsive design for mobile */
@media screen and (max-width: 768px) {
    .contact-form {
        flex-direction: column;
    }

    .form-group textarea {
        height: 150px;
    }
}

.form h3 {
    padding-top: 20px;
    padding-bottom: 60px;
}

.h5-cenik {
    padding-left: 20%;
}

.konkretni {
    align-items: center;
    text-align: center;
    padding-left: 8px;
    padding-right: 8px;
}

@media screen and (max-width: 768px) {
    .fullscreen-image .h3 {
        font-size: 180% !important; /* Smaller font size for mobile */
        margin: 10px 0;
    }

    .fullscreen-image .centered-content {
        width: 90%; /* Wider content area on mobile */
        margin: 0 auto;
    }

    .tel {
        font-size: 120% !important; /* Smaller button text on mobile */
        padding: 8px 16px; /* Adjust button padding for mobile */
    }
}

.container-fluid.icon-div {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 20px;
    padding: 40px 20px;
}

.icon-1, .icon-2, .icon-3, .icon-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 25%; /* Each takes equal width */
    max-width: 300px;
}

.icon {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
}

.icon-div h4 {
    text-align: center;
    min-height: 80px; /* Ensures consistent height for text blocks */
    display: flex;
    align-items: baseline;
    margin: 0;
    font-size: 24px;
}

/* Responsive design for mobile */
@media screen and (max-width: 768px) {
    .container-fluid.icon-div {
        flex-direction: column;
        align-items: center;
    }

    .icon-1, .icon-2, .icon-3, .icon-4 {
        width: 100%;
        margin-bottom: 30px;
    }

    .icon-div h4 {
        min-height: auto;
    }
}


.topbar .container-fluid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px !important;
}

.navbar-nav {
    display: flex;
    gap: 30px;
    margin-left: auto; /* Pushes nav items to the right */
    list-style: none;
}

.nav-item a {
    color: #F8F3E6;
    text-decoration: none;
    font-size: 18px;
}

.nav-item a:hover {
    color: #F8F3E6;
}

/* filepath: /c:/Projects/tomas_web/stylesheets.css */
.navbar-toggler {
    border-color: #F8F3E6 !important;
}

.container-fluid {
    display: flex;
    justify-content: space-between; /* Space between logo and burger */
    align-items: center;
    padding: 0 20px;
    background-color: #cb1a2f;
}

.navbar-brand {
    padding: 10px 0;
}

@media screen and (max-width: 768px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #cb1a2f;
        padding: 10px;
        text-align: center;
        z-index: 1000;
    }
    
    .nav-item {
        margin: 10px 0;
    }

    .navbar-nav {
        margin: 0;
    }

    .container-fluid {
        flex-wrap: nowrap; /* Prevent wrapping on mobile */
    }
}

.navbar {
    padding: 0;
}

.fluid-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 20px;
    background-color: #cb1a2f;
}

.navbar-brand {
    margin: 0;
    padding: 0;
}

.navbar-toggler {
    border-color: transparent !important;
    background-color: transparent !important;
    padding: 4px 8px;
    margin: 0;
}

@media screen and (max-width: 768px) {
    .fluid-nav {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #cb1a2f;
        padding: 10px;
        text-align: center;
    }
}

.tel {
    background-color: #F8F3E6;
    color: #231f20;
    border: none;
    padding: 10px 20px;
    font-size: 24px;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 20px;
    text-decoration: none;
    display: inline-block;
    pointer-events: none;
}

@media screen and (max-width: 768px) {
    .tel {
        pointer-events: auto; /* Enable clicking on mobile */
        cursor: pointer;
    }
}

.tel:hover {
    background-color: #e6e0d3;
    color: #231f20;
    text-decoration: none;
}

.form-button {
    background-color: #231f20 !important;
    color: #F8F3E6 !important;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 20px !important;
    cursor: pointer;
    margin-top: 10px;
}

.left-kontakt img {
    width: 200px !important; /* Adjust size as needed */
    height: auto !important;
    margin-bottom: 20px;
}

.left-kontakt {
    padding-left: 12px;
}

.right-kontakt {
    padding-top: 40px;
    padding-left: 0px !important; /* Adds space from the top */
    display: flex;
    flex-direction: column;
}

/* For mobile responsiveness */
@media screen and (max-width: 768px) {
    .right-kontakt {
        padding-top: 20px;
    }
}

.kontakt-img {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 20px 0;
}

/* For mobile responsiveness */
@media screen and (max-width: 768px) {
    .left-kontakt img {
        width: 150px !important;
    }
}

.telefon a {
    color: #F8F3E6 !important;
    text-decoration: underline;
    font-size: 20px;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 20px;
}

.email a {
    color: #F8F3E6 !important;
    text-decoration: underline;
    font-size: 20px;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 20px;
}

.right-kontakt h5 {
    padding-bottom: 8px;
}

.nadpis {
    padding-top: 8px;
    padding-bottom: 32px;
    padding-left: 8px;
    padding-right: 8px;
}

.ano {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    align-self: flex-start;
}

.ano img {
    width: 48px;
    height: 48px;
}

.ano p {
    margin: 0;
    color: #F8F3E6;
    font-size: 18px;
}

.left ul {
    list-style-type: disc;
    padding-left: 60px;
    margin-top: 20px;
    color: #F8F3E6;
    font-size: 12px;
}

.right-tipy ul {
    list-style-type: disc;
    padding-left: 60px;
    margin-top: 20px;
    color: #F8F3E6;
    font-size: 12px;
}

.nav-link.active {
    color: #231f20 !important; 
}

.rady-fluid {
    margin-bottom: 120px !important;
}


@media screen and (max-width: 768px) {
    .h5-cenik
    {
        text-align: center;
        padding-left: 0%;
    }
}

.icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.icon-link:hover {
    color: inherit;
    opacity: 0.7;
}

.form-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #4a4a4a !important;
}

.left-rady {
    padding-left: 8px;
    padding-right: 8px;
}

.insta a {
    padding: 0px !important;
}

.footer {
    background-color: #231f20;
    color: #F8F3E6;
    text-align: center;
    padding: 20px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer p {
    font-size: 80%;
}

.lokalita p {
padding: 20px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}