/* =========================================
   VEXORA — Premium Pickleball Brand Theme
   ========================================= */

:root {
    --color-bg: #111111;
    --color-bg-alt: #1a1a1a;
    --color-primary: #E21B1B;
    --color-primary-hover: #ff2a2a;
    --color-wa: #25D366;
    --color-wa-hover: #1ebe5c;
    --color-text: #ffffff;
    --color-text-muted: #a0a0a0;
    --color-border: #2a2a2a;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --radius: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
}

a { text-decoration: none; color: var(--color-text); transition: var(--transition); }
ul { list-style: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.text-center { text-align: center; }

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 2px;
}
.text-center .section-title::after { left: 50%; transform: translateX(-50%); }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-hover); box-shadow: 0 4px 20px rgba(226,27,27,0.45); transform: translateY(-2px); }
.btn-secondary { background: rgba(255,255,255,0.1); color: #fff; backdrop-filter: blur(10px); }
.btn-secondary:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.btn-outline { border-color: rgba(255,255,255,0.3); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* --- Navbar --- */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    padding: 1.5rem 5%;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000;
    transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(17,17,17,0.97);
    backdrop-filter: blur(12px);
    padding: 1rem 5%;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.logo-link { display: block; }
.main-logo { height: 60px; max-width: 260px; object-fit: contain; display: block; transition: var(--transition); }
.main-logo:hover { transform: scale(1.05); }

.navbar nav ul { display: flex; gap: 2.5rem; }
.navbar nav ul li a {
    font-size: 0.85rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--color-text-muted);
    position: relative;
}
.navbar nav ul li a.active, .navbar nav ul li a:hover { color: #fff; }
.navbar nav ul li a::after {
    content: ''; position: absolute; bottom: -5px; left: 0;
    width: 0; height: 2px; background: var(--color-primary);
    transition: var(--transition);
}
.navbar nav ul li a:hover::after, .navbar nav ul li a.active::after { width: 100%; }

.nav-order-btn { padding: 0.5rem 1.5rem; font-size: 0.8rem; }

.mobile-menu-toggle { display: none; cursor: pointer; flex-direction: column; justify-content: space-between; width: 28px; height: 20px; z-index: 1001; }
.mobile-menu-toggle span { display: block; height: 2.5px; width: 100%; background: var(--color-text); border-radius: 3px; transition: var(--transition); }
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(8.75px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-8.75px) rotate(-45deg); }

/* --- Hero Section --- */
.hero {
    position: relative; height: 100vh;
    display: flex; align-items: center; padding: 0 5%;
    overflow: hidden;
}
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; animation: slowZoom 25s infinite alternate; }
@keyframes slowZoom { 0% { transform: scale(1); } 100% { transform: scale(1.08); } }
.hero-bg .overlay {
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(17,17,17,0.96) 0%, rgba(17,17,17,0.65) 55%, rgba(17,17,17,0.2) 100%);
    z-index: 1;
}
.hero-content { max-width: 820px; z-index: 2; position: relative; }

.hero-badge {
    display: inline-block;
    background: rgba(226,27,27,0.15);
    border: 1px solid rgba(226,27,27,0.4);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    display: block;
    width: fit-content;
}

