* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0077be;
    --secondary-color: #00a8cc;
    --accent-color: #ffd700;
    --success-color: #10b981;
    --error-color: #ef4444;
    --text-color: #2c3e50;
    --light-blue: #e8f4f8;
    --medium-blue: #b3d9e6;
    --dark-blue: #004d7a;
    --white: #ffffff;
    --sand: #f5e6d3;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(to bottom, var(--light-blue) 0%, var(--white) 50%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    background: 
        linear-gradient(135deg, rgba(0, 105, 148, 0.75) 0%, rgba(0, 119, 190, 0.75) 50%, rgba(0, 168, 204, 0.75) 100%),
        url('/static/images/balai.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 2.5rem 0 3rem 0;
    box-shadow: 0 4px 20px rgba(0, 119, 190, 0.4);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 100"><path fill="%23ffffff" d="M0,50 Q300,100 600,50 T1200,50 L1200,100 L0,100 Z"/></svg>');
    background-size: cover;
}

.header .container {
    position: relative;
    z-index: 1;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.header-text {
    flex: 1;
}

.language-selector {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.btn-contact-header {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    white-space: nowrap;
}

.btn-contact-header:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.lang-option {
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    opacity: 0.7;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
}

.lang-option:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lang-option.active {
    opacity: 1;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Availability Section - Horizontal */
.availability-section-horizontal {
    background: 
        linear-gradient(135deg, rgba(0, 119, 190, 0.7) 0%, rgba(0, 168, 204, 0.7) 100%),
        url('/static/images/balai.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 8px rgba(0, 119, 190, 0.2);
}

.availability-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.availability-form-wrapper h3 {
    text-align: left;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.availability-form-wrapper .subtitle {
    text-align: left;
    color: var(--white);
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.calendar-mini {
    background: rgba(255, 255, 255, 0.95);
    padding: 0.75rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.calendar-mini h4 {
    color: var(--primary-color);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.calendar-mini .calendar-header h4 {
    font-size: 0.85rem;
}

.calendar-mini .calendar-header {
    margin-bottom: 0.5rem;
}

.calendar-mini .btn-nav {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

.calendar-mini .weekday {
    font-size: 0.7rem;
    padding: 0.25rem;
}

.calendar-mini .calendar-weekdays,
.calendar-mini .calendar-days {
    gap: 0.25rem;
}

.calendar-mini .day-number {
    font-size: 0.75rem;
    color: inherit;
}

.calendar-mini .calendar-day {
    color: var(--text-color);
    font-weight: 500;
}

.calendar-mini .calendar-day.booked {
    color: #991b1b;
    font-weight: 600;
}

.calendar-mini .calendar-legend {
    display: none;
}

.calendar-mini .loading {
    font-size: 0.8rem;
    color: var(--primary-color);
    text-align: center;
    padding: 1rem;
}

.availability-form-horizontal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    max-width: 850px;
    margin: 0 auto;
}

.availability-form-horizontal .form-group {
    width: 100%;
}

.availability-form-horizontal .btn {
    grid-column: 1 / -1;
}

.availability-form-horizontal label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 500;
    font-size: 0.85rem;
}

.availability-form-horizontal input[type="date"] {
    width: 100%;
    padding: 0.5rem;
    border: 2px solid var(--white);
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.availability-form-horizontal input[type="date"]:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.3);
}

.availability-form-horizontal .btn {
    padding: 0.5rem 1.5rem;
    min-width: 160px;
    font-size: 0.9rem;
}

.availability-section-horizontal .result-container {
    margin-top: 0.75rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.logo {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 2.5rem;
    width: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
    background-color: white;
    padding: 0.2rem;
    border-radius: 0.3rem;
    display: block;
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 300;
}

/* Main Content */
.main {
    padding: 1rem 0;
}

.hero {
    background: linear-gradient(135deg, rgba(0, 119, 190, 0.05), rgba(0, 168, 204, 0.05));
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 119, 190, 0.15);
    border: 1px solid rgba(0, 119, 190, 0.1);
}

.hero h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.hero p {
    font-size: 1.4rem;
    color: #555;
    line-height: 1.8;
}

/* Availability Section */
.availability-section {
    margin-bottom: 2rem;
}

.availability-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.availability-card,
.calendar-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.availability-card h3,
.calendar-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Forms */
.availability-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.form-group input[type="date"] {
    padding: 0.75rem;
    border: 2px solid var(--medium-blue);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input[type="date"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 119, 190, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 119, 190, 0.4);
}

.btn-nav {
    background: var(--light-blue);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border: 2px solid var(--medium-blue);
    font-weight: 600;
}

.btn-nav:hover {
    background: var(--medium-blue);
    border-color: var(--primary-color);
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    font-weight: 500;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

.result-container {
    min-height: 50px;
}

/* Calendar */
.calendar {
    width: 100%;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.calendar-header h4 {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.weekday {
    text-align: center;
    font-weight: 600;
    color: #666;
    font-size: 0.9rem;
    padding: 0.5rem;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    border: 1px solid var(--medium-blue);
    border-radius: 5px;
    background: var(--white);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    padding-bottom: 2px;
}

.calendar-day:hover {
    background: var(--light-blue);
    color: var(--text-color);
}

.calendar-day.today {
    border: 2px solid var(--primary-color);
    font-weight: bold;
    color: var(--primary-color);
}

.calendar-day.booked {
    background: #fee2e2;
    color: #991b1b;
    cursor: not-allowed;
    font-weight: 600;
}

.calendar-day.booked:hover {
    background: #fecaca;
    color: #991b1b;
}

.calendar-day.other-month {
    opacity: 0.3;
    color: #999;
}

.calendar-day.past {
    opacity: 0.4;
    background: #f5f5f5;
    color: #aaa;
    cursor: not-allowed;
    text-decoration: line-through;
}

.calendar-day.past:hover {
    background: #f5f5f5;
    transform: none;
}

.calendar-day.clickable {
    cursor: pointer;
}

.calendar-day.clickable:hover {
    transform: scale(1.1);
}

.calendar-day.selected-checkin {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    font-weight: bold;
}

.calendar-day.selected-checkin:hover {
    background: var(--dark-blue);
    color: var(--white);
}

.calendar-day.selected-checkout {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
    font-weight: bold;
}

.calendar-day.selected-checkout:hover {
    background: var(--primary-color);
    color: var(--white);
}

.calendar-day.in-range {
    background: #b3d9e6;
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
}

.calendar-day.in-range:hover {
    background: #8fc4d8;
}

.calendar-day .date-icon {
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 0.7rem;
}

.calendar-mini .calendar-day .date-icon {
    font-size: 0.6rem;
    top: 1px;
    right: 1px;
}

.day-number {
    font-size: 0.9rem;
    color: inherit;
    position: relative;
    z-index: 1;
}

.day-price {
    position: absolute;
    top: 2px;
    right: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--white);
    background: var(--primary-color);
    padding: 2px 4px;
    border-radius: 3px;
    line-height: 1;
    letter-spacing: -0.5px;
}

.calendar-legend {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--medium-blue);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    border: 1px solid var(--medium-blue);
}

.legend-color.available {
    background: var(--white);
}

.legend-color.booked {
    background: #fee2e2;
}

/* Location Section */
.location-section {
    background: var(--white);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 119, 190, 0.15);
    border: 2px solid var(--light-blue);
}

.location-section h3 {
    color: var(--primary-color);
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--light-blue);
    padding-bottom: 0.5rem;
}

.location-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 119, 190, 0.2);
    height: 100%;
}

.map-container iframe {
    display: block;
    height: 100%;
    min-height: 100%;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.location-card {
    background: var(--light-blue);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid rgba(0, 119, 190, 0.2);
    transition: all 0.3s ease;
}

.location-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 190, 0.2);
}

.location-card h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.location-card p {
    color: #555;
    margin: 0.25rem 0;
    font-size: 0.95rem;
}

.location-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.location-card li {
    color: #555;
    padding: 0.25rem 0;
    font-size: 0.9rem;
}

.location-card li::before {
    content: '→';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.location-card .btn {
    text-decoration: none;
    font-size: 0.9rem;
}

/* Info Section */
.info-section {
    background: var(--white);
    padding: 3rem 0;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.info-card {
    text-align: center;
    padding: 1.5rem;
}

.info-card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.info-card p {
    color: #666;
}

/* Gallery Section */
.gallery-section {
    background: 
        linear-gradient(to bottom, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.95)),
        url('/static/images/balai.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 119, 190, 0.1);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4/3;
    background: var(--light-blue);
    cursor: pointer;
    transition: transform 0.3s;
    box-shadow: 0 2px 10px rgba(0, 119, 190, 0.2);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 119, 190, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding: 20px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    cursor: zoom-out;
}

.modal-content {
    margin: auto;
    display: block;
    width: auto;
    max-width: 90%;
    max-height: 90vh;
    cursor: default;
    animation: zoom 0.3s;
}

@keyframes zoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10000;
}

.modal-close:hover,
.modal-close:focus {
    color: #bbb;
}

#modalCaption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 15px 0;
    font-size: 18px;
}

.gallery-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 3rem;
    color: var(--primary-color);
}

/* Details Section */
.details-section {
    background: var(--white);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 119, 190, 0.15);
    border: 2px solid var(--light-blue);
}

