/* =====================================================
   ZAIN MILK SHOP
   MAIN WEBSITE STYLESHEET
===================================================== */


/* ---------- VARIABLES ---------- */

:root {

    --green: #245c45;
    --dark-green: #153b2d;

    --cream: #fffaf0;
    --light-green: #edf5ef;

    --gold: #d4a64a;

    --white: #ffffff;

    --text: #25332c;
    --muted: #69756f;

    --border: #e1e7e2;

    --shadow:
        0 15px 40px rgba(21, 59, 45, 0.10);

}


/* ---------- RESET ---------- */

* {

    margin: 0;
    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: var(--cream);

    color: var(--text);

    line-height: 1.6;

}


img {

    max-width: 100%;

    display: block;

}


a {

    text-decoration: none;

    color: inherit;

}


/* ---------- CONTAINER ---------- */

.container {

    width: min(1120px, 92%);

    margin: auto;

}


/* =====================================================
   HEADER
===================================================== */

.header {

    position: sticky;

    top: 0;

    z-index: 999;

    background:
        rgba(255, 250, 240, 0.97);

    border-bottom:
        1px solid var(--border);

}


.navbar {

    min-height: 78px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}


.brand {

    display: flex;

    align-items: center;

    gap: 10px;

    color: var(--green);

}


.logo {

    width: 52px;

    height: 52px;

    object-fit: contain;

}


.brand h2 {

    font-size: 1.05rem;

    line-height: 1.1;

}


.brand span {

    display: block;

    font-size: .65rem;

    letter-spacing: 2px;

    color: var(--gold);

    font-weight: bold;

}


.nav {

    display: flex;

    align-items: center;

    gap: 22px;

}


.nav a {

    font-size: .9rem;

    font-weight: 700;

    transition: .2s;

}


.nav a:hover,
.nav a.active {

    color: var(--green);

}


.profile-btn {

    border: 1px solid var(--green);

    color: var(--green);

    padding: 9px 16px;

    border-radius: 10px;

    font-weight: bold;

}


.menu-btn {

    display: none;

    border: none;

    background: var(--green);

    color: white;

    border-radius: 9px;

    padding: 9px 12px;

    font-size: 20px;

}


/* =====================================================
   BUTTONS
===================================================== */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    border: none;

    border-radius: 11px;

    padding: 12px 20px;

    font-weight: 800;

    cursor: pointer;

    transition: .2s;

}


.btn:hover {

    transform: translateY(-2px);

}


.btn-primary {

    background: var(--green);

    color: white;

}


.btn-primary:hover {

    background: var(--dark-green);

}


.btn-secondary {

    border: 1px solid var(--green);

    color: var(--green);

    background: transparent;

}


.full-btn {

    width: 100%;

}


/* =====================================================
   HERO
===================================================== */

.hero {

    padding: 80px 0;

    background:
        linear-gradient(
            120deg,
            #f5edda,
            #fffaf0 55%,
            #eaf3ed
        );

}


.hero-grid {

    display: grid;

    grid-template-columns:
        1.05fr .95fr;

    gap: 50px;

    align-items: center;

}


.hero-badge {

    display: inline-block;

    padding: 7px 13px;

    border-radius: 50px;

    background: #e4efe7;

    color: var(--green);

    font-size: .8rem;

    font-weight: bold;

    margin-bottom: 15px;

}


.hero h1 {

    color: var(--dark-green);

    font-size:
        clamp(2.5rem, 5vw, 4.5rem);

    line-height: 1.05;

    margin-bottom: 18px;

}


.hero h1 span {

    display: block;

    color: var(--gold);

}


.hero p {

    max-width: 620px;

    color: var(--muted);

    font-size: 1.05rem;

    margin-bottom: 25px;

}


.hero-buttons {

    display: flex;

    gap: 12px;

    flex-wrap: wrap;

}


.hero-image-box {

    padding: 15px;

    background: white;

    border-radius: 25px;

    box-shadow: var(--shadow);

}


.hero-image-box img {

    width: 100%;

    height: 380px;

    object-fit: cover;

    border-radius: 18px;

}


/* =====================================================
   SECTION
===================================================== */

.section {

    padding: 75px 0;

}


.light-section {

    background: var(--light-green);

}


.section-title {

    max-width: 700px;

    text-align: center;

    margin: 0 auto 40px;

}


.section-title span,
.section-label {

    color: var(--gold);

    font-weight: 800;

    font-size: .78rem;

    letter-spacing: 1.5px;

}


.section-title h2 {

    color: var(--dark-green);

    font-size: 2.1rem;

    margin: 7px 0;

}


.section-title p {

    color: var(--muted);

}


/* =====================================================
   PRODUCTS
===================================================== */

.product-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 22px;

}


.product-card {

    background: white;

    border:
        1px solid var(--border);

    border-radius: 18px;

    overflow: hidden;

    box-shadow: var(--shadow);

}


.product-card > img {

    width: 100%;

    height: 190px;

    object-fit: cover;

}


.product-content {

    padding: 20px;

}


.product-content h3 {

    color: var(--dark-green);

    margin-bottom: 7px;

}


