/* About Page Specific Styles */

/* Hero Section */
.hero-about {
    background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-about h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Company Story */
.company-story {
    padding: 100px 0;
    background: #fbfbfd;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.story-text p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #515154;
    margin-bottom: 1.5rem;
}

.story-text p:last-child {
    margin-bottom: 0;
}

.image-placeholder {
    background: #f5f5f7;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.image-placeholder:hover {
    transform: translateY(-5px);
}

/* Mission & Values */
.mission-values {
    padding: 100px 0;
    background: white;
}

.mission-values h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1d1d1f;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.value-card {
    background: #fbfbfd;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e5e5e7;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-color: #007AFF;
}

.value-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 1rem;
}

.value-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #515154;
}

/* Statistics */
.statistics {
    padding: 100px 0;
    background: linear-gradient(135deg, #1d1d1f 0%, #2d2d30 100%);
    color: white;
}

.statistics h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #007AFF;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 1.125rem;
    font-weight: 500;
    opacity: 0.8;
}

/* Team */
.team {
    padding: 100px 0;
    background: #fbfbfd;
}

.team h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1d1d1f;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.team-member {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.member-photo {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.team-member h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 0.5rem;
}

.member-role {
    font-size: 1rem;
    font-weight: 500;
    color: #007AFF;
    margin-bottom: 1rem;
}

.team-member p:last-child {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #515154;
}

/* Why Choose Us */
.why-choose {
    padding: 100px 0;
    background: white;
}

.why-choose h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1d1d1f;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.advantage-item {
    padding: 2rem;
    border-radius: 12px;
    background: #fbfbfd;
    border-left: 4px solid #007AFF;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    background: white;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.advantage-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 1rem;
}

.advantage-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #515154;
}

/* Contact CTA */
.contact-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: white;
    color: #007AFF;
}

.btn-primary:hover {
    background: #f5f5f7;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #007AFF;
    transform: translateY(-2px);
}

/* Active navigation link */
.nav-menu a.active {
    color: #007AFF;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-about {
        padding: 80px 0 60px;
    }
    
    .hero-about h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .story-text h2,
    .mission-values h2,
    .statistics h2,
    .team h2,
    .why-choose h2 {
        font-size: 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
    }
    
    .company-story,
    .mission-values,
    .statistics,
    .team,
    .why-choose,
    .contact-cta {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-about h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .story-text h2,
    .mission-values h2,
    .statistics h2,
    .team h2,
    .why-choose h2,
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .value-card,
    .team-member {
        padding: 1.5rem;
    }
    
    .advantage-item {
        padding: 1.5rem;
    }
}

/* Cart Modal Styles */
.cart-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.cart-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    animation: modalSlideIn 0.3s ease-out;
}

.cart-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
}

.cart-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.cart-modal-close:hover {
    background: #f5f5f5;
    color: #333;
}

.cart-modal-body {
    padding: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
}

.cart-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #eee;
    background: #f8f9fa;
}

.cart-total {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    text-align: center;
}

.cart-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cart-actions .btn {
    flex: 1;
    max-width: 200px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 768px) {
    .cart-modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .cart-actions {
        flex-direction: column;
    }
    
    .cart-actions .btn {
        max-width: none;
    }
}