body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #fff;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1em;
    background-color: #0d3b36;
    border-bottom: 1px solid #ddd;
    position: relative;
    z-index: 10;
    /* Ensure navbar is on top */
}

.navbar .logo {
    margin-right: 4em;
}

.navbar .nav-links {
    display: flex;
    gap: 1.5em;
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8a6d46 !important;
}

.navbar .nav-links a {
    text-decoration: none;
    color: #8a6d46 !important;
    transition: color 0.3s ease;
}

.appointment-button {
    margin-left: 16px;
}

.general-btn {
    border: 2px solid #8a6d46;
    padding: 0px 30px;
    display: inline-block;
    /* Ensures the button behaves like an inline element */
    text-decoration: none;
    /* Remove underline from the link */
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    font-weight: 100;
    letter-spacing: 1px;
}

.general-btn .btn {
    background-color: transparent;
    /* Make button background transparent */
    border: none;
    /* Remove button border */
    color: #8a6d46;
    /* Text color */
    font-size: inherit;
    /* Inherit font size */
    cursor: pointer;
    /* Change cursor on hover */
    padding: 0;
    /* Remove default button padding */
}

.burger {
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 11;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 8px;
}

.line {
    width: 100%;
    height: 3px;
    background-color: white;
    transition: background-color 0.5s ease;
}

.image-slider {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: margin-top 0.3s ease;
    margin: 0 auto;
    background-color: white;
    width: 100%;
    height: 900px;
    max-width: 1000px;
}

.image-slider .image-container {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
    max-width: 1000px;

}

.image-slider .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 1000px;
}

.image-slider .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure the image covers the entire area */
}

.image-slider .arrow-left,
.image-slider .arrow-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.7);
    /* Semi-transparent background */
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    /* Ensure arrows are above the image */
}

.image-slider .arrow-left {
    left: 10px;
}

.image-slider .arrow-right {
    right: 10px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 20px 0;
    /* Optional: Add space around videos */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.reels-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  justify-content: center;
  gap: 2rem;
  margin: 2rem auto;
  max-width: 1000px;
}

