/* =====================
   RESET & BASE
===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



body {
    font-family: "Segoe UI", system-ui, sans-serif;
    background: #ffffff;
    color: #0f172a;
}
/* =====================
   TOP BAR
===================== */
.top-bar {
    background: #22c55e;
    color: #ffffff;
    text-align: center;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
}

/* =====================
   HEADER
===================== */
.main-header {
    background: #ffffff;
    border-bottom: 1px solid #c1c8d4;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header {
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
}

/* =====================
   LOGO
===================== */
.logo img {
    height: 48px;
    cursor: pointer;
}

/* =====================
   NAV LINKS + CART (ONE GROUP)
===================== */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: 80px;   /* space after logo */
}

.nav-menu a {
    text-decoration: none;
    color: #16a34a;
    font-weight: 600;
    font-size: 15px;
    position: relative;
}

/* underline hover */
.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #facc15;
    transition: width 0.25s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* cart inherits nav style */
.nav-menu .cart-link {
    color: #16a34a;
}

/* =====================
   AUTH ACTIONS (RIGHT)
===================== */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto; /* THIS creates the big space you want */
}

/* login / signup buttons */
.auth-btn {
    padding: 9px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.auth-btn.login {
    background: transparent;
    border: 2px solid #facc15;
    color: #facc15;
}

.auth-btn.login:hover {
    background: #facc15;
    color: #0f172a;
}

.auth-btn.signup {
    background: #facc15;
    color: #0f172a;
}

.auth-btn.signup:hover {
    background: #eab308;
}


/* =====================
   HERO SECTION
===================== */
.hero {
    position: relative;
    width: 100%;
    min-height: 85vh;

    background-image: url("../images/hero5.png"); /* <-- YOUR IMAGE HERE */
    background-size: cover;
    background-position: center 15%;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
/* LEFT TEXT */
.hero-text {
    color: #ffffff;
}

.hero-text h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-text p {
    font-size: 16px;
    max-width: 420px;
    margin-bottom: 24px;
}

/* BUTTONS */
.hero-btn {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
}

.nail-btn {
    background: #facc15;
    color: #0f172a;
}

.boutique-btn {
    margin-top: 18px;
    background: #facc15;
    color: #0f172a;
}

/* RIGHT CAROUSEL */
.hero-carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carousel-track {
    width: 100%;
    max-width: 420px;
    overflow: hidden;
    border-radius: 12px;
}

.carousel-track img {
    width: 100%;
    display: none;
    border-radius: 12px;
}

.carousel-track img.active {
    display: block;
}

/* =====================
   HERO RESPONSIVE
===================== */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .hero-carousel {
        align-items: flex-start;
    }

    .carousel-track {
        max-width: 100%;
    }
}

.hero-ticker {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;

    background: #22c55e; /* bright yellow */
    padding: 10px 0;

    z-index: 3;
}
.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker-scroll 18s linear infinite;
}

.ticker-track span {
    font-weight: 700;
    font-size: 14px;
    color: #ffffff;
    white-space: nowrap;
    padding-right: 60px;
}

@keyframes ticker-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.hero {
    position: relative;
}

/* FEATURES SECTION */
.features {
    background: #ffffff;
    padding: 80px 6%;
}

.features-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.features-eyebrow {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 600;
    color: #f4c400; /* yellow accent */
    margin-bottom: 10px;
}

.features-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a7f3c; /* brand green */
    margin-bottom: 15px;
}

.features-header p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* GRID */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* CARD */
.feature-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.feature-icon {
    font-size: 42px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1a7f3c;
}

.feature-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-card a {
    font-size: 14px;
    font-weight: 600;
    color: #1a7f3c;
    text-decoration: none;
}

.feature-card a:hover {
    text-decoration: underline;
}

/* MOBILE */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .features-header h2 {
        font-size: 28px;
    }
}
.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* ICON BASE */
.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;

    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}

/* ICON GETS UP */
.feature-card:hover .feature-icon {
    transform: translateY(-10px) scale(1.15);
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.25));
}

.feature-card:hover .feature-icon {
    filter:
        drop-shadow(0 10px 15px rgba(0,0,0,0.25))
        drop-shadow(0 0 12px rgba(255, 212, 0, 0.6));
}

.feature-icon:hover {
    transform: translateY(-12px) scale(1.2) rotate(-3deg);
}

.feature-card a {
    display: inline-block;
    margin-top: 1rem;
    transition: transform 0.25s ease, color 0.25s ease;
}

.feature-card:hover a {
    transform: translateX(5px);
    color: #ffd400;
}
.testimonials {
    padding: 4.5rem 1.5rem;
    background: #fafafa;
    text-align: center;
}

.testimonials h2 {
    font-size: 2.2rem;
    margin-bottom: 0.4rem;
}

.testimonials-subtitle {
    color: #666;
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.1);
}

.testimonial-card img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    color: #000;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.testimonial-card h4 {
    font-weight: 600;
    color: #000;
}
.footer {
    background: #22c55e;
    color: #ffff;
    padding: 4rem 1.5rem 1.5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
}

/* IMAGE SPACE */
.footer-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    opacity: 0.9;
}

/* HEADINGS */
.footer-col h3,
.footer-col h4 {
    margin-bottom: 1rem;
    color: #facc15;
}

/* TEXT */
.footer-col p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ffff;
}

/* LISTS */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    cursor: pointer;
}

/* LINKS */
.footer-col ul li a {
    color: #ffff;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-col ul li a:hover {
    color: #facc15;
    transform: translateX(4px);
}

/* CONTACT ITEMS */
.footer-col ul li:hover {
    color: #facc15;
}

