/* ========================================
   Development Opportunities Page Styles
   ======================================== */

/* Page-specific color variables */
:root {
    --wood-color: #8B7355;
    --wood-light: #A68B6A;
    --commercial-accent: #BF8B35;
    --commercial-accent-light: #D4A853;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(26, 26, 26, 0.7) 50%, rgba(10, 10, 10, 0.9) 100%),
        url('../images/development-opportunities/Residential/img01.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.3) 0%, transparent 30%, transparent 70%, rgba(10, 10, 10, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.hero-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    color: var(--gold-primary);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.diamond {
    font-size: 0.6rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-family: 'Playfair Display', var(--font-display);
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.title-line {
    display: block;
    color: var(--white);
}

.title-line.gold {
    color: var(--gold-primary);
    text-shadow: 0 0 60px rgba(191, 139, 53, 0.4);
}

.hero-subtitle {
    font-family: 'Playfair Display', var(--font-display);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 300;
    color: var(--gray-light);
    margin-bottom: 3rem;
    line-height: 1.5;
    letter-spacing: 0.1em;
}

.subtitle-emphasis {
    color: var(--white);
    font-style: italic;
}

/* Hero Counters */
.hero-counters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    padding: 2rem 3rem;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(191, 139, 53, 0.3);
}

.counter-item {
    text-align: center;
}

.counter-value {
    display: block;
    font-family: 'Playfair Display', var(--font-display);
    font-size: 3rem;
    font-weight: 400;
    color: var(--gold-primary);
    line-height: 1;
}

.counter-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-light);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 0.5rem;
}

.counter-divider {
    width: 1px;
    height: 50px;
    background: var(--gold-muted);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--gold-primary);
    z-index: 2;
    text-decoration: none;
}

.scroll-text {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    animation: bounce 2s infinite;
}

.scroll-arrow svg {
    width: 100%;
    height: 100%;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(8px); }
    60% { transform: translateY(4px); }
}

/* Section Navigation removed - using section headers as titles */

/* ========================================
   Residential Section
   ======================================== */
.residential-section {
    padding: 6rem 0;
    background: var(--black-primary);
}

.residential-section .section-header {
    margin-bottom: 4rem;
}

.residential-container {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 4rem;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 4rem;
}

/* Timeline Navigation */
.timeline-nav {
    position: sticky;
    top: 180px;
    height: fit-content;
}

.timeline-track {
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gold-muted);
}

.timeline-progress {
    width: 100%;
    background: var(--wood-color);
    height: 0%;
    transition: height 0.5s ease;
}

.timeline-points {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.timeline-point {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.point-marker {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--black-primary);
    border: 2px solid var(--gold-muted);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.timeline-point:hover .point-marker {
    border-color: var(--wood-color);
}

.timeline-point.active .point-marker {
    background: var(--wood-color);
    border-color: var(--wood-color);
    box-shadow: 0 0 15px rgba(139, 115, 85, 0.5);
}

.point-label {
    font-size: 0.8rem;
    color: var(--gray-medium);
    transition: color 0.3s ease;
    white-space: nowrap;
}

.timeline-point:hover .point-label {
    color: var(--white);
}

.timeline-point.active .point-label {
    color: var(--wood-color);
    font-weight: 500;
}

/* Residential Content */
.residential-content {
    position: relative;
}

.project-slide {
    display: none;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: start;
    animation: fadeIn 0.5s ease;
}

.project-slide.active {
    display: grid;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Project Image */
.project-image {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.project-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-image:hover img {
    transform: scale(1.05);
}

.image-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    padding: 0.6rem 1.25rem;
    background: var(--gold-primary);
    color: var(--black-primary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.image-badge.land-badge {
    background: var(--wood-color);
    color: var(--white);
}

/* Project Info */
.project-info {
    padding: 2rem 0;
}

.project-header {
    margin-bottom: 2.5rem;
}

.project-type {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--wood-color);
    margin-bottom: 0.75rem;
}

.project-title {
    font-family: 'Playfair Display', var(--font-display);
    font-size: 3rem;
    font-weight: 400;
    color: var(--white);
}

.project-story {
    margin-bottom: 2.5rem;
}

.project-story p {
    font-size: 1.15rem;
    line-height: 2;
    color: var(--gray-light);
}

/* Project Specs */
.project-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--black-secondary);
    border-left: 3px solid var(--wood-color);
}

.spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    min-width: 80px;
}

.spec-item.large {
    flex-direction: row;
    gap: 1rem;
    width: 100%;
}

.spec-icon {
    font-size: 1.25rem;
}

.spec-value {
    font-family: 'Playfair Display', var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--gold-primary);
}

