/* Секція "Як зробити замовлення" */
.how-to-order {
    padding: 80px 0;
    background: linear-gradient(135deg, #bae6e6 0%, #a8d0d0 50%, #7fb8b8 100%);
    position: relative;
    overflow: hidden;
}

.how-to-order::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="25" cy="25" r="1" fill="rgba(255,255,255,0.2)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.15)"/><circle cx="50" cy="10" r="0.8" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.6" fill="rgba(255,255,255,0.08)"/><circle cx="90" cy="40" r="0.7" fill="rgba(255,255,255,0.12)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(1deg); }
    50% { transform: translateY(-5px) rotate(-1deg); }
    75% { transform: translateY(-15px) rotate(0.5deg); }
}

.how-to-order .container {
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.3);
    font-family: 'Roboto', sans-serif;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #bae6e6, #7fb8b8);
    border-radius: 2px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: translateX(-50%) scaleX(1); }
    50% { opacity: 0.7; transform: translateX(-50%) scaleX(1.2); }
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 0.8;
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 40px 20px;
}

.step-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    flex: 1;
    min-width: 250px;
    max-width: 280px;
}

.step-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: rgba(127, 184, 184, 0.3);
}

.step-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #bae6e6, #a8d0d0, #7fb8b8, #bae6e6);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-card:hover::before {
    opacity: 1;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #7fb8b8 0%, #a8d0d0 100%);
    color: white;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(127, 184, 184, 0.4);
    position: relative;
    overflow: hidden;
}

.step-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.step-card:hover .step-number::before {
    left: 100%;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

.step-card:hover .icon-img {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(3px 3px 6px rgba(0,0,0,0.2));
}

.step-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    font-family: 'Roboto', sans-serif;
}

.step-description {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.cta-container {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
}

.cta-button-special {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #7fb8b8 0%, #a8d0d0 100%);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(127, 184, 184, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-button-special::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.cta-button-special:hover::before {
    left: 100%;
}

.cta-button-special:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(127, 184, 184, 0.6);
}

.cta-button-special:active {
    transform: translateY(-1px) scale(1.02);
}

/* Додаткові цікаві ефекти */
.how-to-order::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(186, 230, 230, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatRight 15s ease-in-out infinite;
}

@keyframes floatRight {
    0%, 100% { transform: translateY(0px) translateX(0px) scale(1); }
    25% { transform: translateY(-20px) translateX(-10px) scale(1.1); }
    50% { transform: translateY(-10px) translateX(10px) scale(0.9); }
    75% { transform: translateY(-30px) translateX(-5px) scale(1.05); }
}

.steps-container::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(127, 184, 184, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatLeft 12s ease-in-out infinite reverse;
}

@keyframes floatLeft {
    0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    25% { transform: translateY(15px) translateX(15px) rotate(90deg); }
    50% { transform: translateY(5px) translateX(-10px) rotate(180deg); }
    75% { transform: translateY(25px) translateX(5px) rotate(270deg); }
}

.steps-container {
    position: relative;
}

/* Ефект з'єднувальних ліній між кроками */
.step-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -20px;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #bae6e6, #7fb8b8);
    transform: translateY(-50%);
    opacity: 0.6;
    animation: lineGlow 3s ease-in-out infinite;
}

@keyframes lineGlow {
    0%, 100% { opacity: 0.6; box-shadow: none; }
    50% { opacity: 1; box-shadow: 0 0 10px rgba(127, 184, 184, 0.5); }
}

/* Ефект частинок */
.step-number::after {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, #bae6e6, transparent);
    border-radius: 50%;
    animation: particle 4s ease-in-out infinite;
}

@keyframes particle {
    0%, 100% { transform: scale(0) rotate(0deg); opacity: 0; }
    25% { transform: scale(1) rotate(90deg); opacity: 1; }
    50% { transform: scale(0.5) rotate(180deg); opacity: 0.7; }
    75% { transform: scale(1.2) rotate(270deg); opacity: 0.9; }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-card {
    animation: fadeInUp 0.6s ease forwards;
}

.step-card:nth-child(1) { animation-delay: 0.1s; }
.step-card:nth-child(2) { animation-delay: 0.2s; }
.step-card:nth-child(3) { animation-delay: 0.3s; }
.step-card:nth-child(4) { animation-delay: 0.4s; }

/* Адаптивність */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px 10px;
    }
    
    .step-card {
        max-width: 100%;
        min-width: auto;
        width: 100%;
        padding: 30px 20px;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
    
    .step-icon {
        font-size: 2.5rem;
    }
    
    .cta-button-special {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .how-to-order {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    
    .step-card {
        padding: 25px 15px;
    }
}

/* Order Form Section - Простіші стилі */
.order-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #bae6e6 0%, #a8d0d0 50%, #7fb8b8 100%);
    position: relative;
    overflow: hidden;
}

.form-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(255,255,255,0.2);
}

.form-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    font-family: 'Roboto', sans-serif;
}

.form-group {
    margin-bottom: 30px;
    position: relative;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-input, .form-input select {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid rgba(127, 184, 184, 0.3);
    border-radius: 10px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #7fb8b8;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(127, 184, 184, 0.1);
}

/* Стилізація select */
select.form-input {
    appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%237fb8b8"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    cursor: pointer;
}

/* Quantity Controls */
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
    margin-top: 10px;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #7fb8b8 0%, #a8d0d0 100%);
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(127, 184, 184, 0.3);
}

.quantity-btn:hover {
    box-shadow: 0 6px 20px rgba(127, 184, 184, 0.4);
}

.quantity-input {
    width: 80px !important;
    text-align: center;
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0 !important;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #7fb8b8 0%, #a8d0d0 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    box-shadow: 0 8px 25px rgba(127, 184, 184, 0.4);
}

.submit-btn:hover {
    box-shadow: 0 10px 30px rgba(127, 184, 184, 0.5);
}

/* Видалено анімацію форми для статичного вигляду */

/* Видалено анімації частинок для статичного вигляду */

/* Адаптивність для Order Form */
@media (max-width: 768px) {
    .order-section {
        padding: 60px 0;
        min-height: auto;
    }
    
    .form-container {
        margin: 20px;
        padding: 40px 30px;
        border-radius: 20px;
    }
    
    .form-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .form-group {
        margin-bottom: 25px;
    }
    
    .form-input {
        padding: 15px 18px;
        font-size: 0.95rem;
    }
    
    .quantity-controls {
        gap: 12px;
    }
    
    .quantity-btn {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
    
    .quantity-input {
        width: 70px !important;
        font-size: 1.1rem;
    }
    
    .submit-btn {
        padding: 18px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .order-section {
        padding: 40px 0;
    }
    
    .form-container {
        margin: 15px;
        padding: 30px 20px;
        border-radius: 15px;
    }
    
    .form-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-input {
        padding: 12px 15px;
        font-size: 0.9rem;
        border-radius: 12px;
    }
    
    .quantity-controls {
        gap: 10px;
    }
    
    .quantity-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .quantity-input {
        width: 60px !important;
        font-size: 1rem;
    }
    
    .submit-btn {
        padding: 15px;
        font-size: 1.1rem;
        border-radius: 12px;
    }
    
    /* Зменшуємо анімації на мобільних для кращої продуктивності */
    .form-container {
        animation: none;
    }
    
    .order-section::before,
    .order-section::after,
    .order-section .container::before,
    .order-section .container::after {
        display: none;
    }
}