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

body {
    font-family: 'Open Sans', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

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

.main-header .container {
    max-width: 100%;
    padding: 0 30px;
}

/* Top Contact Bar */
.top-bar {
    background-color: #1a1a1a;
    color: #fff;
    padding: 12px 0;
}

.top-bar .container {
    max-width: 100%;
    padding: 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 30px 0 100px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 35px;
}

.top-social-icons {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-contact {
    color: #fff;
    font-size: 13px;
    background-color: transparent;
    border: 1px solid #fff;
    padding: 6px 14px;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s;
}

a.top-contact:hover {
    background-color: #ff6b35;
    border-color: #ff6b35;
}

.resident-login-btn {
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    border-radius: 20px;
}

.resident-login-btn:hover {
    background-color: #ff6b35;
    border-color: #ff6b35;
}

.top-social {
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    width: 28px;
    height: 28px;
}

.top-social:hover {
    opacity: 0.7;
}

.top-social svg {
    width: 28px;
    height: 28px;
}

/* Header & Navigation */
.main-header {
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    position: relative;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    cursor: pointer;
}

.brand:hover {
    text-decoration: none !important;
}

.brand .site-title {
    text-decoration: none !important;
}

.header-logo {
    height: 55px;
    width: auto;
}

.site-title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    margin-left: auto;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #ff6b35;
}

.nav-bell {
    display: inline-block;
    font-size: 14px;
    margin-left: 2px;
    animation: bellShake 2s ease-in-out infinite;
    transform-origin: top center;
}

@keyframes bellShake {
    0%, 100% { transform: rotate(0); }
    5% { transform: rotate(15deg); }
    10% { transform: rotate(-12deg); }
    15% { transform: rotate(9deg); }
    20% { transform: rotate(-6deg); }
    25% { transform: rotate(3deg); }
    30% { transform: rotate(0); }
}

/* Remove old logo styles */
.logo {
    display: none;
}


.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #2c2c2c;
}

/* Hero Section */
.hero {
    position: relative;
    width: 70%;
    max-width: 1050px;
    margin: 30px auto;
    overflow: hidden;
    border: 6px solid #1a1a1a;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3), 0 4px 10px rgba(0,0,0,0.2);
}

.hero-image {
    width: 100%;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Availability Alert Badge */
.availability-alert {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b35 0%, #e85a2a 100%);
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 12px rgba(255, 107, 53, 0.4), 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 10;
    animation: pulse-glow 2s ease-in-out infinite;
}

.availability-alert:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(255, 107, 53, 0.5), 0 3px 8px rgba(0,0,0,0.3);
}

.alert-icon {
    font-size: 15px;
    animation: ring 1.5s ease-in-out infinite;
}

.alert-text {
    white-space: nowrap;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4), 0 2px 6px rgba(0,0,0,0.2); }
    50% { box-shadow: 0 4px 25px rgba(255, 107, 53, 0.6), 0 2px 10px rgba(0,0,0,0.3); }
}

@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-10deg); }
    30% { transform: rotate(10deg); }
    40% { transform: rotate(-5deg); }
    50%, 100% { transform: rotate(0deg); }
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    width: 100%;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.hero-content .address {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-content .hero-tagline {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-top: 10px;
}

/* Specials Banner */
.specials-banner {
    background-color: #ff6b35;
    padding: 15px 0;
    text-align: center;
}

.specials-link {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    transition: opacity 0.3s;
}

.specials-link:hover {
    opacity: 0.9;
}

/* Welcome Section */
.welcome-section {
    padding: 30px 0 60px;
    background-color: #f9f9f9;
    text-align: center;
}

.section-title {
    color: #ff6b35;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.property-name {
    font-size: 36px;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 15px;
}

.welcome-section .address {
    font-size: 18px;
    font-weight: 300;
    color: #555;
    letter-spacing: 0.5px;
    font-style: italic;
    margin-bottom: 10px;
}

.welcome-section .hero-tagline {
    font-size: 20px;
    font-weight: 400;
    color: #ff6b35;
    letter-spacing: 0.5px;
    margin-bottom: 30px;
}

.welcome-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* Vacancies Section */
.vacancies-section {
    padding: 60px 0;
}

.section-title-dark {
    font-size: 36px;
    font-weight: 700;
    color: #2c2c2c;
    text-align: center;
    margin-bottom: 40px;
}

/* Filters Bar */
.filters-bar {
    background-color: #2c2c2c;
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.filter-group select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    cursor: pointer;
}

.filter-btn {
    padding: 8px 25px;
    background-color: #ff6b35;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-left: auto;
}

.filter-btn:hover {
    background-color: #e55a28;
}

/* Results Count */
.results-count {
    background-color: #f5f5f5;
    padding: 15px 20px;
    margin-bottom: 30px;
}

.results-count p {
    color: #555;
    font-size: 14px;
}

/* Vacancy Grid */
.vacancy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.vacancy-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s;
    cursor: pointer;
}

