@import "./global.css";
/* Home.css */
body { font-family: 'Poppins', Arial, sans-serif; background: #fff; color: #222; }

/* General responsive improvements */
body {
    font-size: 16px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Slider */
.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.slide {
    min-width: 100%;
    /* Increased minimum and viewport-relative height so hero content isn't clipped */
    height: clamp(260px, 78vh, 760px);
    background-size: cover;
    background-position: center;
    position: relative;
}
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    z-index: 2;
}
.slider-arrow.left { left: 10px; }
.slider-arrow.right { right: 10px; }
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}
.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.5;
    cursor: pointer;
}
.slider-dot.active { opacity: 1; background: #d97c2b; }

/* Hero Text */
.hero-content {
    position: absolute;
    top: 10%;
    left: 6%;
    color: #fff;
    max-width: min(600px, 86%);
    z-index: 1;
    padding-right: 8px;
}
.hero-content h1 {
    font-size: clamp(1.6rem, 4.5vw, 3rem);
    font-weight: bold;
    color: #ffb347;
    margin-bottom: 1rem;
}
.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero-content .cta-btn {
    background: #4caf50;
    color: #fff;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}
.hero-content .cta-btn:hover {
    background: #388e3c;
}

/* Main Content */
.main-content {
    
    max-width: 1200px;
    margin: 0 auto;
}
.main-content h2 {
    font-size: 2.2rem;
    color: #d97c2b;
    margin-bottom: 1rem;
    text-align: center;
}
.main-content p {
    font-size: 1.2rem;
    color: #444;
    text-align: center;
    margin-bottom: 2rem;
}


/* Features Section */
.features-section {
    width: 100%;
    background: #fff;
    padding: 3rem 0 2rem 0;
    text-align: center;
}
.features-title {
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}
.homemade-highlight {
    color: #e74c3c;
    font-weight: bold;
    font-family: 'Poppins', Arial, sans-serif;
}
.features-desc {
    color: #444;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    text-align: center;
}
.features-link {
    color: #3b82f6;
    font-weight: 500;
}
.features-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.feature-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    width: 340px;
    padding: 2rem 1.5rem 2.5rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s;
}
.feature-card:hover {
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}
.feature-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 1rem;
}
.feature-title {
    color: #e74c3c;
    font-size: 1.15rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}
.feature-text {
    color: #555;
    font-size: 1rem;
}
.browse-btn {
    display: inline-block;
    background: #e74c3c;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    padding: 0.7rem 2rem;
    font-size: 1rem;
    margin-top: 1.5rem;
    text-decoration: none;
    transition: background 0.2s;
}
.browse-btn:hover {
    background: #c0392b;
}
@media (max-width: 1100px) {
    .features-cards { flex-direction: column; gap: 1.5rem; }
    .feature-card { width: 90vw; max-width: 400px; }
}

/* Responsive */
@media (max-width: 900px) {
    .products { flex-direction: column; align-items: center; }
    /* Slightly taller slides on tablets to keep hero text visible */
    .slide { height: clamp(240px, 48vh, 520px); }
}
@media (max-width: 600px) {
    /* Phones: make slide taller so hero box doesn't overlap/cut off */
    .slide { height: clamp(220px, 44vh, 360px); }
    .hero-content { position: static; padding: 12px 16px; color: #fff; }
    .main-content { padding: 1rem; }
}
.hero-flex {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}
@media (max-width: 700px) {
    /* Narrow screens: ensure minimum height large enough for content */
    .slide { height: clamp(220px, 42vh, 380px); }
    .features-title { font-size: 1.3rem; }
    .feature-card { width: 100%; }
}
@media (max-width: 300px) {
    /* Narrow screens: ensure minimum height large enough for content */
    .slide { height: clamp(220px, 69vh, 380px); }
    .features-title { font-size: 1.3rem; }
    .feature-card { width: 100%; }
}
.hero-flex {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}
.features-container {
    flex: 1 1 480px;
    min-width: 340px;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.features-title {
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    text-align: center;
}
.homemade-highlight {
    color: #e74c3c;
    font-weight: bold;
    font-family: 'Poppins', Arial, sans-serif;
}
.features-desc {
    color: #444;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    text-align: center;
}
.features-link {
    color: #3b82f6;
    font-weight: 500;
}
.features-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.feature-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    width: 340px;
    padding: 2rem 1.5rem 2.5rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s;
}
.feature-card:hover {
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}
.feature-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 1rem;
}
.feature-title {
    color: #e74c3c;
    font-size: 1.15rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}