.spec-item.large .spec-value {
    font-size: 1.75rem;
}

.spec-label {
    font-size: 0.7rem;
    color: var(--gray-medium);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Project Features */
.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.feature-tag {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--wood-color);
    color: var(--wood-color);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

/* Project Actions */
.project-actions {
    padding-top: 1rem;
    border-top: 1px solid var(--gold-muted);
}

/* ========================================
   Transition Section
   ======================================== */
.transition-section {
    padding: 8rem 4rem;
    background: linear-gradient(135deg, var(--black-secondary) 0%, var(--black-primary) 100%);
}

.transition-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
}

.transition-side {
    flex: 1;
    text-align: center;
    padding: 4rem;
}

.residential-side {
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.1) 0%, transparent 100%);
    border: 1px solid rgba(139, 115, 85, 0.3);
}

.commercial-side {
    background: linear-gradient(135deg, rgba(191, 139, 53, 0.1) 0%, transparent 100%);
    border: 1px solid rgba(191, 139, 53, 0.3);
}

.transition-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
}

.residential-side .transition-icon {
    color: var(--wood-color);
}

.commercial-side .transition-icon {
    color: var(--gold-primary);
}

.transition-icon svg {
    width: 100%;
    height: 100%;
}

.transition-side h3 {
    font-family: 'Playfair Display', var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.transition-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: 'Playfair Display', var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--gold-primary);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--gray-medium);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.transition-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--black-primary);
    border: 2px solid var(--gold-primary);
}

.divider-text {
    font-family: 'Playfair Display', var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold-primary);
}

/* ========================================
   Commercial Section
   ======================================== */
.commercial-section {
    padding: 6rem 0;
    background: var(--black-secondary);
}

/* Section Header - Matching commercial.html style */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
    padding: 0 2rem;
    position: relative;
}

.section-number {
    display: block;
    font-family: 'Playfair Display', var(--font-display);
    font-size: 6rem;
    font-weight: 300;
    color: rgba(191, 139, 53, 0.1);
    line-height: 1;
    margin-bottom: -2rem;
}

.section-title {
    font-family: 'Playfair Display', var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    margin-bottom: 1rem;
}

.section-title .white {
    color: var(--white);
}

.section-title .gold {
    color: var(--gold-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-light);
    letter-spacing: 0.05em;
}