a.vacancy-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.vacancy-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.vacancy-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

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

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

.vacancy-info {
    padding: 20px;
}

.vacancy-info h4 {
    font-size: 20px;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 10px;
}

.vacancy-details {
    color: #777;
    font-size: 14px;
    margin-bottom: 10px;
}

.vacancy-price {
    font-size: 24px;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 15px;
}

.view-details-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #2c2c2c;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.view-details-btn:hover {
    background-color: #ff6b35;
}

/* Specials Footer Banner */
.specials-footer-banner {
    background-color: #ff6b35;
    padding: 15px;
    text-align: center;
    margin-top: 30px;
}

.specials-footer-banner a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Site Footer */
.site-footer {
    background-color: #2c2c2c;
    color: #fff;
    padding: 60px 0 0;
}

.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #444;
}

.site-footer .footer-col h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.site-footer .footer-col p {
    font-size: 14px;
    line-height: 1.8;
    color: #b0b0b0;
    margin-bottom: 5px;
}

.site-footer .footer-col a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s;
}

.site-footer .footer-col a:hover {
    color: #ff6b35;
}

.site-footer .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer .footer-col ul li {
    margin-bottom: 12px;
}

.site-footer .footer-col ul li a {
    font-size: 14px;
    color: #b0b0b0;
}

.footer-apply-link {
    display: inline-block;
    margin-top: 15px;
    color: #ff6b35 !important;
    font-weight: 600;
    font-size: 14px;
}

.footer-apply-link:hover {
    color: #ff8c5a !important;
}

.site-footer .footer-bottom {
    text-align: center;
    padding: 25px 0;
}

.site-footer .footer-bottom p {
    font-size: 13px;
    color: #777;
    margin: 0;
}

/* Contact Page */
.contact-page {
    padding: 40px 0;
}

.contact-intro {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    text-align: center;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
}

.contact-card h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.contact-card a,
.contact-card p {
    font-size: 14px;
    color: #666;
    text-decoration: none;
}

.contact-card a:hover {
    color: #ff6b35;
}