.product-content p {

    color: var(--muted);

    font-size: .9rem;

}


.price,
.big-price {

    color: var(--gold);

    font-size: 1.2rem;

    font-weight: 900;

    margin: 10px 0;

}


.card-buttons {

    display: flex;

    gap: 8px;

    flex-wrap: wrap;

}


.small-btn {

    border: none;

    background: var(--green);

    color: white;

    padding: 9px 13px;

    border-radius: 9px;

    font-weight: bold;

    cursor: pointer;

}


.small-btn.outline {

    background: transparent;

    color: var(--green);

    border: 1px solid var(--green);

}


/* =====================================================
   FEATURES
===================================================== */

.feature-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;

}


.feature-card {

    background: white;

    padding: 30px;

    text-align: center;

    border:
        1px solid var(--border);

    border-radius: 18px;

    box-shadow: var(--shadow);

}


.feature-icon {

    font-size: 2.3rem;

    margin-bottom: 10px;

}


.feature-card h3 {

    color: var(--dark-green);

    margin-bottom: 6px;

}


.feature-card p {

    color: var(--muted);

}


/* =====================================================
   ORDER SECTION
===================================================== */

.order-section {

    padding: 75px 0;

    background: var(--dark-green);

    color: white;

}


.order-grid {

    display: grid;

    grid-template-columns:
        .8fr 1.2fr;

    gap: 40px;

    align-items: start;

}


.order-info h2 {

    font-size: 2.3rem;

    margin-bottom: 12px;

}


.order-info p {

    color: #d5e4dc;

}


.contact-highlight {

    margin-top: 25px;

}


.contact-highlight strong {

    display: block;

}


.contact-highlight a {

    color: var(--gold);

    font-weight: bold;

}


.order-form-box {

    background: white;

    color: var(--text);

    padding: 28px;

    border-radius: 20px;

}


.form-row {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 16px;

}


.form-group {

    margin-bottom: 16px;

}


.form-group label {

    display: block;

    font-weight: 800;

    font-size: .9rem;

    margin-bottom: 6px;

}


input,
select,
textarea {

    width: 100%;

    border:
        1px solid #dce2dd;

    border-radius: 9px;

    padding: 12px;

    font: inherit;

    outline: none;

}


input:focus,
select:focus,
textarea:focus {

    border-color: var(--green);

}


textarea {

    min-height: 110px;

    resize: vertical;

}


/* =====================================================
   PAGE HERO
===================================================== */

.page-hero {

    text-align: center;

    padding: 60px 0;

    background:
        linear-gradient(
            120deg,
            #e9f3ed,
            #fffaf0
        );

}


.page-hero span {

    color: var(--gold);

    font-size: .78rem;

    font-weight: 900;

    letter-spacing: 1.5px;

}


.page-hero h1 {

    color: var(--dark-green);

    font-size: 2.8rem;

    margin: 7px 0;

}


.page-hero p {

    color: var(--muted);

}


/* =====================================================
   ABOUT
===================================================== */

.about-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 40px;

    align-items: center;

}


.about-image img {

    width: 100%;

    height: 390px;

    object-fit: cover;

    border-radius: 20px;

    box-shadow: var(--shadow);

}


.content-box {

    background: white;

    border:
        1px solid var(--border);

    border-radius: 20px;

    padding: 30px;

    box-shadow: var(--shadow);

}


.content-box h2 {

    color: var(--dark-green);

    font-size: 2rem;

    margin: 8px 0 14px;

}


.content-box p {

    color: var(--muted);

    margin-bottom: 12px;

}


.check-list {

    list-style: none;

    margin-top: 15px;

}


.check-list li {

    padding: 7px 0;

    color: var(--green);

    font-weight: bold;

}


.profile-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;

}


.profile-card {

    background: white;

    border:
        1px solid var(--border);

    border-radius: 15px;

    padding: 22px;

}


.profile-card strong {

    color: var(--dark-green);

}


.profile-card p {

    color: var(--muted);

    margin-top: 5px;

}


/* =====================================================
   PRODUCTS DETAILS
===================================================== */

.detail-product {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 45px;

    align-items: center;

    background: white;

    padding: 30px;

    border-radius: 22px;

    border:
        1px solid var(--border);

    box-shadow: var(--shadow);

    margin-bottom: 30px;

}


.detail-product.reverse img {

    order: 2;

}


.detail-product img {

    width: 100%;

    height: 330px;

    object-fit: cover;

    border-radius: 16px;

}


.detail-product h2 {

    color: var(--dark-green);

    font-size: 2rem;

    margin-top: 7px;

}


.detail-product p {

    color: var(--muted);

    margin-bottom: 12px;

}


.big-price {

    font-size: 1.5rem;

}


/* =====================================================
   SERVICES
===================================================== */

.service-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;

}


.service-card {

    background: white;

    padding: 30px;

    border:
        1px solid var(--border);

    border-radius: 20px;

    box-shadow: var(--shadow);

}


.service-icon {

    font-size: 2.4rem;

}


.service-card h3 {

    color: var(--dark-green);

    margin: 10px 0 7px;

}


