/* Property Detail Page Styles */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --background-color: #ffffff;
    --light-background: #f3f4f6;
    --border-color: #e5e7eb;
    --spacing-unit: 1rem;
    --border-radius: 0.5rem;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.05);
    --transition-speed: 0.3s;
}

/* Hero Section */
.property-hero {
    background: linear-gradient(rgba(37, 99, 235, 0.05), rgba(37, 99, 235, 0.1)), url('../photos/carltonhouse/Living Room-min.jpg');
    background-size: cover;
    background-position: center;
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
}

.property-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.property-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    color: white;
    position: relative;
    z-index: 2;
}

.breadcrumbs {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.breadcrumbs a {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.breadcrumbs a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.about-section, .support-section, .cta-section {
    background-color: var(--background-color);
}

.features-section, .additional-features-section, .suitable-for-section, .why-choose-section {
    background-color: var(--light-background);
}

section h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-color);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    order: 1;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.about-image {
    order: 2;
}

/* Image Styles */
.rounded-image {
    border-radius: var(--border-radius);
    width: 100%;
    height: auto;
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-speed);
}

.rounded-image:hover {
    transform: scale(1.02);
}

/* Features Section */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-box {
    background-color: var(--background-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.feature-box h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-box p {
    color: var(--light-text);
    line-height: 1.6;
}

/* Photo Gallery */
.photo-gallery {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.feature-gallery {
    grid-template-columns: repeat(2, 1fr);
}

.showcase-gallery {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    aspect-ratio: 4/3;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.05);
    box-shadow: var(--card-shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed);
    border-radius: var(--border-radius);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 30%);
    opacity: 0;
    transition: opacity var(--transition-speed);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Animation for gallery items */
@keyframes imageFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.gallery-item img {
    animation: imageFadeIn 0.6s ease-out forwards;
}

.gallery-item:nth-child(1) img { animation-delay: 0.1s; }
.gallery-item:nth-child(2) img { animation-delay: 0.2s; }
.gallery-item:nth-child(3) img { animation-delay: 0.3s; }
.gallery-item:nth-child(4) img { animation-delay: 0.4s; }
.gallery-item:nth-child(5) img { animation-delay: 0.5s; }
.gallery-item:nth-child(6) img { animation-delay: 0.6s; }

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 85vh;
    margin: 0 auto;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    line-height: 1;
    padding: 0.5rem;
    transition: color 0.2s;
}

.lightbox-close:hover, .lightbox-close:focus {
    color: var(--primary-color);
    outline: none;
}

.lightbox-caption {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 1.1rem;
}

/* Additional Features */
.additional-features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.additional-features-image {
    order: 2;
}

.additional-features-list {
    order: 1;
    display: grid;
    gap: 2rem;
}

/* Support Section */
.support-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.support-text {
    order: 1;
}

.support-image {
    order: 2;
}

/* Feature Lists */
.feature-list {
    list-style-type: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    color: var(--light-text);
    font-size: 1.1rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Clean List Style */
.clean-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    max-width: 800px;
    margin: 0 auto;
}

.clean-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.25rem;
    color: var(--light-text);
    font-size: 1.1rem;
    line-height: 1.6;
}

.clean-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
    line-height: 1;
}

/* CTA Styles */
.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    margin-top: 1.5rem;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.cta-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    color: var(--light-text);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Section Intro */
.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--light-text);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Suitable For and Why Choose Sections */
.suitable-for-content, .why-choose-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.feature-box, .gallery-item, .about-image, .support-image, .additional-features-image {
    animation: fadeIn 0.6s ease-out forwards;
}

.feature-box:nth-child(2), .gallery-item:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-box:nth-child(3), .gallery-item:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-box:nth-child(4), .gallery-item:nth-child(4) {
    animation-delay: 0.4s;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Media Queries */
@media (max-width: 992px) {
    .about-content, .support-content, .additional-features-content {
        grid-template-columns: 1fr;
    }
    
    .about-text, .support-text {
        order: 2;
    }
    
    .about-image, .support-image {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .additional-features-image {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .additional-features-list {
        order: 2;
    }
    
    .showcase-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .property-hero {
        padding: 6rem 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .feature-gallery, .showcase-gallery {
        grid-template-columns: 1fr;
    }
    
    section h2 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
} 