@media (max-width: 768px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

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

/* Medium screens - reduce nav spacing */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 15px;
    }

    .nav-menu a {
        font-size: 14px;
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .navbar {
        flex-wrap: wrap;
    }

    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        margin-top: 15px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        border-top: 1px solid #eee;
        padding: 12px 0;
    }

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

    /* Clean up resident login on mobile - icon style */
    .resident-login a {
        padding: 8px 12px;
        font-size: 11px;
        border-width: 1px;
    }

    .header-logo {
        height: 35px;
    }

    .logo h1 {
        font-size: 18px;
    }

    /* Title and hamburger on same line */
    .brand {
        flex: 1;
        gap: 8px;
    }

    .site-title {
        font-size: 16px;
        letter-spacing: 0.5px;
        white-space: nowrap;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .availability-alert {
        top: 8px;
        right: 8px;
        padding: 7px 12px;
        font-size: 10px;
        gap: 7px;
    }

    .alert-icon {
        font-size: 12px;
    }

    .hero-content .address {
        font-size: 16px;
    }

    .filters-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-btn {
        margin-left: 0;
    }

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

@media (max-width: 640px) {
    /* TOP BAR - Icon-only buttons on mobile */
    .top-bar {
        padding: 10px 0;
    }

    .top-bar .container {
        padding: 0 10px;
    }

    .top-bar-content {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 8px;
        padding: 0;
    }

    .top-bar-left,
    .top-bar-right {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    /* Icon-only circular buttons for phone/email */
    .top-contact {
        width: 40px;
        height: 40px;
        padding: 0 0 0 11px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        border: 1px solid rgba(255,255,255,0.4);
        background: rgba(255,255,255,0.1);
        overflow: hidden;
        white-space: nowrap;
        font-size: 16px;
        box-sizing: border-box;
    }

    /* Resident login - compact button */
    .resident-login-btn {
        padding: 8px 12px;
        font-size: 10px;
        letter-spacing: 0;
        border-radius: 20px;
    }

    /* Social icons - ensure both visible */
    .top-social-icons {
        display: flex;
        gap: 8px;
    }

    .top-social {
        width: 36px;
        height: 36px;
        background: rgba(255,255,255,0.1);
        border-radius: 50%;
        border: 1px solid rgba(255,255,255,0.4);
    }

    .top-social svg {
        width: 20px;
        height: 20px;
    }

    /* HERO - Keep border frame on mobile */
    .hero {
        width: 92%;
        max-width: 100%;
        margin: 15px auto;
        border: 4px solid #1a1a1a;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }

    .hero-image img {
        width: 100%;
        height: auto;
        display: block;
    }

    .welcome-section {
        padding: 0 0 40px;
    }

    .welcome-section .section-title {
        padding-top: 15px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content .address {
        font-size: 14px;
    }

    .property-name {
        font-size: 28px;
    }

    .section-title-dark {
        font-size: 28px;
    }

    /* HEADER - Title and hamburger on one line */
    .navbar {
        flex-wrap: nowrap;
        padding: 6px 0;
    }

    .brand {
        flex: 1;
        gap: 6px;
        min-width: 0;
    }

    .header-logo {
        height: 28px;
        flex-shrink: 0;
    }

    .site-title {
        font-size: 13px;
        letter-spacing: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-menu-toggle {
        flex-shrink: 0;
        font-size: 24px;
        padding: 4px;
    }
}

/* Featured Photos Carousel */
.featured-photos-section {
    padding: 40px 0 20px;
    background-color: #fff;
}

/* Yelp Reviews Section */
.yelp-reviews-section {
    padding: 50px 0 60px;
    background-color: #fff;
}

.yelp-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.yelp-review-item {
    min-height: 250px;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.yelp-cta {
    text-align: center;
    margin-top: 30px;
}

.yelp-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #d32323;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.yelp-button:hover {
    background-color: #b61f1f;
}

@media (max-width: 900px) {
    .yelp-reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* Google Map Section */
.google-map-section {
    padding: 40px 0 60px;
    background-color: #f9f9f9;
}

.map-container {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.map-container iframe {
    display: block;
}

/* Nearby Section */
.nearby-section {
    margin-top: 40px;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.nearby-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
    text-align: center;
}

.nearby-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.nearby-category h4 {
    font-size: 16px;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nearby-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nearby-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.nearby-list li:last-child {
    border-bottom: none;
}

.nearby-list .distance {
    font-size: 13px;
    color: #666;
    font-weight: 400;
}

.nearby-list a {
    color: inherit;
    text-decoration: none;
}

.nearby-list a:hover {
    color: #ff6b35;
}

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

/* ========================================
   AVAILABLE PAGE - FULL UNIT DISPLAY
   ======================================== */

.unit-detail-section-page {
    padding: 40px 0 60px;
    background: #f8f8f8;
}

.unit-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 20px;
}

.unit-header-left h1 {
    font-size: 32px;
    color: #333;
    margin: 10px 0 5px;
}

.unit-address {
    color: #666;
    font-size: 16px;
}

.unit-badge-large {
    display: inline-block;
    background: #28a745;
    color: #fff;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.unit-price-large {
    font-size: 42px;
    font-weight: 700;
    color: #ff6b35;
}

.unit-price-large span {
    font-size: 18px;
    font-weight: 400;
    color: #666;
}

.unit-specs-row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.unit-spec-box {
    background: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.unit-spec-box .spec-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #333;
}

.unit-spec-box .spec-label {
    font-size: 14px;
    color: #666;
}

/* Photo Gallery */
.unit-photo-gallery {
    margin-bottom: 40px;
}

.gallery-main {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
}

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

.gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.gallery-thumbs .thumb {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s, transform 0.3s;
    flex-shrink: 0;
}

.gallery-thumbs .thumb:hover,
.gallery-thumbs .thumb.active {
    opacity: 1;
    transform: scale(1.05);
}

/* Two Column Content */
.unit-content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.unit-feature-section {
    background: #fff;
    padding: 25px 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.unit-feature-section h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6b35;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-grid li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
}

.feature-grid li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.pet-details {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}

.pet-details li {
    padding: 8px 0;
    color: #555;
}

/* Sidebar */
.sidebar-card-available {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.sidebar-card-available h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.sidebar-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.sidebar-row:last-of-type {
    border-bottom: none;
}

.sidebar-row span {
    color: #666;
}

.sidebar-row strong {
    color: #333;
}

.apply-btn-large {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background: #ff6b35;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 20px;
    transition: background 0.3s;
}

.apply-btn-large:hover {
    background: #e55a2b;
}

.contact-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    text-align: center;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 10px;
    transition: all 0.3s;
}

.contact-btn.phone {
    background: #333;
    color: #fff;
}

.contact-btn.phone:hover {
    background: #555;
}

.contact-btn.email {
    background: #fff;
    color: #333;
    border: 2px solid #333;
}

.contact-btn.email:hover {
    background: #333;
    color: #fff;
}

@media (max-width: 900px) {
    .unit-content-grid {
        grid-template-columns: 1fr;
    }

    .unit-content-sidebar {
        order: -1;
    }

    .gallery-main {
        height: 300px;
    }

    .unit-header-row {
        flex-direction: column;
    }

    .unit-price-large {
        font-size: 32px;
    }

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

.featured-photos-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    color: #2c2c2c;
    border: none;
    padding: 15px 20px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
    z-index: 10;
}

.carousel-prev:hover,
.carousel-next:hover {
    background-color: #ff6b35;
    color: #fff;
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-dots {
    text-align: center;
    margin-top: 20px;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #ddd;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active,
.dot:hover {
    background-color: #ff6b35;
}

.cta-section {
    text-align: center;
    margin-top: 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #ff6b35;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background-color: #e55a28;
}

/* Tab Content Styles */
.tab-content {
    display: none !important;
    width: 100%;
}

.tab-content.active {
    display: block !important;
}

.tab-section {
    padding: 60px 0;
    min-height: 60vh;
}

/* Ensure sections within tabs don't override */
.tab-content section,
.tab-content .container,
.tab-content .tab-section {
    display: block;
}

.tab-content.active section,
.tab-content.active .container,
.tab-content.active .tab-section {
    display: block;
}

/* Photo Gallery Section */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

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

.photo-item:hover img {
    transform: scale(1.1);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.photo-item:hover .photo-overlay {
    transform: translateY(0);
}

/* Accordion Styles for Floor Plans */
.floor-accordion {
    margin-top: 30px;
}

.accordion-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: #fff;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: #2c2c2c;
    text-align: left;
    transition: background-color 0.3s;
}

.accordion-header:hover {
    background-color: #f9f9f9;
}

.accordion-header.active {
    background-color: #ff6b35;
    color: #fff;
}

.accordion-icon {
    font-size: 24px;
    font-weight: 700;
    transition: transform 0.3s;
}

.accordion-header.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 25px;
}

.accordion-content.active {
    max-height: 3000px;
    padding: 20px 25px;
    transition: max-height 0.5s ease-in;
}

.floor-description {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

/* Floorplan Compact Grid */
.floorplan-compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.floorplan-thumbnail {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.floorplan-thumbnail:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-color: #ff6b35;
}

.floorplan-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
}

.floorplan-thumbnail p {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #2c2c2c;
    margin: 0;
}

.floorplan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.floorplan-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.floorplan-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.floorplan-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 15px;
}

.floorplan-item p {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #2c2c2c;
}

/* Amenities Section */
.amenities-section {
    padding: 60px 0;
    background-color: #fff;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.amenity-category {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #ff6b35;
}

.amenity-category h3 {
    font-size: 22px;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 20px;
}

.amenity-list {
    list-style: none;
}

.amenity-list li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    border-bottom: 1px solid #e0e0e0;
}

.amenity-list li:last-child {
    border-bottom: none;
}

.amenity-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-weight: 700;
    font-size: 18px;
}

.lease-terms {
    margin-top: 50px;
    background-color: #2c2c2c;
    padding: 40px;
    border-radius: 8px;
    color: #fff;
}

.lease-terms h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #fff;
    text-align: center;
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.term-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 4px;
    font-size: 15px;
    line-height: 1.8;
}

.term-item strong {
    color: #ff6b35;
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
}

/* Responsive Design for New Sections */
@media (max-width: 968px) {
    .photo-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }

    .floorplan-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

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

    .floor-tab {
        font-size: 14px;
        padding: 10px 20px;
    }
}

@media (max-width: 640px) {
    .photo-grid {
        grid-template-columns: 1fr;
    }

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

    .floor-tabs {
        flex-direction: column;
    }

    .floor-tab {
        width: 100%;
    }

    .lease-terms {
        padding: 30px 20px;
    }

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

    .carousel-container {
        height: 300px;
    }

    .carousel-prev,
    .carousel-next {
        padding: 10px 15px;
        font-size: 20px;
    }

    .floorplan-compact-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    animation: zoom 0.3s;
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

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

#modalCaption,
#floorplanModalCaption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #fff;
    padding: 20px 0;
    font-size: 18px;
    font-weight: 600;
}

/* Contact Form Modal */
.contact-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
}

.contact-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.contact-modal-content h2 {
    color: #333;
    margin-bottom: 8px;
    font-size: 28px;
}

.contact-modal-content > p {
    color: #666;
    margin-bottom: 25px;
}

.contact-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
}

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

.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}

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

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

