/*
 * Yewodze Enterprise - Enhanced Homepage Styles
 * Theme: Green, Yellow, and White
 */

/* Hero Section Enhancements */
.hero-section {
    padding: 0;
    position: relative;
    overflow: hidden;
    background-color: #ffd700 !important; /* Changed to yellow with !important */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffd700; /* Solid yellow background */
    z-index: 0; /* Lower z-index to be behind content */
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 7rem 0;
    color: #000000; /* Changed to black */
    background-color: transparent;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #000000; /* Changed to black */
    text-shadow: none; /* Removed text shadow */
    animation: fadeInDown 1s ease-out;
    line-height: 1.2;
    text-transform: capitalize !important; /* Changed to capitalize */
    font-size: 3rem !important;
    font-weight: 700 !important;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #000000; /* Changed to black */
    text-shadow: none; /* Removed text shadow */
    animation: fadeInUp 1.2s ease-out;
    font-size: 1.4rem !important;
    font-weight: 400 !important;
}

.hero-buttons {
    animation: fadeInUp 1.4s ease-out;
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    background-color: rgba(46, 139, 87, 0.25); /* Green shapes on yellow background with higher opacity */
    border-radius: 50%;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    animation: float 15s infinite alternate;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: -100px;
    animation: float 12s infinite alternate-reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: -75px;
    left: 30%;
    animation: float 10s infinite alternate;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(30px, 30px) rotate(15deg);
    }
}

.hero-image-container {
    position: relative;
    z-index: 2;
    animation: fadeIn 1.5s ease-out;
    background-color: transparent;
}

.hero-carousel {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background-color: transparent;
}

.hero-carousel .carousel-item {
    height: 500px;
}

.hero-carousel .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    max-width: 800px; /* Limit maximum width */
}

.hero-carousel .carousel-indicators {
    bottom: 20px;
}

.hero-carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    margin: 0 5px;
}

.hero-carousel .carousel-indicators button.active {
    background-color: #ffd700;
}

/* Featured Products Section */
.featured-products {
    padding: 5rem 0;
    background-color: #fff;
}

.section-header {
    margin-bottom: 3rem;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.section-title {
    position: relative;
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2e8b57;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #2e8b57, #ffd700);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
}

.product-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    animation: fadeInUp 1.2s ease-out;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.product-image img {
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-details {
    padding: 1.5rem;
    background-color: #fff;
    position: relative;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #2e8b57;
}

.pricing-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 0;
}

.wholesale-badge {
    background-color: #ffd700;
    color: #343a40;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wholesale-note {
    color: #6c757d;
    font-size: 0.95rem;
    font-style: italic;
}

.product-description {
    color: #6c757d;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.product-actions {
    display: flex;
    gap: 8px; /* Reduced gap between buttons */
}

.view-details-btn {
    background-color: #2e8b57;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    flex: 1;
}

.view-details-btn:hover {
    background-color: #1a5632;
    transform: translateY(-2px);
}

.inquiry-btn {
    background-color: transparent;
    color: #2e8b57;
    border: 1px solid #2e8b57;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    flex: 1;
}

.inquiry-btn:hover {
    background-color: #ffd700;
    color: #343a40;
    border-color: #ffd700;
    transform: translateY(-2px);
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232e8b57' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    animation: fadeInLeft 1.2s ease-out;
}

.about-image img {
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
    animation: fadeInRight 1.2s ease-out;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2e8b57;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #2e8b57, #ffd700);
    border-radius: 2px;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 1.5rem;
}

.learn-more-btn {
    background-color: transparent;
    color: #2e8b57;
    border: 2px solid #2e8b57;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.learn-more-btn:hover {
    background-color: #2e8b57;
    color: #fff;
    transform: translateY(-2px);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 5rem 0;
    background-color: #fff;
}

.feature-card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    animation: fadeInUp 1.2s ease-out;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(46, 139, 87, 0.1);
    border-radius: 50%;
    color: #2e8b57;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background-color: #2e8b57;
    color: #fff;
    transform: rotateY(180deg);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2e8b57;
    margin-bottom: 1rem;
}

.feature-text {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.05) 0%, rgba(255, 215, 0, 0.05) 100%);
    position: relative;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin: 1rem 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: rgba(46, 139, 87, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
}

.testimonial-author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author-info h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2e8b57;
    margin-bottom: 0.25rem;
}

.testimonial-author-info p {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
}

/* Contact CTA Section */
.contact-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #2e8b57 0%, #1a5632 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.contact-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.contact-cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1.2s ease-out;
}

.contact-cta .btn {
    animation: fadeInUp 1.4s ease-out;
}

.contact-btn {
    background-color: #ffd700;
    color: #343a40;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.contact-btn:hover {
    background-color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    color: #2e8b57;
}

.call-btn {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.call-btn:hover {
    background-color: #fff;
    color: #2e8b57;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-content {
        padding: 5rem 0;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-carousel {
        margin-top: 2rem;
    }

    .hero-carousel .carousel-item {
        height: 400px;
    }

    .about-content {
        padding: 2rem 0;
        margin-top: 2rem;
    }
}

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

    .hero-carousel .carousel-item {
        height: 300px;
    }

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

    .feature-card {
        margin-bottom: 2rem;
    }
}

/* Duplicate floating shapes section removed */
