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;
}

/* --- FAQ SEKCIA (Coloristics) --- */
.faq-container {
    margin: 60px auto;
    padding: 0 20px;
    max-width: 900px;
}

.faq-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #0d3b36;
    font-family: 'Montserrat', sans-serif;
}

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

details {
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

details[open] {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

summary {
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    padding: 0;
    background-color: transparent;
}

/* Odstránenie defaultnej šípky */
summary::-webkit-details-marker {
    display: none;
}

/* Ikonka plus/mínus */
summary::after {
    content: '+';
    font-size: 1.5rem;
    color: #8a6d46;
    /* Zlatá/Hnedá */
    font-weight: 300;
    transition: transform 0.3s;
}

/* Rotácia ikonky po otvorení */
details[open] summary::after {
    transform: rotate(45deg);
    content: '+';
}

.faq-answer {
    margin-top: 15px;
    line-height: 1.6;
    color: #555;
    font-family: 'Lato', sans-serif;
    padding-bottom: 10px;
}

.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;
    }
}