.btn-submit {
    width: 100%;
    padding: 14px 20px;
    background-color: #ff6b35;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #e55a2b;
}

@media (max-width: 600px) {
    .contact-modal-content {
        margin: 10% auto;
        padding: 25px;
    }

    .contact-modal-content h2 {
        font-size: 22px;
    }
}

/* ========================================
   Unit Detail Pages
   ======================================== */

.unit-detail-page {
    padding: 40px 0 80px;
    background-color: #f9f9f9;
}

.breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #ff6b35;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #333;
}

.unit-detail-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.unit-detail-header {
    margin-bottom: 30px;
}

.unit-detail-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #2c2c2c;
    margin: 15px 0 10px;
}

.unit-address {
    font-size: 18px;
    color: #666;
}

.unit-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.unit-badge.available {
    background-color: #28a745;
    color: #fff;
}

.unit-detail-specs {
    display: flex;
    gap: 20px;
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.spec-box {
    flex: 1;
    text-align: center;
    padding: 15px;
    border-right: 1px solid #eee;
}

.spec-box:last-child {
    border-right: none;
}

.spec-box .spec-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #ff6b35;
}

.spec-box .spec-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
}

.unit-detail-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.unit-detail-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.unit-detail-gallery img:hover {
    transform: scale(1.02);
}

