/* css/components.css */

/* PRIMARY BUTTON */
.btn-primary {
    display: inline-block;
    background: var(--primary-green);
    color: white;
    padding: 14px 34px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-primary:hover {
    background: #7a917a;
    transform: translateY(-3px);
}

.btn-primary.small {
    padding: 12px 28px;
    font-size: 1rem;
    margin-top: 0;
}

/* HERO */
.hero {
    height: 72vh;
    min-height: 480px;
    position: relative;
    overflow: hidden;
}

.hero-slides, .hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.45));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    z-index: 2;
}

.hero-content h1,
.hero-content p {
    color: white !important;
}

/* WHO WE ARE */
.who-we-are {
    padding: 70px 0;
    background: var(--light-bg);
}

.who-we-are-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.who-we-are h2 {
    margin-bottom: 24px;
    color: #3f4a3f;
}

.who-we-are p {
    font-size: 1.18rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #444;
}

/* TOP SELLERS */
.top-sellers {
    padding: 80px 0;
    background: white;
}

.top-sellers h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #3f4a3f;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    max-width: 1100px;
    margin: 0 auto;
}

.product-card {
    background: #fbf9f5;
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 25px;
}

.product-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.product-card h3 {
    margin: 18px 0 8px;
    font-size: 1.3rem;
    color: #2c2c2c;
}

.product-card .price {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 16px;
}

/* ==================== TESTIMONIALS - TIGHTER BOTTOM ==================== */
.testimonials {
    padding: 80px 0 60px;           /* Reduced bottom padding */
    background: white;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 45px;
    color: #3f4a3f;
}

.testimonials-grid {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    height: 310px;                  /* Tighter height */
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 48px 45px 40px;        /* Reduced bottom padding inside card */
    border-radius: 24px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.09);
    text-align: center;
    opacity: 0;
    transition: opacity 1s ease;
    min-height: 260px;
}

.testimonial-card.active {
    opacity: 1;
}

.quote-icon {
    position: absolute;
    top: 22px;
    left: 40px;
    font-size: 5.2rem;
    line-height: 1;
    color: var(--primary-green);
    opacity: 0.28;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.testimonial-card p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444;
    margin: 42px 0 0;
    padding: 0 15px;
}

/* Mobile */
@media (max-width: 768px) {
    .testimonials {
        padding: 70px 0 50px;
    }
    .testimonials-grid {
        height: 330px;
    }
}

/* ==================== READY TO PLACE AN ORDER - FIXED ==================== */
.order-section {
    padding: 80px 0;
    background: var(--accent-beige);
    text-align: center;
}

.order-content {
    max-width: 700px;
    margin: 0 auto;
}

.order-content h2 {
    font-size: clamp(2.2rem, 5vw, 2.8rem);
    margin-bottom: 16px;
    color: #3f4a3f;
}

.order-content p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
}

.order-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    padding: 16px 36px;
}

/* ==================== FOOTER - CENTERED ==================== */
.footer {
    background: #f8f5f0;
    color: #555;
    padding: 70px 0 40px;
    margin-top: 80px;
    border-top: 1px solid #e5e0d8;
}

.footer-content {
    text-align: center;
    margin-bottom: 40px;
}

.footer-content .logo {
    font-size: 2.1rem;
    color: #3f4a3f;
    margin-bottom: 30px;
    display: inline-block;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 70px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-column h4 {
    color: #3f4a3f;
    margin-bottom: 14px;
    font-size: 1.05rem;
}

.footer-column a {
    display: block;
    color: #666;
    margin-bottom: 8px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    text-align: center;
    color: #777;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Mobile */
@media (max-width: 768px) {
    .footer-links {
        gap: 50px;
    }
}

/* CONTACT SECTION */
.contact-section {
    padding: 100px 0;
    background: var(--accent-beige);
    text-align: center;
}

.contact-section h2 {
    margin-bottom: 20px;
    color: #3f4a3f;
}

.contact-buttons {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Extra padding so "Ready to Place an Order" isn't hidden under header */
#order {
    scroll-margin-top: 100px;
}

/* FLOATING PLACE AN ORDER BUTTON */
.floating-order-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-green);
    color: white;
    padding: 14px 26px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    z-index: 1000;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.floating-order-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* SHOP PAGE */
.coming-soon {
    padding: 120px 0 140px;
    background: white;
    text-align: center;
}

.coming-soon-content {
    max-width: 680px;
    margin: 0 auto;
}

.coming-soon h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    color: #3f4a3f;
    margin-bottom: 20px;
}

.coming-soon p {
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 35px;
}