/* =====================================================
   ARAVALI PURE
   SHARED LEGAL PAGE STYLES
===================================================== */


/* =========================
   COLOUR PALETTE
========================= */

:root {

    --navy: #122E69;
    --deep-blue: #173F82;
    --blue: #398FCB;
    --sky-blue: #8BCBEA;
    --ice-blue: #DDF3FC;
    --pale-blue: #F2FAFE;
    --text: #536A82;
    --white: #FFFFFF;

}

* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {

    font-family: 'DM Sans', sans-serif;
    color: var(--navy);
    background: var(--white);
    overflow-x: hidden;

}

a {

    text-decoration: none;
    color: inherit;

}

img {

    max-width: 100%;
    display: block;

}

/* =====================================================
   NAVIGATION
===================================================== */

header {

    height: 82px;
    padding: 0 7%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(15px);

    border-bottom: 1px solid #E5F2F9;

}

.logo {
    display: inline-flex;
    align-items: center;

    text-decoration: none;
}

.logo img {
    display: block;

    width: auto;
    height: 58px;

    max-width: 220px;

    object-fit: contain;
}

.logo span {

    font-size: 9px;
    font-weight: 700;

}

.logo strong {

    font-size: 24px;
    letter-spacing: 1px;

}

nav {

    display: flex;
    gap: 34px;

}

nav a {

    color: var(--text);

    font-size: 14px;
    font-weight: 600;

    transition: 0.3s;

}

nav a:hover {

    color: var(--blue);

}

.header-button {

    border: 1px solid var(--blue);

    padding: 10px 20px;

    border-radius: 30px;

    color: var(--navy);

    font-size: 13px;
    font-weight: 700;

    transition: 0.3s;

}

.header-button:hover {

    background: var(--blue);
    color: white;

}

/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================
   BODY
========================= */

body {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    line-height: 1.7;

    color: var(--text);

    background: var(--pale-blue);
}


/* =========================
   HEADER
========================= */

.site-header {
    background: var(--navy);

    padding: 20px;
}


.header-container {
    max-width: 1150px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}


/* =========================
   HEADER LOGO
========================= */

.logo {
    display: inline-flex;

    align-items: center;

    text-decoration: none;
}


.logo img {
    display: block;

    width: auto;

    height: 58px;

    max-width: 220px;

    object-fit: contain;
}


/* =========================
   BACK TO WEBSITE BUTTON
========================= */

.back-link {
    display: inline-block;

    color: var(--white);

    text-decoration: none;

    border: 1px solid rgba(255, 255, 255, 0.65);

    padding: 8px 18px;

    border-radius: 30px;

    font-size: 14px;

    transition: all 0.3s ease;
}


.back-link:hover {
    background: var(--white);

    color: var(--navy);
}


/* =========================
   PAGE HERO
========================= */

.page-hero {
    background:
        linear-gradient(
            135deg,
            var(--ice-blue),
            var(--white)
        );

    padding: 75px 20px;

    text-align: center;
}


.page-hero h1 {
    color: var(--navy);

    font-size: clamp(32px, 5vw, 54px);

    line-height: 1.2;

    margin-bottom: 12px;
}


.page-hero p {
    color: var(--text);

    font-size: 16px;
}


/* =========================
   MAIN CONTENT
========================= */

main {
    max-width: 1000px;

    margin: 55px auto;

    padding: 0 20px;
}


/* =========================
   CONTENT CARD
========================= */

.content-card {
    background: var(--white);

    padding: clamp(25px, 5vw, 65px);

    border-radius: 18px;

    border: 1px solid var(--ice-blue);

    box-shadow:
        0 10px 40px rgba(18, 46, 105, 0.08);
}


/* =========================
   CONTENT SECTIONS
========================= */

section {
    margin-bottom: 42px;
}


section:last-child {
    margin-bottom: 0;
}

/* =========================
   HEADINGS
========================= */

h2 {
    color: var(--navy);

    font-size: 25px;

    line-height: 1.3;

    margin-bottom: 16px;

    padding-bottom: 10px;

    border-bottom: 1px solid var(--ice-blue);
}