.unit-detail-section {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.unit-detail-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #ff6b35;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 8px 0;
    font-size: 15px;
    color: #555;
}

.feature-list.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px 30px;
}

/* Sidebar */
.unit-detail-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
}

.sidebar-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 20px;
}

.sidebar-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}

.sidebar-item span {
    color: #666;
}

.sidebar-item strong {
    color: #333;
}

.apply-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #ff6b35;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.apply-btn:hover {
    background-color: #e55a2b;
}

.contact-link {
    display: block;
    text-align: center;
    padding: 12px;
    margin-top: 10px;
    border: 1px solid #eee;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    transition: border-color 0.3s;
}

.contact-link:hover {
    border-color: #ff6b35;
}

/* Unit Detail Responsive */
@media (max-width: 968px) {
    .unit-detail-grid {
        grid-template-columns: 1fr;
    }

    .unit-detail-sidebar {
        position: static;
    }

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

    .feature-list.two-col {
        grid-template-columns: 1fr;
    }

    .unit-detail-specs {
        flex-wrap: wrap;
    }

    .spec-box {
        flex: 1 1 45%;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
}

@media (max-width: 480px) {
    .unit-detail-gallery {
        grid-template-columns: 1fr;
    }

    .unit-detail-header h1 {
        font-size: 24px;
    }
}

/* ========================================
   Enhanced Vacancy Cards & CTAs
   ======================================== */

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #555;
    margin-bottom: 10px;
    font-weight: 400;
}

.available-updated {
    text-align: center;
    color: #999;
    font-size: 13px;
    margin-bottom: 35px;
}

a.vacancy-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.vacancy-card {
    position: relative;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
    cursor: pointer;
}

.vacancy-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.18);
}

.vacancy-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: #28a745;
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
}

