/* ==========================================================================
   LINA ARCHITECTURE - PLANNING PAGE CSS
   ========================================================================== */

/* ============================================
   SECTION 4.1 - HERO
   ============================================ */
.planning-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.planning-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.planning-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.planning-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.85) 0%, rgba(10, 25, 47, 0.7) 100%);
}

.planning-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 var(--space-lg);
}

/* Breadcrumb styles for planning page */
.planning-hero .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.9375rem;
}

.planning-hero .breadcrumb-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.planning-hero .breadcrumb-link:hover {
    color: #c4a77d;
}

.planning-hero .breadcrumb-separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

.planning-hero .breadcrumb-current {
    color: #ffffff;
    font-weight: 500;
}

.planning-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: var(--space-md);
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.planning-hero-subtitle {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.planning-hero-cta {
    margin-top: 3vh;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: #ffffff;
    background: transparent;
}

.btn-outline-light:hover {
    background: #ffffff;
    color: #0a192f;
    border-color: #ffffff;
}

/* ============================================
   SECTION 4.2 - WHAT IS PLANNING PERMISSION
   ============================================ */
.planning-what {
    background: #ffffff;
    padding: 80px 0;
}

.planning-what-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.planning-what-text {
    color: #5a6a7a;
    line-height: 1.8;
}

.planning-what-intro {
    font-size: 1.125rem;
    color: #0a192f;
    margin-bottom: 24px;
    line-height: 1.7;
}

.planning-what-text p {
    margin-bottom: 16px;
}

.planning-what-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.planning-feature {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: #f8f5f0;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(196, 167, 125, 0.2);
}

.planning-feature:hover {
    transform: translateX(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.planning-feature-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: #c4a77d;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a192f;
    font-size: 1.5rem;
}

.planning-feature-content h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: #0a192f;
    margin-bottom: 6px;
}

.planning-feature-content p {
    color: #5a6a7a;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   SECTION 4.3 - DO I NEED IT
   ============================================ */
.planning-need {
    background: #f8f5f0;
    padding: 80px 0;
}

.planning-need-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
}

.planning-need-column {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.planning-need-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e8e8e8;
}

.planning-need-icon {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.planning-need-icon-required {
    background: rgba(196, 167, 125, 0.15);
    color: #c4a77d;
}

.planning-need-icon-permitted {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.planning-need-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: #0a192f;
    margin: 0;
}

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

.planning-need-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #5a6a7a;
    font-size: 0.9375rem;
    line-height: 1.5;
}

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

.planning-need-list li i {
    margin-top: 4px;
    font-size: 0.875rem;
}

.planning-need-required .planning-need-list li i {
    color: #c4a77d;
}

.planning-need-permitted .planning-need-list li i {
    color: #28a745;
}

.planning-need-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
    padding: 16px;
    background: rgba(40, 167, 69, 0.05);
    border-radius: 10px;
    border-left: 3px solid #28a745;
}

.planning-need-note i {
    color: #28a745;
    margin-top: 2px;
}

.planning-need-note p {
    font-size: 0.875rem;
    color: #5a6a7a;
    margin: 0;
    line-height: 1.5;
}

.planning-need-cta {
    text-align: center;
}

.planning-need-cta p {
    font-size: 1.125rem;
    color: #5a6a7a;
    margin-bottom: 16px;
}

/* ============================================
   SECTION 4.4 - PLANNING PROCESS
   ============================================ */
.planning-process {
    background: #ffffff;
    padding: 80px 0;
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 0;
}

.process-timeline-line {
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #c4a77d, rgba(196, 167, 125, 0.3));
}

.process-timeline-step {
    position: relative;
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
}

.process-timeline-step:last-child {
    margin-bottom: 0;
}

.process-timeline-number {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: #c4a77d;
    color: #0a192f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(196, 167, 125, 0.3);
}

.process-timeline-card {
    flex: 1;
    background: #f8f5f0;
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    border: 1px solid rgba(196, 167, 125, 0.15);
}

