#home {
    /*background: url('killybegs-harbour.jpg') no-repeat center center;*/
    background-size: cover;
    /*height: 100vh;*/
    position: relative;
    color: #fff;
}

.hero-container {
    position: relative;
    width: 100%;
    height: 100.1vh;
    overflow: hidden;
}

/* VIDEO */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

.hero-video,
.hero-image {
    will-change: transform;
}

/* DESKTOP IMAGE */
.hero-image {
    position: absolute;
    inset: 0;
    background-image: url('external-shot-cliffs-bg.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.05);
    }
}

/* DARK OVERLAY */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.28);
    z-index: 1;
}

/* TEXT */
.hero-text {
    position: relative;
    z-index: 2;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transform: translateY(+16%);
}

/* ---------------- */
/* MOBILE = VIDEO */
/* ---------------- */

@media (max-width: 767px) {

    .hero-video {
        display: block;
    }

    .hero-image {
        display: none;
    }

    .hero-text {
        transform: translateY(+5%);
    }
}

/* ---------------- */
/* DESKTOP = IMAGE */
/* ---------------- */

@media (min-width: 768px) {

    .hero-video {
        display: none;
    }

    .hero-image {
        display: block;
    }
}

.navbar-transparent {
    background: transparent !important;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar-scrolled {
    background: white !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-scrolled .nav-link,
.navbar-scrolled .navbar-brand {
    color: #333 !important;
}

.navbar-transparent .nav-link,
.navbar-transparent .navbar-brand {
    color: #fff !important;
}

.navbar-scrolled .nav-link:hover {
    color: #007bff !important;
}

.navbar-transparent .nav-link:hover {
    text-decoration: underline;
}

.tour-slider-wrapper {
    position: relative;
}

.tour-slider {
    display: flex;
    gap: 30px;

    overflow-x: auto;
    scroll-snap-type: x mandatory;

    padding: 20px 20vw 20px 20vw;
}

/* card */

.tour-card {
    flex: 0 0 400px;

    border-radius: 18px;
    overflow: hidden;
    background: white;

    scroll-snap-align: center;

    text-decoration: none;
    color: inherit;

    transition: transform .35s ease, box-shadow .35s ease;

    /*transform: scale(.9);*/

    opacity: 0.7;
    transition: all 0.3s ease;

    cursor: pointer;

    scroll-snap-align: center;
    padding: 20px;
}

.tour-card.active {
    /*transform: scale(.9);*/
    box-shadow: 0 20px 40px rgba(0, 0, 0, .18);
    opacity: 1;
    z-index: 2;

    cursor: default;
}

.tour-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
}

.tour-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 10px;
}

.tour-info {
    padding: 16px;
}

.tour-info h3 {
    margin: 0;
    font-size: 18px;
}

.tour-info span {
    font-size: 14px;
    color: #666;
}

/* arrows */

.tour-nav {
    display: flex;
    gap: 10px;
}

.tour-arrow {
    width: 40px;
    height: 40px;

    border-radius: 50%;
    border: none;

    background: white;
    box-shadow: 0 6px 15px rgba(0, 0, 0, .15);

    cursor: pointer;
    font-size: 20px;
}

.tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.tour-btn {
    padding: 6px 12px;
    border-radius: 20px;
    border: none;
    background: black;
    color: white;
    cursor: pointer;
    font-size: 13px;
}

.tour-slider-wrapper::before,
.tour-slider-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 60px;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.tour-slider-wrapper::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.tour-slider-wrapper::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.tour-slider {
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
    scroll-snap-align: center;
}

.tour-slider::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.bg-color-light {
    background-color: #e6f9ff;
}

.bg-color-dark {
    background-color: #f6f6f6;
}

.py-5 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
}

.py-b {
    padding-bottom: 1rem !important;
}

.calendar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#calendar {
    /*font-size: 14px;*/
    flex: 2;
}

/* Overlay */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 999;
}

