/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #10b981;
    --accent-color: #ef4444;
    --accent-dark: #dc2626;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
}

body.homepage {
    padding-top: 0;
}

main {
    padding-top: 80px;
}

body.homepage main {
    padding-top: 0;
}

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

/* Header */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.3s;
}

.homepage .main-header {
    background-color: transparent;
    box-shadow: none;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-link {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--accent-color);
    text-decoration: none;
    font-style: italic;
    letter-spacing: -0.5px;
    display: inline-block;
    line-height: 1;
}

.logo-image {
    height: 50px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    display: block;
}

.homepage .logo-link {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: transparent;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.homepage .icon-link {
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.icon-link:hover {
    background-color: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

.homepage .icon-link:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Remove circle background from logout/leave button - MUST come after homepage rules */
.icon-link[href="logout.php"],
a.icon-link[href="logout.php"],
.nav-menu .icon-link[href="logout.php"],
.nav-menu a.icon-link[href="logout.php"] {
    background-color: transparent !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
}

.homepage .icon-link[href="logout.php"],
.homepage a.icon-link[href="logout.php"],
.homepage .nav-menu .icon-link[href="logout.php"],
.homepage .nav-menu a.icon-link[href="logout.php"],
body.homepage .icon-link[href="logout.php"],
body.homepage a.icon-link[href="logout.php"],
body.homepage .nav-menu .icon-link[href="logout.php"],
body.homepage .nav-menu a.icon-link[href="logout.php"] {
    background-color: transparent !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
}

.icon-link[href="logout.php"]:hover,
a.icon-link[href="logout.php"]:hover,
.nav-menu .icon-link[href="logout.php"]:hover,
.nav-menu a.icon-link[href="logout.php"]:hover {
    background-color: transparent !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    transform: none !important;
}

.homepage .icon-link[href="logout.php"]:hover,
.homepage a.icon-link[href="logout.php"]:hover,
.homepage .nav-menu .icon-link[href="logout.php"]:hover,
.homepage .nav-menu a.icon-link[href="logout.php"]:hover,
body.homepage .icon-link[href="logout.php"]:hover,
body.homepage a.icon-link[href="logout.php"]:hover,
body.homepage .nav-menu .icon-link[href="logout.php"]:hover,
body.homepage .nav-menu a.icon-link[href="logout.php"]:hover {
    background-color: transparent !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    transform: none !important;
}

.icon-link svg {
    width: 20px;
    height: 20px;
}

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

.homepage .nav-menu a {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.homepage .nav-menu a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    min-width: 44px;
    min-height: 44px;
    position: relative;
    width: 28px;
    height: 19px;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
    border-radius: 3px;
    display: block;
    transform-origin: center center;
    position: absolute;
    left: 0;
}

.homepage .mobile-menu-toggle span {
    background-color: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.mobile-menu-toggle:hover span {
    background-color: var(--primary-color);
}

.homepage .mobile-menu-toggle:hover span {
    background-color: rgba(255, 255, 255, 0.9);
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 8px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 16px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    top: 8px;
    transform: rotate(45deg);
    background-color: #000000 !important;
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    top: 8px;
    transform: rotate(-45deg);
    background-color: #000000 !important;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Ensure close icon (X) is black on mobile and override homepage white */
    .mobile-menu-toggle.active span,
    .homepage .mobile-menu-toggle.active span,
    body.homepage .mobile-menu-toggle.active span {
        background-color: #000000 !important;
        box-shadow: none !important;
    }
    
    /* Hide nav menu on mobile by default, show when active */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        gap: 0;
        padding: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                    opacity 0.3s ease-in-out, 
                    transform 0.3s ease-in-out,
                    padding 0.3s ease-in-out;
        z-index: 1000;
    }
    
    .nav-menu.active {
        max-height: 500px;
        padding: 1rem 0;
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
        list-style: none;
        opacity: 0;
        transform: translateX(-10px);
        transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
        transition-delay: 0s;
    }
    
    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-menu.active li:nth-child(1) {
        transition-delay: 0.05s;
    }
    
    .nav-menu.active li:nth-child(2) {
        transition-delay: 0.1s;
    }
    
    .nav-menu.active li:nth-child(3) {
        transition-delay: 0.15s;
    }
    
    .nav-menu.active li:nth-child(4) {
        transition-delay: 0.2s;
    }
    
    .nav-menu.active li:nth-child(5) {
        transition-delay: 0.25s;
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    /* Center profile button in mobile menu */
    .nav-menu li.user-menu-item {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    
    .nav-menu li.user-menu-item .icon-link,
    .nav-menu li.user-menu-item .user-menu-dropdown,
    .nav-menu li.user-menu-item button {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 auto !important;
        width: auto !important;
    }
    
    .nav-menu li.user-menu-item .user-menu-dropdown {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    /* Force black text in mobile menu - override all other rules with maximum specificity */
    body.homepage .nav-menu a,
    body.homepage .nav-menu button,
    body.homepage .nav-menu .icon-link,
    body.homepage .nav-menu li a,
    body.homepage .nav-menu li button,
    .homepage .nav-menu a,
    .homepage .nav-menu button,
    .homepage .nav-menu .icon-link,
    .homepage .nav-menu li a,
    .nav-menu a,
    .nav-menu button,
    .nav-menu .icon-link,
    .nav-menu li a {
        display: block;
        padding: 1rem 1.5rem;
        color: #000000 !important;
        width: 100%;
        text-align: left;
        background: none;
        border: none;
        font-size: 1rem;
        cursor: pointer;
        font-family: inherit;
        text-shadow: none !important;
    }
    
    .nav-menu .icon-link {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        text-decoration: none;
    }
    
    .nav-menu a:hover,
    .nav-menu button:hover,
    .nav-menu .icon-link:hover,
    body.homepage .nav-menu a:hover,
    body.homepage .nav-menu button:hover,
    body.homepage .nav-menu .icon-link:hover {
        background-color: var(--bg-light);
        color: #000000 !important;
    }
    
    .nav-menu .icon-link svg {
        flex-shrink: 0;
        width: 20px;
        height: 20px;
    }
    
    .nav-menu .icon-link:hover {
        background-color: var(--bg-light);
        color: var(--primary-color);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background-color: #059669;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-block {
    width: 100%;
}

/* Hero Section - Full Screen */
.hero-fullscreen {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 480px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    padding-top: 120px;
    margin-bottom: 4rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    z-index: 2;
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 3rem;
}

/* Search Bar */
.search-bar-container {
    width: 100%;
    max-width: 900px;
    margin-top: 0;
}

.search-bar {
    display: flex;
    background-color: white;
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    gap: 8px;
}

.search-field {
    display: flex;
    align-items: center;
    flex: 1;
    padding: 12px 20px;
    gap: 12px;
    border-right: 1px solid var(--border-color);
}

.search-field:last-of-type {
    border-right: none;
}

.search-icon {
    color: var(--accent-color);
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    color: var(--text-color);
    background: transparent;
    min-width: 0;
}

.search-input::placeholder {
    color: var(--text-light);
}

.search-input[type="date"] {
    cursor: pointer;
}

.date-separator {
    color: var(--text-light);
    margin: 0 8px;
}

.search-button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.search-button:hover {
    background-color: var(--accent-dark);
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(239, 68, 68, 0.4);
}

/* Promotional Section */
.promo-section {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    max-width: 500px;
    margin-left: 0;
    margin-top: auto;
    align-self: flex-start;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.promo-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.promo-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.btn-promo {
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-promo:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(239, 68, 68, 0.4);
}

/* Hero Indicators */
.hero-indicators {
    display: flex;
    gap: 12px;
    margin-top: auto;
    margin-bottom: 40px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background-color: white;
    width: 32px;
    border-radius: 6px;
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Old Hero Section (for other pages) */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

/* Section Titles */
.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    margin: 2rem 0;
}

/* Featured Homes Section */
.featured-homes {
    padding: 4rem 0;
}

/* Homes Grid */
.homes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.home-card {
    background-color: var(--bg-color);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.home-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.home-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.home-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.price-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: bold;
}

.home-content {
    padding: 1.5rem;
}

.home-content h3 {
    margin-bottom: 0.5rem;
}

.home-content h3 a {
    color: var(--text-color);
    text-decoration: none;
}

.home-content h3 a:hover {
    color: var(--primary-color);
}

.home-location {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.home-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.home-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.home-features .icon {
    margin-right: 0.25rem;
}

/* Home Details Page */
.property-details-page {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    margin: 2rem 0;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.property-details-left {
    min-width: 0;
}

/* Property Header */
.property-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.property-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
}

.property-location {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
}

.map-link {
    color: var(--primary-color);
    text-decoration: none;
}

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

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-color);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.share-btn:hover {
    background-color: var(--bg-light);
    border-color: var(--primary-color);
}

/* Image Gallery */
.image-gallery {
    margin-bottom: 2rem;
}

.main-image {
    width: 100%;
    height: 500px;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.main-image img,
.main-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.thumbnail {
    width: 100%;
    height: 120px;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
    border: 2px solid transparent;
}

.thumbnail:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.thumbnail img,
.thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.show-all-photos {
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.show-all-photos:hover {
    background-color: var(--bg-light);
    border-color: var(--primary-color);
}

/* Property Info */
.property-info-section {
    margin-bottom: 1.5rem;
}

.property-capacity {
    font-size: 1rem;
    color: var(--text-color);
    margin: 0;
}

/* Description */
.property-description {
    margin-bottom: 2rem;
}

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

.show-more-btn {
    background-color: transparent;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: underline;
    padding: 0;
}

.show-more-btn:hover {
    color: var(--primary-dark);
}

/* Info Boxes */
.info-box {
    background-color: var(--bg-light);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-box-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 1rem 0;
}

.info-box-content {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-box-content p {
    margin: 0.5rem 0;
}

/* Amenities Section */
.amenities-section {
    margin: 3rem 0;
}

.section-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 1.5rem 0;
}

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

.amenity-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-color);
}

.amenity-icon {
    color: var(--success-color);
    font-weight: bold;
    font-size: 0.9rem;
}

/* Calendar Section */
.calendar-section {
    margin: 3rem 0;
}

.calendar-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 500px;
}

.calendar-month {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.75rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-color);
}

.calendar-arrow {
    color: var(--text-light);
    cursor: pointer;
}

.calendar-grid {
    width: 100%;
}

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

.calendar-weekday {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-light);
    padding: 0.2rem 0;
}

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

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    padding: 0.2rem;
    cursor: pointer;
    transition: all 0.3s;
    background-color: white;
    position: relative;
    min-height: 40px;
}

.calendar-day:hover:not(.other-month) {
    background-color: #000000;
    border-color: #000000;
    color: white;
}

.calendar-day:hover:not(.other-month) .calendar-price {
    color: rgba(255, 255, 255, 0.9);
}

.calendar-day:hover:not(.other-month) .calendar-date {
    color: white;
}

.calendar-day.other-month {
    color: var(--text-light);
    background-color: var(--bg-light);
    cursor: default;
    pointer-events: none;
}

.calendar-day.unavailable {
    background-color: #fee2e2;
    border-color: #fca5a5;
    cursor: not-allowed;
    opacity: 0.7;
}

.calendar-day.unavailable:hover {
    background-color: #fee2e2;
}

.calendar-day.unavailable.unavailable-checkout {
    background: linear-gradient(135deg, #fee2e2 0%, #fee2e2 50%, #86efac 50%, #86efac 100%) !important;
    background-color: #fee2e2 !important;
    border-color: #fca5a5;
    cursor: pointer;
    opacity: 1;
    position: relative;
}

.calendar-day.unavailable.unavailable-checkout > * {
    position: relative;
    z-index: 1;
}

.calendar-day.unavailable.unavailable-checkout:hover {
    background: linear-gradient(135deg, #fee2e2 0%, #fee2e2 50%, #86efac 50%, #86efac 100%) !important;
    border-color: var(--primary-color);
}

.calendar-unavailable {
    font-size: 0.65rem;
    color: #dc2626;
    font-weight: 600;
    text-transform: uppercase;
}

.calendar-day.past-date {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.calendar-day.check-in {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    font-weight: 600;
}

.calendar-day.check-in:hover {
    background-color: #000000;
    border-color: #000000;
    color: white;
}

.calendar-day.check-out {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    font-weight: 600;
}

.calendar-day.check-out:hover {
    background-color: #000000;
    border-color: #000000;
    color: white;
}

/* Ensure unavailable-checkout takes precedence over check-in/check-out when applicable */
.calendar-day.unavailable.unavailable-checkout.check-in,
.calendar-day.unavailable.unavailable-checkout.check-out {
    background: linear-gradient(135deg, #fee2e2 0%, #fee2e2 50%, #86efac 50%, #86efac 100%) !important;
}

.calendar-day.selected {
    background-color: rgba(239, 68, 68, 0.1);
    border-color: var(--accent-color);
}

.calendar-day.selected:hover {
    background-color: #000000;
    border-color: #000000;
    color: white;
}

.calendar-date {
    font-size: 0.7rem;
    font-weight: 500;
    margin-bottom: 0.1rem;
    line-height: 1;
}

.calendar-price {
    font-size: 0.6rem;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1;
}

.calendar-day.check-in .calendar-price,
.calendar-day.check-out .calendar-price {
    color: rgba(255, 255, 255, 0.9);
}

.calendar-day.selected .calendar-price {
    color: var(--accent-color);
}

/* Extra Services Page */
.services-banner {
    background-color: #d81b60;
    color: white;
    padding: 2rem 0;
    margin-bottom: 3rem;
}

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

.banner-logo {
    flex-shrink: 0;
}

.logo-link-banner {
    font-size: 1.75rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    font-style: italic;
    letter-spacing: -0.5px;
}

.banner-text {
    flex: 1;
}

.banner-subtitle {
    font-size: 1rem;
    margin: 0;
    opacity: 0.95;
    line-height: 1.5;
}

.services-page {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    margin-bottom: 3rem;
}

.services-content {
    min-width: 0;
}

.services-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.tab-button {
    background-color: transparent;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s;
}

.tab-button.active {
    color: var(--text-color);
    border-bottom-color: var(--accent-color);
}

.tab-button:hover {
    color: var(--text-color);
}

.services-section {
    margin-bottom: 3rem;
}

.services-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #d81b60;
    display: inline-block;
}

.services-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 2rem;
}

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

.service-card {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 0 0 1rem 0;
}

.service-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.read-more-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
    display: inline-block;
    margin-top: 0.5rem;
}

.read-more-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.service-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.5rem;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-color);
    background-color: white;
    border-radius: 0.25rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    line-height: 1;
}

.qty-btn:hover:not(:disabled) {
    background-color: var(--bg-light);
    border-color: var(--primary-color);
}

.qty-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.qty-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    min-width: 30px;
    text-align: center;
}

.btn-add-service {
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-add-service:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(239, 68, 68, 0.4);
}

.reservation-summary-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.reservation-info {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.reservation-dates-display {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.reservation-location-display {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.reservation-duration-display {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Reservation Summary */
.reservation-summary {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.reservation-card-summary {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.reservation-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 1.5rem 0;
}

.reservation-field {
    margin-bottom: 1.5rem;
}

.reservation-field label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.date-display {
    padding: 0.75rem;
    background-color: var(--bg-light);
    border-radius: 0.5rem;
    color: var(--text-color);
    font-size: 1rem;
}

.guest-selector {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.3s;
}

.guest-selector:hover {
    border-color: var(--primary-color);
    background-color: white;
}

.guest-selector svg {
    color: var(--text-light);
}

.price-details {
    margin: 2rem 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.price-details-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 1rem 0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-color);
}

.price-row.discount {
    color: var(--success-color);
}

.price-row.total-row {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.price-row.service-row {
    position: relative;
}

.price-row.service-row span:first-child {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.service-name-text {
    display: inline-block;
}

.remove-service-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #dc2626;
    border-radius: 4px;
    transition: all 0.2s;
    opacity: 0.7;
    font-size: 0.85rem;
    font-weight: 500;
    margin-left: 0.5rem;
}

@media (max-width: 768px) {
    .price-row.service-row span:first-child {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .service-name-text {
        display: inline;
    }
    
    .remove-service-btn {
        margin-left: 0.25rem;
        padding: 0.2rem 0.4rem;
        font-size: 0.8rem;
        order: 1;
    }
}

.remove-service-btn:hover {
    background: #fee2e2;
    opacity: 1;
}

.remove-service-btn svg {
    display: block;
}

.total-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
}

.btn-reserve {
    display: block;
    width: 100%;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1.5rem;
    text-align: center;
    text-decoration: none;
}

.btn-reserve:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(239, 68, 68, 0.4);
}

/* Reservation Form */
.reservation-form-container {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.reservation-card {
    background-color: var(--bg-color);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.price-section {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
}

.price-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

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

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

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.price-summary {
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: var(--bg-light);
    border-radius: 0.5rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.price-row.total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

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

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

/* Search Section */
.search-section {
    margin: 2rem 0;
}

.search-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
}

/* Search Results Page */
.search-results-page {
    padding: 2rem 0;
    background-color: var(--bg-light);
}

.search-bar-top {
    background-color: var(--bg-color);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    width: 100%;
    overflow: visible;
}

.search-bar-inline {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    width: 100%;
    flex-wrap: nowrap;
}

.search-bar-inline .search-field {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    background-color: var(--bg-light);
    flex: 1;
    min-width: 0;
}

.search-bar-inline .search-icon {
    color: var(--accent-color);
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.search-bar-inline .search-field:first-child {
    flex: 0 0 200px;
    min-width: 150px;
}

.search-bar-inline .search-field:last-of-type {
    flex: 1 1 auto;
    min-width: 300px;
}

.search-input-static {
    flex: 1;
    padding: 0;
    color: var(--text-color);
    font-size: 1rem;
    border: none;
    background: transparent;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-bar-inline .search-input {
    flex: 1;
    padding: 0;
    border: none;
    outline: none;
    font-size: 1rem;
    color: var(--text-color);
    background: transparent;
    min-width: 0;
}

.search-bar-inline .search-input::placeholder {
    color: var(--text-light);
}

.search-bar-inline .date-separator {
    color: var(--text-light);
    margin: 0 0.5rem;
    flex-shrink: 0;
}

.search-button-inline {
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 0.5rem;
    padding: 0.875rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

.search-button-inline:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(239, 68, 68, 0.4);
}

.results-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.map-view-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.map-view-btn:hover {
    background-color: var(--bg-light);
    border-color: var(--primary-color);
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-options label {
    font-weight: 500;
    color: var(--text-color);
}

.sort-select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 0.9rem;
    background-color: var(--bg-color);
    color: var(--text-color);
    cursor: pointer;
}

.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.result-card {
    display: flex;
    background-color: var(--bg-color);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.result-image {
    width: 500px;
    min-width: 500px;
    height: 350px;
    overflow: hidden;
    flex-shrink: 0;
}

.result-image img,
.result-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

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

.result-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #8b1a1a;
    margin: 0;
    line-height: 1.2;
}

.result-location {
    color: #6b7280;
    margin: 0;
    font-size: 0.95rem;
}

.result-amenities {
    display: flex;
    gap: 1rem;
    margin: 0.5rem 0;
}

.amenity-icon {
    font-size: 1.5rem;
    opacity: 0.6;
    filter: grayscale(100%);
}

.result-details {
    margin: 0;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
}

.detail-item svg {
    color: #6b7280;
    width: 16px;
    height: 16px;
}

.result-pricing-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    min-width: 200px;
}

.result-pricing {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
    text-align: right;
}

.pricing-top {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-end;
}

.nights {
    font-size: 0.85rem;
    color: #6b7280;
}

.total-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

.price-breakdown {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    font-size: 1rem;
    justify-content: flex-end;
}

.result-pricing .price-label {
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 600;
}

.original-price {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 1rem;
}

.result-pricing .current-price {
    font-weight: 700;
    color: var(--accent-color, #dc2626);
    font-size: 1.35rem;
}

.result-pricing .display-price-strike {
    text-decoration: line-through;
}

.btn-details {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 0.875rem 2.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.btn-details:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(239, 68, 68, 0.4);
}

/* Confirmation Page */
.confirmation-page {
    text-align: center;
    max-width: 600px;
    margin: 3rem auto;
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    background-color: var(--success-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 2rem;
}

.confirmation-message {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.reservation-details-card {
    background-color: var(--bg-color);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: left;
    margin: 2rem 0;
}

.reservation-details-card h2 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 500;
    color: var(--text-light);
}

.detail-value {
    color: var(--text-color);
    font-weight: 500;
}

.total-price {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.status-pending {
    color: var(--warning-color);
}

.status-confirmed {
    color: var(--success-color);
}

.status-cancelled {
    color: var(--error-color);
}

.confirmation-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Reservations List */
.search-reservations {
    margin: 2rem 0;
}

.reservations-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.reservation-card-item {
    background-color: var(--bg-color);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: var(--shadow);
}

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

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.reservation-body {
    color: var(--text-light);
}

.reservation-location {
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--text-color);
}

.reservation-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

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

/* Contact Page */
.contact-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.contact-form-container {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
}

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

/* Footer */
.main-footer {
    background-color: var(--text-color);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.info-message {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-color);
    border-radius: 0.75rem;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Container adjustments */
    .container {
        padding: 0 15px;
    }
    
    /* Header and Navigation */
    .navbar {
        padding: 0.75rem 0;
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        flex: 1;
    }
    
    .logo-image {
        height: 40px;
        max-width: 200px;
    }
    
    .mobile-menu-toggle {
        order: 2;
        margin-left: auto;
    }
    
    .nav-menu {
        order: 3;
    }
    
    /* Ensure touch targets are at least 44x44px */
    .mobile-menu-toggle,
    .icon-link,
    .btn,
    .search-button,
    .btn-details,
    .btn-reserve,
    .btn-login-submit {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Hero Section */
    .hero-fullscreen {
        min-height: 80vh;
        height: 80vh;
        padding: 100px 0 40px;
    }
    
    .hero-content-wrapper {
        gap: 2rem;
        padding: 0 15px;
    }
    
    .search-bar-container {
        margin-top: 20px;
        width: 100%;
    }
    
    .search-bar {
        flex-direction: column;
        border-radius: 20px;
        padding: 16px;
        gap: 12px;
    }
    
    .search-field {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 16px;
        width: 100%;
    }
    
    .search-field:last-of-type {
        border-bottom: none;
    }
    
    .date-separator {
        display: none;
    }
    
    .search-field.date-field {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .search-field.date-field input {
        width: 100%;
    }
    
    .search-button {
        width: 100%;
        margin-top: 8px;
        padding: 16px;
    }
    
    .promo-section {
        max-width: 100%;
        margin: 2rem 0;
        padding: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    /* Homes Grid */
    .homes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .home-card {
        margin-bottom: 0;
    }
    
    .home-image {
        height: 250px;
    }
    
    /* Property Details Page */
    .property-details-page {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 15px;
    }
    
    .property-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .property-title {
        font-size: 1.5rem;
    }
    
    .main-image {
        height: 300px;
    }
    
    .thumbnail-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .thumbnail {
        height: 100px;
    }
    
    .amenities-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem;
    }
    
    .amenity-item {
        font-size: 0.75rem;
        gap: 0.5rem;
    }
    
    .amenity-icon {
        font-size: 0.85rem;
    }
    
    .calendar-container {
        max-width: 100%;
    }
    
    .reservation-summary,
    .reservation-summary-sidebar,
    .reservation-form-container {
        position: static;
        order: -1;
        margin-bottom: 2rem;
    }
    
    /* Services Page */
    .services-page {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 15px;
    }
    
    .services-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .tab-button {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .service-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Checkout Page */
    .checkout-page {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 15px;
    }
    
    .checkout-sidebar {
        position: static;
        order: -1;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Contact Page */
    .contact-page {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 15px;
    }
    
    /* Search Results */
    .search-bar-top {
        padding: 1rem;
    }
    
    .search-bar-inline {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-bar-inline .search-field {
        width: 100%;
        flex: 1 1 100% !important;
        min-width: 100% !important;
    }
    
    .search-bar-inline .search-field:last-of-type {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .search-button-inline {
        width: 100%;
    }
    
    .results-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .result-card {
        flex-direction: column;
    }
    
    .result-image {
        width: 100%;
        min-width: 100%;
        height: 250px;
    }
    
    .result-content {
        padding: 1.5rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .result-pricing-section {
        width: 100%;
        align-items: flex-start;
    }
    
    .result-pricing {
        text-align: left;
    }
    
    .pricing-top {
        align-items: flex-start;
    }
    
    .btn-details {
        width: 100%;
    }
    
    /* Reservations List */
    .reservations-list {
        gap: 1rem;
    }
    
    .reservation-card-item {
        padding: 1.5rem;
    }
    
    .reservation-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .reservation-details {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .main-footer {
        padding: 2rem 0 1rem;
    }
    
    /* Modals */
    .modal-overlay {
        padding: 1rem;
        align-items: flex-start;
        padding-top: 2rem;
    }
    
    .login-modal-content {
        width: 95%;
        max-width: 400px;
        margin: 0 auto;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .cancellation-policy-modal-content {
        width: 95%;
        max-width: 600px;
        margin: 0 auto;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .login-modal-content .modal-body {
        padding: 1.5rem;
    }
    
    .cancellation-policy-modal-content .modal-body {
        padding: 1.5rem 2rem;
        background-color: white;
    }
    
    .cancellation-policy-text-content h3 {
        font-size: 1.1rem;
    }
    
    .cancellation-policy-text-content p,
    .cancellation-policy-text-content li {
        font-size: 0.9rem;
    }
    
    .login-modal-footer {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
    
    /* Forms */
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Buttons */
    .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .confirmation-actions {
        flex-direction: column;
    }
    
    .confirmation-actions .btn {
        width: 100%;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 1.5rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    /* Banner */
    .services-banner {
        padding: 1.5rem 0;
    }
    
    .banner-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* Price Badge */
    .price-badge {
        font-size: 0.875rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Checkout Page */
.checkout-page {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    margin: 2rem 0;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.checkout-content {
    min-width: 0;
}

.checkout-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 2rem 0;
}

.checkout-steps {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.checkout-step {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.checkout-step.active {
    color: var(--text-color);
    font-weight: 600;
}

.step-label {
    font-size: 1rem;
}

.step-edit {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.step-edit:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.checkout-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 1.5rem 0;
}

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

.account-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #374151;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.banner-text {
    font-size: 0.95rem;
    color: white;
}

.btn-login {
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-login:hover {
    background-color: var(--accent-dark);
}

.account-create-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.account-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
}

.account-description {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0 0 1.5rem 0;
    line-height: 1.5;
}

.account-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0.5rem 0 0 0;
}

.btn-continue {
    width: 100%;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1.5rem;
}

.btn-continue:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(239, 68, 68, 0.4);
}

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

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

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.phone-input-group {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    background-color: white;
    transition: border-color 0.3s, box-shadow 0.3s;
    min-height: 48px;
    position: relative;
}

.phone-input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.country-code-static {
    flex-shrink: 0;
    padding: 0.75rem;
    border: none;
    border-right: 1px solid var(--border-color);
    font-size: 1rem;
    background-color: white;
    color: var(--text-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    min-width: 100px;
    user-select: none;
}

.phone-separator {
    width: 1px;
    background-color: var(--border-color);
    flex-shrink: 0;
    margin: 0.5rem 0;
}

.phone-input {
    flex: 1;
    border: none;
    padding: 0.75rem;
    font-size: 1rem;
    background-color: transparent;
    width: 100%;
    min-width: 0;
    outline: none;
    color: var(--text-color);
    font-family: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: text;
    pointer-events: auto;
    z-index: 1;
    position: relative;
}

.phone-input::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

.phone-input:focus {
    outline: none;
}

.phone-input:disabled,
.phone-input[readonly] {
    background-color: transparent;
    cursor: text;
    pointer-events: auto;
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.promo-code-section {
    margin-bottom: 2rem;
}

.promo-input-group {
    display: flex;
    gap: 0.75rem;
}

.promo-input-group .form-control {
    flex: 1;
}

.btn-apply-promo {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-apply-promo:hover {
    background-color: var(--bg-light);
    border-color: var(--primary-color);
}

.payment-method {
    margin-bottom: 2rem;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-option:hover {
    background-color: var(--bg-light);
}

.payment-option input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.payment-option span {
    font-size: 1rem;
    color: var(--text-color);
}

.cancellation-policy-text {
    background-color: var(--bg-light);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.cancellation-policy-text h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 1rem 0;
}

.cancellation-policy-text p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0.5rem 0;
}

.terms-checkbox {
    margin-bottom: 2rem;
}

.terms-checkbox label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-color);
}

.terms-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.btn-confirm-reservation {
    width: 100%;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-confirm-reservation:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(239, 68, 68, 0.4);
}

.checkout-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.property-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
}

.cancellation-policy-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 2rem;
    transition: color 0.3s;
}

.cancellation-policy-link:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

.reservation-details-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.details-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 1.5rem 0;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.detail-label-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-icon {
    width: 16px;
    height: 16px;
    color: var(--text-light);
    flex-shrink: 0;
}

.detail-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 0.95rem;
    color: var(--text-color);
    text-align: right;
    font-weight: 500;
}

@media (max-width: 968px) {
    .checkout-page {
        grid-template-columns: 1fr;
    }
    
    .checkout-sidebar {
        position: static;
        order: -1;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .reservation-form-container {
        position: static;
    }
    
    .contact-page {
        grid-template-columns: 1fr;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .confirmation-actions {
        flex-direction: column;
    }
    
    .reservation-details {
        grid-template-columns: 1fr;
    }
    
    /* Search Results Mobile */
    .search-bar-inline {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-bar-inline .search-field {
        width: 100%;
        flex: 1 1 100% !important;
        min-width: 100% !important;
    }
    
    .search-bar-inline .search-field:last-of-type {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .search-bar-inline .date-separator {
        display: none;
    }
    
    .search-button-inline {
        width: 100%;
    }
    
    .results-options {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .result-card {
        flex-direction: column;
    }
    
    .result-image {
        width: 100%;
        min-width: 100%;
        height: 250px;
    }
    
    .result-content {
        padding: 1.5rem;
    }
    
    /* Hero Fullscreen Mobile */
    .hero-fullscreen {
        min-height: 80vh;
        height: 80vh;
        padding: 100px 0 40px;
    }
    
    .search-bar {
        flex-direction: column;
        border-radius: 20px;
        padding: 16px;
    }
    
    .search-field {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 16px;
    }
    
    .search-field:last-of-type {
        border-bottom: none;
    }
    
    .date-separator {
        display: none;
    }
    
    .search-field.date-field {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .search-field.date-field input {
        width: 100%;
    }
    
    .search-button {
        width: 100%;
        margin-top: 8px;
    }
    
    .promo-section {
        max-width: 100%;
        margin: 2rem 0;
        padding: 2rem;
    }
    
    .hero-content-wrapper {
        gap: 2rem;
    }
    
    .search-bar-container {
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    /* Extra small devices */
    .container {
        padding: 0 12px;
    }
    
    .hero-fullscreen {
        padding: 80px 0 30px;
    }
    
    .search-bar {
        padding: 12px;
    }
    
    .search-field {
        padding: 12px;
    }
    
    .promo-section {
        padding: 1.5rem;
    }
    
    .promo-title {
        font-size: 1.5rem;
    }
    
    .property-title {
        font-size: 1.25rem;
    }
    
    .main-image {
        height: 250px;
    }
    
    .thumbnail {
        height: 80px;
    }
    
    .home-image {
        height: 200px;
    }
    
    .result-image {
        height: 200px;
    }
    
    .admin-login-box {
        padding: 2rem 1.5rem;
    }
    
    .admin-login-box h1 {
        font-size: 1.5rem;
    }
    
    .modal-content {
        padding: 1.25rem;
        width: 95%;
    }
    
    .modal-title {
        font-size: 1.25rem;
    }
    
    .guest-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .guest-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .stat-content h3 {
        font-size: 1.5rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .amenities-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem;
    }
    
    .amenity-item {
        font-size: 0.7rem;
        gap: 0.4rem;
    }
    
    .amenity-icon {
        font-size: 0.8rem;
    }
}

/* Guest Selection Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

/* Login Modal */
.login-modal-content {
    background-color: white;
    border-radius: 1rem;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
    overflow: hidden;
}

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

.modal-header .modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-light);
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--text-color);
}

.login-modal-content .modal-body {
    padding: 2rem;
}

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

.login-modal-content .form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.login-modal-content .form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.login-modal-content .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-login-submit {
    width: 100%;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}

.btn-login-submit:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(239, 68, 68, 0.4);
}

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

.login-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.login-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Cancellation Policy Modal */
.cancellation-policy-modal-content {
    background-color: white;
    border-radius: 1rem;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
    overflow: hidden;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.cancellation-policy-modal-content .modal-body {
    padding: 2rem 3rem;
    overflow-y: auto;
    background-color: white;
}

.cancellation-policy-text-content {
    color: var(--text-color);
    line-height: 1.8;
}

.cancellation-policy-text-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 1.5rem 0;
}

.cancellation-policy-text-content p {
    margin: 0 0 1.25rem 0;
    font-size: 1rem;
}

.cancellation-policy-text-content ul {
    margin: 1.25rem 0;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.cancellation-policy-text-content li {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
}

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

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

.modal-content .form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.modal-content .form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 1.5rem 0;
    text-align: center;
}

.guest-selection {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.guest-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.guest-row:last-child {
    border-bottom: none;
}

.guest-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.guest-subtitle {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: normal;
}

.info-icon {
    width: 16px;
    height: 16px;
    color: var(--text-light);
    cursor: help;
}

.guest-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.guest-btn {
    width: 36px;
    height: 36px;
    border: 2px solid var(--border-color);
    background-color: white;
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    line-height: 1;
}

.guest-btn:hover:not(:disabled) {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background-color: rgba(239, 68, 68, 0.1);
}

.guest-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.guest-count {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    min-width: 30px;
    text-align: center;
}

.btn-calculate {
    width: 100%;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-calculate:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(239, 68, 68, 0.4);
}

@media (max-width: 480px) {
    .modal-content {
        padding: 1.5rem;
        width: 95%;
    }
    
    .modal-title {
        font-size: 1.25rem;
    }
    
    .guest-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .guest-controls {
        width: 100%;
        justify-content: space-between;
    }
}

/* Final override for logout button - remove all circle effects */
a.icon-link[href="logout.php"],
a.icon-link[href="logout.php"]:hover,
a.icon-link[href="logout.php"]:focus,
a.icon-link[href="logout.php"]:active,
.homepage a.icon-link[href="logout.php"],
.homepage a.icon-link[href="logout.php"]:hover,
.homepage a.icon-link[href="logout.php"]:focus,
.homepage a.icon-link[href="logout.php"]:active,
body.homepage a.icon-link[href="logout.php"],
body.homepage a.icon-link[href="logout.php"]:hover,
body.homepage a.icon-link[href="logout.php"]:focus,
body.homepage a.icon-link[href="logout.php"]:active,
.nav-menu a.icon-link[href="logout.php"],
.nav-menu a.icon-link[href="logout.php"]:hover,
.nav-menu a.icon-link[href="logout.php"]:focus,
.nav-menu a.icon-link[href="logout.php"]:active,
.homepage .nav-menu a.icon-link[href="logout.php"],
.homepage .nav-menu a.icon-link[href="logout.php"]:hover,
.homepage .nav-menu a.icon-link[href="logout.php"]:focus,
.homepage .nav-menu a.icon-link[href="logout.php"]:active,
.main-header a.icon-link[href="logout.php"],
.main-header a.icon-link[href="logout.php"]:hover,
.main-header a.icon-link[href="logout.php"]:focus,
.main-header a.icon-link[href="logout.php"]:active,
.navbar a.icon-link[href="logout.php"],
.navbar a.icon-link[href="logout.php"]:hover,
.navbar a.icon-link[href="logout.php"]:focus,
.navbar a.icon-link[href="logout.php"]:active {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    width: auto !important;
    height: auto !important;
    min-width: auto !important;
    min-height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: none !important;
    isolation: isolate !important;
    position: relative !important;
    z-index: 1 !important;
}