.hero-title {
    font-size: 5rem; line-height: 1.05;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #ccc 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-title .accent { color: var(--color-primary); -webkit-text-fill-color: var(--color-primary); }
.hero-text { font-size: 1.15rem; color: var(--color-text-muted); margin-bottom: 2.5rem; max-width: 580px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll-hint {
    position: absolute; bottom: 2.5rem; left: 5%;
    display: flex; align-items: center; gap: 1rem;
    color: var(--color-text-muted); font-size: 0.75rem;
    text-transform: uppercase; letter-spacing: 2px;
    z-index: 2;
}
.scroll-line { width: 50px; height: 1px; background: var(--color-text-muted); }

/* --- Sport Intro Banner --- */
.sport-intro {
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 3rem 0;
}
.sport-intro-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 2rem; text-align: center;
}
.sport-stat h3 { font-size: 2.5rem; color: var(--color-primary); line-height: 1; margin-bottom: 0.5rem; }
.sport-stat p { font-size: 0.85rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* --- Products Section --- */
.products { padding: 6rem 0; background: var(--color-bg-alt); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }

.product-card {
    background: var(--color-bg);
    border-radius: 12px;
    border: 1px solid var(--color-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex; flex-direction: column;
}
.product-card:hover { border-color: rgba(226,27,27,0.4); box-shadow: 0 20px 50px rgba(0,0,0,0.6); transform: translateY(-8px); }

.product-badge {
    position: absolute; top: 1rem; left: 1rem;
    background: var(--color-primary); color: #fff;
    font-family: var(--font-heading); font-size: 0.7rem;
    font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    padding: 0.25rem 0.75rem; border-radius: 50px; z-index: 2;
}

.img-container {
    width: 100%; height: 260px;
    display: flex; align-items: center; justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
}
.img-container img {
    max-width: 90%; max-height: 100%; object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.6));
}
.product-card:hover .img-container img { transform: scale(1.08) rotate(2deg); }

.product-info { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.product-cat {
    font-family: var(--font-heading); font-size: 0.7rem;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--color-primary); margin-bottom: 0.5rem; display: block;
}
.product-info h4 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.product-desc { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.6; margin-bottom: 1.5rem; flex: 1; }

/* Spec list for product page */
.spec-list { margin-bottom: 1.5rem; flex: 1; }
.spec-list li {
    display: flex; align-items: flex-start; gap: 0.75rem;
    font-size: 0.88rem; color: var(--color-text-muted);
    padding: 0.5rem 0; border-bottom: 1px solid var(--color-border);
}
.spec-list li:last-child { border-bottom: none; }
.spec-list li span { color: #fff; font-weight: 600; min-width: 80px; font-family: var(--font-heading); font-size: 0.75rem; }

/* --- Order Buttons --- */
.product-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.btn-order {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.65rem 1.2rem;
    border-radius: var(--radius); font-family: var(--font-heading);
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.5px;
    text-transform: uppercase; cursor: pointer; transition: var(--transition);
    border: none; flex: 1; justify-content: center;
}
.btn-order svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }
.btn-wa { background: var(--color-wa); color: #fff; }
.btn-wa:hover { background: var(--color-wa-hover); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(37,211,102,0.3); color: #fff; }
.btn-mail { background: rgba(226,27,27,0.15); color: var(--color-primary); border: 1px solid rgba(226,27,27,0.3); }
.btn-mail svg { fill: none; }
.btn-mail:hover { background: var(--color-primary); color: #fff; transform: translateY(-2px); }
.btn-mail:hover svg { stroke: #fff; }

/* --- Why Section --- */
.why-section { padding: 6rem 0; background: var(--color-bg); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.why-card {
    background: var(--color-bg-alt); border: 1px solid var(--color-border);
    border-radius: 12px; padding: 2rem; text-align: center;
    transition: var(--transition);
}
.why-card:hover { border-color: rgba(226,27,27,0.4); transform: translateY(-6px); box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.why-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.why-card h4 { font-size: 1rem; margin-bottom: 0.75rem; }
.why-card p { font-size: 0.88rem; color: var(--color-text-muted); line-height: 1.6; }

/* --- Order CTA Section --- */
.order-cta {
    padding: 6rem 0;
    background: linear-gradient(rgba(17,17,17,0.95), rgba(17,17,17,0.95)), url('assets/Paddle.png') center/cover fixed;
    border-top: 1px solid var(--color-border);
}
.order-cta h2 { font-size: 2.8rem; margin-bottom: 1rem; }
.order-cta > .container > p { color: var(--color-text-muted); max-width: 600px; margin: 0 auto 3rem; font-size: 1rem; line-height: 1.7; }

.order-contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 700px; margin: 0 auto; }

.contact-card {
    display: flex; flex-direction: column; align-items: center;
    padding: 2.5rem 2rem;
    border-radius: 16px; border: 1px solid var(--color-border);
    text-align: center; transition: var(--transition);
    background: var(--color-bg-alt);
    color: var(--color-text);
}
.contact-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.5); color: var(--color-text); }
.contact-card-wa:hover { border-color: var(--color-wa); }
.contact-card-mail:hover { border-color: var(--color-primary); }

.contact-icon {
    width: 70px; height: 70px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
}
.contact-card-wa .contact-icon { background: rgba(37,211,102,0.15); color: var(--color-wa); }
.contact-card-wa .contact-icon svg { width: 34px; height: 34px; fill: var(--color-wa); }
.contact-card-mail .contact-icon { background: rgba(226,27,27,0.15); color: var(--color-primary); }
.contact-card-mail .contact-icon svg { width: 34px; height: 34px; stroke: var(--color-primary); fill: none; }
.contact-card h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.contact-card p { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 1rem; }
.contact-handle { font-family: var(--font-heading); font-size: 0.85rem; font-weight: 700; letter-spacing: 1px; }
.contact-card-wa .contact-handle { color: var(--color-wa); }
.contact-card-mail .contact-handle { color: var(--color-primary); }

/* --- Page Hero (inner pages) --- */
.page-hero {
    padding: 11rem 0 5rem;
    background: linear-gradient(rgba(17,17,17,0.85), rgba(17,17,17,0.97)), url('assets/Paddle.png') center/cover no-repeat;
    border-bottom: 1px solid var(--color-border);
}
.page-hero-sub { font-size: 1.1rem; color: var(--color-text-muted); margin-top: 1rem; }

/* --- About Section --- */
.about-section { padding: 6rem 0; background: var(--color-bg-alt); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.brand-story p { font-size: 1rem; line-height: 1.8; color: var(--color-text-muted); }
.benefits-list li {
    display: flex; align-items: center; gap: 1rem;
    font-size: 1rem; color: var(--color-text-muted);
    padding: 0.6rem 0; border-bottom: 1px solid var(--color-border);
}
.bullet { width: 8px; height: 8px; background: var(--color-primary); border-radius: 50%; flex-shrink: 0; }

/* --- Technology Section --- */
.technology { padding: 6rem 0; background: var(--color-bg); }
.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; text-align: center; }
.tech-item { display: flex; flex-direction: column; align-items: center; }
.tech-icon {
    width: 80px; height: 80px; border-radius: 50%;
    background: rgba(226,27,27,0.1);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem; color: var(--color-primary); transition: var(--transition);
}
.tech-item:hover .tech-icon { background: var(--color-primary); color: #fff; transform: scale(1.1); }
.tech-icon svg { width: 36px; height: 36px; }
.tech-item h4 { margin-bottom: 0.75rem; }
.tech-item p { font-size: 0.88rem; color: var(--color-text-muted); line-height: 1.6; }

/* --- Footer --- */
footer { background: #0a0a0a; padding: 4rem 0 2rem; border-top: 1px solid var(--color-border); }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2.5rem; margin-bottom: 3rem; }
.footer-logo { height: 80px; max-width: 280px; object-fit: contain; display: block; }
.footer-tagline { font-size: 0.82rem; color: var(--color-text-muted); margin-top: 0.75rem; letter-spacing: 0.5px; }
.footer-links, .footer-contact-info, .footer-social { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links h5, .footer-contact-info h5, .footer-social h5 {
    font-size: 0.75rem; letter-spacing: 2px; color: var(--color-text-muted);
    text-transform: uppercase; margin-bottom: 0.5rem;
}
.footer-links a, .footer-contact-info a { font-size: 0.9rem; color: var(--color-text-muted); }
.footer-links a:hover, .footer-contact-info a:hover { color: #fff; padding-left: 5px; }
.footer-email:hover { color: var(--color-primary) !important; }
.footer-wa:hover { color: var(--color-wa) !important; }

.social-icons { display: flex; gap: 1rem; }
.social-icons a svg { width: 22px; height: 22px; fill: var(--color-text-muted); transition: var(--transition); }
.social-icons a:hover svg { fill: var(--color-primary); transform: translateY(-3px); }

.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 0.82rem; color: var(--color-text-muted);
}
.footer-bottom a { color: var(--color-primary); }

/* --- Scroll Reveal --- */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-title { font-size: 4rem; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .sport-intro-grid { grid-template-columns: repeat(2, 1fr); }
    .order-contact-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .mobile-menu-toggle { display: flex; }
    .nav-actions { display: none; }

    .navbar nav {
        position: fixed; top: 0; right: -100%; width: 80%; height: 100vh;
        background: var(--color-bg); border-left: 1px solid rgba(255,255,255,0.05);
        display: flex; flex-direction: column; justify-content: center; align-items: center;
        transition: var(--transition); z-index: 1000;
    }
    .navbar nav.active { right: 0; }
    .navbar nav ul { flex-direction: column; gap: 2rem; text-align: center; }
    .navbar nav ul li a { font-size: 1.3rem; }

    .hero-title { font-size: 3rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { text-align: center; }
    .hero-scroll-hint { display: none; }

    .sport-intro-grid { grid-template-columns: repeat(2, 1fr); }
    .order-contact-cards { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .footer-content { flex-direction: column; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
    .section-title { font-size: 2rem; }
    .order-cta h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .sport-intro-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .sport-stat h3 { font-size: 2rem; }
    .product-actions { flex-direction: column; }
    .btn-order { flex: none; }
}

/* --- Image Fallback Placeholders --- */
.img-container img[src="assets/Pickle Ball40.png"],
.img-container img[src="assets/Pickle Ball26.png"] {
    object-fit: contain;
    padding: 1rem;
}


/* Hero background dark fallback */
.hero {
    background: #0a0a0a;
}