.process-timeline-step:hover .process-timeline-card {
    transform: translateX(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.process-timeline-icon {
    width: 48px;
    height: 48px;
    background: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c4a77d;
    font-size: 1.25rem;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.process-timeline-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: #0a192f;
    margin-bottom: 8px;
}

.process-timeline-description {
    color: #5a6a7a;
    line-height: 1.7;
    margin-bottom: 16px;
}

.process-timeline-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.process-timeline-features li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: #5a6a7a;
    background: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
}

.process-timeline-features li i {
    color: #c4a77d;
    font-size: 0.75rem;
}

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

/* ============================================
   SECTION 4.5 - FAQ
   ============================================ */
.planning-faq {
    background: #f8f5f0;
    padding: 80px 0;
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto 48px;
}

.faq-item {
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.faq-item.active {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: #c4a77d;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 500;
    color: #0a192f;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #c4a77d;
}

.faq-icon {
    min-width: 24px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c4a77d;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: #5a6a7a;
    line-height: 1.8;
    margin: 0;
}

.faq-bottom-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 48px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    margin: 0 auto;
}

.faq-cta-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: #0a192f;
    margin-bottom: 6px;
}

.faq-cta-content p {
    color: #5a6a7a;
    margin: 0;
}

/* ============================================
   CTA STRIP
   ============================================ */
.cta-strip {
    position: relative;
    padding: 60px 0;
    background: #0a192f;
    overflow: hidden;
}

.cta-strip-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern-dots.svg') repeat;
    opacity: 0.05;
}

.cta-strip-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-strip-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.cta-strip-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 992px) {
    .planning-what-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .planning-need-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline-line {
        display: none;
    }
    
    .process-timeline-step {
        flex-direction: column;
        gap: 16px;
    }
    
    .process-timeline-number {
        margin-left: 0;
    }
    
    .faq-bottom-cta {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .planning-hero {
        height: auto;
        min-height: 60vh;
        padding: 60px 0;
    }
    
    .planning-hero-title {
        font-size: 2rem;
    }
    
    .planning-hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .planning-hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .planning-feature {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .planning-feature-icon {
        margin: 0 auto;
    }
    
    .planning-need-column {
        padding: var(--space-lg);
    }
    
    .faq-question {
        padding: var(--space-md) var(--space-lg);
        font-size: var(--text-base);
    }
    
    .faq-answer p {
        padding: 0 var(--space-lg) var(--space-md);
    }
    
    .faq-bottom-cta {
        padding: var(--space-lg);
    }
}

@media (max-width: 480px) {
    .planning-need-header {
        flex-direction: column;
        text-align: center;
    }
    
    .process-timeline-card {
        padding: var(--space-lg);
    }
    
    .process-timeline-features {
        flex-direction: column;
    }
    
    .process-timeline-features li {
        justify-content: flex-start;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.planning-feature,
.planning-need-column,
.process-timeline-step,
.faq-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.planning-feature.animate-in,
.planning-need-column.animate-in,
.process-timeline-step.animate-in,
.faq-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays */
.planning-feature:nth-child(1) { transition-delay: 0.1s; }
.planning-feature:nth-child(2) { transition-delay: 0.2s; }
.planning-feature:nth-child(3) { transition-delay: 0.3s; }
.planning-feature:nth-child(4) { transition-delay: 0.4s; }

.process-timeline-step:nth-child(2) { transition-delay: 0.1s; }
.process-timeline-step:nth-child(3) { transition-delay: 0.2s; }
.process-timeline-step:nth-child(4) { transition-delay: 0.3s; }
.process-timeline-step:nth-child(5) { transition-delay: 0.4s; }

.faq-item:nth-child(1) { transition-delay: 0.05s; }
.faq-item:nth-child(2) { transition-delay: 0.1s; }
.faq-item:nth-child(3) { transition-delay: 0.15s; }
.faq-item:nth-child(4) { transition-delay: 0.2s; }
.faq-item:nth-child(5) { transition-delay: 0.25s; }
.faq-item:nth-child(6) { transition-delay: 0.3s; }
.faq-item:nth-child(7) { transition-delay: 0.35s; }
.faq-item:nth-child(8) { transition-delay: 0.4s; }
.faq-item:nth-child(9) { transition-delay: 0.45s; }
.faq-item:nth-child(10) { transition-delay: 0.5s; }
