/* ==========================================================================
   LINA ARCHITECTURE - HOME PAGE (INDEX) CSS
   Landing Page Specific Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(28, 43, 58, 0.9) 0%,
        rgba(28, 43, 58, 0.7) 50%,
        rgba(28, 43, 58, 0.5) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: var(--space-20) var(--space-4);
    width: 100%;
}

.hero-text {
    max-width: 700px;
    color: var(--color-white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background-color: rgba(200, 169, 126, 0.2);
    border: 1px solid var(--color-secondary);
    border-radius: var(--radius-full);
    color: var(--color-secondary);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-6);
    animation: fadeInDown 0.6s ease forwards;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

.hero-title span {
    color: var(--color-secondary);
}

.hero-description {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-8);
    animation: fadeInUp 0.6s ease 0.4s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    animation: fadeInUp 0.6s ease 0.6s forwards;
    opacity: 0;
}

.hero-stats {
    display: flex;
    gap: var(--space-8);
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.6s ease 0.8s forwards;
    opacity: 0;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--color-secondary);
    line-height: 1;
    margin-bottom: var(--space-1);
}

.hero-stat-label {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
    animation: bounce 2s infinite;
}

.hero-scroll-icon {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    position: relative;
}

.hero-scroll-icon::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: var(--color-secondary);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0%, 100% { opacity: 1; top: 8px; }
    50% { opacity: 0.5; top: 20px; }
}

/* --------------------------------------------------------------------------
   RESPONSIVE HERO
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
    .hero-title {
        font-size: var(--text-5xl);
    }
    
    .hero-content {
        padding: var(--space-24) var(--space-6);
    }
    
    .hero-stats {
        gap: var(--space-12);
    }
    
    .hero-stat-number {
        font-size: var(--text-4xl);
    }
}

@media (min-width: 1200px) {
    .hero-title {
        font-size: var(--text-6xl);
    }
    
    .hero-content {
        padding: var(--space-24) var(--space-8);
    }
}

/* ==========================================================================
   SECTION 1.2 — TRUST BAR
   ========================================================================== */
.trust-bar {
    background-color: var(--color-accent);
    padding: var(--space-6) 0;
    border-bottom: 1px solid rgba(28, 43, 58, 0.1);
}

.trust-bar-container {
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--space-4);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-4);
}

.trust-bar-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    text-align: center;
}

.trust-bar-number {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--color-secondary);
}

.trust-bar-text {
    font-size: var(--text-sm);
    color: var(--color-primary);
    font-weight: var(--font-medium);
}

.trust-bar-divider {
    display: none;
    width: 1px;
    height: 32px;
    background-color: rgba(28, 43, 58, 0.2);
}

@media (min-width: 768px) {
    .trust-bar {
        padding: var(--space-5) 0;
    }
    
    .trust-bar-container {
        gap: var(--space-8);
    }
    
    .trust-bar-divider {
        display: block;
    }
    
    .trust-bar-item {
        flex-direction: column;
        gap: var(--space-1);
    }
    
    .trust-bar-number {
        font-size: var(--text-2xl);
    }
}

@media (min-width: 1200px) {
    .trust-bar-container {
        gap: var(--space-12);
        padding: 0 var(--space-8);
    }
}

/* ==========================================================================
   SECTION 1.3 — SERVICES OVERVIEW
   ========================================================================== */
.services-overview {
    background-color: var(--color-white);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

.service-card {
    position: relative;
    background-color: var(--color-accent);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    text-decoration: none;
    color: var(--color-primary);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: var(--color-secondary);
    transition: height 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(28, 43, 58, 0.15);
    border-color: var(--color-secondary);
}

.service-card:hover::before {
    height: 100%;
}

.service-card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--color-primary) 0%, #2a3f52 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-5);
    transition: transform 0.3s ease;
}

.service-card:hover .service-card-icon {
    transform: scale(1.1);
}

.service-card-icon i {
    font-size: 24px;
    color: var(--color-secondary);
}

.service-card-title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-3);
    color: var(--color-primary);
}

.service-card-description {
    font-size: var(--text-base);
    color: var(--color-text-muted);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
    flex-grow: 1;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--color-secondary);
    transition: gap 0.3s ease;
}

.service-card:hover .service-card-link {
    gap: var(--space-3);
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-8);
    }
}

/* ==========================================================================
   SECTION 1.4 — HOW IT WORKS
   ========================================================================== */
.how-it-works {
    position: relative;
    overflow: hidden;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

.process-step {
    position: relative;
    background-color: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: 0 4px 20px rgba(28, 43, 58, 0.08);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--space-6);
    align-items: center;
}

.process-step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #d4b896 100%);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(200, 169, 126, 0.4);
}

.process-step-content {
    flex-grow: 1;
}