.feature-text {
    color: #555;
    font-size: 1rem;
}
.browse-btn {
    display: inline-block;
    background: #e74c3c;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    padding: 0.7rem 2rem;
    font-size: 1rem;
    margin-top: 0.5rem;
    text-decoration: none;
    transition: background 0.2s;
}
.browse-btn:hover {
    background: #c0392b;
}
@media (max-width: 1100px) {
    .hero-flex { flex-direction: column; align-items: center; }
    .slider-container, .features-container { max-width: 100%; }
    .features-cards { flex-direction: column; gap: 1rem; }
}
@media (max-width: 700px) {
    /* Keep slider-container and slide in sync with the above clamp */
    .slider-container, .slide { height: clamp(220px, 42vh, 380px); }
    .features-title { font-size: 1.3rem; }
    .feature-card { width: 100%; }
}
/* Taste of Home Section */
/* Taste of Home Section */
.taste-of-home-section {
    background: #f3e6d7;
    padding: 3rem 0 2.5rem 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.taste-of-home-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    gap: 3rem;
    flex-wrap: wrap;
    /* Remove max-width */
}
.taste-of-home-image {
    flex: 0 0 340px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.taste-of-home-image img {
    width: 320px;
    height: auto;
    border-radius: 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    background: #fff;
    padding: 1.5rem;
}
.taste-of-home-text {
    flex: 1 1 400px;
    min-width: 320px;
    max-width: 600px;
}
.taste-of-home-promise {
    color: #b03a2e;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.taste-of-home-text h2 {
    font-size: 2.1rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #222;
}
.real-taste-highlight {
    color: #e74c3c;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: bold;
}
.taste-of-home-text p {
    color: #6d4c2f;
    font-size: 1.08rem;
    margin-bottom: 0.7rem;
    line-height: 1.6;
}
.taste-of-home-text .browse-btn {
    margin-top: 1.2rem;
}
@media (max-width: 900px) {
    .taste-of-home-content {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    .taste-of-home-image img {
        width: 220px;
        padding: 1rem;
    }
    .taste-of-home-text h2 {
        font-size: 1.3rem;
    }
}
/* Fresh Daily Section */
.fresh-daily-section {
    background: #fff;
    padding: 3rem 0 2.5rem 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
.fresh-daily-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1rem;
}
.fresh-daily-label {
    color: #b03a2e;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
}
.fresh-daily-content h2 {
    font-size: 2.1rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #222;
}
.fresh-daily-highlight {
    color: #e74c3c;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: bold;
}
.fresh-daily-content p {
    color: #6d4c2f;
    font-size: 1.08rem;
    margin-bottom: 2.2rem;
    line-height: 1.6;
    text-align: center;
}
.fresh-daily-products {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.fresh-daily-product {
    width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.fresh-daily-img-wrap {
    width: 240px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #fff;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.fresh-daily-img-wrap img {
    width: 90%;
    height: 90%;
    object-fit: cover;
    border-radius: 50%;
    background: #fff;
}
.fresh-daily-title {
    color: #e74c3c;
    font-size: 1.08rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
}
.fresh-daily-desc {
    color: #222;
    font-size: 0.98rem;
    line-height: 1.4;
}
@media (max-width: 1100px) {
    .fresh-daily-products { flex-wrap: wrap; gap: 1.2rem; }
    .fresh-daily-product { width: 45vw; min-width: 180px; }
}
@media (max-width: 700px) {
    .fresh-daily-products { flex-direction: column; align-items: center; }
    .fresh-daily-product { width: 90vw; }
    .fresh-daily-img-wrap { width: 120px; height: 120px; }
}
/* No Shortcuts Guarantee Section */
.no-shortcuts-section {
    background: #f6ede2;
    padding: 3rem 0 2.5rem 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
.no-shortcuts-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 0 1rem;
}
.no-shortcuts-text {
    flex: 1 1 400px;
    min-width: 320px;
    max-width: 600px;
}
.no-shortcuts-label {
    color: #b03a2e;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.no-shortcuts-text h2 {
    font-size: 2.1rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #222;
}
.no-shortcuts-italic {
    font-style: italic;
    font-weight: 400;
}
.no-shortcuts-bold {
    font-size: 1.08rem;
    color: #222;
    margin-bottom: 0.7rem;
    font-weight: 600;
}
.no-shortcuts-text p {
    color: #6d4c2f;
    font-size: 1.08rem;
    margin-bottom: 1.2rem;
    line-height: 1.6;
}
.no-shortcuts-text .browse-btn {
    margin-top: 0.5rem;
}
.no-shortcuts-image {
    flex: 0 0 340px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.no-shortcuts-image img {
    width: 320px;
    height: auto;
    border-radius: 1.2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    background: #fff;
    padding: 1.5rem;
}
@media (max-width: 900px) {
    .no-shortcuts-content {
        flex-direction: column-reverse;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    .no-shortcuts-image img {
        width: 220px;
        padding: 1rem;
    }
    .no-shortcuts-text h2 {
        font-size: 1.3rem;
    }
}

/* Subscription Section */
.subscription-section {
    background: #ffffff !important;
    padding: 3rem 0 2.5rem 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
.subscription-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 0 1rem;
}
.subscription-text {
    flex: 1 1 400px;
    min-width: 320px;
    max-width: 600px;
}
.subscription-label {
    color: #b03a2e;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.subscription-text h2 {
    font-size: 2.1rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #222;
}
.subscription-text p {
    color: #6d4c2f;
    font-size: 1.08rem;
    margin-bottom: 1.2rem;
    line-height: 1.6;
}
.subscription-list-title {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
    color: #222;
}
.subscription-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem 0;
}
.subscription-list li {
    display: flex;
    align-items: flex-start;
    font-size: 1.05rem;
    color: #222;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
}
.subscription-icon {
    color: #e74c3c;
    font-size: 1.2rem;
    margin-right: 0.5rem;
    min-width: 1.2em;
    display: inline-block;
}
.subscription-image {
    flex: 0 0 340px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.subscription-image img {
    width: 320px;
    height: auto;
    border-radius: 1.2rem;
    background: #fff;
    padding: 1.5rem;
}
@media (max-width: 900px) {
    .subscription-content {
        flex-direction: column-reverse;
        gap: 1rem;
        padding: 0 1rem;
    }
    .subscription-image img {
        width: 100%;
        max-width: 220px;
        padding: 0.5rem;
    }
    .subscription-text h2 {
        font-size: 1.1rem;
    }
}
@media (max-width: 400px) {
    .hero-content h1,
    .main-content h2,
    .features-title,
    .taste-of-home-text h2,
    .fresh-daily-content h2,
    .no-shortcuts-text h2,
    .subscription-text h2 {
        font-size: 1rem;
    }
    /* Small phones: allow more vertical room than the previous 120px */
    .slider-container, .slide {
        height: clamp(160px, 38vh, 260px);
        max-height: none;
    }
    .feature-card,
    .fresh-daily-product {
        max-width: 95vw;
    }
}