.vacancy-card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.vacancy-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.vacancy-card:hover .vacancy-card-image img {
    transform: scale(1.06);
}

.vacancy-card-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 10px;
    background: #f5f5f5;
}

.vacancy-card-thumbs img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
}

.vacancy-card-content {
    padding: 28px;
}

.vacancy-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 12px;
}

.vacancy-card-details {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.vacancy-detail {
    background-color: #f5f5f5;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: #555;
    font-weight: 500;
}

.vacancy-card-price {
    font-size: 32px;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 18px;
}

.vacancy-card-price span {
    font-size: 16px;
    font-weight: 400;
    color: #888;
}

.vacancy-card-features {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
}

.vacancy-card-features li {
    padding: 6px 0;
    padding-left: 22px;
    position: relative;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.vacancy-card-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: 700;
}

.vacancy-card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-primary {
    display: inline-block;
    padding: 14px 28px;
    background-color: #ff6b35;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    transition: background-color 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #e55a28;
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    background-color: transparent;
    color: #2c2c2c;
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid #2c2c2c;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #2c2c2c;
    color: #fff;
}

/* CTA Banner */
.cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #2c2c2c 0%, #444 100%);
    padding: 35px 40px;
    border-radius: 12px;
    margin-top: 40px;
    margin-bottom: 25px;
}

.cta-banner-text h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
}

.cta-banner-text p {
    color: #ccc;
    font-size: 15px;
}

.cta-banner-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-cta-phone {
    display: inline-block;
    padding: 14px 28px;
    background-color: #ff6b35;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    transition: background-color 0.3s;
}

.btn-cta-phone:hover {
    background-color: #e55a28;
}

.btn-cta-email {
    display: inline-block;
    padding: 14px 28px;
    background-color: transparent;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #fff;
    transition: all 0.3s;
}

.btn-cta-email:hover {
    background-color: #fff;
    color: #2c2c2c;
}

.lease-info-bar {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    color: #777;
    font-size: 14px;
    text-align: center;
}

/* Welcome CTA buttons */
.welcome-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* ========================================
   Gallery Filter & Enhancements
   ======================================== */

.gallery-intro {
    text-align: center;
    font-size: 16px;
    color: #666;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.gallery-filter .filter-btn {
    padding: 8px 20px;
    background-color: #f0f0f0;
    color: #555;
    border: 2px solid transparent;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-left: 0;
}

.gallery-filter .filter-btn:hover {
    border-color: #ff6b35;
    color: #ff6b35;
    background-color: #fff;
}

.gallery-filter .filter-btn.active {
    background-color: #ff6b35;
    color: #fff;
    border-color: #ff6b35;
}

.gallery-cta {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 12px;
}

.gallery-cta p {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Photo item hidden state for filtering */
.photo-item.hidden {
    display: none;
}

/* ========================================
   Responsive: Vacancy Cards & CTAs
   ======================================== */

@media (max-width: 968px) {
    .cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 30px 25px;
    }

    .cta-banner-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-cta-phone,
    .btn-cta-email {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .vacancy-card-image {
        height: 200px;
    }

    .vacancy-card-thumbs img {
        height: 70px;
    }

    .vacancy-card-content {
        padding: 20px;
    }

    .vacancy-card-price {
        font-size: 28px;
    }

    .vacancy-card-title {
        font-size: 20px;
    }

    .lease-info-bar {
        flex-direction: column;
        gap: 8px;
    }

    .gallery-filter {
        gap: 6px;
    }

    .gallery-filter .filter-btn {
        padding: 6px 14px;
        font-size: 12px;
    }

    .welcome-cta {
        flex-direction: column;
        align-items: center;
    }

    .welcome-cta .btn-primary,
    .welcome-cta .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

/* ========================================
   GALLERY LIGHTBOX SLIDESHOW STYLES
   ======================================== */

.gallery-lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.gallery-lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.3s;
    line-height: 1;
}

.lightbox-close:hover {
    color: #ff6b35;
}

.lightbox-content {
    max-width: 90%;
    max-height: 70vh;
    text-align: center;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 65vh;
    object-fit: contain;
    border-radius: 4px;
    animation: lightboxFade 0.3s ease;
}

@keyframes lightboxFade {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.lightbox-caption {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-top: 15px;
    text-align: center;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: none;
    font-size: 30px;
    padding: 20px 18px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s;
    z-index: 2001;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,107,53,0.8);
}

.lightbox-counter {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
}

.lightbox-thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 15px 20px;
    max-width: 90%;
    margin-top: 15px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.lightbox-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.lightbox-thumbnails::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

.lightbox-thumbnails::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
}

