﻿/* =========================================================
   Base layout
   ========================================================= */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    background-color: var(--brand-bg);
    color: var(--brand-text);
}




/* =========================================================
   THEME TOKENS (defaults = Rose Light)
   Edit these or override via body[data-theme="..."]
   ========================================================= */
    :root,
    body[data-theme="rose-light"] {
        /* Default fallback colors */
        --rose-pink: #e24a6b;
        --rose-green: #7ab97a;
        --rose-accent: #a52a5a;
        /* Dynamic brand overrides from _TenantThemeStyles */
        --brand-pink: var(--brand-primary, #e24a6b);
        --brand-secondary: var(--brand-secondary, #7ab97a);
        --brand-accent: var(--brand-accent, #ffc107);
        --brand-bg: var(--brand-bg, #ffffff);
        --brand-text: var(--brand-text, #2f2a2c);
        --brand-pink-10: rgba(226, 74, 107, 0.10);
        --brand-pink-06: rgba(226, 74, 107, 0.06);
        --brand-pink-18b: rgba(226, 74, 107, 0.18);
        /* Bootstrap overrides */
        --bs-primary: var(--brand-pink);
        --bs-secondary: var(--brand-secondary);
        --bs-btn-border-radius: var(--radius-md);
        /* Typography */
        --font-display: "Playfair Display", ui-serif, Georgia, "Times New Roman", serif;
        --font-sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        --font-heading: var(--font-display);
        /* UI basics */
        --surface: var(--brand-bg);
        --text-strong: var(--brand-text);
        --text-muted: #7b6f74;
        --text-muted-strong: #4b4246;
        --border-subtle: rgba(0,0,0,.06);
        --shadow-sm: 0 1px 6px rgba(0,0,0,.05);
        --rose-bg-light: #fff6f8;
        --header-wash: linear-gradient(90deg, rgba(226,74,107,0.04), rgba(255,255,255,0) 30%);
        --radius-sm: 8px;
        --radius-md: 12px;
        --brand-size: 1.35rem;
        --badge-size: 20px;
        /* Buttons */
        --bs-btn-bg: var(--brand-pink);
        --bs-btn-border-color: var(--brand-pink);
        --bs-btn-hover-bg: #c93c5d;
        --bs-btn-hover-border-color: #c93c5d;
        --bs-btn-active-bg: #b63552;
        --bs-btn-active-border-color: #b63552;
        --bs-btn-color: #fff;
        --bs-btn-hover-color: #fff;
        --bs-btn-active-color: #fff;
        /* Secondary buttons */
        --bs-btn-secondary-bg: var(--brand-secondary);
        --bs-btn-secondary-border-color: var(--brand-secondary);
        --bs-btn-secondary-color: #fff;
        --bs-btn-secondary-hover-bg: #5fa162;
        --bs-btn-secondary-hover-border-color: #5fa162;
        --bs-btn-secondary-active-bg: #4a945f;
        --bs-btn-secondary-active-border-color: #4a945f;
    }



/* ---------------------------------------------------------
   Fonts (pick ONE approach)
   A) Quick import (no <link> tags needed in _Layout)
   --------------------------------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&family=Inter:wght@400;500&display=swap");

/* B) Self-hosted (example)
@font-face {
  font-family: "Playfair Display";
  src: url("/fonts/PlayfairDisplay-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
*/

/* =========================================================
   Navbar styles (use tokens above)
   ========================================================= */
.site-header {
    background: var(--header-wash);
}

.navbar {
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-subtle);
    min-height: 56px;
    background-color: var(--surface) !important;
    color: var(--text-strong);
}

    /* Brand */
    .navbar .brand span {
        font-family: var(--font-display);
        font-weight: 600;
        font-size: var(--brand-size);
        letter-spacing: 0.2px;
        color: var(--text-strong);
    }

    .navbar .navbar-brand svg {
        display: block;
    }

        .navbar .navbar-brand svg path {
            stroke: var(--brand-pink);
        }

    /* Centered nav links */
    .navbar .main-nav .nav-link {
        font-family: var(--font-sans);
        font-weight: 500;
        color: var(--text-muted);
        padding: .5rem .9rem;
    }
    .navbar .nav-link {
        color: var(--text-muted);
    }
        .navbar .main-nav .nav-link:hover,
        .navbar .main-nav .nav-link:focus,
        .navbar .main-nav .nav-link.active {
            color: var(--text-muted-strong);
        }

/* Cart pill */
.cart-btn {
    background: var(--brand-pink-06);
    border: 1px solid var(--brand-pink-18b);
    border-radius: var(--radius-md);
    padding: .35rem .6rem;
    position: relative;
    line-height: 1;
    color: var(--text-strong);
}

    .cart-btn:hover {
        background: var(--brand-pink-10);
    }

    .cart-btn .cart-badge {
        position: absolute;
        top: -8px;
        right: -8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: var(--badge-size);
        height: var(--badge-size);
        padding: 0 6px;
        border-radius: 999px;
        font-size: .75rem;
        font-weight: 700;
        color: #fff;
        background: var(--brand-pink);
        box-shadow: 0 1px 2px rgba(0,0,0,.1);
    }

/* Mobile tweaks */
@media (max-width: 767.98px) {
    .navbar .main-nav {
        margin: .5rem 0;
    }

        .navbar .main-nav .nav-link {
            padding: .6rem .75rem;
        }
}

/* =========================================================
   Theme presets (override the tokens when applied)
   ========================================================= */

/* Rose Dark */
body[data-theme="rose-dark"] {
    --brand-bg: #0b0b0c;
    --brand-text: #fbf7f8;
    --text-muted: #c7b8bd;
    --text-muted-strong: #efe1e6;
    --border-subtle: rgba(255,255,255,.08);
    --rose-bg-light: #1a1a1a;
    --brand-secondary: #9bd29b;
    --brand-accent: #d86a89;
    --brand-pink-06: rgba(226, 74, 107, 0.20);
    --brand-pink-10: rgba(226, 74, 107, 0.28);
    --shadow-sm: 0 1px 6px rgba(0,0,0,.6);
    --header-wash: linear-gradient(90deg, rgba(226,74,107,0.14), rgba(0,0,0,0) 30%);
    --section-surface: #1e1e1e;
    --card-surface: #2a2a2a;
    --card-border: rgba(255,255,255,0.08);
    --card-text: #f1f1f1;
    --card-muted: #bbb;
}

/* Sage Light (optional 2nd palette) */
body[data-theme="sage-light"] {
    --brand-pink: #4b8d66;
    --brand-pink-06: rgba(75, 141, 102, .08);
    --brand-pink-10: rgba(75, 141, 102, .14);
    --brand-pink-18b: rgba(75, 141, 102, .22);
    --surface: #ffffff;
    --text-strong: #2a2f2c;
    --text-muted: #6e7a74;
    --text-muted-strong: #3a433e;
    --border-subtle: rgba(0,0,0,.06);
    --shadow-sm: 0 1px 6px rgba(0,0,0,.05);
    --header-wash: linear-gradient(90deg, rgba(75,141,102,.05), rgba(255,255,255,0) 30%);
    --bs-primary: var(--brand-pink);
    --bs-secondary: var(--brand-secondary);
}

/* =========================================================
   Theme toggle button
   ========================================================= */
.theme-toggle {
    border: 1px solid var(--border-subtle);
    background: transparent;
    border-radius: var(--radius-sm);
    padding: .35rem .55rem;
    line-height: 1;
    font-family: var(--font-sans);
}

    .theme-toggle .icon-sun {
        display: inline-block;
    }

    .theme-toggle .icon-moon {
        display: none;
    }

/* When dark is active, swap icons */
body[data-theme="rose-dark"] .theme-toggle .icon-sun {
    display: none;
}

body[data-theme="rose-dark"] .theme-toggle .icon-moon {
    display: inline-block;
}

/* When sage-light is active (still light), keep sun */
body[data-theme="sage-light"] .theme-toggle .icon-sun {
    display: inline-block;
}

body[data-theme="sage-light"] .theme-toggle .icon-moon {
    display: none;
}

/* Accessible focus */
.theme-toggle:focus-visible {
    outline: 2px solid var(--brand-pink);
    outline-offset: 2px;
}
body, .navbar, .cart-btn, .theme-toggle, .footer, .navbar .nav-link, .navbar .brand span {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
/* Footer styles */
.footer-main {
    background: var(--brand-pink);
    color: #f3e9ec;
    font-family: var(--font-sans);
}

    .footer-main .brand span {
        font-family: var(--font-display);
        font-weight: 600;
        font-size: 1.2rem;
        color: #fff;
    }

    .footer-main svg {
        stroke: #fff;
    }

.footer-heading {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-main a {
    color: #f3e9ec;
    text-decoration: none;
}

    .footer-main a:hover {
        color: #fff;
        text-decoration: underline;
    }

.footer-hours {
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    font-size: .9rem;
}

.footer-bottom {
    background: rgba(0,0,0,0.05);
    font-size: .9rem;
    color: #f1dfe3;
}

.footer-links a {
    color: #f1dfe3;
    text-decoration: none;
}

    .footer-links a:hover {
        text-decoration: underline;
    }

/* Social icons */
.footer-main .bi {
    font-size: 1.25rem;
    color: #f3e9ec;
}

    .footer-main .bi:hover {
        color: #fff;
    }
/* =========================================================
   Sticky footer layout
   ========================================================= */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

.container.flex-grow-1 {
    flex: 1; /* pushes footer down if content short */
}

.footer-main {
    flex-shrink: 0;
}

/* Smooth theme transitions */
body, .navbar, .cart-btn, .theme-toggle, .footer-main, .navbar .nav-link, .navbar .brand span {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
    /* Default: show sun */
    .theme-toggle .icon-sun {
        display: inline-block;
    }

    .theme-toggle .icon-moon,
    .theme-toggle .icon-system {
        display: none;
    }

    /* Dark mode */
    body[data-theme="rose-dark"] .theme-toggle .icon-sun,
    body[data-theme-mode="system"] .theme-toggle .icon-sun {
        display: none;
    }

    body[data-theme="rose-dark"] .theme-toggle .icon-moon,
    body[data-theme-mode="system"][data-theme="rose-dark"] .theme-toggle .icon-moon {
        display: inline-block;
    }

    /* Light mode */
    body[data-theme="rose-light"] .theme-toggle .icon-sun,
    body[data-theme-mode="system"][data-theme="rose-light"] .theme-toggle .icon-sun {
        display: inline-block;
    }

    body[data-theme="rose-light"] .theme-toggle .icon-moon,
    body[data-theme-mode="system"][data-theme="rose-light"] .theme-toggle .icon-moon {
        display: none;
    }

    /* System mode indicator: always show 🖥️ instead of sun/moon */
    body[data-theme-mode="system"] .theme-toggle .icon-sun,
    body[data-theme-mode="system"] .theme-toggle .icon-moon {
        display: none !important;
    }

    body[data-theme-mode="system"] .theme-toggle .icon-system {
        display: inline-block;
    }
/* Custom hamburger icon since we dropped navbar-light/dark */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(47,42,44,0.85)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

body[data-theme="rose-dark"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(251,247,248,0.85)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
/* Cart text hides on very small screens */
@media (max-width: 575.98px) {
    .cart-btn span:not(.cart-badge) {
        display: none; /* hide the "Cart" label */
    }

    .cart-btn {
        padding: .35rem .5rem; /* tighten spacing */
    }
}


.hero-tagline {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--rose-accent);
    font-weight: 600;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.highlight-pink {
    color: var(--rose-pink);
}

.highlight-green {
    color: var(--rose-green);
}

.hero-features {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Hero image */
.hero-image-wrapper {
    border-radius: 1rem;
    background: #fff;
    padding: 0.5rem;
}

    .hero-image-wrapper img {
        border-radius: 0.75rem;
    }

/* Floating badge */
.hero-badge {
    position: absolute;
    bottom: -20px;
    left: 20px;
    background: var(--rose-accent);
    color: #fff;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    line-height: 1.2;
    text-align: center;
}

/* Responsive */
@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-badge {
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
    }
}
.hero-section {
    width: 100%;
    
    background: linear-gradient( 90deg, var(--brand-pink-06), #fff );
    padding: 4rem 0;
}



    .hero-section .container {
        position: relative;
        z-index: 2; /* keep content above background */
    }

body[data-theme="rose-dark"] .hero-section {
    background: linear-gradient(180deg, var(--rose-bg-light), #0b0b0c);
}
/* Force override Bootstrap's default blue */
.btn-primary {
    background-color: var(--rose-pink) !important;
    border-color: var(--rose-pink) !important;
    color: #fff !important;
}

    .btn-primary:hover,
    .btn-primary:focus {
        background-color: #c93c5d !important; /* darker pink */
        border-color: #c93c5d !important;
        color: #fff !important;
    }

    .btn-primary:active {
        background-color: #b63552 !important; /* even darker pink */
        border-color: #b63552 !important;
        color: #fff !important;
    }
.featured-section {
    background: var(--rose-bg-light);
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 700;
}

.bouquet-card .badge {
    background: var(--brand-pink);
    font-size: 0.8rem;
    border-radius: var(--radius-sm);
    padding: 0.4rem 0.6rem;
}

.bouquet-card .card-body {
    font-family: var(--font-sans);
}

.bouquet-card .btn {
    border-radius: var(--radius-sm);
    font-weight: 500;
}
/* Card base */
.bouquet-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #fff;
}

    /* Lift + shadow on hover */
    .bouquet-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    }

    /* Image zoom on hover */
    .bouquet-card img {
        transition: transform 0.4s ease;
    }

    .bouquet-card:hover img {
        transform: scale(1.05);
    }

    /* Badge pulse effect */
    .bouquet-card .badge {
        transition: transform 0.3s ease;
    }

    .bouquet-card:hover .badge {
        transform: scale(1.1);
    }

    /* Button glow effect */
    .bouquet-card .btn {
        transition: background-color 0.25s ease, box-shadow 0.25s ease;
    }

        .bouquet-card .btn:hover {
            box-shadow: 0 0 12px rgba(226, 74, 107, 0.4); /* pink glow */
        }
.testimonials-section {
    background: var(--rose-bg-light);
}

.testimonial-card {
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .testimonial-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    }
.navbar .brand,
.footer-main .brand {
    color: var(--brand-pink); /* drives currentColor for the SVG */
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 700;
}
/* Apply dark-mode surfaces to cards/sections */
body[data-theme="rose-dark"] .featured-section,
body[data-theme="rose-dark"] .testimonials-section {
    background: var(--section-surface);
}

/* Cards in dark mode */
body[data-theme="rose-dark"] .bouquet-card,
body[data-theme="rose-dark"] .testimonial-card {
    background: var(--card-surface);
    border: 1px solid var(--card-border);
    color: var(--card-text);
}

    /* Card text in dark mode */
    body[data-theme="rose-dark"] .bouquet-card .card-title,
    body[data-theme="rose-dark"] .testimonial-card .author {
        color: var(--card-text);
    }

    body[data-theme="rose-dark"] .bouquet-card .card-text,
    body[data-theme="rose-dark"] .testimonial-card .quote,
    body[data-theme="rose-dark"] .bouquet-card .text-muted,
    body[data-theme="rose-dark"] .testimonial-card .text-muted {
        color: var(--card-muted) !important;
    }

/* Section headings in dark mode */
body[data-theme="rose-dark"] .section-title,
body[data-theme="rose-dark"] h2,
body[data-theme="rose-dark"] h3 {
    color: #fff;
}
.btn-primary {
    background-color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: var(--btn-text, #fff) !important;
}

    .btn-primary:hover,
    .btn-primary:focus {
        background-color: color-mix(in srgb, var(--brand-primary) 90%, black) !important;
        border-color: color-mix(in srgb, var(--brand-primary) 90%, black) !important;
        color: var(--btn-text, #fff) !important;
    }

    .btn-primary:active {
        background-color: color-mix(in srgb, var(--brand-primary) 80%, black) !important;
        border-color: color-mix(in srgb, var(--brand-primary) 80%, black) !important;
        color: var(--btn-text, #fff) !important;
    }
.navbar {
    background-color: var(--brand-bg, #fff);
    color: var(--brand-text, #222);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
}

    .navbar .navbar-brand svg path {
        stroke: var(--brand-primary);
    }

    .navbar .brand span {
        color: var(--brand-text, #222);
    }
.footer-main {
    background: var(--brand-primary);
    color: var(--btn-text, #fff);
    font-family: var(--font-sans);
}

    .footer-main .brand span,
    .footer-main .footer-heading {
        color: #fff;
    }

    .footer-main svg {
        stroke: #fff;
    }

    .footer-main a,
    .footer-main .bi {
        color: #f3e9ec;
    }

        .footer-main a:hover,
        .footer-main .bi:hover {
            color: #fff;
        }

.footer-bottom {
    background: rgba(0,0,0,0.05);
    color: #f1dfe3;
}
body[data-theme="rose-dark"] {
    --brand-bg: #111;
    --brand-text: #eaeaea;
    --btn-text: #fff;
    --surface: #111;
    --text-strong: #eaeaea;
}