.details-section h3 {
    color: var(--primary-color);
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--light-blue);
    padding-bottom: 0.5rem;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.detail-card {
    background: var(--light-blue);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid rgba(0, 119, 190, 0.2);
    transition: all 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 190, 0.2);
}

.detail-card h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-card ul {
    list-style: none;
    padding: 0;
}

.detail-card li {
    padding: 0.5rem 0;
    color: #555;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-card li::before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: bold;
}

.distance-list li::before {
    content: '📍';
}

.amenities-highlight {
    background: var(--light-blue);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
    text-align: center;
}

.amenities-highlight strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Pets Section */
.pets-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid rgba(255, 192, 203, 0.3);
}

.pets-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.pets-intro h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.pets-intro p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
}

.pets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.pets-card {
    background: linear-gradient(135deg, rgba(255, 192, 203, 0.1) 0%, rgba(173, 216, 230, 0.1) 100%);
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid rgba(255, 182, 193, 0.3);
    transition: all 0.3s ease;
    overflow-wrap: break-word;
    word-break: break-word;
}

@media (max-width: 768px) {
    .pets-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .pets-card {
        padding: 1rem;
    }

    .pets-card h4 {
        font-size: 1.1rem;
    }

    .pets-card p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .pets-content {
        padding: 1rem;
    }

    .pets-intro h4 {
        font-size: 1.1rem;
    }

    .pets-intro p {
        font-size: 0.95rem;
    }

    .pets-card ul li a {
        word-break: break-word;
        overflow-wrap: break-word;
    }
}

