/* Apple-inspired Design System */
:root {
    --apple-blue: #FF5A5F;
    --apple-blue-hover: #FF7478;
    --apple-gray-1: #f5f5f7;
    --apple-gray-2: #d2d2d7;
    --apple-gray-3: #86868b;
    --apple-gray-4: #1d1d1f;
    --apple-white: #ffffff;
    --apple-error: #ff3b30;
    --apple-red: #ff3b30;
}

/* Base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Icons', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--apple-white);
    color: var(--apple-gray-4);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Header styles */
header {
    background-color: var(--apple-white);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--apple-gray-1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    height: 32px;
    width: auto;
}

.logo span {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--apple-gray-4);
    letter-spacing: -0.01em;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav a {
    color: var(--apple-gray-4);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
}

nav a:not(.login-button)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--apple-blue);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

nav a:not(.login-button):hover {
    color: var(--apple-blue);
}

nav a:not(.login-button):hover::after {
    transform: scaleX(1);
}

nav a.active {
    color: var(--apple-blue);
}

nav a.active::after {
    transform: scaleX(1);
}

nav .login-button {
    background-color: transparent;
    color: var(--apple-blue);
    padding: 0.5rem 1rem;
    border: 1px solid var(--apple-blue);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

nav .login-button:hover {
    background-color: var(--apple-blue);
    color: var(--apple-white);
}

nav .login-button.active {
    background-color: var(--apple-blue);
    color: var(--apple-white);
}

/* Login Container */
.login-container {
    max-width: 400px;
    margin: 4rem auto;
    padding: 2.5rem;
    background-color: var(--apple-white);
    border-radius: 18px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-header h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--apple-gray-4);
}

.login-header p {
    color: var(--apple-gray-3);
    font-size: 1rem;
}

/* Form styles */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--apple-gray-4);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-wrapper i {
    position: absolute;
    left: 1rem;
    color: var(--apple-gray-3);
    font-size: 1rem;
    pointer-events: none;
}

.input-wrapper input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 2.5rem;
    border: 1px solid var(--apple-gray-2);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--apple-white);
}