.lightbox-thumbnails .lb-thumb {
    flex: 0 0 70px;
    height: 50px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s, opacity 0.3s;
    opacity: 0.5;
}

.lightbox-thumbnails .lb-thumb:hover {
    opacity: 0.8;
}

.lightbox-thumbnails .lb-thumb.active {
    border-color: #ff6b35;
    opacity: 1;
}

.lightbox-thumbnails .lb-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Lightbox */
@media (max-width: 768px) {
    .lightbox-content img {
        max-height: 50vh;
    }

    .lightbox-caption {
        font-size: 14px;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 24px;
        padding: 15px 12px;
    }

    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }

    .lightbox-thumbnails .lb-thumb {
        flex: 0 0 55px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .lightbox-content img {
        max-height: 45vh;
    }

    .lightbox-thumbnails {
        padding: 10px 15px;
    }

    .lightbox-thumbnails .lb-thumb {
        flex: 0 0 45px;
        height: 32px;
    }
}


/* Monterey Terrace waitlist/contact mockup */
.waitlist-page,
.admin-body {
    background: #f6f7f4;
}

.waitlist-hero {
    padding: 56px 0 76px;
}

.waitlist-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
    gap: 34px;
    align-items: start;
}

.waitlist-copy,
.waitlist-form,
.admin-login,
.inquiry-card,
.admin-header,
.admin-toolbar {
    background: #fff;
    border: 1px solid #e4e2dc;
    border-radius: 22px;
    box-shadow: 0 18px 48px rgba(26, 26, 26, 0.08);
}

.waitlist-copy {
    padding: 34px;
    position: sticky;
    top: 110px;
}

