/* Global Styles */
:root {
    --primary-color: #006994;
    /* Ocean Blue */
    --secondary-color: #f0f8ff;
    /* Alice Blue */
    --accent-color: #ff7f50;
    /* Coral */
    --text-color: #333;
    --light-text: #fff;
    --font-family: 'Outfit', sans-serif;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--secondary-color);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 800;
    color: var(--primary-color) !important;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background-color: rgba(0, 105, 148, 0.05);
    border-radius: 5px;
}

/* Main Content */
.container {
    flex: 1;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 85vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    text-align: center;
    margin-bottom: 3rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1.2s ease-out;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.6);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.6);
    font-weight: 300;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 1rem 3rem;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background-color: #004d6e;
    /* Darker Ocean Blue */
    border-color: #004d6e;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 105, 148, 0.4);
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    color: var(--primary-color);
    font-weight: 800;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover img {
    transform: scale(1.15);
}

/* Features/Amenities */
.amenities-section {
    background-color: #fff;
    padding: 6rem 0;
    margin-top: 4rem;
}

.amenity-card {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.amenity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.amenity-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.amenity-card:hover .amenity-icon {
    transform: scale(1.1);
}

.amenity-card h4 {
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
footer {
    background-color: #002b3d;
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0;
    text-align: center;
    margin-top: auto;
    /* Push to bottom */
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1000px;
    max-height: 80vh;
    object-fit: contain;
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.close-lightbox {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.prev-lightbox,
.next-lightbox {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

.next-lightbox {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev-lightbox:hover,
.next-lightbox:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Privacy Banner */
#privacy-banner {
    display: none;
    /* Hidden by default, shown by JS */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 64, 92, 0.95);
    /* Dark blue semi-transparent */
    color: white;
    padding: 15px;
    text-align: center;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

#privacy-banner p {
    display: inline-block;
    margin: 0;
    margin-right: 20px;
    font-size: 1rem;
}

#privacy-ok-btn {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

#privacy-ok-btn:hover {
    background-color: #e67348;
}

/* Flatpickr Customization */
.flatpickr-day {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 60px !important;
    /* Increase height to fit price */
    line-height: normal !important;
}

.day-price {
    font-size: 10px;
    color: #888;
    margin-top: 2px;
    font-weight: 600;
}

.flatpickr-day.selected .day-price,
.flatpickr-day.startRange .day-price,
.flatpickr-day.endRange .day-price,
.flatpickr-day.selected.inRange .day-price {
    color: #fff;
    /* White price on selected dates */
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
    cursor: not-allowed;
    color: rgba(57, 57, 57, 0.3);
    background: transparent;
    border-color: transparent;
    text-decoration: line-through;
    opacity: 0.5;
}

.flatpickr-day.flatpickr-disabled .day-price {
    color: rgba(57, 57, 57, 0.3);
    text-decoration: line-through;
}