/**
 * Coffee Shop V2 - Brewing Guide & Process
 * Beautiful design for coffee making process and instructions
 */

/* ============================================
   BREWING PROCESS SECTION
   ============================================ */

.brewing-process {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(248, 249, 250, 1) 100%
    );
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.brewing-process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(212, 175, 55, 0.3) 50%,
        transparent 100%
    );
}

/* Section Title */
.brewing-process .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    opacity: 1 !important;
}

.brewing-process .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        #d4a574 50%,
        transparent 100%
    );
}

.brewing-process .section-subtitle {
    font-size: 1.1rem;
    color: #6C7872;
    margin-bottom: 3rem;
    opacity: 1 !important;
}

/* ============================================
   PROCESS CARDS
   ============================================ */

.process-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        #1e3a5f 0%,
        #d4a574 50%,
        #1e3a5f 100%
    );
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.process-card:hover::before {
    transform: scaleX(1);
}

.process-card:hover {
    transform: translateY(-15px);
    box-shadow:
        0 20px 50px rgba(27, 77, 62, 0.15),
        0 5px 15px rgba(212, 175, 55, 0.1);
}

/* Process Icon Container */
.process-icon-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.process-card:hover .process-icon-wrapper {
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Process Step Number */
.process-step {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1e3a5f, #2d4f7a);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(27, 77, 62, 0.3);
    z-index: 10;
    opacity: 1 !important;
}

/* Process Title */
.process-card h5 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    opacity: 1 !important;
    transition: color 0.3s ease;
}

.process-card:hover h5 {
    color: #d4a574;
}

/* Process Description */
.process-card p {
    font-size: 0.95rem;
    color: #6C7872;
    line-height: 1.6;
    margin: 0;
    opacity: 1 !important;
}

/* ============================================
   BREWING GUIDE SECTION
   ============================================ */

.brewing-guide {
    background: linear-gradient(180deg,
        #0f1f3d 0%,
        #1e3a5f 50%,
        #0f1f3d 100%
    );
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    color: white;
}

/* Background Pattern */
.brewing-guide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.brewing-guide .container {
    position: relative;
    z-index: 2;
}

/* Guide Header */
.guide-header {
    text-align: center;
    margin-bottom: 4rem;
}

.guide-product-name {
    font-size: 2.8rem;
    font-weight: 700;
    color: #d4a574;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
    opacity: 1 !important;
    font-family: 'Playfair Display', serif;
}

.guide-ingredients {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    opacity: 1 !important;
}

/* Guide Cards */
.guide-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 3rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.guide-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.4s ease;
}

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

.guide-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Guide Card Header */
.guide-card-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}

.guide-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #d4a574, #e6b885);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    position: relative;
}

.guide-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
}

.guide-card-title {
    font-size: 2rem;
    font-weight: 700;
    color: #d4a574;
    margin: 0;
    opacity: 1 !important;
    font-family: 'Playfair Display', serif;
}

/* Guide Steps */
.guide-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border-left: 4px solid #d4a574;
    transition: all 0.3s ease;
    position: relative;
}

.guide-step:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(10px);
}

.guide-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #d4a574, #e6b885);
    color: #0f1f3d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(212, 175, 55, 0.4);
    opacity: 1 !important;
}

.step-content {
    flex: 1;
}

.step-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-weight: 600;
    opacity: 1 !important;
}

.step-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin: 0;
    opacity: 1 !important;
}

.step-text strong {
    color: #d4a574;
    font-weight: 600;
}

/* Tips Section */
.brewing-tips {
    background: rgba(212, 175, 55, 0.1);
    border: 2px dashed rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.brewing-tips-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.brewing-tips-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #d4a574;
    margin-bottom: 1rem;
    opacity: 1 !important;
}

.brewing-tips-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
    opacity: 1 !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991px) {
    .brewing-process {
        padding: 4rem 0;
    }

    .brewing-guide {
        padding: 4rem 0;
    }

    .process-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }

    .guide-card {
        padding: 2.5rem 2rem;
        margin-bottom: 2rem;
    }

    .guide-product-name {
        font-size: 2.2rem;
    }

    .guide-card-title {
        font-size: 1.7rem;
    }
}

@media (max-width: 767px) {
    .brewing-process {
        padding: 3rem 0;
    }

    .brewing-guide {
        padding: 3rem 0;
    }

    .brewing-process .section-title {
        font-size: 2rem;
    }

    .process-card {
        padding: 2rem 1.5rem;
    }

    .process-icon-wrapper {
        width: 100px;
        height: 100px;
    }

    .guide-product-name {
        font-size: 1.8rem;
    }

    .guide-ingredients {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }

    .guide-card {
        padding: 2rem 1.5rem;
    }

    .guide-card-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .guide-icon {
        width: 60px;
        height: 60px;
        font-size: 1.7rem;
    }

    .guide-card-title {
        font-size: 1.5rem;
    }

    .guide-step {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 1rem;
    }

    .step-number {
        align-self: flex-start;
    }

    .brewing-tips {
        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;
}

/* Stagger animation for process cards */
.process-card:nth-child(1) {
    animation-delay: 0.1s;
}

.process-card:nth-child(2) {
    animation-delay: 0.2s;
}

.process-card:nth-child(3) {
    animation-delay: 0.3s;
}

.process-card:nth-child(4) {
    animation-delay: 0.4s;
}

/* Guide steps entrance */
.guide-step {
    animation: fadeInUp 0.6s ease-out backwards;
}

.guide-step:nth-child(1) { animation-delay: 0.1s; }
.guide-step:nth-child(2) { animation-delay: 0.2s; }
.guide-step:nth-child(3) { animation-delay: 0.3s; }
.guide-step:nth-child(4) { animation-delay: 0.4s; }
.guide-step:nth-child(5) { animation-delay: 0.5s; }