.service-card p {

    color: var(--muted);

}


.cta-section {

    padding: 70px 0;

    background: #f0f6f2;

    text-align: center;

}


.cta-section h2 {

    color: var(--dark-green);

    font-size: 2.2rem;

}


.cta-section p {

    color: var(--muted);

    margin: 7px 0 20px;

}


/* =====================================================
   GALLERY
===================================================== */

.gallery-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;

}


.gallery-item {

    background: white;

    border-radius: 18px;

    overflow: hidden;

    box-shadow: var(--shadow);

}


.gallery-item img {

    width: 100%;

    height: 260px;

    object-fit: cover;

}


.gallery-item div {

    padding: 15px 18px;

}


.gallery-item h3 {

    color: var(--dark-green);

}


/* =====================================================
   CONTACT
===================================================== */

.contact-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 30px;

}


.contact-item {

    display: flex;

    gap: 14px;

    padding: 17px 0;

    border-bottom:
        1px solid var(--border);

}


.contact-icon {

    font-size: 1.5rem;

}


.contact-item strong {

    color: var(--dark-green);

}


.contact-item p {

    color: var(--muted);

}


.contact-item a {

    color: var(--green);

    font-weight: bold;

}


.map-box {

    background: white;

    border:
        1px solid var(--border);

    padding: 30px;

    border-radius: 20px;

    box-shadow: var(--shadow);

}


.map-box h2 {

    color: var(--dark-green);

    margin-bottom: 15px;

}


.map-placeholder {

    min-height: 300px;

    background: #edf5ef;

    border-radius: 15px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 20px;

}


.map-placeholder > :first-child {

    font-size: 3rem;

}


.map-placeholder p {

    color: var(--muted);

    margin: 12px 0 18px;

}


/* =====================================================
   LEGAL
===================================================== */

.legal-content {

    max-width: 850px;

}


.legal-content h2 {

    color: var(--dark-green);

    margin: 27px 0 8px;

}


.legal-content p,
.legal-content li {

    color: var(--muted);

}


.legal-content ul {

    padding-left: 22px;

    margin: 10px 0;

}


/* =====================================================
   FOOTER
===================================================== */

.footer {

    background: #12382b;

    color: #d8e7df;

    padding: 50px 0 20px;

}


.footer-grid {

    display: grid;

    grid-template-columns:
        1.3fr 1fr 1fr 1.2fr;

    gap: 30px;

}


.footer-brand {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 15px;

}


.footer-brand img {

    width: 50px;

    height: 50px;

}


.footer-brand h3 {

    color: white;

}


.footer-brand span {

    color: var(--gold);

    font-size: .65rem;

    letter-spacing: 1.5px;

}


.footer h3 {

    color: white;

    margin-bottom: 12px;

}


.footer a {

    display: block;

    color: #c7dbd1;

    margin: 7px 0;

}


.footer a:hover {

    color: white;

}


.footer p {

    color: #c1d3ca;

}


.copyright {

    border-top:
        1px solid rgba(255,255,255,.12);

    text-align: center;

    margin-top: 35px;

    padding-top: 18px;

    color: #9eb6aa;

    font-size: .85rem;

}


/* =====================================================
   WHATSAPP
===================================================== */

.whatsapp-float {

    position: fixed;

    right: 20px;

    bottom: 20px;

    width: 58px;

    height: 58px;

    border-radius: 50%;

    background: #25d366;

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 25px;

    box-shadow:
        0 8px 25px rgba(0,0,0,.2);

    z-index: 1000;

}


/* =====================================================
   RESPONSIVE
===================================================== */

@media(max-width: 950px) {


    .nav {

        display: none;

        position: absolute;

        top: 78px;

        left: 0;

        width: 100%;

        background: var(--cream);

        padding: 20px;

        flex-direction: column;

        border-bottom:
            1px solid var(--border);

    }


    .nav.open {

        display: flex;

    }


    .menu-btn {

        display: block;

        margin-left: auto;

    }


    .profile-btn {

        display: none;

    }


    .hero-grid,
    .about-grid,
    .order-grid,
    .contact-grid,
    .detail-product {

        grid-template-columns: 1fr;

    }


    .product-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .feature-grid,
    .service-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .profile-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .gallery-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .footer-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .detail-product.reverse img {

        order: 0;

    }

}


@media(max-width: 600px) {


    .navbar {

        min-height: 68px;

    }


    .logo {

        width: 45px;

        height: 45px;

    }


    .hero {

        padding: 55px 0;

    }


    .hero-image-box img {

        height: 270px;

    }


    .section {

        padding: 55px 0;

    }


    .product-grid,
    .feature-grid,
    .service-grid,
    .gallery-grid,
    .profile-grid,
    .footer-grid {

        grid-template-columns: 1fr;

    }


    .form-row {

        grid-template-columns: 1fr;

        gap: 0;

    }


    .page-hero h1 {

        font-size: 2.2rem;

    }


    .detail-product {

        padding: 20px;

    }


    .detail-product img {

        height: 250px;

    }


    .content-box,
    .map-box,
    .order-form-box {

        padding: 22px;

    }

}