/* Delivery Page Styles */

.delivery-info {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.delivery-method {
    margin-bottom: 4rem;
}

.delivery-method h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.delivery-method h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #007AFF, #5856D6);
    border-radius: 2px;
}

.method-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 122, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007AFF, #5856D6, #AF52DE);
}

.method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 122, 255, 0.2);
}

.method-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.method-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0.8rem;
}

.method-card p:last-child {
    margin-bottom: 0;
}

.method-card p strong {
    color: #007AFF;
    font-weight: 600;
}

.delivery-conditions {
    margin-top: 4rem;
}

.delivery-conditions h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.delivery-conditions h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #34C759, #30D158);
    border-radius: 2px;
}

.condition-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(52, 199, 89, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.condition-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #34C759, #30D158);
}

.condition-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(52, 199, 89, 0.2);
}

.condition-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.condition-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Hero Section Enhancement */
.hero {
    background: linear-gradient(135deg, #007AFF 0%, #5856D6 50%, #AF52DE 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero::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-container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .delivery-info {
        padding: 1rem;
    }
    
    .delivery-method h2,
    .delivery-conditions h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .method-card,
    .condition-item {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .method-card h3,
    .condition-item h3 {
        font-size: 1.2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .method-card,
    .condition-item {
        padding: 1.2rem;
    }
    
    .delivery-method h2,
    .delivery-conditions h2 {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.method-card,
.condition-item {
    animation: fadeInUp 0.6s ease-out;
}

.method-card:nth-child(2) {
    animation-delay: 0.1s;
}

.method-card:nth-child(3) {
    animation-delay: 0.2s;
}

.method-card:nth-child(4) {
    animation-delay: 0.3s;
}

.condition-item:nth-child(2) {
    animation-delay: 0.1s;
}

.condition-item:nth-child(3) {
    animation-delay: 0.2s;
}

.condition-item:nth-child(4) {
    animation-delay: 0.3s;
}

.condition-item:nth-child(5) {
    animation-delay: 0.4s;
}