.reel-container {
    position: relative;
    width: 100%;
    max-width: 320px;
    max-height: 500px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reel-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.reel-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.reel-link {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 6px 10px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.reel-link:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* AI & UX Enhancement Styles */

/* Process Steps */
.process-steps {
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
    margin-bottom: 40px;
    border-radius: 8px;
}

.process-steps h2 {
    color: #0d3b36;
    margin-bottom: 10px;
}

.intro-text-ai {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.step-box {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    transition: transform 0.3s ease;
}

.step-box:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: #8a6d46;
    color: white;
    font-size: 24px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -55px auto 20px auto; /* Polovica von z boxu */
    border: 4px solid #f9f9f9;
}

.step-box h3 {
    color: #0d3b36;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.step-box p {
    font-size: 1rem;
    line-height: 1.5;
    color: #666;
}

/* FAQ Section */
.faq-section-ai {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto 60px auto;
}

.faq-section-ai h2 {
    text-align: center;
    color: #0d3b36;
    margin-bottom: 30px;
}

.faq-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-item summary {
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    color: #333;
    position: relative;
    list-style: none;
    font-size: 1.1rem;
    background-color: #fff;
    transition: background 0.3s;
}

.faq-item summary:hover {
    background-color: #f4f4f4;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    color: #8a6d46;
    font-weight: bold;
    font-size: 1.5rem;
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-content {
    padding: 0 20px 20px 20px;
    border-top: 1px solid #f0f0f0;
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    text-align: center;
    padding: 4em 1em;
    background-color: #f7f7f7;
}

header h1 {
    font-family: 'Lato', sans-serif;
    font-weight: 100;
    font-size: 2.5em;
    color: #000;
}

header p {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-size: 1.2em;
    color: #000;
}

/* Main Content */
.content {
    background: #fff;
    padding: 2rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.article h2 {
    font-family: 'Lato', sans-serif;
    font-weight: 100;
    font-size: 2em;
    color: #000;
}

.article img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
    border-radius: 8px;
}

.article p {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 300;
}

.article h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.article ul {
    list-style-type: disc;
    margin-left: 2rem;
    font-size: 1.6rem;
}

.article ul li {
    margin-bottom: 0.5rem;
}


footer {
    text-align: center;
    padding: 1em 0;
    background-color: #f1f1f1;
    border-top: 1px solid #ddd;
}

.box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 2rem;
}

.box-container .box {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.box-container .box img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 3%;
}


.box-container .box .share {
    margin-top: 1rem;
}

.box-container .box .share a {
    height: 4.5rem;
    width: 4.5rem;
    line-height: 4.5rem;
    border-radius: 3%;
    font-size: 1.7rem;
    background-color: var(--primary-color);
    color: var(--white);
    margin-right: .3rem;
    text-align: center;
}

.box-container .box .link {
    font-size: 1.7rem;
    line-height: 2;
    color: var(--primary-color);
    padding: .5rem 0;
    display: block;
    text-decoration: underline;
}

.box-container .box .share a:hover {
    background-color: var(--black);
}

footer .box-container .box .link:hover {
    color: var(--black);
    text-decoration: underline;
}

.footer .box-container .box .email {
    width: 100%;
    padding: 1.2rem 1.4rem;
    font-size: 1.6rem;
    border: 0.1rem solid var(--primary-color);
    margin-bottom: 1rem;
}

.light-text {
    font-size: 0.6rem;
    font-weight: 100;
    color: gray;
}

@keyframes subtle-flash {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

/* Buzz animation */
@keyframes buzz {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-2px);
    }
    50% {
        transform: translateX(2px);
    }
    75% {
        transform: translateX(-2px);
    }
    100% {
        transform: translateX(0);
    }
}

.burger .line {
    animation: subtle-flash 1.5s infinite;
}

.buzzing {
    animation: buzz 0.5s ease-in-out infinite;
}

.appointment-button.buzzing {
    animation: buzz 0.5s ease-in-out infinite;
}

@media screen and (max-width: 900px) {

    /* Navbar mobile */


    .navbar {
        flex-direction: column;
        align-items: center;
        /* Center items horizontally */
    }

    .navbar .nav-links {
        display: none;
        flex-direction: column;
        width: 60%;
        position: absolute;
        top: 140px;
        background-color: #fff;
        border-top: 1px solid #ddd;
        text-align: center;
        /* Center align links */
        z-index: 9;
        /* Ensure nav links are above the image slider */
    }

    .navbar .nav-links a:hover {
        background-color: #f0f0f0;
    }

    .navbar .nav-links.active {
        display: flex;
    }

    .navbar .logo {
        text-align: center;
        /* Center align logo */
        margin-right: 0em;
    }

    .navbar .nav-links a {
        padding: 10px 0;
        font-family: 'Lato', sans-serif;
        color: #333;
        text-decoration: none;
        transition: background-color 0.3s ease;
    }

    .burger {
        padding: 10px 0;
        display: flex;
        flex-direction: column;
        top: 20px;
        left: 20px;
        cursor: pointer;
        z-index: 11;
        margin-right: 18px;
    }

    .appointment-button {
        position: absolute;
        top: 20px;
        right: 20px; /* Adjust right positioning as needed */
        z-index: 12; /* Ensure appointment button is on top of everything */
    }

    .light-text {
        font-size: 0.4rem;
        font-weight: 100;
        color: gray;
    }

    .image-slider {
        position: relative;
        width: auto;
        height: 1000px;
        overflow: hidden;
        z-index: 1;
        transition: margin-top 0.3s ease;
        background-color: #0d3b36;
    }

    .image-slider .image-container {
        display: flex;
        transition: transform 0.5s ease;
        width: auto;
        height: auto;
        background-color: #0d3b36;
    }

    .article p {
        margin-bottom: 1.5rem;
        font-size: 1.6rem;
        font-weight: 300;
    }
}

@media screen and (max-width: 550px) {

    /* Navbar mobile */


    .navbar {
        flex-direction: column;
        align-items: center;
        /* Center items horizontally */
    }

    .navbar .nav-links {
        display: none;
        flex-direction: column;
        width: 60%;
        position: absolute;
        top: 140px;
        background-color: #fff;
        border-top: 1px solid #ddd;
        text-align: center;
        /* Center align links */
        z-index: 9;
        /* Ensure nav links are above the image slider */
    }

    .navbar .nav-links a:hover {
        background-color: #f0f0f0;
    }

    .navbar .nav-links.active {
        display: flex;
    }

    .navbar .logo {
        text-align: center;
        /* Center align logo */
        margin-right: 0em;
    }

    .navbar .nav-links a {
        padding: 10px 0;
        font-family: 'Lato', sans-serif;
        color: #333;
        text-decoration: none;
        transition: background-color 0.3s ease;
    }

    .burger {
        padding: 10px 0;
        display: flex;
        flex-direction: column;
        top: 20px;
        left: 20px;
        cursor: pointer;
        z-index: 11;
    }

    .appointment-button {
        position: absolute;
        top: 20px;
        right: 20px; /* Adjust right positioning as needed */
        z-index: 12; /* Ensure appointment button is on top of everything */
    }

    .light-text {
        font-size: 0.8rem;
        font-weight: 100;
        color: gray;
    }

    .image-slider {
        position: relative;
        width: auto;
        height: 600px;
        overflow: hidden;
        z-index: 1;
        transition: margin-top 0.3s ease;
        background-color: #0d3b36;
    }

    .image-slider .image-container {
        display: flex;
        transition: transform 0.5s ease;
        width: auto;
        height: auto;
        background-color: #0d3b36;
    }

    .article p {
        margin-bottom: 1.5rem;
        font-size: 1.2rem;
        font-weight: 300;
    }
}