/* Commercial Projects - Full Width Layout */
.commercial-projects {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.commercial-project {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Project Image - Full Width on Top */
.commercial-project-image {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.commercial-project-image img {
    width: 100%;
    height: auto;
    min-height: 600px;
    max-height: 800px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.commercial-project-image:hover img {
    transform: scale(1.02);
}

.project-badge {
    position: absolute;
    top: 2rem;
    left: 2rem;
    padding: 0.75rem 1.5rem;
    background: var(--gold-primary);
    color: var(--black-primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Project Content - Below Image */
.commercial-project-content {
    padding: 0 5%;
    max-width: 1200px;
}

.project-header {
    margin-bottom: 2.5rem;
}

.project-name {
    font-family: 'Playfair Display', var(--font-display);
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.project-tags .tag {
    padding: 0.6rem 1.25rem;
    background: transparent;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

/* Project Description */
.project-description {
    margin-bottom: 2.5rem;
}

.project-description p {
    font-size: 1.15rem;
    line-height: 2;
    color: var(--gray-light);
    margin-bottom: 1.25rem;
}

.project-description p:last-of-type {
    margin-bottom: 0;
}

.project-highlights {
    list-style: none;
    padding: 2rem 2.5rem;
    margin: 2rem 0;
    background: rgba(191, 139, 53, 0.1);
    border-left: 4px solid var(--gold-primary);
}

.project-highlights li {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--gray-light);
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
}

.project-highlights li:last-child {
    margin-bottom: 0;
}

.project-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold-primary);
    font-weight: bold;
}

.project-cta-text {
    font-style: italic;
    color: var(--gold-primary) !important;
    padding: 1.5rem 0;
    border-top: 1px solid var(--gold-muted);
    margin-top: 2rem !important;
    font-size: 1.1rem !important;
}

/* Project Action */
.project-action {
    padding-top: 2rem;
}

/* Horizontal Layout Variant (Side by Side) - Full Width */
.commercial-project.horizontal {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 0;
    align-items: stretch;
}

.commercial-project.horizontal .commercial-project-image {
    height: 100%;
}

.commercial-project.horizontal .commercial-project-image img {
    max-height: none;
    min-height: 700px;
    height: 100%;
    object-fit: cover;
}

.commercial-project.horizontal .commercial-project-content {
    padding: 4rem 5%;
    max-width: none;
    background: var(--black-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.commercial-project.horizontal .project-name {
    font-size: 3rem;
}

/* ========================================
   Investment CTA
   ======================================== */
.investment-cta {
    position: relative;
    padding: 10rem 2rem;
    overflow: hidden;
}

.investment-cta .cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(10, 10, 10, 0.9) 100%),
        url('../images/development-opportunities/Commercial/img1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.investment-cta .cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.5);
}

.investment-cta .cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-family: 'Playfair Display', var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 3rem;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1400px) {
    .residential-container {
        padding: 0 3rem;
    }
    
    .commercial-project.horizontal {
        grid-template-columns: 50% 50%;
    }
}

@media (max-width: 1200px) {
    .residential-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .timeline-nav {
        position: relative;
        top: 0;
    }
    
    .timeline-track {
        display: none;
    }
    
    .timeline-points {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }
    
    .timeline-point {
        padding: 0.5rem 1rem;
        background: var(--black-secondary);
        border: 1px solid var(--gold-muted);
    }
    
    .timeline-point.active {
        border-color: var(--wood-color);
        background: rgba(139, 115, 85, 0.2);
    }
    
    .point-marker {
        display: none;
    }
    
    .project-slide {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .hero-counters {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem;
    }
    
    .counter-divider {
        width: 50px;
        height: 1px;
    }
    
    .transition-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .transition-side {
        width: 100%;
        max-width: 400px;
    }
    
    .transition-divider {
        transform: rotate(90deg);
    }
}

@media (max-width: 992px) {
    .residential-container {
        padding: 0 2rem;
    }
    
    .project-slide {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-image img {
        height: 450px;
    }
    
    .project-title {
        font-size: 2.5rem;
    }
    
    .project-name {
        font-size: 2.5rem;
    }
    
    .commercial-project-image img {
        min-height: 450px;
        max-height: 550px;
    }
    
    .commercial-project.horizontal {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .commercial-project.horizontal .commercial-project-image img {
        min-height: 450px;
        max-height: 550px;
    }
    
    .commercial-project.horizontal .commercial-project-content {
        padding: 3rem 5%;
    }
}

@media (max-width: 768px) {
    .residential-section {
        padding: 4rem 0;
    }
    
    .residential-container {
        padding: 0 1.5rem;
    }
    
    .project-image img {
        height: 350px;
    }
    
    .project-title {
        font-size: 2rem;
    }
    
    .project-specs {
        padding: 1rem;
    }
    
    .spec-item {
        min-width: 60px;
    }
    
    .commercial-section {
        padding: 4rem 0;
    }
    
    .commercial-projects {
        gap: 5rem;
    }
    
    .commercial-project-image img {
        min-height: 350px;
        max-height: 450px;
    }
    
    .commercial-project-content {
        padding: 0 1.5rem;
    }
    
    .project-name {
        font-size: 2rem;
    }
    
    .project-tags {
        gap: 0.5rem;
    }
    
    .project-tags .tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .project-highlights {
        padding: 1.5rem;
    }
    
    .project-description p {
        font-size: 1.05rem;
    }
    
    .commercial-project.horizontal .commercial-project-content {
        padding: 2.5rem 1.5rem;
    }
    
    .investment-cta {
        padding: 6rem 1.5rem;
    }
    
    .investment-cta .cta-bg {
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    .hero-counters {
        padding: 1.5rem;
    }
    
    .counter-value {
        font-size: 2.5rem;
    }
    
    .timeline-points {
        gap: 0.25rem;
    }
    
    .timeline-point {
        padding: 0.4rem 0.75rem;
    }
    
    .point-label {
        font-size: 0.7rem;
    }
    
    .project-specs {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .spec-item {
        flex-direction: row;
        gap: 0.75rem;
    }
    
    .transition-side {
        padding: 2rem 1.5rem;
    }
}

