/* ===================================
   ABOUT PAGE STYLES
   =================================== */

/* Hero Section */
.about-hero {
    position: relative;
    height: 90vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-hero .hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.about-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 2rem;
}

.about-hero .hero-logo {
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-hero .hero-logo img {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
    display: block;
}

.about-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    color: var(--white);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.about-hero p {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.95);
    animation: fadeInUp 1s ease-out 0.4s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 0.95;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Introduction Section */
.intro-section {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text .section-tag {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.125rem;
    margin-bottom: 1.5rem;
}

.intro-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-family: var(--font-heading);
    color: var(--dark-color);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.intro-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-color);
}

.intro-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.intro-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.intro-image:hover img {
    transform: scale(1.05);
}

/* Process Section */
.process-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(to bottom, #faf8f6, var(--white));
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.process-card {
    position: relative;
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(193, 121, 86, 0.2);
}

/* Artistic Grid Layout */
.process-card:nth-child(1) {
    grid-column: 1 / 7;
    grid-row: 1;
}

.process-card:nth-child(2) {
    grid-column: 7 / 13;
    grid-row: 1;
}

.process-card:nth-child(3) {
    grid-column: 1 / 5;
    grid-row: 2;
    background: linear-gradient(135deg, var(--primary-color), #d4a574);
    color: var(--white);
}

.process-card:nth-child(3) h3,
.process-card:nth-child(3) p {
    color: var(--white);
}

.process-card:nth-child(3) .process-icon {
    background: rgba(255, 255, 255, 0.2);
}

.process-card:nth-child(3) .process-icon i {
    color: var(--white);
}

.process-card:nth-child(4) {
    grid-column: 5 / 9;
    grid-row: 2;
}

.process-card:nth-child(5) {
    grid-column: 9 / 13;
    grid-row: 2;
}

.process-card:nth-child(6) {
    grid-column: 1 / 8;
    grid-row: 3;
    background: linear-gradient(135deg, #8b7355, var(--dark-color));
    color: var(--white);
}

.process-card:nth-child(6) h3,
.process-card:nth-child(6) p {
    color: var(--white);
}

.process-card:nth-child(6) .process-icon {
    background: rgba(255, 255, 255, 0.2);
}

.process-card:nth-child(6) .process-icon i {
    color: var(--white);
}

.process-card:nth-child(7) {
    grid-column: 8 / 13;
    grid-row: 3;
}

.process-number {
    position: absolute;
    top: -20px;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    font-family: var(--font-heading);
    box-shadow: 0 4px 15px rgba(193, 121, 86, 0.3);
    z-index: 2;
}

.process-card:nth-child(3) .process-number,
.process-card:nth-child(6) .process-number {
    background: var(--white);
    color: var(--primary-color);
}

.process-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f8f6f4, #faf8f6);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.process-icon i {
    font-size: 2.25rem;
    color: var(--primary-color);
}

.process-card h3 {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.process-card p {
    color: var(--text-color);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* Why Choose Us Section */
.why-choose-section {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

.pillars-grid {
    display: grid;
    gap: 3rem;
    margin-top: 4rem;
}

.pillar-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
    background: linear-gradient(135deg, #faf8f6, var(--white));
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.pillar-card:nth-child(even) {
    grid-template-columns: 1.2fr 1fr;
}

.pillar-card:nth-child(even) .pillar-image {
    order: 2;
}

.pillar-card:nth-child(even) .pillar-content {
    order: 1;
}

.pillar-image {
    height: 100%;
    min-height: 350px;
}

.pillar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pillar-content {
    padding: 3rem;
    position: relative;
}

.pillar-number {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: rgba(193, 121, 86, 0.1);
    line-height: 1;
}

.pillar-content h3 {
    font-size: 1.75rem;
    font-family: var(--font-heading);
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.pillar-content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-color);
}

/* History Section */
.history-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(to bottom, #faf8f6, var(--white));
}

.history-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.history-text .section-tag {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.125rem;
    margin-bottom: 1.5rem;
}

.history-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-family: var(--font-heading);
    color: var(--dark-color);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.history-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2.5rem;
}

.cities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.city-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--white);
    color: var(--primary-color);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9375rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.city-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(193, 121, 86, 0.2);
}

.city-badge i {
    font-size: 1rem;
}

.history-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(95, 32, 32, 0.1);
}

.history-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* Commitment Section */
.commitment-section {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

.commitment-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.commitment-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.commitment-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.commitment-text .section-tag {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.125rem;
    margin-bottom: 1.5rem;
}

.commitment-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-family: var(--font-heading);
    color: var(--dark-color);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.commitment-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2.5rem;
}

.commitment-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, #faf8f6, var(--white));
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(193, 121, 86, 0.15);
}

