body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    background-color: #fdfdfd;
    color: #333;
}

/* Booking form styles */
.booking-panel-container {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.booking-panel {
    background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
    border: 2px solid #e65617;
    border-radius: 12px;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 8px 25px rgba(230, 86, 23, 0.15);
    position: relative;
    overflow: hidden;
}

.booking-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e65617, #f4a460);
}

.booking-panel h3 {
    color: #e65617;
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.booking-instructions {
    text-align: center;
    color: #666;
    margin-bottom: 25px;
    font-style: italic;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin: 15px 0;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #e65617;
    box-shadow: 0 0 0 3px rgba(230, 86, 23, 0.15);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    justify-content: center;
}

.btn-reserve, .btn-clear {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-reserve {
    background: linear-gradient(135deg, #e65617, #d44812);
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-reserve:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 86, 23, 0.3);
}

.btn-clear {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #495057;
    border: 2px solid #e0e0e0;
}

.btn-clear:hover {
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .booking-panel {
        margin: 20px 15px;
        padding: 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

.login-prompt {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 15px;
    margin: 20px 0;
    text-align: center;
}

.login-prompt a {
    color: #e65617;
    text-decoration: none;
    font-weight: 500;
}

.login-prompt a:hover {
    text-decoration: underline;
}

/* Alert styles */
.alert {
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
    font-weight: 500;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.6em;
    color: #333;
    text-decoration: none;
}

.nav-brand .infinity-symbol {
    color: #e65617; /* Brand orange */
    font-weight: bold;
    vertical-align: middle;
}

.nav-logo img {
    height: 50px;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #e65617;
}

.hero-section {
    background-color: #e4e9d5; /* Restore green background */
    padding: 5rem 1rem;
    text-align: center;
}

.hero-logo {
    max-width: 400px; /* Final logo size increase */
    margin-bottom: 2rem;
}

.hero-section h1 {
    font-size: 3rem;
    margin: 0;
}

.properties-section, .contact-section {
    padding: 4rem 2rem;
    text-align: center;
}

.property-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.property-card-main-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.property-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    width: 350px; /* Set a fixed width for the cards */
}

.calendar-icon-link {
    position: absolute;
    bottom: 15px;
    right: 15px;
    color: #e65617; /* Brand orange */
    background-color: rgba(255, 255, 255, 0.8);
    padding: 8px;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.calendar-icon-link:hover {
    transform: scale(1.1);
}

/* Responsive Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001; /* Above overlay */
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #333;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    transition: opacity 0.3s ease;
}

.overlay.active {
    display: block;
}

@media only screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        right: -100%; /* Start off-screen */
        top: 0;
        height: 100vh;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 5rem;
        background-color: #fff;
        width: 280px; /* Sleek width */
        text-align: left;
        transition: right 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0; /* Slide in */
    }

    .nav-item {
        margin: 0;
    }

    .nav-link {
        display: block;
        padding: 1rem 2rem;
        transition: background-color 0.2s;
    }

    .nav-link:hover {
        background-color: #f5f5f5;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.property-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.property-card-content {
    padding: 1.5rem;
    flex-grow: 1; /* Allows this section to grow and fill available space */
    display: flex;
    flex-direction: column;
}

.property-card-content h3 {
    margin-top: 0;
}

.property-card-content p {
    flex-grow: 1; /* Pushes the calendar icon down */
}

.btn {
    display: inline-block;
    background-color: #e65617;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #d34a0f;
}

.btn-secondary {
    background-color: #e4e9d5 !important; /* Light orange */
    color: #000; /* Black text */
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease;
    display: inline-block;
    margin-top: 1rem;
    border: none; /* No border */
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1.5rem;
}

/* Property Detail Page */
.property-detail-container {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
}

.property-detail-header {
    text-align: center;
    margin-bottom: 2rem;
}

.property-detail-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.property-detail-image {
    flex: 2;
}

.property-detail-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.property-detail-info {
    flex: 1;
}

.property-detail-info .btn,
.property-detail-info .btn-secondary {
    margin-top: 1rem;
    display: inline-block;
}

.property-detail-info .btn-secondary {
    background-color: #6c757d;
}

.property-specs {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.property-specs li {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #555;
}

.property-specs strong {
    color: #333;
}

/* Responsive adjustments for Property Detail Page */
@media only screen and (max-width: 768px) {
    .property-detail-content {
        flex-direction: column;
    }
}

/* Calendar Page */
.calendar-container {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 2rem;
}

/* --- Airbnb Calendar Style Overrides --- */

.fc {
    font-family: 'Montserrat', sans-serif;
}

.fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: 2em;
}

.fc .fc-toolbar-title {
    font-size: 2em;
    font-weight: 700;
}

.fc-theme-standard .fc-scrollgrid {
    border: none;
}

.fc-theme-standard td, .fc-theme-standard th {
    border: 1px solid #f0f0f0;
}

.fc .fc-daygrid-day {
    border-radius: 12px;
    padding: 4px;
}

.fc .fc-daygrid-day-number {
    padding: 8px;
    font-size: 0.9em;
    font-weight: 500;
}

.fc .fc-day-today {
    background-color: transparent;
}

.fc .fc-day-today .fc-daygrid-day-number {
    background-color: #e65617;
    color: #fff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.fc-h-event {
    border: none !important;
    background-color: #e4e9d5 !important; /* Light green for events */
    border-radius: 20px !important;
    padding: 4px 12px !important;
    font-size: 0.9em;
    font-weight: 500;
    cursor: pointer;
}

.fc-h-event .fc-event-title {
    color: #000 !important; /* Ensure event text is black */
}

.fc .fc-col-header-cell-cushion {
    text-decoration: none;
    color: #e65617; /* Dark orange for day headers */
    font-size: 0.9em;
    font-weight: 600; /* Slightly bolder */
    padding-bottom: 10px;
}

.month-header {
    position: -webkit-sticky; /* For Safari compatibility */
    position: sticky;
    top: 0;
    background-color: #fff; /* Ensures scrolling content doesn't show through */
    padding: 1rem 0;
    z-index: 10;
    font-size: 1.8em;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 1px solid #f0f0f0; /* Adds a subtle separator line */
}

.monthly-calendar {
    margin-bottom: 2rem;
}

/* --- Custom Tippy.js Tooltip Theme --- */
.tippy-box[data-theme~='alkaz'] {
  background-color: #fffaf0; /* Light orange background */
  color: #333;
  border: 2px solid #e65617; /* Dark orange border */
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.tippy-box[data-theme~='alkaz'][data-placement^='top'] > .tippy-arrow::before {
  border-top-color: #e65617;
}

.tippy-box[data-theme~='alkaz'][data-placement^='bottom'] > .tippy-arrow::before {
  border-bottom-color: #e65617;
}

.tippy-box[data-theme~='alkaz'][data-placement^='left'] > .tippy-arrow::before {
  border-left-color: #e65617;
}

.tippy-box[data-theme~='alkaz'][data-placement^='right'] > .tippy-arrow::before {
  border-right-color: #e65617;
}

/* Grey out past dates */
.fc-day-past {
    background-color: #f5f5f5 !important;
}

/* Hide day cells for dates outside the current month */
.fc .fc-day-other {
    visibility: hidden;
}

