/* Custom Styles for Royalux Home Page */

/* Royalux Story Section */
.royalux-story-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.story-content {
    padding: 2rem;
}

.legacy-highlight {
    background: rgba(218, 161, 76, 0.1);
    padding: 2rem;
    border-radius: 1rem;
    border-left: 4px solid var(--primary-color);
    margin-top: 2rem;
}

.legacy-highlight i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.story-features {
    padding: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(218, 161, 76, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.feature-content h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* Our Process Section */
.our-process-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.process-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

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

.process-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.process-icon {
    width: 60px;
    height: 60px;
    background: rgba(218, 161, 76, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.process-card h5 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.after-sales-support {
    background: linear-gradient(135deg, var(--primary-color) 0%, #b98b4e 100%);
    position: relative;
    overflow: hidden;
}

.after-sales-support::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Why Choose Royalux Section */
.why-choose-royalux-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.choose-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

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

.choose-icon {
    width: 60px;
    height: 60px;
    background: rgba(218, 161, 76, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.choose-card h5 {
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Wine Education Section */
.wine-education-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.education-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.education-icon {
    width: 50px;
    height: 50px;
    background: rgba(218, 161, 76, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.education-card h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.education-card .btn {
    margin-top: auto;
}

/* Testimonials Updates */
.testimonial-head h2 {
    font-size: 1.8rem;
    font-weight: 700;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 992px) {
    .story-content,
    .story-features {
        padding: 1rem;
    }
    
    .legacy-highlight {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .feature-item {
        padding: 1rem;
    }
    
    .process-card {
        padding: 1.5rem 1rem;
    }
    
    .choose-card {
        padding: 1.5rem 1rem;
    }
    
    .education-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .story-content,
    .story-features {
        padding: 0.5rem;
    }
    
    .legacy-highlight {
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .feature-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .process-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .process-number {
        position: static;
        margin: 0 auto 1rem;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .choose-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .education-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .testimonial-head h2 {
        font-size: 1.5rem;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .legacy-highlight {
        padding: 0.75rem;
    }
    
    .legacy-highlight i {
        font-size: 1.5rem;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .process-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .choose-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .education-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .testimonial-head h2 {
        font-size: 1.3rem;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover Effects */
.process-card,
.choose-card,
.education-card,
.feature-item {
    position: relative;
}

.process-card::before,
.choose-card::before,
.education-card::before,
.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(218, 161, 76, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
    pointer-events: none;
}

.process-card:hover::before,
.choose-card:hover::before,
.education-card:hover::before,
.feature-item:hover::before {
    opacity: 1;
}
