/* ═══════════════════════════════════════════════
   TEA99 Shared Styles — tea99-shared.css
   Used by all custom PHP page templates
   ═══════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400;1,600&display=swap');

/* ── CSS Variables ── */
:root {
    --t99-pink: #E8A0BF;
    --t99-pink-light: #F5D5E0;
    --t99-pink-soft: rgba(232,160,191,0.08);
    --t99-lilac: #C9B1D0;
    --t99-lilac-light: #D4B8E0;
    --t99-cream: #FFF8F0;
    --t99-peach: #FFCBA4;
    --t99-white: #FFFFFF;
    --t99-text-dark: #2D2438;
    --t99-text-mid: #6B5B7B;
    --t99-text-light: #9B8DAB;
    --t99-glass-bg: rgba(255,255,255,0.45);
    --t99-glass-border: rgba(255,255,255,0.6);
    --t99-font-body: 'Outfit', -apple-system, sans-serif;
    --t99-font-display: 'Cormorant Garamond', Georgia, serif;
    --t99-radius: 24px;
}

/* ── Hide ALL Flatsome default elements ── */
.header-wrapper,
.header-main,
#header,
.footer-wrapper,
#footer,
.absolute-footer,
.header-bg,
.header-top,
.top-divider,
#top-bar,
.header-bottom,
.nav-sidebar,
.page-title,
.breadcrumbs,
#wrapper > .row:first-child {
    display: none !important;
}

/* ══════════════════════════════════
   NAVBAR
   ══════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 14px 0;
    transition: all 0.4s;
    background: transparent;
}
.navbar.scrolled {
    background: rgba(255,248,240,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 1px 30px rgba(186,144,198,0.1);
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.nav-logo {
    font-family: "Outfit", sans-serif !important;
    font-size: 28px;
    font-weight: 700;
    color: var(--t99-text-dark);
    letter-spacing: -0.5px;
    line-height: 1;
    display: inline-flex;
    align-items: baseline;
    text-decoration: none;
}
.nav-logo span {
    color: var(--t99-pink);
    font-weight: 700;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--t99-text-mid);
    transition: color 0.3s;
    position: relative;
    text-decoration: none;
}
.nav-links a:hover {
    color: var(--t99-lilac);
}
nav.navbar a.nav-cta {
    padding: 10px 28px;
    background: linear-gradient(135deg, var(--t99-pink), var(--t99-lilac));
    color: #fff;
    border-radius: 100px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.3px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(232,160,191,0.3);
}
nav.navbar a.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232,160,191,0.4);
    color: #fff;
}

/* ── Dropdown ── */
.has-dropdown {
    position: relative;
}
.has-dropdown > a::after {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-left: 5px;
    vertical-align: middle;
    transition: transform 0.3s;
}
.dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--t99-white);
    border-radius: 16px;
    padding: 12px 8px;
    min-width: 200px;
    box-shadow: 0 12px 40px rgba(45,36,56,0.12);
    border: 1px solid rgba(232,160,191,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    list-style: none;
    z-index: 100;
}
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.dropdown li a {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    color: var(--t99-text-mid);
    border-radius: 10px;
    transition: all 0.2s;
    white-space: nowrap;
}
.dropdown li a:hover {
    background: var(--t99-pink-soft);
    color: var(--t99-text-dark);
}

/* ── Mobile Toggle ── */
nav.navbar .mobile-toggle { display: none;
    flex-direction: column;
    gap: 5px;
    width: 26px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}
.mobile-toggle span {
    height: 2px;
    background: var(--t99-text-dark);
    border-radius: 2px;
    transition: all 0.3s;
    display: block;
    width: 100%;
}

/* ══════════════════════════════════
   FOOTER (.t99-footer)
   ══════════════════════════════════ */
.t99-footer {
    background: var(--t99-text-dark);
    color: rgba(255,255,255,0.6);
    padding: 56px 0 28px;
}
.t99-footer .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.t99-footer .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.t99-footer .footer-brand p {
    font-size: 13px;
    line-height: 1.7;
    max-width: 260px;
    margin-top: 12px;
    font-family: var(--t99-font-body) !important;
}
.t99-footer .nav-logo {
    color: #fff;
}
.t99-footer .footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    font-family: var(--t99-font-body) !important;
}
.t99-footer .footer-col a {
    display: block;
    font-size: 13px;
    margin-bottom: 10px;
    transition: color 0.3s;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-family: var(--t99-font-body) !important;
}
.t99-footer .footer-col a:hover {
    color: var(--t99-pink);
}
.t99-footer .footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}
.t99-footer .footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    font-size: 11px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
}
.t99-footer .footer-social a:hover {
    background: rgba(232,160,191,0.2);
    color: var(--t99-pink);
    transform: translateY(-2px);
}
.t99-footer .footer-social a svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}
.t99-footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-family: var(--t99-font-body) !important;
}
.t99-footer .footer-legal {
    display: flex;
    gap: 20px;
}
.t99-footer .footer-legal a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 12px;
}
.t99-footer .footer-legal a:hover {
    color: #fff;
}

