/* =========================================================
   MARELLA EA WEBSITE STYLESHEET
   Version: 1.3
========================================================= */


/* =========================================================
   01. ROOT VARIABLES
========================================================= */

:root {
    --green: #064420;
    --green-dark: #04511f;
    --green-light: #08713f;
    --gold: #d9a21b;
    --navy: #08214a;
    --light: #f7f9f4;
    --text: #1f2a24;
    --white: #ffffff;
}


/* =========================================================
   02. RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================================================
   03. GLOBAL ELEMENTS
========================================================= */

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: #ffffff;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}


/* =========================================================
   04. LAYOUT / CONTAINER
========================================================= */

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 22px;
}


/* =========================================================
   05. HEADER
========================================================= */

.site-header {
    display: flex;
    align-items: center;
    padding: 18px 40px;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 320px;
}

.logo {
    height: 75px;
    width: auto;
}

.brand-text span {
    display: block;
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
    color: var(--green);
}

.brand-text small {
    color: #555;
    font-size: 15px;
}

.menu-toggle {
    display: none;
}


/* =========================================================
   06. NAVIGATION
========================================================= */

.main-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
}

.main-nav a {
    color: var(--navy);
    font-weight: 700;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--green-light);
}


/* =========================================================
   07. MEGA MENU
========================================================= */

.nav-item {
    position: relative;
}

.mega-parent {
    padding: 20px 0;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: min(880px, calc(100vw - 40px));
    background: #ffffff;
    display: none;
    grid-template-columns: 1.3fr 1fr 1fr;
    border-radius: 0 0 18px 18px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
    z-index: 9999;
}

.mega-parent:hover .mega-menu,
.mega-menu:hover {
    display: grid;
}

.mega-feature {
    background: linear-gradient(135deg, #046c3a, #0a8f4a);
    color: #ffffff;
    padding: 34px;
}

.mega-feature h3 {
    font-size: 30px;
    margin: 10px 0;
}

.mega-feature p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 22px;
}

.mega-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    padding: 7px 12px;
    border-radius: 30px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 800;
}

.mega-column {
    padding: 34px;
}

.mega-column h4 {
    color: var(--green);
    margin-bottom: 14px;
}

.mega-column a {
    display: block;
    padding: 10px 0;
    color: var(--navy);
    border-bottom: 1px solid #eef2f0;
}

.mega-column a:last-child {
    border-bottom: none;
}

.mega-btn {
    display: inline-block !important;
    background: var(--green-light);
    color: #ffffff !important;
    padding: 12px 18px !important;
    border-radius: 30px;
    font-weight: 700;
}


/* =========================================================
   08. BUTTONS
========================================================= */

.btn {
    display: inline-block;
    background: var(--green-light);
    color: #ffffff;
    padding: 12px 22px;
    border-radius: 40px;
    font-weight: 700;
}

.btn:hover {
    background: #055c31;
}

.btn.secondary {
    background: var(--navy);
}


/* =========================================================
   09. HERO BANNER
========================================================= */

.hero-banner {
    width: 100%;
    max-width: 100%;
    min-height: 85vh;
    padding: 100px 80px;
    background:
        linear-gradient(
            rgba(0, 0, 0, 0.42),
            rgba(0, 0, 0, 0.42)
        ),
        url("/assets/images/homepage/banner.png") center / cover no-repeat;
    display: flex;
    align-items: center;
}

.hero-overlay {
    max-width: 700px;
    color: #ffffff;
}

.hero-overlay h1 {
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.05;
    margin: 16px 0 22px;
}

.hero-overlay p {
    font-size: 20px;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}


/* =========================================================
   10. LABELS / TITLES
========================================================= */

.section-label {
    display: inline-block;
    background: #e8f5ec;
    color: var(--green);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
}