.hidden {
    display: none;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

/* MODAL SHEET CONTAINER */
.modal-sheet {
    background: white;
    width: 100%;
    max-width: 600px;
    height: 90vh;
    border-radius: 20px 20px 0 0;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
    overflow: hidden;
}

/* HEADER - Sets relative boundary for absolute button */
.modal-header {
    position: sticky;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    width: 100%;
    background: white;
    z-index: 20;
}

/* TITLE - Centered perfectly across container */
#availability-title {
    margin: 0;
    font-size: 2rem;
    line-height: 1.1;
    text-align: center;
    width: 100%;
    padding: 0 55px;
    /* Keeps text from hitting the close button */
}

/* CLOSE BUTTON - Absolutely centered vertically to the header */
#close-modal-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 2px solid #333;
    background: white;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
}

/* BODY - Handles layout scrolling */
.modal-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* CALENDAR SPACING */
.calendar-wrapper {
    padding-top: 10px;
}

/* FOOTER CTA */
.modal-footer {
    border-top: 1px solid #eee;
    padding: 12px;
    background: white;
}

/* MOBILE OPTIMIZATIONS */
@media (max-width: 768px) {
    .modal-sheet {
        max-width: 700px;
        margin-top: 60px;
        /* Pushes sheet down below fixed navbar */
        height: calc(100dvh - 55px);
        /* Prevents overflow off screen bottom */
        border-radius: 0;
    }

    #availability-title {
        font-size: 1.7rem;
    }

    #close-modal-btn {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .fc-toolbar {
        margin-top: 0.5rem !important;
    }
}

#book-now-btn {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    background: black;
    color: white;
    font-size: 16px;
    border: none;
}

#book-now-btn:disabled {
    background: #ccc;
}

#slot-panel {
    flex: 1;
    border-left: 1px solid #eee;
    padding-left: 20px;
    transition: transform 0.3s ease;
}

button {
    transition: all 0.2s ease;
}

/* Slot buttons */
#slots button {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: white;
    margin-bottom: 8px;
    text-align: left;
    font-weight: 500;
}

#slots button:hover {
    border-color: black;
}

/* Selected slot */
#slots button.selected {
    background: black;
    color: white;
}

.fc-daygrid-day {
    transition: background 0.2s ease;
}

.fc-daygrid-day:hover {
    filter: brightness(0.95);
}

.available {
    background-color: #adfdd0 !important;
    cursor: pointer;
}

.limited {
    background-color: #fedcaf !important;
    cursor: pointer;
}

.fully-booked {
    background-color: #f9bfb9 !important;
    cursor: not-allowed;
}

.selected-day {
    outline: 3px solid #2c3e50 !important;
    position: relative;
    z-index: 2;
}

#booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.6);

    z-index: 99999;
}

#booking-modal.hidden {
    display: none;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 12px;

    width: 500px;
    /* bigger */
    max-width: 95%;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-content h3 {
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 600;
}

.modal-content input {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 12px;

    border: 1px solid #ccc;
    border-radius: 6px;

    font-size: 14px;
}

.input-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.input-row input {
    width: 80px;
}

.modal-content button {
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.modal-content button:first-of-type {
    background: #007bff;
    color: white;
}

.modal-content button:last-of-type {
    background: #eee;
}

.button-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.ref-box {
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: #f1f1f1;
    padding: 12px;
    border-radius: 8px;
    font-family: monospace;
    font-size: 18px;
    margin: 15px 0;
}

.no-scroll {
    overflow: hidden;
}

.ref-box span {
    user-select: all;
    cursor: pointer;
}

.ref-box button {
    background: #007bff;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
}

.booking-summary {
    margin-top: 20px;
    padding: 16px;
    border-radius: 14px;
    background: #f8f9fa;
    border: 1px solid #ddd;
}

.booking-summary h3 {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 1rem;
}

.summary-row.total {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #ccc;
    font-weight: bold;
    font-size: 1.1rem;
}

#booking-ref {
    font-family: monospace;
    font-size: 18px;
    font-weight: bold;
    color: #222;
    /* 👈 important */
}

#booking-success-state button {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
}

#booking-success-state {
    text-align: left;
}

#booking-success-state h3 {
    margin-bottom: 10px;
}

#booking-success-state p {
    color: #555;
}