/* ══════════════════════════════════
   SHARED SECTION STYLES
   ══════════════════════════════════ */
.section-label {
    font-family: var(--t99-font-body) !important;
    font-size: 13px !important;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--t99-pink), var(--t99-lilac));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 14px;
    display: block !important;
}
.section-title {
    font-family: var(--t99-font-display) !important;
    font-size: clamp(34px, 4.2vw, 50px);
    font-weight: 600;
    line-height: 1.25;
    color: var(--t99-text-dark);
    margin-bottom: 16px;
    display: block !important;
}
.section-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--t99-pink), var(--t99-lilac));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 0 4px;
    display: inline !important;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}
.section-desc {
    font-family: var(--t99-font-body) !important;
    font-size: 16px;
    color: var(--t99-text-mid);
    max-width: 520px;
    line-height: 1.7;
}

/* ── Shared utility: container ── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Shared buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    letter-spacing: 0.2px;
    font-family: var(--t99-font-body);
    text-decoration: none;
}
.btn-gradient {
    background: linear-gradient(135deg, var(--t99-pink), var(--t99-lilac));
    color: #fff;
    box-shadow: 0 4px 20px rgba(232,160,191,0.3);
}
.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(232,160,191,0.45);
    color: #fff;
}
.btn-glass {
    background: var(--t99-glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--t99-glass-border);
    color: var(--t99-text-dark);
}
.btn-glass:hover {
    background: rgba(255,255,255,0.65);
}
.btn-dark {
    background: var(--t99-text-dark);
    color: #fff;
    padding: 14px 30px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45,36,56,0.2);
}
.btn-sm {
    padding: 9px 20px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s;
    font-family: var(--t99-font-body);
    text-decoration: none;
}
.btn-sm.pink {
    background: linear-gradient(135deg, var(--t99-pink), var(--t99-lilac));
    color: #fff;
    box-shadow: 0 3px 12px rgba(232,160,191,0.25);
}
.btn-sm.pink:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(232,160,191,0.35);
}
.btn-sm.ghost {
    border: 1.5px solid var(--t99-pink-light);
    color: var(--t99-text-mid);
    background: transparent;
}
.btn-sm.ghost:hover {
    border-color: var(--t99-pink);
    color: var(--t99-pink);
}

/* ══════════════════════════════════
   SHARED ANIMATIONS
   ══════════════════════════════════ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-14px) rotate(1deg); }
}
@keyframes floatSlow {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ── Marquee ── */
.marquee {
    background: linear-gradient(135deg, var(--t99-pink), var(--t99-lilac));
    padding: 12px 0;
    overflow: hidden;
}
.marquee-track {
    display: flex;
    animation: marquee 20s linear infinite;
    width: max-content;
}
.marquee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 32px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.95);
    white-space: nowrap;
    font-family: var(--t99-font-body) !important;
}
.marquee-item::before {
    content: '✦';
    font-size: 8px;
    opacity: 0.7;
}

/* ══════════════════════════════════
   FLATSOME OVERRIDE BLOCK
   ══════════════════════════════════ */
body .section-title { display: block !important; font-family: var(--t99-font-display) !important; line-height: 1.2 !important; }
body .section-title em { display: inline !important; line-height: inherit !important; vertical-align: baseline !important; }
body .section-label { font-family: var(--t99-font-body) !important; display: block !important; }
body h2.section-title { display: block !important; }


/* ══════════════════════════════════
   RESPONSIVE — Tablet (max 849px)
   ══════════════════════════════════ */
@media (max-width: 849px) {
    .nav-links { display: none; }
    .mobile-toggle { /* handled in navbar */ }

    /* Mobile menu: handled by checkbox toggle in navbar */

    /* Mobile dropdowns: handled in navbar */
    .has-dropdown > a::after { display: none; }

    .t99-footer .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ══════════════════════════════════
   RESPONSIVE — Mobile (max 768px)
   ══════════════════════════════════ */
@media (max-width: 768px) {
    .section-label { font-size: 12px !important; letter-spacing: 2px; }
    .section-title { font-size: clamp(28px, 6vw, 38px) !important; line-height: 1.3 !important; }

    .t99-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .t99-footer .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* ══════════════════════════════════
   REVEAL — always visible, scroll effect is bonus
   ══════════════════════════════════ */
.reveal {
    opacity: 1;
    transform: none;
}
