/* Header/Navigation */
.header {
    background: white;
    padding: 0.5rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
    margin-bottom: 0;
}

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

.logo {
    text-decoration: none;
    color: #0066cc;
    font-size: 1.5rem;
    font-weight: 600;
    white-space: nowrap;
}

.logo:hover {
    color: #0052a3;
    text-decoration: none;
}

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

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: #0066cc;
}

/* Base Layout */
body {
    background-color: white;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

.property-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    background: white;
}

/* Gallery Section */
.gallery-section {
    margin-top: 15px;
    margin-bottom: 15px;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
    height: 540px;
}

.main-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
}

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

.thumbnails-container {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: 1fr;
    gap: 10px;
    height: 100%;
}

.thumbnail-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.thumbnail:hover {
    transform: scale(1.05);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
    z-index: 2;
}

.gallery-nav:hover {
    background: white;
}

.gallery-nav.prev {
    left: 20px;
}

.gallery-nav.next {
    right: 20px;
}

.gallery-nav i {
    color: #333;
    font-size: 1.2rem;
}

.photos-count {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 2;
}

/* Content Layout */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.content-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Property Information */
.property-info {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.property-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.property-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.property-price {
    font-size: 1.6rem;
    color: #0066cc;
    font-weight: 600;
}

.property-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 25px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spec-item i {
    color: #666;
    font-size: 1.2rem;
}

/* Contact Section */
.contact-section {
    background: #f8f9fa;
    padding: 60px 0;
    margin-top: 30px;
}

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

/* Contact Card */
.contact-card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 100px;
}

.contact-card .section-title {
    text-align: center;
    margin-bottom: 25px;
}

.contact-card .contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-phone {
    text-align: center;
    margin: 20px 0;
}

.contact-phone a {
    color: #0066cc;
    font-size: 1.2rem;
    text-decoration: none;
    font-weight: 500;
}

.contact-hours {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.contact-language {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.contact-submit {
    background: #55A63A;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
}

.contact-submit:hover {
    background: #478731;
}

/* Section Headers */
.section-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

/* Brokerage Information */
.brokerage-info {
    border-top: 1px solid #eee;
    margin-top: 20px;
    padding-top: 20px;
}

.brokerage-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.brokerage-details {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

.brokerage-details p {
    margin-bottom: 8px;
}

.brokerage-license {
    font-size: 0.8rem;
    color: #999;
    text-align: center;
    margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .features-grid, .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .contact-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .property-container {
        padding: 15px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .main-image-container {
        height: 270px;
    }
    
    .thumbnails-container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 135px;
    }
    
    .features-grid, .amenities-grid {
        grid-template-columns: 1fr;
    }
    
    .property-title {
        font-size: 1.5rem;
    }
    
    .property-price {
        font-size: 1.4rem;
    }
    
    .property-specs {
        flex-direction: column;
        gap: 15px;
    }
}

/* Footer Styles */
.footer {
    background-color: #1C1C1C;
    color: #fff;
    padding: 60px 0 30px;
}

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

.footer-section h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-section p {
    color: #fff;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

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

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

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s ease;
    font-size: 16px;
}

.footer-section ul li a:hover {
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    color: #fff;
    font-size: 24px;
    transition: opacity 0.2s ease;
}

.social-link:hover {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #fff;
    margin: 0;
    font-size: 14px;
    opacity: 0.7;
}

/* Footer Responsive Design */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section p {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        margin-top: 40px;
        padding-top: 20px;
    }
}

/* Property Header Banner */
.property-banner {
    background-color: #f0f2f5;
    border-bottom: 1px solid #e9ecef;
}

.property-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 1rem;
}

.property-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: #666;
    font-size: 0.9rem;
}

.property-breadcrumb a {
    color: #0066cc;
    text-decoration: none;
}

.property-breadcrumb i {
    font-size: 0.8rem;
    color: #999;
}

.property-banner-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

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

.property-status-price {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.property-status {
    color: #0066cc;
    font-weight: 500;
}

.property-banner-price {
    font-size: 1.25rem;
    font-weight: 500;
}

.property-banner-address {
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .property-banner-content {
        padding: 0.4rem 0.75rem;
    }

    .property-banner-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .property-banner-title {
        font-size: 1.25rem;
        margin-bottom: 0.25rem;
    }

    .property-banner-price {
        font-size: 1.1rem;
    }
}

/* Amenities Section */
.amenities {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.amenities h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
}

.amenities-category {
    margin-bottom: 2rem;
}

.amenities-category h4 {
    font-size: 1.2rem;
    font-weight: 500;
    color: #444;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

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

.amenity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.amenity-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.amenity-item i {
    font-size: 1.25rem;
    color: #0066cc;
    min-width: 24px;
    text-align: center;
}

.amenity-item span {
    color: #333;
    font-size: 1rem;
}

.no-amenities {
    grid-column: 1 / -1;
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Schools Section */
.schools {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.schools h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
}

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

.school-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.school-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.school-item i {
    font-size: 1.5rem;
    color: #0066cc;
}

.school-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.school-type {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.school-name {
    font-size: 1rem;
    color: #333;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .amenities-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.75rem;
    }
    
    .schools-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .amenity-item {
        padding: 10px;
    }
    
    .amenity-item i {
        font-size: 1.1rem;
    }
    
    .amenity-item span {
        font-size: 0.9rem;
    }
    
    .amenities-category h4 {
        font-size: 1.1rem;
    }
}

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

.breadcrumb-section {
    background: white;
    padding: 0.4rem 0;
    border-bottom: 1px solid #e9ecef;
}

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

.property-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    margin: 0;
    padding: 0;
}

.property-breadcrumb a {
    color: #0066cc;
    text-decoration: none;
}

.property-breadcrumb a:hover {
    color: #0052a3;
}

.property-breadcrumb i {
    font-size: 10px;
    color: #666;
}

.property-breadcrumb span {
    color: #666;
}

@media (max-width: 768px) {
    .breadcrumb-section {
        padding: 0.4rem 0;
    }
    
    .property-breadcrumb {
        font-size: 0.8rem;
    }
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    position: relative;
    transition: background 0.2s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: #333;
    transition: transform 0.2s;
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    bottom: -6px;
}

.mobile-menu-toggle.active .hamburger {
    background: transparent;
}

.mobile-menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        padding: 80px 20px 20px;
        flex-direction: column;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
        text-align: center;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 30px;
        width: 100%;
        padding: 0;
        margin: 0;
        align-items: center;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-menu a {
        display: block;
        padding: 15px 0;
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    .nav-menu a:last-child {
        border-bottom: none;
    }

    .header::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .header.menu-open::after {
        opacity: 1;
        visibility: visible;
    }
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
} 