.toggle-password {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: var(--apple-gray-3);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.toggle-password i {
    position: static;
    font-size: 1rem;
    pointer-events: auto;
}

.toggle-password:hover {
    color: var(--apple-gray-4);
}

.toggle-password:hover i {
    color: var(--apple-gray-4);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid var(--apple-gray-2);
    cursor: pointer;
}

.checkbox-container input[type="checkbox"]:checked {
    background-color: var(--apple-blue);
    border-color: var(--apple-blue);
}

.checkbox-container label {
    cursor: pointer;
    line-height: 1.4;
}

.checkbox-container a {
    color: var(--apple-blue);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.checkbox-container a:hover {
    opacity: 0.8;
}

.forgot-password {
    color: var(--apple-blue);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.forgot-password:hover {
    opacity: 0.8;
}

.login-button {
    background-color: var(--apple-blue);
    color: var(--apple-white);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.login-button:hover {
    background-color: var(--apple-blue-hover);
    transform: translateY(-1px);
}

.login-button i {
    transition: transform 0.3s ease;
}

.login-button:hover i {
    transform: translateX(4px);
}

.login-footer {
    text-align: center;
    margin-top: 2rem;
    color: var(--apple-gray-3);
}

.login-footer a {
    color: var(--apple-blue);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.login-footer a:hover {
    opacity: 0.8;
}

/* Error message */
.error-message {
    background-color: var(--apple-error);
    color: var(--apple-white);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    animation: fadeIn 0.3s ease;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(to right, var(--apple-blue), #5ac8fa);
    color: var(--apple-white);
    padding: 6rem 2rem 12rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Filter Section */
.filter-section {
    background-color: var(--apple-white);
    padding: 2rem;
    margin-top: -8rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.filter-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.search-box {
    display: flex;
    align-items: center;
    background-color: var(--apple-gray-1);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    gap: 1rem;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    background-color: var(--apple-white);
    box-shadow: 0 0 0 2px var(--apple-blue);
}

.search-box i {
    color: var(--apple-gray-3);
    font-size: 1.1rem;
}

.search-box input {
    flex: 1;
    border: none;
    background: none;
    font-size: 1rem;
    color: var(--apple-gray-4);
    outline: none;
}

.search-box input::placeholder {
    color: var(--apple-gray-3);
}

.search-box button {
    background-color: var(--apple-blue);
    color: var(--apple-white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 980px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-box button:hover {
    background-color: var(--apple-blue-hover);
    transform: translateY(-1px);
}

.filter-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    background-color: var(--apple-gray-1);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    gap: 0.75rem;
    flex: 1;
    min-width: 200px;
    transition: all 0.3s ease;
}

.filter-group:hover {
    background-color: var(--apple-white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filter-group i {
    color: var(--apple-gray-3);
    font-size: 1rem;
}

.filter-group select {
    flex: 1;
    border: none;
    background: none;
    font-size: 0.95rem;
    color: var(--apple-gray-4);
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    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 0 center;
    background-size: 1em;
    padding-right: 1.5em;
}

.filter-group select::-ms-expand {
    display: none;
}

/* Places Section */
.places-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--apple-gray-4);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--apple-gray-3);
    font-size: 1.1rem;
}

.places-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.place-card {
    background-color: var(--apple-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.place-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

.place-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.place-card:hover img {
    transform: scale(1.05);
}

.place-info {
    padding: 1.5rem;
}

.place-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--apple-gray-4);
}

.place-info .location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--apple-gray-3);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.place-info .location i {
    color: var(--apple-blue);
    font-size: 0.85rem;
}

.amenities {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--apple-gray-1);
    border-bottom: 1px solid var(--apple-gray-1);
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--apple-gray-3);
    font-size: 0.9rem;
}

.amenity-item i {
    color: var(--apple-gray-4);
    font-size: 1rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--apple-gray-4);
    margin: 1rem 0;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--apple-gray-3);
}

.details-button {
    display: inline-block;
    width: 100%;
    padding: 0.75rem 0;
    background-color: var(--apple-blue);
    color: var(--apple-white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.details-button:hover {
    background-color: var(--apple-blue-hover);
    transform: translateY(-1px);
}

/* Place Details Page */
.place-details-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.place-header {
    margin-bottom: 2rem;
}

.place-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--apple-gray-4);
}

.place-meta {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.place-location, .place-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--apple-gray-3);
    font-size: 0.95rem;
}

.place-location i, .place-rating i {
    color: var(--apple-blue);
}

/* Gallery */
.place-gallery {
    margin-bottom: 3rem;
}

.main-image {
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.main-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.thumbnail-grid img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail-grid img:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.thumbnail-grid img.active {
    border-color: var(--apple-blue);
}

/* Place Content Layout */
.place-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.place-section {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--apple-gray-1);
}

.place-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.place-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--apple-gray-4);
}

/* Amenities Grid */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.amenity {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--apple-gray-1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.amenity:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.amenity i {
    font-size: 1.25rem;
    color: var(--apple-blue);
}

.amenity span {
    font-size: 0.95rem;
    color: var(--apple-gray-4);
}

/* Reviews Section */
.reviews-summary {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--apple-gray-1);
    border-radius: 12px;
}

.rating-average {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--apple-gray-4);
}

.rating-stars {
    color: var(--apple-blue);
    font-size: 1.25rem;
}

.review-count {
    color: var(--apple-gray-3);
    font-size: 0.95rem;
}

/* Booking Card */
.booking-card {
    position: sticky;
    top: 2rem;
    background-color: var(--apple-white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--apple-gray-1);
}

.booking-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--apple-gray-1);
}

.booking-price {
    margin-bottom: 0.75rem;
}

.booking-price .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--apple-gray-4);
    line-height: 1;
}

