/* Enhanced About Section Styles */

.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(52, 152, 219, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(231, 76, 60, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.about h2 {
    text-align: center;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-text {
    animation: slideInLeft 1s ease-out;
}

.about-text h3 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
}

.about-text h3::before {
    content: '🍽️';
    position: absolute;
    left: -40px;
    top: 0;
    font-size: 1.8rem;
    animation: bounce 2s infinite;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
    text-align: justify;
    position: relative;
}

.about-text p:first-of-type::first-letter {
    font-size: 3rem;
    font-weight: bold;
    color: var(--secondary-color);
    float: left;
    line-height: 1;
    margin: 0 8px 0 0;
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: left 0.5s;
}

.feature:hover::before {
    left: 100%;
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.feature i {
    font-size: 2rem;
    color: var(--secondary-color);
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(52, 152, 219, 0.2));
    padding: 1rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    min-width: 60px;
    text-align: center;
}

.feature:hover i {
    transform: rotate(360deg);
    background: linear-gradient(135deg, var(--secondary-color), #2980b9);
    color: var(--white);
}

.feature span {
    font-weight: 500;
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.4;
}

/* About Image */
.about-image {
    position: relative;
    animation: slideInRight 1s ease-out;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
}

.about-image::after {
    content: '15+ Years of Excellence';
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent-color), #c0392b);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
    animation: pulse 2s infinite;
}

/* Stats Counter */
.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
}

/* Interactive Timeline */
.heritage-timeline {
    margin-top: 4rem;
    position: relative;
}

.timeline-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-weight: 600;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--secondary-color), var(--accent-color));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.timeline-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 50%;
    padding-right: 2rem;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    padding-left: 2rem;
}

.timeline-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.timeline-year {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 2;
}

.timeline-content h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .about {
        padding: 60px 0;
    }
    
    .about h2 {
        font-size: 2.2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text h3 {
        font-size: 1.8rem;
    }
    
    .about-text h3::before {
        display: none;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .about-image img {
        height: 300px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 60px;
        margin-right: 0;
        padding-left: 1rem;
        padding-right: 1rem;
        text-align: left;
    }
    
    .timeline-year {
        left: 20px;
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .about h2 {
        font-size: 1.8rem;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
    
    .feature {
        padding: 1rem;
    }
    
    .feature i {
        font-size: 1.5rem;
        padding: 0.8rem;
        min-width: 50px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
}