/**
 * Coffee Shop V2 - About Page
 * Modern design with beautiful animations
 */

/* ============================================
   HERO SECTION
   ============================================ */

.about-hero {
    position: relative;
    background: linear-gradient(135deg, #0f1f3d 0%, #1e3a5f 50%, #2d4f7a 100%);
    padding: 8rem 0 6rem;
    overflow: hidden;
    color: white;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    animation: heroFloat 20s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
}

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

.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    opacity: 1 !important;
    color: #ffffff;
}
.value-card h4{color: #ffffff;}
.about-hero p {
    font-size: 1.3rem;
    opacity: 0.95 !important;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ============================================
   STORY SECTION
   ============================================ */

.about-story {
    padding: 6rem 0;
    background: #ffffff;
}

.story-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 30px rgba(212, 175, 55, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-image-wrapper:hover {
    transform: translateY(-15px);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.2),
        0 0 50px rgba(212, 175, 55, 0.3);
}

.story-image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.story-image-wrapper:hover img {
    transform: scale(1.1);
}

.story-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.story-image-wrapper:hover .story-image-overlay {
    opacity: 1;
}

.story-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    position: relative;
    display: block;
    font-family: 'Playfair Display', serif;
    opacity: 1 !important;
}

.story-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #d4a574, transparent);
}

.story-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
    opacity: 1 !important;
}

/* ============================================
   COMMITMENTS SECTION
   ============================================ */

.about-commitments {
    padding: 6rem 0;
    background: linear-gradient(180deg, #F8F9F8 0%, #ffffff 100%);
}

.commitment-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid transparent;
    opacity: 1 !important;
}

.commitment-item:hover {
    transform: translateX(15px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-left-color: #d4a574;
}

.commitment-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e3a5f, #2d4f7a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(27, 77, 62, 0.3);
    transition: transform 0.4s ease;
}

.commitment-item:hover .commitment-icon {
    transform: rotate(360deg) scale(1.1);
}

.commitment-text h5 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    opacity: 1 !important;
}

.commitment-text p {
    margin: 0;
    color: #666;
    opacity: 1 !important;
}

/* ============================================
   VALUES CARDS
   ============================================ */

.about-values {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f1f3d 0%, #1e3a5f 100%);
    position: relative;
    overflow: hidden;
}

.about-values::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 15% 25%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.about-values .container {
    position: relative;
    z-index: 2;
}

.about-values h2 {
    color: white;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    opacity: 1 !important;
}

.about-values .text-center p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 4rem;
    opacity: 1 !important;
}

.value-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.value-card:hover::before {
    opacity: 1;
}

.value-card:hover {
    transform: translateY(-20px) scale(1.05);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.value-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #d4a574, #e6b885);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    transition: all 0.4s ease;
    position: relative;
}

.value-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110px;
    height: 110px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.5;
    }
}

.value-card:hover .value-icon {
    transform: rotateY(360deg);
}

.value-card h5 {
    color: #d4a574;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 1 !important;
}

.value-card p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    opacity: 1 !important;
}

/* ============================================
   STATS SECTION
   ============================================ */

.about-stats {
    padding: 5rem 0;
    background: white;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    transition: transform 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e3a5f, #d4a574);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
    opacity: 1 !important;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 1 !important;
}
.story-wrapper-sticky{
    position: sticky;
    top: 90px;
}
/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991px) {
    .about-hero h1 {
        font-size: 2.5rem;
    }

    .about-hero {
        padding: 5rem 0 4rem;
    }

    .about-story,
    .about-commitments,
    .about-values {
        padding: 4rem 0;
    }

    .story-image-wrapper img {
        height: 350px;
    }

    .story-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .about-hero h1 {
        font-size: 2rem;
    }

    .about-hero p {
        font-size: 1.1rem;
    }

    .story-image-wrapper img {
        height: 250px;
    }

    .value-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    .commitment-item {
        padding: 1.5rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-scroll {
    animation: fadeInUp 0.8s ease-out;
}

.value-card:nth-child(1) { animation-delay: 0.1s; }
.value-card:nth-child(2) { animation-delay: 0.2s; }
.value-card:nth-child(3) { animation-delay: 0.3s; }
