/* ==========================================================================
   main.css — Base styles, variables, typography, layout
   ========================================================================== */

/* ── CSS Custom Properties ──────────────────────────────────────────────── */
:root {
    --white:        #FFFFFF;
    --light:        #F5F5F7;
    --black:        #1D1D1F;
    --gray:         #6E6E73;
    --gray-light:   #E8E8ED;
    --accent:       #FF6A00;
    --accent-dark:  #D95500;
    --accent-glow:  rgba(255, 106, 0, 0.12);

    --font-display: 'Syne', sans-serif;
    --font-body:    'DM Sans', sans-serif;

    --radius-sm:    10px;
    --radius-md:    18px;
    --radius-lg:    24px;
    --radius-xl:    32px;

    --shadow-sm:    0 4px 16px rgba(0,0,0,0.06);
    --shadow-md:    0 16px 40px rgba(0,0,0,0.09);
    --shadow-lg:    0 40px 90px rgba(0,0,0,0.1);
    --shadow-glow:  0 20px 60px rgba(255,106,0,0.15);

    --transition:   0.3s cubic-bezier(0.23, 1, 0.32, 1);
    --section-pad:  120px 5%;
    --nav-height:   72px;
}

/* =========================
   Products Auto Scroll
========================= */

.products-grid {
    display: flex;
    gap: 30px;
    overflow: hidden;
    scroll-behavior: smooth;
}

.product-card {
    min-width: 320px;  /* Keep same width as existing */
    flex: 0 0 auto;
}

/* ── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--black);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { }
button { cursor: pointer; }
address { font-style: normal; }

/* ── Scrollbar ──────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* ── Typography ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--black);
}

.section-tag {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-tag::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
    flex-shrink: 0;
}
.section-tag.centered { justify-content: center; }

.section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
}
.section-title.centered { text-align: center; }

.section-intro {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--gray);
    max-width: 520px;
    font-weight: 300;
}
.section-intro.centered { text-align: center; margin-left: auto; margin-right: auto; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn-primary {
    background: var(--black);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: none;
    font-family: var(--font-body);
}
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    z-index: 0;
}
.btn-primary span { position: relative; z-index: 1; }
.btn-primary:hover::after { transform: translateX(0); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,0.2); }

.btn-secondary {
    border: 1.5px solid rgba(0,0,0,0.15);
    color: var(--black);
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    background: transparent;
    font-family: var(--font-body);
}
.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-featured {
    background: var(--accent);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    font-family: var(--font-body);
}
.btn-featured:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-2px);
}

.btn-cta-white {
    background: var(--white);
    color: var(--accent);
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    font-family: var(--font-body);
}
.btn-cta-white:hover {
    background: var(--black);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.btn-cta-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    font-family: var(--font-body);
}
.btn-cta-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.view-all-btn {
    background: var(--black);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    white-space: nowrap;
    font-family: var(--font-body);
}
.view-all-btn:hover { background: var(--accent); transform: translateY(-2px); }

.btn-arrow { transition: transform 0.25s ease; }
.btn-primary:hover .btn-arrow,
.btn-secondary:hover .btn-arrow { transform: translateX(4px); }

/* ── Header / Navbar ─────────────────────────────────────────────────────── */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; }

.navbar {
    height: var(--nav-height);
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: all 0.4s ease;
}
.navbar.scrolled {
    height: 60px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.07);
}

.logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--black);
    letter-spacing: -0.5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo-mark {
    width: 32px;
    height: 32px;
    /* background: var(--accent); */
    border-radius: 8px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.logo-mark svg { width: 18px; height: 18px; fill: var(--white); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--black);
    opacity: 0.75;
    transition: opacity 0.2s;
    letter-spacing: 0.01em;
}
.nav-links a:hover { opacity: 1; }
.nav-cta {
    background: var(--black) !important;
    color: var(--white) !important;
    opacity: 1 !important;
    padding: 9px 20px;
    border-radius: 100px;
    font-weight: 500 !important;
    transition: background 0.25s, transform 0.25s !important;
}
.nav-cta:hover { background: var(--accent) !important; transform: translateY(-1px); }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: 0.3s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.mobile-menu a {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--black);
    transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-close {
    position: absolute;
    top: 24px;
    right: 5%;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--black);
    line-height: 1;
}

/* ── Section Padding ─────────────────────────────────────────────────────── */
section { padding: var(--section-pad); }

/* ── Footer ─────────────────────────────────────────────────────────────── */
footer {
    background: #111111;
    padding: 80px 5% 40px;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo { color: var(--white); margin-bottom: 16px; }
.footer-brand .logo-mark svg { fill: var(--white); }
.footer-tagline {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
    line-height: 1.7;
    max-width: 240px;
}
.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a,
.footer-col address {
    text-decoration: none;
    font-size: 0.83rem;
    color: rgba(255,255,255,0.4);
    transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 36px;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.25); }
.footer-accent { color: var(--accent); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-legal a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 12px; }
.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    display: grid;
    place-items: center;
    transition: var(--transition);
    text-decoration: none;
}
.social-btn:hover { border-color: var(--accent); background: var(--accent-glow); }
.social-btn svg { width: 16px; height: 16px; stroke: rgba(255,255,255,0.4); fill: none; stroke-width: 1.5; transition: stroke 0.2s; }
.social-btn:hover svg { stroke: var(--accent); }

/* ── CTA Banner ─────────────────────────────────────────────────────────── */
.cta-banner {
    background: var(--accent);
    padding: 100px 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: -100px; left: -100px;
    width: 400px; height: 400px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    pointer-events: none;
}
.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -150px; right: -80px;
    width: 500px; height: 500px;
    background: rgba(0,0,0,0.06);
    border-radius: 50%;
    pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-banner h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}
.cta-banner p {
    color: rgba(255,255,255,0.82);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.7;
}
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }


.logo-mark-footer img{
    height: 25px;
    width: auto;
    display: block;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 900px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
}
@media (max-width: 640px) {
    :root { --section-pad: 80px 5%; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}


