/* 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: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Contact Bar */
.top-bar {
    background-color: #2c2c2c;
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span,
.contact-info .contact-link {
    margin-right: 25px;
}

.contact-info .contact-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

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

.contact-info .icon {
    margin-right: 5px;
}

.social-links a {
    color: #fff;
    margin-left: 15px;
    text-decoration: none;
    width: 30px;
    height: 30px;
    border: 1px solid #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: #ff6b35;
    border-color: #ff6b35;
}

/* Header & Navigation */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: #2c2c2c;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #2c2c2c;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 5px 0;
    transition: color 0.3s;
    letter-spacing: 0.5px;
}

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

.resident-login a {
    color: #2c2c2c;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 20px;
    border: 2px solid #2c2c2c;
    border-radius: 4px;
    transition: all 0.3s;
}

.resident-login a:hover {
    background-color: #2c2c2c;
    color: #fff;
}

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

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

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

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

.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;
}

.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;
}

/* Footer */
.main-footer {
    background-color: #2c2c2c;
    color: #fff;
    padding: 50px 0 20px;
}

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

.footer-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    color: #ccc;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #ff6b35;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.footer-bottom p {
    font-size: 13px;
    color: #999;
}

/* 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;
    }

    .header-logo {
        height: 35px;
    }

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

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

    .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 {
        padding: 6px 0;
        overflow: hidden;
    }

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

    .top-bar-content {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 12px !important;
        max-width: 100%;
    }

    .contact-info {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .contact-info span,
    .contact-info .contact-link {
        display: inline-flex !important;
        align-items: center;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
        font-size: 11px;
        white-space: nowrap;
        color: #fff;
        text-decoration: none;
    }

    .contact-info .icon {
        margin-right: 2px;
        font-size: 11px;
    }

    .social-links {
        margin-left: 0 !important;
        display: inline-flex !important;
        flex-shrink: 0;
    }

    .social-links a {
        width: 22px;
        height: 22px;
        margin-left: 0;
    }

    .social-links a svg {
        width: 12px;
        height: 12px;
    }

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

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

    .hero {
        height: 350px;
    }

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

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

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

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

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

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

.yelp-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.yelp-review-item {
    min-height: 200px;
}

.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;
}

/* 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;
}

.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;
}