.booking-price .per-night {
    font-size: 1rem;
    color: var(--apple-gray-3);
    margin-left: 0.5rem;
}

.booking-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--apple-gray-3);
    font-size: 0.95rem;
}

.booking-rating i {
    color: var(--apple-blue);
}

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

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--apple-gray-4);
    margin-bottom: 0.5rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 1rem;
    color: var(--apple-gray-3);
    font-size: 1rem;
}

.input-wrapper input,
.input-wrapper select {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--apple-gray-2);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--apple-gray-4);
    background-color: var(--apple-white);
    transition: all 0.3s ease;
}

.input-wrapper input:focus,
.input-wrapper select:focus {
    outline: none;
    border-color: var(--apple-blue);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.input-wrapper select {
    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: 1rem;
    padding-right: 2.5rem;
}

.book-button {
    width: 100%;
    padding: 1rem;
    background-color: var(--apple-blue);
    color: var(--apple-white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.book-button:hover {
    background-color: var(--apple-blue-hover);
    transform: translateY(-1px);
}

.book-button i {
    transition: transform 0.3s ease;
}

.book-button:hover i {
    transform: translateX(4px);
}

.booking-total {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--apple-gray-1);
}

.total-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.total-line .label {
    color: var(--apple-gray-3);
}

.total-line .value {
    color: var(--apple-gray-4);
    font-weight: 500;
}

.total-line.total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--apple-gray-1);
}

.total-line.total .label,
.total-line.total .value {
    font-weight: 600;
    color: var(--apple-gray-4);
}

@media (max-width: 768px) {
    .booking-card {
        position: static;
        margin-bottom: 2rem;
    }

    .booking-price .price {
        font-size: 1.75rem;
    }

    .input-wrapper input,
    .input-wrapper select {
        padding: 0.75rem 1rem 0.75rem 2.5rem;
    }
}

@media (max-width: 480px) {
    .booking-card {
        padding: 1.5rem;
    }

    .booking-price .price {
        font-size: 1.5rem;
    }

    .date-inputs {
        grid-template-columns: 1fr;
    }
}

/* Footer styles */
footer {
    background-color: var(--apple-gray-1);
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 2rem;
}

.footer-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--apple-gray-4);
}

.footer-section p,
.footer-section a {
    color: var(--apple-gray-3);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--apple-gray-2);
}

.footer-bottom p {
    color: var(--apple-gray-3);
    font-size: 0.9rem;
}

/* Mobile Navigation */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--apple-gray-4);
    margin: 4px 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .filter-section {
        margin: 0 1rem;
        padding: 1.5rem;
    }

    .filter-container {
        gap: 1rem;
    }

    .filter-group {
        min-width: 100%;
    }

    .search-box {
        flex-direction: column;
        padding: 1rem;
    }

    .search-box input {
        width: 100%;
        padding: 0.5rem 0;
    }

    .search-box button {
        width: 100%;
    }

    .place-information {
        grid-template-columns: 1fr;
    }

    .booking-section {
        position: static;
        margin-top: 2rem;
    }

    .main-image img {
        height: 300px;
    }

    .thumbnail-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .thumbnail-grid img {
        height: 100px;
    }

    .login-container {
        margin: 2rem;
        padding: 2rem;
    }

    .nav-container {
        height: auto;
        padding: 1rem;
    }

    .mobile-menu-button {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--apple-white);
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        border-bottom: 1px solid var(--apple-gray-1);
    }

    nav.active {
        display: flex;
    }

    nav a {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
    }

    nav a:not(.login-button)::after {
        display: none;
    }

    .login-button {
        width: 100%;
        text-align: center;
    }

    .mobile-menu-button.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-button.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-button.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .add-review-container {
        margin: 1rem;
        padding: 1.5rem;
    }

    .review-header h1 {
        font-size: 1.75rem;
    }

    .form-section {
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .cancel-button,
    .submit-button {
        width: 100%;
        justify-content: center;
    }

    .place-details-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .place-header,
    .place-gallery,
    .place-information,
    .reviews-section,
    .booking-section {
        grid-column: 1;
    }

    .booking-section {
        position: static;
        margin-top: 2rem;
    }

    .places-section {
        margin: 2rem auto;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .places-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

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

    .form-actions {
        flex-direction: column;
    }

    .cancel-button,
    .submit-button {
        width: 100%;
    }

    .login-container {
        margin: 1rem;
        padding: 1.5rem;
    }

    .form-options {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .places-section {
        padding: 0 1rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

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

    .amenities {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .main-image img {
        height: 250px;
    }
}

/* Add Review Container */
.add-review-container {
    max-width: 680px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: var(--apple-white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--apple-gray-1);
}

.review-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.review-header h1 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--apple-gray-4);
    margin-bottom: 0.5rem;
}

.review-header p {
    font-size: 1.1rem;
    color: var(--apple-gray-3);
}

/* Form Sections */
.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--apple-gray-1);
}