/* =========================
   TEXT
========================= */

p {
    margin-bottom: 16px;
}


strong {
    color: var(--deep-blue);
}


/* =========================
   LISTS
========================= */

ul,
ol {
    margin: 15px 0 18px 25px;
}


li {
    margin-bottom: 10px;
}


/* =========================
   LINKS
========================= */

a {
    color: var(--blue);

    font-weight: 600;
}


a:hover {
    color: var(--deep-blue);
}


/* =========================
   LAST UPDATED
========================= */

.last-updated {
    color: var(--text);

    font-size: 14px;

    margin-bottom: 35px;
}


/* =========================
   INFORMATION BOX
========================= */

.info-box {
    background: var(--pale-blue);

    border-left: 4px solid var(--blue);

    padding: 20px;

    margin: 22px 0;

    border-radius: 6px;
}


/* =====================================================
   FOOTER
===================================================== */

.site-footer {
    background:
        linear-gradient(
            135deg,
            var(--navy),
            var(--deep-blue)
        );

    color: var(--white);

    margin-top: 70px;
}


/* =========================
   FOOTER CONTAINER
========================= */

.footer-container {
    max-width: 1150px;

    margin: auto;

    padding: 55px 20px;

    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1fr;

    gap: 50px;
}


/* =========================
   FOOTER BRAND
========================= */

.footer-logo {
    display: inline-flex;
    align-items: center;

    max-width: 220px;
    height: 80px;

    text-decoration: none;
}

.footer-logo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    content-visibility: auto;
}


.footer-brand p {
    color: var(--sky-blue);

    font-size: 14px;

    max-width: 280px;
}


/* =========================
   FOOTER HEADINGS
========================= */

.site-footer h3 {
    color: var(--white);

    font-size: 16px;

    margin-bottom: 18px;
}


/* =========================
   FOOTER LINKS
========================= */

.footer-links {
    display: flex;

    flex-direction: column;

    align-items: flex-start;
}


/* =========================
   SOCIAL MEDIA ICONS
========================= */

.social-icons {
    display: flex;

    gap: 12px;
}


.social-icons a {
    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    color: var(--white);

    background:
        rgba(139, 203, 234, 0.18);

    border:
        1px solid rgba(139, 203, 234, 0.45);

    text-decoration: none;

    font-size: 17px;

    transition: all 0.3s ease;
}


.social-icons a:hover {
    background: var(--sky-blue);

    color: var(--navy);

    transform: translateY(-4px);

    box-shadow:
        0 8px 20px rgba(139, 203, 234, 0.25);
}


/* =========================
   FOOTER BOTTOM
========================= */

.footer-bottom {
    border-top:
        1px solid rgba(139, 203, 234, 0.25);

    max-width: 1150px;

    margin: auto;

    padding: 20px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;
}


.footer-bottom p {
    color: var(--sky-blue);

    font-size: 13px;

    margin: 0;
}


.footer-bottom a {
    color: var(--sky-blue);

    text-decoration: none;
}


.footer-bottom a:hover {
    color: var(--white);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 800px) {

    .footer-container {
        grid-template-columns:
            1fr
            1fr;

        gap: 35px;
    }

}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 950px) {

    nav,
    .header-button {

        display: none;

    }

    .hero {

        grid-template-columns: 1fr;

        text-align: center;

        padding: 70px 7%;

    }

    .hero-description {

        margin: auto;

    }

    .hero-product {

        margin-top: 30px;

    }

    .about,
    .contact {

        grid-template-columns: 1fr;

    }

    .products {

        grid-template-columns: repeat(2, 1fr);

    }

    .occasion-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .why-grid {

        grid-template-columns: 1fr;

    }

    .bulk {

        display: block;

    }

}

@media (max-width: 700px) {

    .footer-container {

        grid-template-columns: 1fr;

        gap: 35px;

        padding: 45px 20px;

    }


    .footer-bottom {

        flex-direction: column;

        text-align: center;

    }


    .footer-logo img {

        height: 48px;

        max-width: 180px;

    }

}

