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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
}

/* Header Styles */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

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

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #f0a500;
}

/* Booking Form Styles */
.booking-form {
    max-width: 800px;
    margin: 100px auto 50px;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.booking-form h2 {
    text-align: center;
    color: #333;
    margin-bottom: 2rem;
    font-size: 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f0a500;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-group.half {
    flex: 1;
}

/* Checkbox Group Styles */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 0.5rem 0;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

/* Price Summary Styles */
.price-summary {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

.price-summary h3 {
    color: #333;
    margin-bottom: 1rem;
}

.price-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #555;
}

.price-details div {
    display: flex;
    justify-content: space-between;
}

/* Submit Button Styles */
.submit-button {
    width: 100%;
    padding: 1rem;
    background-color: #f0a500;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #d89400;
}

.submit-button i {
    font-size: 1rem;
}

/* Special Requests Textarea */
#special-requests {
    resize: vertical;
    min-height: 100px;
}

/* Date Input Styling */
input[type="date"] {
    cursor: pointer;
}

/* Select Styling */
select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

/* Error State Styling */
.form-group input:invalid,
.form-group select:invalid {
    border-color: #dc3545;
}

/* Success Message Styling */
.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    display: none;
}

/* Loading State */
.submit-button.loading {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1rem;
    }

    nav ul {
        margin-top: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .booking-form {
        margin: 80px 1rem 2rem;
        padding: 1.5rem;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
    }

    .booking-form {
        background-color: #2d2d2d;
    }

    .booking-form h2,
    .form-group label,
    .price-summary h3 {
        color: #fff;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        background-color: #3d3d3d;
        border-color: #4d4d4d;
        color: #fff;
    }

    .price-summary {
        background-color: #3d3d3d;
        border-color: #4d4d4d;
    }

    .price-details {
        color: #ddd;
    }

    header {
        background-color: #2d2d2d;
    }

    nav ul li a {
        color: #fff;
    }

    .logo {
        color: #fff;
    }
}