.form-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.form-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--apple-gray-4);
    margin-bottom: 1.5rem;
}

/* Rating Input */
.rating-input {
    text-align: center;
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.star-label {
    font-size: 2.5rem;
    color: var(--apple-gray-2);
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
}

.star-label:hover {
    color: var(--apple-blue);
    transform: scale(1.1);
}

input[type="radio"]:checked + .star-label,
input[type="radio"]:checked ~ .star-label {
    color: var(--apple-blue);
}

.rating-hint {
    color: var(--apple-gray-3);
    font-size: 0.9rem;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--apple-gray-4);
    margin-bottom: 0.5rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 1rem;
    color: var(--apple-gray-3);
    font-size: 1rem;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--apple-gray-2);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--apple-gray-4);
    background-color: var(--apple-white);
    transition: all 0.3s ease;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    outline: none;
    border-color: var(--apple-blue);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.input-wrapper textarea {
    min-height: 150px;
    resize: vertical;
}

.character-count {
    text-align: right;
    font-size: 0.85rem;
    color: var(--apple-gray-3);
        margin-top: 0.5rem;
}

/* File Upload */
.file-upload-container {
    margin-top: 1rem;
}

.file-upload {
    border: 2px dashed var(--apple-gray-2);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload:hover {
    border-color: var(--apple-blue);
    background-color: rgba(0, 113, 227, 0.02);
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.upload-placeholder i {
    font-size: 2.5rem;
    color: var(--apple-gray-3);
    margin-bottom: 0.5rem;
}

.upload-placeholder p {
    font-size: 1rem;
    color: var(--apple-gray-3);
}

.upload-subtext {
    font-size: 0.9rem;
    color: var(--apple-gray-2);
}

.upload-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

.cancel-button,
.submit-button {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cancel-button {
    background-color: transparent;
    color: var(--apple-gray-3);
    border: 1px solid var(--apple-gray-2);
}

.cancel-button:hover {
    background-color: var(--apple-gray-1);
}

.submit-button {
    background-color: var(--apple-blue);
    color: var(--apple-white);
    border: none;
}

.submit-button:hover {
    background-color: var(--apple-blue-hover);
    transform: translateY(-1px);
}

.submit-button i {
    transition: transform 0.3s ease;
}

.submit-button:hover i {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .add-review-container {
        margin: 1rem;
        padding: 1.5rem;
    }

    .review-header h1 {
        font-size: 1.75rem;
    }

    .form-section {
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }

    .star-label {
        font-size: 2rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .cancel-button,
    .submit-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .add-review-container {
        margin: 0.5rem;
        padding: 1rem;
    }

    .review-header h1 {
        font-size: 1.5rem;
    }

    .form-section h2 {
        font-size: 1.1rem;
    }

    .star-label {
        font-size: 1.75rem;
    }

    .input-wrapper input,
    .input-wrapper textarea {
        padding: 0.75rem 1rem 0.75rem 2.5rem;
    }
}

/* Review avatar styles */
.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

/* Review card styles */
.review-card {
    background-color: var(--apple-white);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--apple-gray-1);
    margin-bottom: 1.5rem;
}

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

.review-user {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.review-user h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--apple-gray-4);
}

.review-rating {
    color: var(--apple-blue);
    font-size: 0.9rem;
}

.review-date {
    color: var(--apple-gray-3);
    font-size: 0.85rem;
}

.review-text {
    color: var(--apple-gray-4);
    line-height: 1.5;
    margin: 0;
}

/* Reviews grid container */
.reviews-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* About Us Page Styles */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/about-hero.jpg');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--apple-white);
    margin-bottom: 3rem;
}

.about-hero .hero-content {
    max-width: 800px;
    padding: 0 2rem;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
}

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

.about-section {
    margin-bottom: 4rem;
}

.about-section h2 {
    font-size: 2rem;
    color: var(--apple-gray-4);
    margin-bottom: 2rem;
    text-align: center;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--apple-gray-3);
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    background: var(--apple-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--apple-blue);
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.25rem;
    color: var(--apple-gray-4);
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: 1rem;
    color: var(--apple-gray-3);
    margin: 0;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid var(--apple-white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.team-member h3 {
    font-size: 1.25rem;
    color: var(--apple-gray-4);
    margin-bottom: 0.25rem;
}

.team-member p {
    font-size: 1rem;
    color: var(--apple-gray-3);
    margin: 0;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--apple-white);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--apple-blue);
}

