.slideshow {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    background: url("/imgs/austria.webp");
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.slideshow-overlay {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 3;
}

.slideshow-text {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 4;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--color-light);
}

.slideshow-overlay h1 {
    font-family: var(--font-heading);
    font-weight: 700;
    background: linear-gradient(to right, #ffd343, #ffd343);
    /* background: linear-gradient(to right, #fcd453, #fcd453); */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.slideshow-overlay p {
    font-family: var(--font-heading);
    font-weight: 500;
    background: linear-gradient(to right, var(--color-almost-white), var(--color-body-white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fadeSlide 40s infinite ease-in-out, zoomIn 40s infinite ease-in-out;
}

.slide-1 {
    background-image: url("/imgs/austria.webp");
    animation-delay: 0s, 0s;
}

.slide-2 {
    background-image: url("/imgs/budapest.webp");
    animation-delay: 8s, 8s;
}

.slide-3 {
    background-image: url("/imgs/avignon.webp");
    animation-delay: 16s, 16s;
}

.slide-4 {
    background-image: url("/imgs/lisbon.webp");
    animation-delay: 24s, 24s;
}

.slide-5 {
    background-image: url("/imgs/netherlands.webp");
    animation-delay: 32s, 32s;
}

@keyframes fadeSlide {
    0% {
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    20% {
        opacity: 1;
    }

    25% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

#featured-deals {
    background: linear-gradient(to bottom,
            #fdfdfd 0%,
            #f5fafd 40%,
            #e0f2fc 100%);
}

#featured-deals h2 {
    color: var(--color-accent);
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.deal-card,
.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.deal-card img,
.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.deal-card:hover,
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.deal-card:hover img,
.service-card:hover img {
    transform: scale(1.05);
}

.deal-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 1;
    padding: 1rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.9));
    color: #fff;
    text-align: left;
}

.deal-overlay h3 {
    margin-bottom: 0.125rem;
}

.overlay-p {
    color: var(--color-light-alt);
    font-size: 1rem;
    margin-bottom: 6px
}

.second-deal-p p {
    font-size: .8125rem;
    color: var(--color-primary-light);
    font-style: italic;
    margin-bottom: 4px
}

.second-deal-p {
    margin: 8px 0 6px;
}

.price {
    font-size: 1rem;
    color: var(--color-sunset, #F7B267);
    margin-bottom: 4px;
}

#services {
    background-color: var(--color-secondary-lighter);
    padding: 2rem 0 4rem;
}

#services h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-accent);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    justify-items: center;
    gap: 1.5rem;
}

.service-card {
    backdrop-filter: blur(4px);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-card .overlay {
    z-index: 1;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.8));
    color: var(--color-almost-white);
    text-align: center;
}

.btn-service {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.65em 1.3em;
    background-color: var(--color-primary);
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 4px;
    justify-content: center;
    font-family: var(--font-body);
    border: none;
    font-weight: 400;
    user-select: none;
    width: fit-content;
    color: var(--color-almost-white);
    line-height: 1;
    transition: background-color .15s cubic-bezier(0.455, 0.03, 0.515, 0.955), transform .15s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.btn-service:hover {
    background-color: var(--color-primary-mid);
    color: var(--color-almost-white);
}

.btn-service:active {
    background-color: var(--color-primary-darker);
    transform: scale(.97);
    color: var(--color-almost-white)
}

.why-book {
    text-align: center;
    padding: 4rem 1rem;
    background-color: var(--color-light);
}

.why-book h2 {
    margin-bottom: 0.5rem;
    text-align: center;
    color: var(--color-accent);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 1rem auto;
}

.why-card {
    background-color: #fff;
    border-radius: 6px;
    padding: 4rem 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card svg {
    width: 48px;
    height: 48px;
    color: var(--color-primary)
}

.why-card h3 {
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

.why-card p {
    color: var(--color-muted);
    font-size: 0.95rem;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

#faq {
    background-color: var(--color-sand);
    padding: 4rem 0;
}

#faq .two-wrapper {
    height: 100%;
    align-items: revert;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    min-height: 710px;
    display: grid;
}

.faq-section h2 {
    text-align: left;
    color: var(--color-accent-dark);
    margin-bottom: 2rem;
}

.faq-item {
    width: 100%;
    margin: 0 auto 1rem auto;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-radius: 6px;
    background: var(--color-almost-white);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: max-height .6s ease, padding .6s ease, border-color .6s ease;
    max-height: 6rem;
    border-left: 4px solid var(--color-accent-dark);
}

.faq-item summary {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-accent-dark);
    cursor: pointer;
    list-style: none;
    position: relative;
    padding: .75rem 2.5rem .75rem 1rem;
    transition: background-color .1s cubic-bezier(0.455, 0.03, 0.515, 0.955)
}

.faq-item summary:hover,
.faq-item[open] summary:hover {
    background-color: var(--color-secondary-light)
}

.faq-item summary::after {
    content: "▼";
    position: absolute;
    right: 1rem;
    transition: transform .2s ease;
    color: var(--color-accent-dark);
}

.faq-item[open] {
    max-height: 500px;
    padding-bottom: 1rem;
    border-left-color: var(--color-accent);
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-item[open] summary {
    background-color: var(--color-secondary)
}

.faq-item p {
    margin-top: 12px;
    color: var(--color-dark);
    padding: 0 1rem;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item[open] p {
    opacity: 1;
}

#faq .right-wrapper {
    justify-content: center;
    align-items: center;
    height: auto;
}

#faq .left-wrapper {
    align-items: flex-start;
    height: 100%;
}

.faq-image {
    height: auto;
    max-height: 600px;
    width: 100%;
    max-width: 80%;
    aspect-ratio: 9 / 16;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    object-fit: cover;
    object-position: center;
    filter: brightness(.95) contrast(.85);
    display: block;
    border-radius: 8px;
}

.cta-center {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.quote-section {
    background: var(--color-secondary-light, #D3ECF9);
    padding: 3rem 1.5rem;
    text-align: center;
}

.quote-section h2 {
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.quote-section .quote-intro,
.subtitle {
    font-size: 1rem;
    color: var(--color-dark);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.quote-form {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    padding: 2.5rem 2rem 2rem;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.form-group {
    margin-bottom: 1rem;
    position: relative;
}

.form-group label {
    position: absolute;
    left: 8px;
    top: .75rem;
    color: #888;
    font-size: .875rem;
    letter-spacing: -.125px;
    pointer-events: none;
    cursor: text;
    transition: 0.2s ease;
}

.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:focus+label,
.form-group textarea:not(:placeholder-shown)+label {
    top: -1.6275rem;
    left: 0;
    font-size: 0.875rem;
    letter-spacing: 0;
    color: var(--color-accent);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input {
    height: 48px;
    margin-bottom: 1rem;
}

textarea {
    resize: vertical;
    min-height: 100px;
    max-height: 250px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(59, 157, 213, 0.2);
}

.quote-form button {
    cursor: pointer;
    width: 100%;
    text-align: center;
}


.quote-form button:disabled {
    background-color: #888;
    cursor: default;
}

.quote-form button:disabled:active {
    transform: scale(1);
}

.company-label {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    pointer-events: none;
}

#quoteResponse {
    margin-top: 1rem;
    display: none
}

@media screen and (min-width: 851px) {

    .slideshow {
        max-width: 1440px;
        height: 60vh;
    }

    .slideshow-overlay {
        background: linear-gradient(to bottom,
                rgba(0, 0, 0, 0.08),
                rgba(0, 0, 0, 0.08));
    }

    .slideshow-text {
        background: radial-gradient(ellipse at 50% 45%,
                rgba(0, 0, 0, 0.4) 20%,
                rgba(0, 0, 0, 0.2) 50%,
                transparent 80%);
    }

    .slideshow-overlay h1 {
        font-size: 4.25rem;
        letter-spacing: -1.5px;
        line-height: 1.3;
    }

    .slideshow-overlay p {
        font-size: 1.4375rem;
        letter-spacing: -.5px;
        margin: 0 auto 2rem;
    }

    @keyframes zoomIn {
        0% {
            transform: scale(1);
        }

        30% {
            transform: scale(1.2);
        }

        100% {
            transform: scale(2.8);
        }
    }

    #featured-deals {
        text-align: center;
        padding: 3rem 1rem;
    }

    #featured-deals h2 {
        margin-bottom: 3rem;
    }

    .service-card {
        max-height: 350px;
        aspect-ratio: 1 / 1;
    }

    .service-card img {
        object-position: center;
        object-fit: cover;
        height: 100%;
        width: 100%;
        max-width: 350px;
    }

    .quote-section.full {
        min-height: 75vh;
    }

}

@media screen and (max-width: 850px) {

    @keyframes zoomIn {
        0% {
            transform: scale(1);
        }

        30% {
            transform: scale(1.4);
        }

        100% {
            transform: scale(2.8);
        }
    }

    .slideshow {
        max-height: 360px;
        aspect-ratio: 16 / 9;
    }

    .slideshow-overlay {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15));
    }

    .slideshow-text {
        background: radial-gradient(ellipse at 50% 50%,
                rgba(0, 0, 0, 0.2) 20%,
                rgba(0, 0, 0, 0.1) 50%,
                transparent 80%);
    }

    .slideshow-overlay p {
        font-size: 1rem;
        letter-spacing: -.125px;
    }

    .deals-grid,
    .why-grid,
    .footer-wrapper {
        grid-template-columns: 1fr;
    }

    #featured-deals {
        text-align: center;
        padding: 1rem 0;
    }

    #featured-deals h2 {
        margin-bottom: 2rem;
    }

    #services {
        padding-top: 1rem;
    }

    #services h2 {
        text-align: center;
        margin: 0 auto 2rem;
    }

    .service-card,
    .deal-card,
    .service-card img {
        max-width: 375px;
    }

    .service-card {
        aspect-ratio: 1 / 1;
    }

    .why-book h2,
    .quote-section h2 {
        text-align: center;
        margin: 0 auto .5rem;
    }

    .why-card {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    #faq .two-wrapper {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .faq-image {
        max-height: 600px;
        max-width: 100%;
        aspect-ratio: 16 / 9;
    }

    .why-book,
    #faq,
    .quote-section {
        padding: 2rem 0;
    }

}

@media screen and (max-width: 450px) {

    h1 {
        font-size: 1.6875rem;
    }

    .why-book h2,
    .quote-section h2 {
        max-width: 275px;
    }

    .why-book .subtitle {
        max-width: 250px;
    }

    #services h2 {
        max-width: 300px;
    }
}