.waitlist-kicker,
.interest-kicker {
    color: #ff6b35;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.waitlist-copy h1,
.admin-header h1 {
    color: #1a1a1a;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.05;
    margin-bottom: 18px;
}

.waitlist-copy p,
.admin-header p {
    color: #555;
    font-size: 1.02rem;
}

.waitlist-proof-grid {
    display: grid;
    gap: 12px;
    margin: 26px 0;
}

.waitlist-proof-grid div {
    padding: 16px;
    border-radius: 16px;
    border: 1px solid #ece9e1;
    background: #faf9f5;
}

.waitlist-proof-grid strong,
.waitlist-proof-grid span {
    display: block;
}

.waitlist-proof-grid strong {
    color: #1a1a1a;
}

.waitlist-proof-grid span {
    color: #666;
    font-size: 0.92rem;
    margin-top: 4px;
}

.waitlist-inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.waitlist-form {
    padding: 28px;
    display: grid;
    gap: 20px;
}

.question-card {
    border: 1px solid #e4e2dc;
    border-radius: 18px;
    padding: 22px;
    background: #fffdfa;
}

.question-card legend {
    color: #1a1a1a;
    font-size: 1.02rem;
    font-weight: 700;
    padding: 0 8px;
}

.question-card legend span {
    align-items: center;
    background: #ff6b35;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    height: 28px;
    justify-content: center;
    margin-right: 8px;
    width: 28px;
}

.bubble-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.choice-bubble {
    position: relative;
    margin: 0;
}

.choice-bubble input {
    position: absolute;
    opacity: 0;
}

.choice-bubble span {
    align-items: center;
    background: #fff;
    border: 1px solid #ddd8ce;
    border-radius: 999px;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: center;
    min-height: 48px;
    padding: 12px 16px;
    text-align: center;
    transition: all 0.2s ease;
}

.choice-bubble input:focus-visible + span {
    outline: 3px solid rgba(255, 107, 53, 0.28);
}

.choice-bubble input:checked + span {
    background: #ff6b35;
    border-color: #ff6b35;
    color: #fff;
    box-shadow: 0 10px 18px rgba(255, 107, 53, 0.24);
}

.contact-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.waitlist-form label,
.admin-login label {
    color: #333;
    display: grid;
    font-size: 0.88rem;
    font-weight: 700;
    gap: 7px;
}

.waitlist-form input,
.waitlist-form select,
.waitlist-form textarea,
.admin-login input {
    border: 1px solid #d8d4cc;
    border-radius: 12px;
    color: #222;
    font: inherit;
    padding: 12px 13px;
    width: 100%;
}

.waitlist-form textarea {
    min-height: 118px;
    resize: vertical;
}

.notes-field {
    display: grid;
    gap: 8px;
}

.question-subtitle {
    color: #666;
    font-size: 0.88rem;
    font-weight: 700;
    margin-top: 18px;
}

.hp-field {
    left: -10000px;
    position: absolute;
}

.form-status {
    color: #555;
    font-size: 0.95rem;
}

.form-status-success {
    align-items: center;
    background: #edf8f0;
    border: 1px solid #b9dfc2;
    border-radius: 14px;
    color: #246338;
    display: flex;
    gap: 10px;
    padding: 12px 14px;
}

.form-status-check {
    align-items: center;
    background: #2f9f55;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 24px;
    height: 24px;
    justify-content: center;
    width: 24px;
}

.form-status-error {
    color: #9f2f17;
}

.waitlist-mock-note {
    color: #777;
    font-size: 0.84rem;
    margin-top: -8px;
}

.active-contact-link {
    background: #ff6b35;
    border-color: #ff6b35;
}

.admin-shell {
    margin: 0 auto;
    max-width: 1180px;
    padding: 42px 20px 72px;
}

.admin-header,
.admin-toolbar {
    align-items: center;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 22px;
    padding: 26px;
}

.admin-header h1 {
    font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.admin-header-actions,
.admin-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.admin-link,
.admin-secondary {
    background: #fff;
    border: 1px solid #d8d4cc;
    border-radius: 999px;
    color: #1a1a1a;
    cursor: pointer;
    display: inline-flex;
    font-weight: 700;
    padding: 10px 15px;
    text-decoration: none;
}

.admin-secondary:hover,
.admin-link:hover {
    border-color: #ff6b35;
    color: #ff6b35;
}

.admin-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-stats span,
.admin-viewer,
.priority-pill {
    background: #faf9f5;
    border: 1px solid #e4e2dc;
    border-radius: 999px;
    color: #333;
    display: inline-flex;
    font-size: 0.9rem;
    padding: 8px 12px;
}

.inquiry-list {
    display: grid;
    gap: 16px;
}

.inquiry-card {
    padding: 24px;
}

.inquiry-card-header {
    align-items: start;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 18px;
}

.inquiry-card-header h2 {
    color: #1a1a1a;
    margin-bottom: 4px;
}

.priority-hot {
    background: #fff0ea;
    border-color: #ffc5ad;
    color: #b94316;
}

.priority-warm {
    background: #fff9e8;
    border-color: #efd18a;
    color: #8a6500;
}

.priority-nurture {
    background: #eef4fb;
    border-color: #c6d8ea;
    color: #2d5f8a;
}

.inquiry-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.inquiry-meta-grid div {
    background: #faf9f5;
    border: 1px solid #ece9e1;
    border-radius: 14px;
    padding: 12px;
}

.inquiry-meta-grid strong,
.inquiry-meta-grid span {
    display: block;
}

.inquiry-meta-grid strong {
    color: #777;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.inquiry-meta-grid span {
    color: #1a1a1a;
    margin-top: 4px;
}

.inquiry-message,
.empty-state {
    background: #fffdfa;
    border: 1px solid #e4e2dc;
    border-radius: 16px;
    color: #555;
    margin-top: 14px;
    padding: 16px;
}

.waitlist-strip {
    background: linear-gradient(135deg, #fff7f1, #f7fbff);
    border: 1px solid #f2d7c7;
    border-radius: 22px;
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr auto;
    margin: 34px 0;
    padding: 24px;
}

.waitlist-strip h3 {
    color: #1a1a1a;
    margin-bottom: 6px;
}

.waitlist-strip p {
    color: #555;
}

.waitlist-strip-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 900px) {
    .waitlist-layout,
    .contact-fields,
    .inquiry-meta-grid,
    .waitlist-strip {
        grid-template-columns: 1fr;
    }

    .waitlist-copy {
        position: static;
    }

    .admin-header,
    .admin-toolbar,
    .inquiry-card-header {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .bubble-grid {
        grid-template-columns: 1fr;
    }
}