.process-step-title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--color-primary);
    margin-bottom: var(--space-2);
}

.process-step-description {
    font-size: var(--text-base);
    color: var(--color-text-muted);
    line-height: var(--leading-relaxed);
}

.process-step-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    background-color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-step-icon i {
    font-size: 20px;
    color: var(--color-primary);
}

.process-connector {
    display: none;
}

@media (min-width: 768px) {
    .process-step {
        padding: var(--space-10);
    }
    
    .process-step-number {
        width: 64px;
        height: 64px;
        font-size: var(--text-3xl);
    }
}

@media (min-width: 1200px) {
    .process-steps {
        flex-direction: row;
        align-items: stretch;
        gap: 0;
    }
    
    .process-step {
        flex: 1;
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: var(--space-4);
        padding: var(--space-10);
    }
    
    .process-step-number {
        width: 72px;
        height: 72px;
        margin: 0 auto var(--space-4);
    }
    
    .process-step-icon {
        display: none;
    }
    
    .process-connector {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 var(--space-2);
    }
    
    .process-connector-line {
        width: 40px;
        height: 2px;
        background-color: var(--color-secondary);
        position: relative;
    }
    
    .process-connector-arrow {
        color: var(--color-secondary);
        font-size: 14px;
    }
}

/* ==========================================================================
   SECTION 1.5 — FEATURED PROJECTS
   ========================================================================== */
.featured-projects {
    background-color: var(--color-white);
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

.project-card {
    position: relative;
    background-color: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(28, 43, 58, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(28, 43, 58, 0.15);
}

.project-card-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project-card:hover .project-card-image img {
    transform: scale(1.1);
}

.project-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(28, 43, 58, 0.9) 0%, rgba(28, 43, 58, 0) 60%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: var(--space-6);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-card-overlay {
    opacity: 1;
}

.project-card-view {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-white);
    font-weight: var(--font-semibold);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.project-card:hover .project-card-view {
    transform: translateY(0);
}

.project-card-content {
    padding: var(--space-6);
}

.project-card-category {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-secondary);
    margin-bottom: var(--space-2);
}

.project-card-title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--color-primary);
    margin-bottom: var(--space-2);
}

.project-card-location {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-3);
}

.project-card-location i {
    color: var(--color-secondary);
}

.project-card-summary {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: var(--leading-relaxed);
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .project-card-image {
        height: 300px;
    }
}

/* ==========================================================================
   SECTION 1.6 — TESTIMONIALS
   ========================================================================== */
.testimonials {
    background-color: var(--color-primary);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200, 169, 126, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.section-header-light .section-label {
    color: var(--color-secondary);
}

.section-header-light .section-title {
    color: var(--color-white);
}

.section-header-light .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

.testimonial-card {
    position: relative;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(200, 169, 126, 0.3);
    transform: translateY(-4px);
}

.testimonial-quote-icon {
    position: absolute;
    top: var(--space-6);
    right: var(--space-6);
    font-size: 48px;
    color: var(--color-secondary);
    opacity: 0.3;
}

.testimonial-stars {
    display: flex;
    gap: var(--space-1);
    margin-bottom: var(--space-4);
}

.testimonial-stars i {
    color: var(--color-secondary);
    font-size: 14px;
}

.testimonial-text {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-6);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-author-name {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--color-white);
    margin-bottom: 0;
}

.testimonial-author-project {
    font-size: var(--text-sm);
    color: var(--color-secondary);
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-8);
    }
}

/* ==========================================================================
   SECTION 1.7 — FAQ
   ========================================================================== */
.faq-section {
    background-color: var(--color-accent);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto var(--space-12);
}

.faq-item {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(28, 43, 58, 0.05);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(28, 43, 58, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-6);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--color-primary);
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--color-secondary);
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    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 var(--space-6) var(--space-6);
    font-size: var(--text-base);
    color: var(--color-text-muted);
    line-height: var(--leading-relaxed);
}

/* ==========================================================================
   SECTION 1.8 — CTA STRIP
   ========================================================================== */
.cta-strip {
    position: relative;
    padding: var(--space-16) 0;
    overflow: hidden;
}

.cta-strip-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #d4b896 50%, var(--color-primary) 100%);
    z-index: -1;
}

.cta-strip-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

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

.cta-strip-title {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--color-white);
    margin-bottom: var(--space-4);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-strip-text {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-8);
}

.cta-strip .btn-primary {
    background-color: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
}

.cta-strip .btn-primary:hover {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

@media (min-width: 768px) {
    .cta-strip {
        padding: var(--space-20) 0;
    }
    
    .cta-strip-title {
        font-size: var(--text-4xl);
    }
}

@media (min-width: 1200px) {
    .cta-strip-title {
        font-size: var(--text-5xl);
    }
}
