/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
    color: #222;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Oswald', sans-serif; font-weight: 600; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 10px; }
.section-header p { color: #666; font-size: 1.1rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.btn-primary {
    background-color: #e63946;
    color: #fff;
    border-color: #e63946;
}
.btn-primary:hover {
    background-color: #c1121f;
    border-color: #c1121f;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(230,57,70,0.3);
}
.btn-outline {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}
.btn-outline:hover {
    background-color: #fff;
    color: #222;
    transform: translateY(-2px);
}
.btn-lg { padding: 15px 35px; font-size: 1.1rem; }
.btn-block { display: block; width: 100%; margin-bottom: 15px; }

/* ===== LOADER ===== */
.loader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #111;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-spinner {
    width: 60px; height: 60px;
    border: 5px solid rgba(255,255,255,0.1);
    border-top-color: #e63946;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}
.navbar.transparent { background: transparent; }
.navbar.solid {
    background: rgba(17,17,17,0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8rem; font-weight: 700; color: #fff; font-family: 'Oswald', sans-serif; }
.logo span { color: #e63946; }
.nav-menu { display: flex; align-items: center; }
.nav-list { display: flex; gap: 30px; }
.nav-link {
    color: #fff;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: #e63946;
    transition: width 0.3s;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.quote-btn { margin-left: 30px; }
.hamburger { display: none; flex-direction: column; cursor: pointer; }
.hamburger span {
    width: 25px; height: 2px;
    background: #fff;
    margin: 4px 0;
    transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(17,17,17,0.98);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s;
}
.mobile-menu.active { opacity: 1; visibility: visible; }
.mobile-menu ul { text-align: center; }
.mobile-menu ul li { margin: 20px 0; }
.mobile-menu a { color: #fff; font-size: 1.8rem; font-weight: 500; }
.mobile-menu .btn { margin-top: 20px; }

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    animation: heroZoom 10s ease-in-out infinite alternate;
}
@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 700px; color: #fff; }
.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(230,57,70,0.2);
    border: 1px solid #e63946;
    border-radius: 50px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
}
.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    line-height: 1.1;
}
.hero-text { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; }
.hero-buttons .btn { margin-right: 15px; }
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px; height: 50px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 20px;
    z-index: 2;
}
.hero-scroll-indicator span {
    position: absolute;
    top: 8px; left: 50%;
    transform: translateX(-50%);
    width: 4px; height: 10px;
    background: #fff;
    border-radius: 4px;
    animation: scrollDown 1.5s infinite;
}
@keyframes scrollDown {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 30px; }
}

/* Hero Particles */
.hero-particles { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }

/* ===== CATEGORY CARDS ===== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.category-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    background: #fff;
}
.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.category-image { position: relative; height: 250px; overflow: hidden; }
.category-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.category-card:hover .category-image img { transform: scale(1.1); }
.category-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.6));
}
.category-info {
    position: absolute;
    bottom: 0; left: 0;
    padding: 25px;
    color: #fff;
    width: 100%;
}
.category-info h3 { font-size: 1.5rem; margin-bottom: 8px; }
.category-info p { font-size: 0.9rem; opacity: 0.9; margin-bottom: 15px; }
.category-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #e63946;
    transition: gap 0.3s;
}
.category-link:hover { gap: 12px; }
.arrow { transition: transform 0.3s; }
.category-link:hover .arrow { transform: translateX(5px); }

/* ===== PRODUCTS ===== */
.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto 30px;
}
.search-container input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 2px solid #ddd;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}
.search-container input:focus { border-color: #e63946; }
.search-container svg {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}
.filter-btn {
    padding: 10px 25px;
    border: 2px solid #ddd;
    background: transparent;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}
.filter-btn:hover, .filter-btn.active {
    background: #e63946;
    color: #fff;
    border-color: #e63946;
}
.result-count { text-align: center; margin-bottom: 30px; font-weight: 500; color: #666; }
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.product-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}
.product-image { height: 250px; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-info { padding: 20px; }
.product-category { font-size: 0.8rem; color: #e63946; text-transform: uppercase; letter-spacing: 1px; }
.product-name { font-size: 1.3rem; margin: 8px 0; }
.product-description { font-size: 0.9rem; color: #666; margin-bottom: 15px; }
.product-price { font-weight: 700; font-size: 1.2rem; margin-bottom: 15px; }
.product-actions { display: flex; gap: 10px; }
.product-actions .btn { padding: 8px 15px; font-size: 0.85rem; }

.empty-message { text-align: center; font-size: 1.2rem; color: #999; }

/* ===== FEATURES ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.feature-card {
    background: #f8f8f8;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    background: #fff;
}
.feature-icon { font-size: 2.5rem; margin-bottom: 15px; }
.feature-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.feature-card p { color: #666; font-size: 0.9rem; }

/* ===== HOME GYM SECTION ===== */
.homegym-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.homegym-image img { border-radius: 15px; box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.homegym-content h2 { font-size: 2.5rem; margin-bottom: 20px; }
.homegym-content p { margin-bottom: 30px; color: #555; }
.homegym-buttons .btn { margin-right: 15px; }

/* ===== COMMERCIAL SECTION ===== */
.commercial-section { background: #111; color: #fff; }
.commercial-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.commercial-content h2 { font-size: 2.5rem; margin-bottom: 20px; }
.commercial-content p { color: #ccc; margin-bottom: 40px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.stat-item { text-align: center; }
.stat-number { font-size: 3rem; font-weight: 700; color: #e63946; display: inline-block; }
.plus { font-size: 2rem; color: #e63946; }
.stat-label { display: block; color: #ccc; margin-top: 5px; }
.commercial-image img { border-radius: 15px; box-shadow: 0 20px 40px rgba(0,0,0,0.5); }

/* ===== CTA SECTION ===== */
.cta-section {
    position: relative;
    padding: 100px 0;
    text-align: center;
    color: #fff;
    overflow: hidden;
}
.cta-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    animation: heroZoom 15s ease-in-out infinite alternate;
}
.cta-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
}
.cta-content { position: relative; z-index: 2; }
.cta-content h2 { font-size: 3rem; margin-bottom: 15px; }
.cta-content p { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; }
.cta-buttons .btn { margin: 0 10px; }

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.contact-item { margin-bottom: 25px; }
.contact-item h3 { font-size: 1.1rem; color: #e63946; margin-bottom: 5px; }
.contact-item a { color: #222; }
.contact-item a:hover { color: #e63946; }
.contact-actions .btn { margin-bottom: 15px; }

/* ===== FOOTER ===== */
.footer { background: #111; color: #fff; padding: 60px 0 0; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer-logo { font-size: 2rem; font-family: 'Oswald', sans-serif; margin-bottom: 15px; }
.footer-logo span { color: #e63946; }
.footer-col p { color: #aaa; font-size: 0.9rem; }
.footer-col h4 { margin-bottom: 20px; font-size: 1.2rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #aaa; }
.footer-col a:hover { color: #e63946; }
.social-icons { display: flex; gap: 15px; margin-top: 20px; }
.social-icons a { color: #aaa; transition: color 0.3s; }
.social-icons a:hover { color: #e63946; }
.contact-list li { display: flex; gap: 10px; color: #aaa; }
.contact-list strong { color: #fff; }
.footer-bottom {
    border-top: 1px solid #222;
    padding: 20px 0;
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
}

/* ===== BACK TO TOP & WHATSAPP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #e63946;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px; height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 100;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: #c1121f; transform: translateY(-5px); }
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: #25D366;
    color: #fff;
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37,211,102,0.4);
    z-index: 100;
    transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content {
    background: #fff;
    border-radius: 20px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.7);
    transition: transform 0.3s;
}
.modal-overlay.active .modal-content { transform: scale(1); }
.modal-close {
    position: absolute;
    top: 15px; right: 15px;
    background: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #333;
    z-index: 10;
}
.modal-body { display: grid; grid-template-columns: 1fr 1fr; }
.modal-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px 0 0 20px; }
.modal-info { padding: 40px; }
.modal-info h2 { font-size: 2rem; margin-bottom: 10px; }
.modal-category { color: #e63946; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; margin-bottom: 20px; }
.modal-description { margin-bottom: 20px; color: #555; }
.modal-info h4 { margin-bottom: 10px; }
.modal-features { margin-bottom: 25px; }
.modal-features li { padding-left: 20px; position: relative; margin-bottom: 5px; color: #555; }
.modal-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #e63946;
    font-weight: bold;
}
.modal-price { font-size: 1.5rem; font-weight: 700; margin-bottom: 20px; }

/* ===== PAGE HERO (for category pages) ===== */
.page-hero { position: relative; height: 50vh; min-height: 350px; display: flex; align-items: center; overflow: hidden; }
.page-hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; }
.page-hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); }
.page-hero-content { position: relative; z-index: 2; color: #fff; }
.page-hero-content h1 { font-size: 3rem; margin-bottom: 10px; }
.page-hero-content p { font-size: 1.2rem; opacity: 0.9; }

/* ===== ANIMATIONS ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: all 0.8s ease; }
.reveal-left.active { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(50px); transition: all 0.8s ease; }
.reveal-right.active { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .homegym-split, .commercial-section .container { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-menu { display: none; }
    .hamburger { display: flex; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-title { font-size: 3rem; }
    .section { padding: 60px 0; }
    .section-header h2 { font-size: 2rem; }
    .modal-body { grid-template-columns: 1fr; }
    .modal-image img { border-radius: 20px 20px 0 0; height: 250px; }
}
@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.5rem; }
    .hero-text { font-size: 1rem; }
    .cta-content h2 { font-size: 2rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .filter-buttons { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 10px; }
}