.value-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.value-item span {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.9375rem;
}

/* CTA Section */
.cta-section {
    position: relative;
    background: var(--gradient-primary);
    background-image: url('../../assets/images/about/cta.avif');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    padding: var(--spacing-xl) 0;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(193, 121, 86, 0.92), rgba(139, 115, 85, 0.92));
    backdrop-filter: blur(1px);
    z-index: 0;
}

.cta-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    z-index: 1;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, var(--white) 35px, var(--white) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, var(--white) 35px, var(--white) 70px);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary,
.btn-cta-secondary {
    padding: 1.125rem 2.5rem;
    font-size: 1.0625rem;
}

.btn-cta-primary {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-cta-primary:hover {
    background-color: var(--dark-color);
    color: var(--white);
}

.btn-cta-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-cta-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1024px) {
    .intro-content,
    .history-content,
    .commitment-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .history-content {
        grid-template-columns: 1fr;
    }
    
    .pillar-card {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .pillar-card:nth-child(even) {
        grid-template-columns: 1fr;
    }
    
    .pillar-card:nth-child(even) .pillar-image,
    .pillar-card:nth-child(even) .pillar-content {
        order: unset;
    }
    
    .pillar-image {
        min-height: 300px;
    }
    
    /* Tablet Process Layout */
    .process-card:nth-child(1),
    .process-card:nth-child(2) {
        grid-column: span 6;
    }
    
    .process-card:nth-child(3),
    .process-card:nth-child(4),
    .process-card:nth-child(5) {
        grid-column: span 4;
    }
    
    .process-card:nth-child(6) {
        grid-column: span 7;
    }
    
    .process-card:nth-child(7) {
        grid-column: span 5;
    }
}

@media (max-width: 768px) {
    .about-hero {
        height: 50vh;
        min-height: 400px;
    }
    
    .about-hero .hero-content {
        padding: 0 1.5rem;
    }
    
    .about-hero .hero-logo {
        margin-bottom: 1.5rem;
    }
    
    .about-hero .hero-logo img {
        max-width: 280px;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .process-card:nth-child(1),
    .process-card:nth-child(2),
    .process-card:nth-child(3),
    .process-card:nth-child(4),
    .process-card:nth-child(5),
    .process-card:nth-child(6),
    .process-card:nth-child(7) {
        grid-column: 1;
        grid-row: auto;
    }
    
    .pillar-content {
        padding: 2rem 1.5rem;
    }
    
    .pillar-number {
        font-size: 3.5rem;
        top: 1rem;
        right: 1rem;
    }
    
    .intro-image img,
    .history-image img,
    .commitment-image img {
        height: 350px;
    }
    
    .cities-list {
        gap: 0.75rem;
    }
    
    .city-badge {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .commitment-values {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    /* Disable fixed background on mobile for better performance */
    .cta-section {
        background-attachment: scroll;
        background-position: center;
    }
    
    .cta-section::before {
        background: linear-gradient(135deg, rgba(193, 121, 86, 0.93), rgba(139, 115, 85, 0.93));
    }
}

@media (max-width: 480px) {
    .process-card {
        padding: 2rem 1.5rem;
    }
    
    .process-number {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
        top: -15px;
        right: 1.5rem;
    }
    
    .process-icon {
        width: 60px;
        height: 60px;
    }
    
    .process-icon i {
        font-size: 1.75rem;
    }
}