@media (max-width: 600px) {

    .logo img {
        height: 45px;
        max-width: 170px;
    }

    h1,
    h2 {

        font-size: 48px;

    }

    .brand-strip {

        grid-template-columns: repeat(2, 1fr);

        gap: 20px;

    }

    .brand-stat:nth-child(2) {

        border: none;

    }

    .products,
    .occasion-grid {

        grid-template-columns: 1fr;

    }

    .hero-product img {

        height: 460px;

    }

    .about-visual {

        min-height: 500px;

    }

    footer {

        grid-template-columns: 1fr;

    }

}

/* ==========================================
   MOBILE MENU BUTTON
========================================== */

.menu-toggle {

    display: none;

    width: 44px;
    height: 44px;

    border: none;

    background: transparent;

    cursor: pointer;

    padding: 8px;

    z-index: 1100;

}

.menu-toggle span {

    display: block;

    width: 26px;
    height: 2px;

    margin: 5px auto;

    background: var(--navy);

    transition: 0.3s;

}


/* Hidden on desktop */

.mobile-contact {

    display: none;

}


/* ==========================================
   TABLET AND MOBILE NAVIGATION
========================================== */

@media (max-width: 950px) {

    header {

        height: 72px;

        padding: 0 6%;

    }


    .menu-toggle {

        display: block;

    }


    .header-button {

        display: none;

    }


    nav {

        position: fixed;

        top: 72px;

        left: 0;

        width: 100%;

        height: calc(100vh - 72px);

        padding: 35px 8%;

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 0;

        background: rgba(255,255,255,0.98);

        backdrop-filter: blur(20px);

        transform: translateX(100%);

        transition: transform 0.35s ease;

        box-shadow:

            0 15px 30px rgba(18,46,105,0.12);

        z-index: 1000;

    }


    nav.active {

        transform: translateX(0);

    }


    nav a {

        width: 100%;

        padding: 18px 0;

        border-bottom: 1px solid #E5F2F9;

        font-size: 20px;

        color: var(--navy);

    }


    nav a:hover {

        color: var(--blue);

    }


    .mobile-contact {

        display: block;

        margin-top: 20px;

        padding: 14px 22px !important;

        width: auto !important;

        border: none !important;

        border-radius: 30px;

        background: var(--navy);

        color: white !important;

        font-size: 15px !important;

    }


    /* Hamburger animation */

    .menu-toggle.active span:nth-child(1) {

        transform: translateY(7px) rotate(45deg);

    }


    .menu-toggle.active span:nth-child(2) {

        opacity: 0;

    }


    .menu-toggle.active span:nth-child(3) {

        transform: translateY(-7px) rotate(-45deg);

    }

}


/* =================================
   COOKIE BANNER STYLES
================================= */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 480px;
    background-color: #ffffff;
    color: #1f2937;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 999999; /* Ensures banner stays above header/modals */
    border: 1px solid #e5e7eb;
    font-family: 'DM Sans', sans-serif;
    box-sizing: border-box;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cookie-banner p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    color: #4b5563;
}

.cookie-banner a {
    color: #0077ff;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    flex: 1;
    padding: 10px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    text-align: center;
}

.cookie-btn-accept {
    background-color: #0077ff;
    color: #ffffff;
}

.cookie-btn-accept:hover {
    background-color: #005bb5;
}

.cookie-btn-decline {
    background-color: transparent;
    color: #4b5563;
    border-color: #d1d5db;
}

.cookie-btn-decline:hover {
    background-color: #f3f4f6;
    color: #1f2937;
}

/* Tablet & Mobile Responsiveness */
@media (max-width: 600px) {
    .cookie-banner {
        bottom: 12px;
        left: 12px;
        right: 12px;
        padding: 16px;
    }

    .cookie-buttons {
        flex-direction: column; /* Stacks buttons on mobile */
    }

    .cookie-btn {
        width: 100%;
    }
}