/* CAROUSEL CONTAINER */
.carousel-inner {
    background: #000;
}

/* DEFAULT DESKTOP */
.carousel-image {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    object-position: center;
}

.portrait-image {
    object-fit: contain;
    background: #000;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

/* GALLERY ITEMS */

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
}

/* IMAGES */

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* FEATURED IMAGE */

.gallery-item.featured {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 500px;
}

/* STANDARD HEIGHT */

.gallery-item {
    min-height: 280px;
}

/* PORTRAIT IMAGES */

.gallery-item.portrait img {
    object-fit: contain;
    background: #000;
}

/* VIDEO */

.video-item {
    position: relative;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-button {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gslide-image img {
    border-radius: 1rem;
}

.gslide-video {
    aspect-ratio: 9 / 16 !important;
    max-width: 450px;
    /* Limits width so it doesn't look huge on desktop */
    margin: 0 auto;
}

.faq-section {
    padding: 2.5rem 20px;
}

.faq-container {
    max-width: 900px;
    margin: auto;
}

h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 10px;
    color: #0f172a;
}

.faq-intro {
    text-align: center;
    color: #64748b;
    margin-bottom: 50px;
    font-size: 18px;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    border: none;
    background: white;
    padding: 22px;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    color: #0f172a;
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 24px;
    top: 22px;
    font-size: 24px;
    transition: transform 0.2s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.3s ease,
        padding 0.3s ease;
    padding: 0 22px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 22px 22px;
}

.faq-answer p {
    margin: 0;
    line-height: 1.7;
    color: #475569;
}

.guest-warning {

    margin-top: 10px;

    padding: 10px 12px;

    border-radius: 10px;

    background: #fff3cd;

    color: #856404;

    font-size: 0.95rem;

    font-weight: 600;
}

.hidden {
    display: none;
}

/* Container styling from your example */
.view-details-div {
    padding: 15px;
    /* Increased for better spacing */
    display: flex;
    justify-content: center;
}

/* New Button Styling */
.view-details {
    background-color: #007bff;
    /* Primary Blue */
    color: white;
    padding: 10px 24px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    /* Rounded corners */
    cursor: pointer;
    transition: all 0.3s ease;
    /* Smooth hover transition */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Hover Effect */
.view-details:hover {
    background-color: #0056b3;
    /* Darker blue on hover */
    transform: translateY(-2px);
    /* Slight lift effect */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Active/Click Effect */
.view-details:active {
    transform: translateY(0);
}

section {
    scroll-margin-top: 55px;
    scroll-behavior: smooth;
}

/* Subtle styling additions for your contact card component */
.contact-card {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.contact-card a {
    transition: color 0.2s ease-in-out;
}

.contact-card a:hover {
    color: #0dcaf0 !important;
    /* Bootstrap info color highlight on hover */
}

/* MOBILE */
@media (max-width: 768px) {

    .faq-container h2 {
        font-size: 32px;
    }

    .faq-question {
        font-size: 16px;
        padding: 18px;
    }

    .faq-answer {
        font-size: 15px;
    }
}

/* MOBILE */

@media (max-width: 768px) {

    .gallery-item.featured {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 320px;
    }

    .gallery-item {
        min-height: 240px;
    }

    .play-button {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
}

/* TABLET */
@media (max-width: 991px) {
    .carousel-image {
        height: 50vh;
    }
}

/* MOBILE */
@media (max-width: 767px) {
    .carousel-image {
        height: 300px;
        object-fit: contain;
        background: #000;
    }
}

/* Mobile layout */
@media (max-width: 768px) {

    .calendar-wrapper {
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
    }

    #slot-panel {
        border-left: none;
        padding-left: 0;
    }

    #calendar {
        /*font-size: 14px;*/
        flex: 2;
        width: 100%;
    }

    .fc .fc-daygrid-day-frame {
        min-height: 70px;
    }

    #slots button {
        display: block;
        width: 100%;
        margin-bottom: 12px;
        padding: 3px;
        font-size: 16px;
        border-radius: 8px;
    }

    headerToolbar: {
        left: "prev,next",
            center: "title",
            right: ""
    }
}