.section-tag {
    display: inline-block;
    color: var(--gold);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-intro {
    max-width: 850px;
    margin-bottom: 34px;
    font-size: 17px;
    color: #555;
}


/* =========================================================
   11. BENEFIT STRIP
========================================================= */

.benefit-strip {
    max-width: 100%;
    padding: 26px 40px;
    background: #064d2e;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 18px;
    color: #ffffff;
    padding: 0 26px;
    border-right: 1px solid rgba(255, 255, 255, 0.35);
}

.benefit-item:last-child {
    border-right: none;
}

.benefit-item span {
    font-size: 40px;
}

.benefit-item p {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    text-transform: uppercase;
}


/* =========================================================
   12. ABOUT MARELLA
========================================================= */

.about-marella {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

.about-image img {
    border-radius: 22px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.14);
}

.about-content h2 {
    color: var(--green);
    font-size: 38px;
    line-height: 1.15;
    margin: 18px 0;
}

.about-content p {
    color: #555;
    margin-bottom: 18px;
}


/* =========================================================
   13. PRODUCTS SECTION
========================================================= */

.products-section {
    width: 100%;
    max-width: 100%;
    background: var(--light);
    padding: 80px 20px;
}

.products-container {
    max-width: 1300px;
    margin: 0 auto;
}

.products-section h2,
.products-title {
    color: var(--green);
    font-size: 38px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 35px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.product-card {
    height: 100%;
    background: #ffffff;
    border: 1px solid #e2dac9;
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
}

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

.product-body,
.product-content {
    padding: 28px 24px 34px;
}

.product-body h3,
.product-content h3 {
    color: var(--green);
    font-size: 22px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 14px;
}

.product-body p,
.product-content p {
    color: #111;
    font-size: 16px;
    line-height: 1.55;
}


/* =========================================================
   14. WHY BALANCE SECTION
========================================================= */

.why-section,
.page-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 22px;
}

.why-section h2,
.page-section h1 {
    color: var(--green);
    font-size: 38px;
    margin: 16px 0 26px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.info-card {
    background: #ffffff;
    border: 1px solid #e8e2d3;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.info-card h3 {
    color: var(--green);
    margin-bottom: 14px;
}

.info-card ul {
    padding-left: 18px;
}

.info-card li {
    margin-bottom: 8px;
}


/* =========================================================
   15. OUR APPROACH SECTION
========================================================= */

.approach-section {
    width: 100%;
    max-width: 100%;
    background: #f7f9f4;
    padding: 80px 20px;
}

.approach-container {
    max-width: 1300px;
    margin: 0 auto;
}

.approach-title {
    color: var(--green);
    font-size: 38px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 35px;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.approach-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 16px;
}

.approach-card h3 {
    color: #111;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 8px;
}

.approach-card p {
    color: #111;
    font-size: 16px;
    line-height: 1.55;
}


/* =========================================================
   16. PILLS / BADGES
========================================================= */

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.pill {
    background: #eaf7ef;
    color: var(--green);
    padding: 10px 16px;
    border-radius: 30px;
    font-weight: 700;
}


/* =========================================================
   17. CONTACT FORM
========================================================= */

.contact-form {
    max-width: 700px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-form input,
.contact-form textarea {
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 15px;
}

.contact-form textarea {
    min-height: 160px;
}


/* =========================================================
   18. FOOTER
========================================================= */

.footer {
    background: var(--green-dark);
    color: #ffffff;
    padding-top: 60px;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 18px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #ffffff;
}

.footer-col a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    text-align: center;
    padding: 22px;
}


/* =========================================================
   19. RESPONSIVE STYLES
========================================================= */

@media (max-width: 992px) {

    .site-header {
        flex-direction: column;
        gap: 20px;
    }

    .brand {
        flex: none;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .mega-parent {
        padding: 0;
    }

    .mega-menu {
        position: static;
        width: 100%;
        transform: none;
        grid-template-columns: 1fr;
    }

    .benefit-strip,
    .about-marella,
    .products-grid,
    .cards-grid,
    .approach-grid,
    .footer-container {
        grid-template-columns: 1fr;
    }

    .benefit-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
        padding-bottom: 18px;
    }

    .hero-banner {
        min-height: 70vh;
        padding: 60px 24px;
    }
}

@media (max-width: 600px) {

    .brand-text span {
        font-size: 30px;
    }

    .logo {
        height: 55px;
    }

    .hero-overlay h1 {
        font-size: 38px;
    }
}

/* =========================================================
   CALL TO ACTION
========================================================= */

.cta-section {
    width: 100%;
    max-width: 100%;

    background: linear-gradient(
        135deg,
        var(--green),
        var(--green-light)
    );

    color: #ffffff;

    padding: 90px 20px;

    text-align: center;
}

.cta-section .container {
    max-width: 900px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cta-title {
    color: #ffffff;

    font-size: 42px;
    font-weight: 900;

    margin-bottom: 16px;

    text-align: center;
}

.cta-text {
    max-width: 700px;

    margin: 0 auto 30px;

    font-size: 20px;
    line-height: 1.7;

    text-align: center;

    color: rgba(255,255,255,0.9);
}

.cta-btn {
    background: var(--gold);

    color: #ffffff;

    padding: 16px 36px;

    font-size: 18px;
    font-weight: 700;

    border-radius: 50px;

    display: inline-block;
}

.cta-btn:hover {
    background: #c48f12;
}