/*
Theme Name: cncfive75
Author: Simon Miranda
Description: Custom theme for cncfive75
Version: 1.0.2
*/

/* Reset & Basics (handled by Tailwind, but good for fallbacks) */
body {
    margin: 0;
    line-height: 1.6;
}

header,
footer {
    /* specific styles if needed */
}

/* Sticky Header Background */
.header-scrolled {
    background-color: #191919 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Swiper Pagination */
.swiper-pagination-bullet {
    background-color: #ffffff !important;
    opacity: 0.5 !important;
}

.swiper-pagination-bullet-active {
    background-color: #c79d2a !important;
    /* Brand Color */
    opacity: 1 !important;
}

/* Testimonials Slider Pagination */
.testimonials-pagination .swiper-pagination-bullet {
    background-color: #d1d5db !important;
    opacity: 1 !important;
    width: 10px !important;
    height: 10px !important;
}

.testimonials-pagination .swiper-pagination-bullet-active {
    background-color: #c79d2a !important;
}

/* Testimonials Navigation - Positioning with Tailwind */
.testimonials-nav-prev,
.testimonials-nav-next {
    margin-top: 0 !important;
}

.testimonials-nav-prev {
    left: -60px !important;
}

.testimonials-nav-next {
    right: -60px !important;
}

@media (max-width: 1024px) {
    .testimonials-nav-prev {
        left: 10px !important;
    }
    
    .testimonials-nav-next {
        right: 10px !important;
    }
}

/* GLightbox Custom Styling */
.glightbox-clean .gslide-description {
    display: none !important;
}

.glightbox-clean .gslide-media {
    padding: 0 !important;
}

.glb-image {
    max-width: 90vw !important;
    max-height: 90vh !important;
}

.glightbox-clean .gslide {
    padding: 0 !important;
}

.glightbox-clean .gslide-inline-content {
    padding: 0 !important;
}

/* Clean up lightbox background */
.glightbox-overlay {
    background: rgba(0, 0, 0, 0.95) !important;
}

/* Navigation buttons styling */
.glightbox-clean .gnext,
.glightbox-clean .gprev {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    border-radius: 50%;
    width: 50px !important;
    height: 50px !important;
    transition: all 0.3s ease;
}

.glightbox-clean .gnext:hover,
.glightbox-clean .gprev:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

/* Close button styling */
.glightbox-clean .gclose {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    border-radius: 50%;
    width: 50px !important;
    height: 50px !important;
    transition: all 0.3s ease;
}

.glightbox-clean .gclose:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

/* Date Range Input Field Styling */
#date-range-container {
    border: 2px solid #111827;
    border-radius: 8px 8px 0 0;
    background: white;
}

#checkin-field.active,
#checkout-field.active {
    background: #f9fafb;
}

/* Air Datepicker Custom Styling */
.cncfive75-datepicker .air-datepicker,
.air-datepicker.cncfive75-datepicker {
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    background: white;
    width: auto;
    min-width: 600px;
    z-index: 10000 !important;
    position: fixed !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.cncfive75-datepicker .air-datepicker--pointer {
    display: none;
}

.cncfive75-datepicker .air-datepicker-body {
    padding: 0;
}

.cncfive75-datepicker .air-datepicker-nav {
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
    background: white;
}

.cncfive75-datepicker .air-datepicker-nav--title {
    font-weight: 600;
    color: #111827;
    font-size: 16px;
}

.cncfive75-datepicker .air-datepicker-nav--action {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.cncfive75-datepicker .air-datepicker-nav--action:hover {
    background-color: #f3f4f6;
}

.cncfive75-datepicker .air-datepicker--content {
    padding: 0;
    display: flex;
    gap: 0;
}

.cncfive75-datepicker .air-datepicker-cell {
    color: #111827;
    font-weight: 500;
}

.cncfive75-datepicker .air-datepicker-cell.-day-.-other-month- {
    color: #9ca3af;
    opacity: 0.5;
}

.cncfive75-datepicker .air-datepicker-cell.-day-.-disabled- {
    color: #d1d5db;
    cursor: not-allowed;
}

.cncfive75-datepicker .air-datepicker-cell.-day-.-blocked-,
.cncfive75-datepicker .air-datepicker-cell.air-datepicker-cell--blocked {
    color: #d1d5db !important;
    background: #f3f4f6 !important;
    cursor: not-allowed !important;
    text-decoration: line-through;
    opacity: 0.6;
}

.cncfive75-datepicker .air-datepicker-cell.-day-.-blocked-:hover,
.cncfive75-datepicker .air-datepicker-cell.air-datepicker-cell--blocked:hover {
    background: #f3f4f6 !important;
    color: #d1d5db !important;
}

.cncfive75-datepicker .air-datepicker-cell.-day-.-selected- {
    background: #c79d2a;
    color: white;
    border-radius: 8px;
}

.cncfive75-datepicker .air-datepicker-cell.-day-.-range-from-,
.cncfive75-datepicker .air-datepicker-cell.-day-.-range-to- {
    background: #c79d2a;
    color: white;
    border-radius: 8px;
}

.cncfive75-datepicker .air-datepicker-cell.-day-.-in-range- {
    background: rgba(199, 157, 42, 0.1);
    color: #111827;
}

.cncfive75-datepicker .air-datepicker-cell.-day-.-current- {
    color: #c79d2a;
    font-weight: 700;
}

.cncfive75-datepicker .air-datepicker-cell.-day-:hover:not(.-disabled-):not(.-selected-):not(.-range-from-):not(.-range-to-) {
    background: #f3f4f6;
    border-radius: 8px;
}

.cncfive75-datepicker .air-datepicker--days-names {
    margin-bottom: 8px;
}

.cncfive75-datepicker .air-datepicker--days-names .air-datepicker-cell {
    color: #6b7280;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
}

.cncfive75-datepicker .air-datepicker--cells {
    grid-auto-rows: 40px;
}

.cncfive75-datepicker .air-datepicker--cells.-days- {
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.cncfive75-datepicker .air-datepicker--cells.-months- {
    grid-template-columns: repeat(3, 1fr);
}

.cncfive75-datepicker .air-datepicker--cells.-years- {
    grid-template-columns: repeat(4, 1fr);
}

/* Custom Header */
.cncfive75-dp-header {
    background: white;
}

.cncfive75-dp-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.cncfive75-dp-header p {
    font-size: 14px;
    color: #6b7280;
}

/* Custom Footer */
.cncfive75-dp-footer {
    background: white;
}

.cncfive75-clear-dates {
    font-size: 14px;
    color: #6b7280;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s;
}

.cncfive75-clear-dates:hover {
    color: #111827;
}

/* Two months side by side */
.cncfive75-datepicker .air-datepicker-body {
    flex: 1;
    min-width: 280px;
    padding: 16px;
}

.cncfive75-datepicker .air-datepicker-body + .air-datepicker-body {
    border-left: 1px solid #e5e7eb;
}

@media (max-width: 768px) {
    .cncfive75-datepicker .air-datepicker {
        min-width: auto;
        width: 100%;
        max-width: 100%;
    }
    
    .cncfive75-datepicker .air-datepicker--content {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }
    
    .cncfive75-datepicker .air-datepicker-body + .air-datepicker-body {
        border-left: none;
        border-top: 1px solid #e5e7eb;
        padding-left: 0;
        padding-top: 16px;
    }
}