/**
 * About Section & Page Styles
 *
 * @package Napule_Restaurant
 * @since 1.0.0
 */

/* About Section (Homepage) */
.about-section {
    padding: var(--spacing-4xl) 0;
    background-color: #F4F9FC;
}

/* About Page */
.about-page {
    background-color: #f8f9fa;
    padding-top: 0;
    margin-top: 0;
}

/* Hero Section */
.about-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    padding-top: calc(120px + 3rem);
    padding-bottom: 4rem;
    text-align: center;
    margin-top: 0;
    display: flex;
    align-items: center;
    min-height: 400px;
    position: relative;
    z-index: 1;
}

.about-hero .container {
    width: 100%;
}

.about-hero h1 {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: white;
    line-height: 1.2;
}

.about-subtitle {
    font-size: 1.125rem;
    color: var(--color-accent);
    margin: 0 auto;
    font-weight: 300;
    max-width: 700px;
    line-height: 1.6;
}

/* Content Section */
.about-content {
    padding: 6rem 0;
}

/* Values Section */
.about-values {
    padding: 6rem 0;
    background-color: #f8f9fa;
}

.about-values .section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin: 0 0 4rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4a7ba7 0%, #2c5282 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(41, 59, 97, 0.2);
}

.value-icon svg {
    color: white;
    width: 48px;
    height: 48px;
}

.value-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 1rem;
}

.value-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* Team Section */
.about-team {
    padding: 6rem 0;
    background-color: #f0f4f8;
}

.about-team .section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin: 0 0 1.5rem;
}

.team-intro {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #64748b;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.team-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 0.5rem;
}

.team-role {
    font-size: 1rem;
    color: var(--color-secondary);
    margin: 0 0 1rem;
    font-weight: 500;
}

.team-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* Philosophy Section */
.about-philosophy {
    padding: 6rem 0;
    background-color: white;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.philosophy-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 2rem;
}

.philosophy-item {
    margin-bottom: 2rem;
}

.philosophy-item:last-child {
    margin-bottom: 0;
}

.philosophy-item h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 0.5rem;
}

.philosophy-item p {
    font-size: 1rem;
    line-height: 1.8;
    color: #64748b;
    margin: 0;
}

.philosophy-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.philosophy-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/3;
}



/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-section .about-grid {
    gap: var(--spacing-3xl);
    align-items: center;
}

/* About Image */
.about-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-section .about-image {
    border-radius: var(--radius-xl);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    max-width: 450px;
    margin: 0 auto;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.about-page .about-image img {
    aspect-ratio: 4/3;
}

.about-section .about-image img {
    height: auto;
    max-height: 400px;
    object-fit: cover;
}

.about-image:hover img {
    transform: scale(1.02);
}

/* About Text Content */
.about-text {
    padding: 2rem 0;
}

.about-section .about-text {
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-primary);
    margin: 0 0 2rem;
    font-weight: 700;
}

.about-section .about-title {
    font-size: var(--font-size-4xl);
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: var(--spacing-xl);
    font-weight: 700;
}

.about-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #4a5568;
    margin: 0 0 1.5rem;
}

.about-section .about-text p {
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .about-section .about-grid {
        gap: var(--spacing-2xl);
    }
    
    .about-section .about-text {
        padding: var(--spacing-md);
    }
    
    .about-section .about-text p {
        font-size: var(--font-size-base);
    }
}

@media (max-width: 968px) {
    .about-hero {
        padding-top: calc(115px + 2.5rem);
        min-height: 350px;
    }
    
    .about-hero h1 {
        font-size: 2.25rem;
    }
    
    .about-subtitle {
        font-size: 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .about-values .section-title {
        font-size: 2.5rem;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-team .section-title {
        font-size: 2.5rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .philosophy-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: var(--spacing-3xl) 0;
    }
    
    .about-section .about-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .about-section .about-image {
        order: -1;
        max-height: 300px;
    }
    
    .about-section .about-text {
        padding: 0;
    }
    
    .about-section .about-title {
        font-size: var(--font-size-3xl);
        margin-bottom: var(--spacing-lg);
    }
    
    .about-section .about-text {
        margin-bottom: var(--spacing-xl);
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .value-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 640px) {
    .about-hero {
        padding-top: calc(110px + 2rem);
        padding-bottom: 3rem;
        min-height: 300px;
    }

    .about-hero h1 {
        font-size: 1.875rem;
    }

    .about-subtitle {
        font-size: 0.95rem;
    }

    .about-content {
        padding: 4rem 0;
    }

    .about-text h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .about-values {
        padding: 4rem 0;
    }

    .about-values .section-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .value-icon {
        width: 64px;
        height: 64px;
    }

    .value-icon svg {
        width: 36px;
        height: 36px;
    }

    .value-card h3 {
        font-size: 1.25rem;
    }

    .about-team {
        padding: 4rem 0;
    }

    .about-team .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .team-intro {
        font-size: 1rem;
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }

    .team-card {
        padding: 2rem 1.5rem;
    }

    .about-philosophy {
        padding: 4rem 0;
    }

    .philosophy-text h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .philosophy-item {
        margin-bottom: 1.5rem;
    }

    .philosophy-item h3 {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: var(--spacing-2xl) 0;
    }
    
    .about-section .about-title {
        font-size: var(--font-size-2xl);
    }
    
    .about-section .about-text p {
        font-size: var(--font-size-sm);
    }
    
    .about-section .about-image {
        max-height: 250px;
    }
}