.pets-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 192, 203, 0.2);
    border-color: rgba(255, 182, 193, 0.5);
}

.pets-card h4 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.pets-card p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.pets-card ul {
    margin: 0;
    padding: 0;
}

.pets-tip {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 192, 203, 0.1) 100%);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
    text-align: center;
}

.pets-tip p {
    color: #555;
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

/* Reviews Section */
.reviews-section {
    background: var(--white);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 119, 190, 0.15);
    border: 2px solid var(--light-blue);
}

.reviews-section h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-bottom: 2px solid var(--light-blue);
    padding-bottom: 0.5rem;
}

.booking-link {
    text-align: center;
    margin-bottom: 2rem;
}

.booking-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #003580;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s;
}

.booking-link a:hover {
    background: #00264d;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.review-card {
    background: var(--light-blue);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid rgba(0, 119, 190, 0.2);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 190, 0.2);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-author {
    font-weight: 600;
    color: var(--text-color);
}

.review-rating {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
}

.review-text {
    color: #555;
    font-style: italic;
    line-height: 1.6;
}

.review-date {
    font-size: 0.85rem;
    color: #888;
    margin-top: 0.5rem;
}

/* Footer */
.footer {
    background: var(--text-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* Loading */
.loading {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .language-selector {
        width: 100%;
        justify-content: center;
    }

    .btn-contact-header {
        width: 100%;
        justify-content: center;
    }
    
    .availability-wrapper {
        grid-template-columns: 1fr;
    }
    
    .calendar-mini {
        order: 2;
    }
    
    .availability-form-wrapper {
        order: 1;
    }
    
    .availability-section .container {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .logo {
        font-size: 2rem;
    }

    .logo-img {
        height: 2rem;
        background-color: white;
        padding: 0.2rem;
        border-radius: 0.3rem;
        display: block;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .calendar-day {
        font-size: 0.8rem;
    }

    .weekday {
        font-size: 0.75rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .location-wrapper {
        grid-template-columns: 1fr;
    }
    
    .map-container iframe {
        min-height: 300px;
    }
    
    .booking-wrapper {
        flex-direction: column !important;
        gap: 1rem;
    }
    
    .booking-summary {
        position: static !important;
        margin-bottom: 2rem;
        width: 100% !important;
        flex: 1 1 auto !important;
    }
    
    .summary-card {
        max-width: 100%;
        padding: 1.5rem;
    }
    
    .summary-card h2 {
        font-size: 1.2rem;
    }
    
    .summary-items {
        grid-template-columns: 1fr;
    }
    
    .booking-form-container {
        width: 100%;
        padding: 1.5rem;
    }
    
    .booking-form-container h2 {
        font-size: 1.4rem;
    }
}

/* ===== Booking Page Styles ===== */
.booking-wrapper {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    margin-top: 2rem;
    align-items: start;
}

.booking-summary {
    position: sticky;
    top: 2rem;
    flex: 0 0 350px;
}

.summary-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 119, 190, 0.15);
    border: 2px solid var(--light-blue);
}

.summary-card h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--light-blue);
    padding-bottom: 0.5rem;
}

.summary-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.summary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.75rem 0.5rem;
}