/* FOOTER BOTTOM */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 3rem;
    padding-top: 1.2rem;
    text-align: center;
    font-size: 0.85rem;
    color: #ffff;
    cursor: default;
}

/* =========================
   HAMBURGER
========================= */
.hamburger {
    display: none;
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
}

/* =========================
   MOBILE MENU
========================= */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: #16a34a;
    z-index: 9999;
    display: none;
    flex-direction: column;
    padding: 30px;
}

.mobile-menu.active {
    display: flex;
}

.close-menu {
    font-size: 32px;
    background: none;
    border: none;
    align-self: flex-end;
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.mobile-nav a {
    font-size: 20px;
    text-decoration: none;
}

.mobile-auth {
    margin-top: auto;
    display: flex;
    gap: 15px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {

    .nav-menu,
    .nav-actions {
        display: none;
    }

    .hamburger {
        display: block;
    }
}

@media (max-width: 900px) {
    .hamburger {
        margin-left: auto;   /* pushes it to the far right */
    }
}

/* Mobile menu animation */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.35s ease-in-out;
}

.mobile-menu.active {
    transform: translateX(0);
}
.mobile-menu {
    backdrop-filter: blur(10px);
    background:  #16a34a 10%;
}

/* ===========================
   MOBILE AUTH – LOGGED IN
=========================== */

.mobile-menu .mobile-user {
    position: absolute;
    bottom: 24px;
    left: 20px;
    right: 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 14px 16px;
    border-top: 1px solid rgba(0,0,0,0.08);

    font-family: inherit;
}

/* Greeting text */
.mobile-menu .mobile-greeting {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    line-height: 1.3;
}

.mobile-menu .auth-btn.logout {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;

    background: transparent;
    color: #1a7f3c;

    border: 2px solid #facc15;
    border-radius: 999px;

    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-menu .auth-btn.logout:hover {
    background: #facc15;
    color: #0f172a;
}

.mobile-nav a {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;

    position: relative;
    padding: 12px 0;

    transition: color 0.2s ease;
}

/* underline */
.mobile-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 4px;

    width: 0;
    height: 2px;
    background: #facc15;

    transition: width 0.25s ease;
}

.mobile-nav a:hover::after {
    width: 100%;
}

/* ===== ACCOUNT AVATAR ===== */
.account-wrap,
.mobile-account {
    display: flex;
    align-items: center;
    gap: 10px;
}

.account-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    color: #1f9d4a;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px solid #d4af37; /* gold */
}

.account-avatar .online-dot {
    width: 9px;
    height: 9px;
    background: #1f9d4a;
    border-radius: 50%;
    position: absolute;
    bottom: 2px;
    right: 2px;
    border: 2px solid #ffffff;
}

/* Desktop greeting */
.user-name {
    font-weight: 500;
    color: #000;
    white-space: nowrap;
}

/* Mobile greeting */
.mobile-greeting {
    font-weight: 600;
    color: #ffffff;
}

/* =========================
   FLASH MESSAGES
========================= */
.flash-message {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 9999;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 14px 18px;
    border-radius: 10px;

    font-size: 14px;
    font-weight: 600;

    background: #fff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);

    animation: fadeIn 0.35s ease, fadeOut 0.35s ease 4s forwards;
}

/* SUCCESS */
.flash-message.success {
    border-left: 6px solid #22c55e;
    color: #166534;
}

/* ERROR */
.flash-message.error {
    border-left: 6px solid #ef4444;
    color: #7f1d1d;
}

/* ICON */
.flash-message .icon {
    font-size: 18px;
    font-weight: 700;
}

/* ANIMATIONS */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* === PRODUCT GRID (Smyths-style density) === */
.product-page {
    padding: 2rem 4%;
    background: transparent;
}

.page-title {
    color: #facc15;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

/* === PRODUCT CARD === */
.product-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 0.8rem;
}

.product-name {
    color: #0b3d2e;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.product-price {
    color: #facc15;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

/* === BUTTON === */
.add-to-cart-btn {
    background: #37d44e;
    color: #ffffff;
    border: none;
    padding: 0.6rem;
    width: 100%;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.add-to-cart-btn:hover {
    background: #22c55e;
}

/* === DISCOUNT BADGE === */
.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #0b3d2e;
    color: #ffffff;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
}

.cart-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
}

.cart-image-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(12px);
    transform: scale(1.2);
    opacity: 0.4;
}

.cart-image-wrap img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.add-to-cart-btn {
    position: relative;
    overflow: hidden;
    background: transparent;
    border: 2px solid #d4af37; /* gold */
    color: #000; /* deep green */
    padding: 12px 18px;
    font-weight: 600;
    border-radius: 999px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.add-to-cart-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(.4,0,.2,1);
    z-index: 0;
}

.add-to-cart-btn:hover::before {
    transform: scaleX(1);
}

.add-to-cart-btn span,
.add-to-cart-btn {
    position: relative;
    z-index: 1;
}

.add-to-cart-btn:hover {
    color: #000;
}

/* ===============================
   MINI FOOTER (BOUTIQUE / GROCERIES)
================================ */

.mini-footer {
    background: #16a34a; /* deep green */
    padding: 14px 0;
    margin-top: 50px;
}

.mini-footer-inner {
    width: 90%;
    max-width: 1200px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mini-footer-left {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
}

.mini-footer-left img {
    height: 30px;
}

.mini-footer-right {
    color: #facc15; /* gold */
    font-size: 0.85rem;
}

/* Mobile */
@media (max-width: 600px) {
    .mini-footer-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}
/* ===========================
   PAGE-SPECIFIC BACKGROUNDS
=========================== */