.contact-item p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--apple-gray-4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-hero {
        height: 300px;
    }

    .about-hero h1 {
        font-size: 2.5rem;
    }

    .about-hero p {
        font-size: 1.1rem;
    }

    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-member img {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .about-hero {
        height: 250px;
    }

    .about-hero h1 {
        font-size: 2rem;
    }

    .about-section h2 {
        font-size: 1.75rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }
}

/* Signup Container */
.signup-container {
    max-width: 400px;
    margin: 4rem auto;
    padding: 2.5rem;
    background-color: var(--apple-white);
    border-radius: 18px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.signup-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.signup-header h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--apple-gray-4);
}

.signup-header p {
    color: var(--apple-gray-3);
    font-size: 1rem;
}

/* Password Requirements */
.password-requirements {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background-color: var(--apple-gray-1);
    border-radius: 8px;
    font-size: 0.85rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.password-requirements.visible {
    max-height: 200px;
    opacity: 1;
    margin-top: 0.5rem;
}

.password-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.password-requirements li {
    color: var(--apple-gray-3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.password-requirements li::before {
    content: '•';
    color: var(--apple-gray-3);
}

.password-requirements li.valid {
    color: var(--apple-blue);
}

.password-requirements li.valid::before {
    content: '✓';
    color: var(--apple-blue);
}

@media (max-width: 480px) {
    .password-requirements ul {
        grid-template-columns: 1fr;
    }
}

/* Terms Checkbox */
.form-options {
    margin-top: 1.5rem;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--apple-gray-4);
    cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid var(--apple-gray-2);
    cursor: pointer;
}

.checkbox-container input[type="checkbox"]:checked {
    background-color: var(--apple-blue);
    border-color: var(--apple-blue);
}

.checkbox-container label {
    cursor: pointer;
    line-height: 1.4;
}

.checkbox-container a {
    color: var(--apple-blue);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.checkbox-container a:hover {
    opacity: 0.8;
}

/* Signup Button */
.signup-button {
    background-color: var(--apple-blue);
    color: var(--apple-white);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1.5rem;
}

.signup-button:hover {
    background-color: var(--apple-blue-hover);
    transform: translateY(-1px);
}

.signup-button i {
    transition: transform 0.3s ease;
}

.signup-button:hover i {
    transform: translateX(4px);
}

/* Signup Footer */
.signup-footer {
    text-align: center;
    margin-top: 2rem;
    color: var(--apple-gray-3);
}

.signup-footer a {
    color: var(--apple-blue);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.signup-footer a:hover {
    opacity: 0.8;
}