.summary-item strong {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.summary-item span {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-info {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--light-blue);
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-info p {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.btn-contact-small {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.btn-contact-small:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 190, 0.3);
}

.btn-secondary {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    margin-top: 1rem;
    width: 100%;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 190, 0.3);
}

.booking-form-container {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 119, 190, 0.15);
}

.booking-form-container h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--light-blue);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.guest-card {
    background: #ffffff;
    border: 2px solid var(--light-blue);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.guest-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.guest-card h3::before {
    content: "👤";
    font-size: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .guest-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .guest-card h3 {
        font-size: 1rem;
    }

    /* Booking page tablet responsive */
    .booking-wrapper {
        flex-direction: column !important;
        gap: 1rem;
    }
    
    .booking-summary {
        position: static !important;
        flex: 1 1 auto !important;
        margin-bottom: 1rem;
    }

    .summary-card {
        padding: 1.2rem;
        margin-bottom: 0;
    }

    .summary-card h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
    }

    .summary-items {
        grid-template-columns: 2fr 2fr;
        gap: 0.8rem;
        margin-bottom: 1rem;
    }

    .summary-item {
        font-size: 0.9rem;
    }

    .summary-item strong {
        font-size: 0.85rem;
        display: block;
        margin-bottom: 0.2rem;
    }

    .booking-form-container {
        width: 100%;
        padding: 1.2rem;
        box-shadow: 0 2px 8px rgba(0, 119, 190, 0.1);
    }

    .booking-form-container h2 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }

    .form-group input,
    .form-group select {
        padding: 0.6rem;
        font-size: 0.95rem;
    }

    .contact-info {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 2px solid var(--light-blue);
    }

    .contact-info h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .contact-info p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    .btn-secondary {
        width: 100%;
        padding: 0.7rem 1rem;
        font-size: 0.95rem;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    /* Booking page mobile responsive */
    .booking-wrapper {
        flex-direction: column !important;
        gap: 0.75rem;
    }
    
    .booking-summary {
        position: static !important;
        flex: 1 1 auto !important;
        margin-bottom: 0.75rem;
    }

    .summary-card {
        padding: 0.9rem;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0, 119, 190, 0.1);
    }

    .summary-card h2 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
        padding-bottom: 0.4rem;
    }

    .summary-items {
        grid-template-columns: 1fr;
        gap: 0.6rem;
        margin-bottom: 0.75rem;
    }

    .summary-item {
        font-size: 0.8rem;
        flex-direction: row;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .summary-item strong {
        font-weight: 700;
        flex-shrink: 0;
        min-width: 60px;
    }

    .summary-item span {
        word-break: break-word;
    }

    #summary-price {
        font-size: 1.2rem !important;
    }

    .booking-form-container {
        width: 100%;
        padding: 0.9rem;
        border-radius: 8px;
    }

    .booking-form-container h2 {
        font-size: 1.1rem;
        margin-bottom: 0.9rem;
    }

    .form-group {
        margin-bottom: 0.8rem;
    }

    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
        font-weight: 600;
    }

    .form-group input,
    .form-group select {
        padding: 0.5rem;
        font-size: 0.9rem;
        border-radius: 6px;
    }

    .form-group select option {
        font-size: 1rem;
    }

    .form-actions {
        margin-top: 1rem;
    }

    .form-actions .btn {
        width: 100%;
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }

    .contact-info {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 2px solid var(--light-blue);
    }

    .contact-info h3 {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }

    .contact-info p {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .btn-contact-small {
        display: inline-block;
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
    }

    .btn-secondary {
        width: 100%;
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
        margin-top: 0.75rem;
    }

    .info-box {
        padding: 0.75rem !important;
        font-size: 0.8rem;
        margin-top: 0.75rem !important;
    }

    .info-box p {
        margin: 0;
        font-size: 0.8rem;
    }

    .header-small .header-content {
        flex-direction: column;
        gap: 0.75rem;
    }

    .header-small .logo {
        font-size: 1.5rem;
    }

    .header-small .tagline {
        font-size: 0.9rem;
    }
}

/* Contact Page Styles */
.contact-page {
    padding: 2rem 0;
}

/* Contact Page Styles */
.contact-page {
    padding: 2rem 0 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
}

.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 119, 190, 0.1);
    border: 1px solid rgba(0, 119, 190, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 119, 190, 0.15);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: #fafafa;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 119, 190, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.btn-large {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.message-status {
    margin-top: 1.5rem;
    padding: 1.25rem;
    border-radius: 8px;
    text-align: center;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-status.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 2px solid #28a745;
}

.message-status.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 2px solid #dc3545;
}

.message-status strong {
    font-size: 1.1rem;
}

.back-link-container {
    margin: 2rem 0 1rem 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.back-link:hover {
    background: var(--light-blue);
    transform: translateX(-5px);
}

@media (max-width: 968px) {
    .contact-form-container {
        max-width: 100%;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .card {
        padding: 1.5rem;
    }
}

@media (max-width: 600px) {
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

/* Admin Styles */
.admin-header {
    background: var(--primary-color);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.admin-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.admin-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.admin-actions-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-nav-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.admin-nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

.user-info {
    color: white;
    font-size: 0.9rem;
    margin-right: 1rem;
    text-align: right;
}

.user-name {
    font-weight: 600;
}

.user-email {
    font-size: 0.85rem;
    opacity: 0.9;
}

.logout-btn {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: var(--light-blue);
    transform: translateY(-2px);
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
}

.badge-warning {
    background: #ffc107;
    color: #000;
}

.badge-success {
    background: #28a745;
    color: white;
}

.badge-warning-large {
    background: #ffc107;
    color: #000;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.admin-main {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 119, 190, 0.15);
    border: 2px solid var(--light-blue);
}

.stat-card h3 {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.bookings-table {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 119, 190, 0.15);
    border: 2px solid var(--light-blue);
    overflow: hidden;
}

.table-header {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.bookings-table table {
    width: 100%;
    border-collapse: collapse;
}

.bookings-table th {
    background: var(--light-blue);
    color: var(--text-color);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.bookings-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--light-blue);
}

.bookings-table tr:hover {
    background: var(--light-blue);
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-confirmed {
    background: #d4edda;
    color: #155724;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.home-link {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.home-link:hover {
    text-decoration: underline;
}

.admin-actions {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.add-booking-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.add-booking-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.booking-form.admin-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 119, 190, 0.15);
    border: 2px solid var(--light-blue);
    margin-bottom: 2rem;
    display: none;
}

.booking-form.admin-form.active {
    display: block;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.form-group input,
.form-group select {
    padding: 0.75rem;
    border: 2px solid var(--light-blue);
    border-radius: 6px;
    font-size: 1rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 119, 190, 0.25);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 190, 0.35);
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-delete {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-delete:hover {
    background: #c82333;
}

.btn-edit {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
}

.btn-edit:hover {
    background: var(--secondary-color);
}

.next-steps {
    background: #fff8e1;
    border-left: 4px solid #ffc107;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.next-steps h3 {
    color: #f57c00;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.next-steps ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.next-steps li {
    padding: 0.75rem 0;
    padding-left: 0;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.guest-card {
    background: var(--light-blue);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.guest-card h4 {
    margin: 0 0 0.75rem 0;
    color: var(--primary-color);
    font-size: 1rem;
}

.guest-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    max-width: 95vw;
    width: 95%;
    max-height: 95vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.modal-header-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn-copy {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-copy:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.modal-close:hover {
    color: #333;
}

.detail-row {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 6px;
}

.detail-label {
    font-weight: 600;
    color: #666;
    margin-bottom: 0.25rem;
}

.detail-value {
    color: #333;
    font-size: 1.1rem;
}

.status-select {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    border: 2px solid var(--light-blue);
    border-radius: 6px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.status-select:hover {
    border-color: var(--primary-color);
}

.status-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 119, 190, 0.1);
}

.guests-list {
    margin-top: 1rem;
}

.guest-item {
    padding: 0.75rem;
    background: #e9ecef;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

tbody tr {
    cursor: pointer;
    transition: background 0.2s;
}

tbody tr:hover {
    background: #f0f8ff;
}

/* Bookings Calendar */
.bookings-calendar-container {
    margin-top: 2rem;
}

.calendar-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.btn-calendar-nav {
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.btn-calendar-nav:hover {
    background: #005a8c;
}

.calendar-legend {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 6px;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

/* Contact Messages */
.messages-container {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.message-card {
    background: white;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.message-card:hover {
    box-shadow: 0 4px 12px rgba(0, 119, 190, 0.2);
    border-color: var(--primary-color);
}

.message-card.unread {
    background: #f0f8ff;
    border-color: var(--primary-color);
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #eee;
}

.message-info {
    flex: 1;
}

.message-info h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.message-email {
    margin: 0.25rem 0;
}

.message-email a {
    color: var(--secondary-color);
    text-decoration: none;
}

.message-email a:hover {
    text-decoration: underline;
}

.message-phone {
    margin: 0.25rem 0;
}

.message-phone a {
    color: var(--secondary-color);
    text-decoration: none;
}

.message-phone a:hover {
    text-decoration: underline;
}

.message-subject {
    margin: 0.5rem 0 0.25rem 0;
    color: #555;
    font-weight: 500;
}

.message-date {
    margin: 0.5rem 0 0;
    color: #999;
    font-size: 0.9rem;
}

.message-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.message-body {
    margin-bottom: 1.5rem;
}

.message-body h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.message-body p {
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.6;
    color: #555;
}

.message-notes {
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 6px;
}

.message-notes label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.message-notes textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    resize: vertical;
    margin-bottom: 0.5rem;
}
/* Admin Mobile Responsive */
@media (max-width: 1024px) {
    .admin-nav {
        padding: 0 1rem;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .admin-title {
        flex-basis: 100%;
        font-size: 1.3rem;
    }

    .admin-actions-nav {
        flex-wrap: wrap;
        gap: 0.5rem;
        width: 100%;
    }

    .admin-main {
        padding: 0 1rem;
    }

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

    .stat-card {
        padding: 1rem;
    }

    .stat-value {
        font-size: 2rem;
    }

    .bookings-table th,
    .bookings-table td {
        padding: 0.75rem;
        font-size: 0.95rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 90vw;
        padding: 1.5rem;
    }

    .message-header {
        flex-direction: column;
        gap: 1rem;
    }

    .message-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .admin-header {
        padding: 0.75rem 0;
    }

    .admin-nav {
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem;
    }

    .admin-title {
        font-size: 1.1rem;
        flex-basis: auto;
        margin-bottom: 0.75rem;
    }

    .admin-actions-nav {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }

    .admin-nav-link {
        padding: 0.4rem 0.75rem;
        font-size: 0.95rem;
        justify-content: center;
    }

    .user-info {
        text-align: center;
        margin: 0;
        font-size: 0.85rem;
    }

    .logout-btn {
        width: 100%;
    }

    .admin-main {
        margin: 1rem auto;
        padding: 0 0.75rem;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    .stat-card {
        padding: 0.75rem;
    }

    .stat-card h3 {
        font-size: 0.8rem;
    }

    .stat-value {
        font-size: 1.8rem;
    }

    .table-header {
        padding: 1rem;
        font-size: 1rem;
    }

    .bookings-table th {
        padding: 0.5rem;
        font-size: 0.85rem;
    }

    .bookings-table td {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .status-badge {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }

    .booking-form.admin-form {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .form-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .btn-primary,
    .btn-secondary,
    .add-booking-btn {
        width: 100%;
    }

    .modal-content {
        width: 95vw;
        max-width: 100%;
        padding: 1rem;
        max-height: 90vh;
    }

    .modal-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
    }

    .modal-header-buttons {
        width: 100%;
        justify-content: flex-end;
    }

    .detail-row {
        margin-bottom: 0.75rem;
        padding: 0.5rem;
    }

    .message-card {
        padding: 1rem;
        border: 1px solid #ddd;
    }

    .message-header {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    .message-info h3 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .message-email,
    .message-phone,
    .message-subject,
    .message-date {
        font-size: 0.9rem;
    }

    .message-actions {
        gap: 0.25rem;
    }

    .btn-delete,
    .btn-edit,
    .btn-copy {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
        margin-right: 0.25rem;
    }

    .message-notes {
        padding: 0.75rem;
    }

    .message-notes textarea {
        padding: 0.4rem;
        font-size: 0.95rem;
    }

    .calendar-legend {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .admin-header {
        padding: 0.5rem 0;
    }

    .admin-nav {
        padding: 0.5rem;
    }

    .admin-title {
        font-size: 1rem;
    }

    .admin-nav-link {
        padding: 0.3rem 0.5rem;
        font-size: 0.85rem;
    }

    .badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }

    .admin-main {
        margin: 0.75rem auto;
        padding: 0 0.5rem;
    }

    .dashboard-grid {
        gap: 0.5rem;
    }

    .stat-card {
        padding: 0.75rem;
    }

    .stat-card h3 {
        font-size: 0.75rem;
    }

    .stat-value {
        font-size: 1.8rem;
    }

    .bookings-table {
        overflow-x: auto;
    }

    .bookings-table th,
    .bookings-table td {
        padding: 0.35rem;
        font-size: 0.8rem;
    }

    .booking-form.admin-form {
        padding: 1rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group select {
        padding: 0.5rem;
        font-size: 0.95rem;
    }

    .btn-primary,
    .btn-secondary,
    .btn-delete,
    .btn-edit,
    .add-booking-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        width: 100%;
    }

    .modal-content {
        padding: 0.75rem;
    }

    .modal-header {
        margin-bottom: 0.75rem;
    }

    .modal-close {
        font-size: 1.2rem;
    }

    .detail-row {
        margin-bottom: 0.5rem;
        padding: 0.35rem;
        font-size: 0.9rem;
    }

    .message-card {
        padding: 0.75rem;
    }

    .message-header {
        gap: 0.5rem;
    }

    .message-info h3 {
        font-size: 0.95rem;
    }

    .message-email,
    .message-phone,
    .message-subject,
    .message-date {
        font-size: 0.85rem;
    }

    .message-body p {
        font-size: 0.9rem;
    }

    .btn-copy {
        padding: 0.3rem 0.5rem;
        font-size: 0.75rem;
    }

    .message-notes {
        padding: 0.5rem;
    }

    .message-notes label {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }

    .message-notes textarea {
        padding: 0.35rem;
        font-size: 0.9rem;
    }

    /* Admin Calendar Mobile - More Compact */
    .calendar-mini {
        padding: 0.35rem;
        font-size: 0.7rem;
    }

    .calendar-mini h4 {
        font-size: 0.7rem;
        margin-bottom: 0.25rem;
    }

    .calendar-mini .calendar-header h4 {
        font-size: 0.65rem;
    }

    .calendar-mini .btn-nav {
        padding: 0.15rem 0.3rem;
        font-size: 0.6rem;
    }

    .calendar-mini .weekday {
        font-size: 0.55rem;
        padding: 0.1rem;
    }

    .calendar-mini .day-number {
        font-size: 0.6rem;
    }

    .calendar-mini .calendar-weekdays,
    .calendar-mini .calendar-days {
        gap: 0.15rem;
    }

    .calendar-mini .calendar-day {
        min-height: auto;
        height: auto;
        padding: 0.1rem;
    }

    .bookings-calendar-container {
        margin-top: 0.75rem;
    }

    .bookings-calendar {
        font-size: 0.75rem;
    }

    .calendar-controls {
        flex-direction: column;
        gap: 0.4rem;
        margin-bottom: 0.75rem;
    }

    .btn-calendar-nav {
        padding: 0.35rem 0.6rem;
        font-size: 0.75rem;
        width: 100%;
    }

    .calendar-legend {
        flex-direction: column;
        gap: 0.35rem;
        padding: 0.5rem;
        margin-top: 0.5rem;
    }

    .legend-item {
        font-size: 0.8rem;
    }

    .legend-color {
        width: 12px;
        height: 12px;
    }

    /* Increase other box sizes on mobile */
    .stat-card {
        padding: 1rem;
    }

    .booking-form.admin-form {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .message-card {
        padding: 1rem;
    }

    /* Pricing Calendar Panel Mobile - Better layout */
    #pricing-calendar {
        padding: 0.35rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    #pricing-calendar h2 {
        font-size: 0.95rem !important;
        margin: 0 0 0.3rem 0 !important;
    }

    #pricing-calendar > p {
        font-size: 0.65rem !important;
        margin: 0 0 0.5rem 0 !important;
        line-height: 1.2 !important;
    }

    #pricing-calendar > div[style*="flex"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
        width: 100% !important;
    }

    #pricing-calendar > div:first-child {
        width: 100% !important;
        margin-bottom: 0 !important;
        box-sizing: border-box !important;
    }

    #pricing-calendar > div:last-child {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
        box-sizing: border-box !important;
    }

    #price-calendar-view {
        width: 100% !important;
        overflow-x: visible !important;
        box-sizing: border-box !important;
        margin-bottom: 0.75rem !important;
    }

    .calendar-mini {
        width: 100% !important;
        min-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0.15rem !important;
        margin: 0 !important;
        font-size: 0.55rem !important;
    }

    .calendar-mini .calendar-weekdays,
    .calendar-mini .calendar-days {
        gap: 0.08rem !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .calendar-mini .calendar-day {
        padding: 0.02rem !important;
        font-size: 0.52rem !important;
        min-height: 20px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 !important;
    }

    .calendar-mini .day-number {
        font-size: 0.48rem !important;
        line-height: 1 !important;
        margin: 0 !important;
    }

    .calendar-controls {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 0.2rem !important;
        margin-bottom: 0.5rem !important;
        width: 100% !important;
        padding: 0.25rem !important;
    }

    .btn-calendar-nav {
        flex: 0 1 auto !important;
        padding: 0.2rem 0.3rem !important;
        font-size: 0.65rem !important;
        min-width: auto !important;
    }

    .calendar-controls h3 {
        flex: 1 !important;
        text-align: center !important;
        margin: 0 !important;
        font-size: 0.8rem !important;
    }

    #selected-range-display {
        padding: 0.3rem !important;
        font-size: 0.65rem !important;
        margin-bottom: 0.3rem !important;
        background: #f5f5f5 !important;
        border-radius: 4px !important;
        box-sizing: border-box !important;
    }

    #selected-range-display strong {
        font-size: 0.7rem;
        display: block !important;
        margin-bottom: 0.1rem !important;
    }

    #selected-range-display #range-text {
        font-size: 0.6rem !important;
    }

    #price_amount,
    #extra_guest_percentage {
        width: 100% !important;
        font-size: 0.75rem !important;
        padding: 0.3rem !important;
        box-sizing: border-box !important;
    }

    #confirm-price-btn {
        width: 100% !important;
        padding: 0.4rem 0.8rem !important;
        font-size: 0.75rem !important;
        box-sizing: border-box !important;
    }

    .form-group {
        margin-bottom: 0.3rem !important;
    }

    .form-group label {
        font-size: 0.7rem !important;
        margin-bottom: 0.1rem !important;
        display: block !important;
    }

    .form-group small {
        font-size: 0.6rem !important;
    }

    .form-group small {
        font-size: 0.7rem !important;
        margin-top: 0.15rem !important;
        display: block !important;
    }
}