/* =============================
   Fitovit Styles - Technology Category
   ============================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap'); /* Tech font */

:root {
    --primary-dark: #001f3f; /* Navy Blue */
    --primary: #0074D9; /* Tech Blue */
    --accent: #39CCCC; /* Cyan/Teal */
    --accent-hover: #3D9970;
    --bg-light: #f0f4f8;
    --text-dark: #111;
    --text-light: #fff;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.15);
    --radius: 8px; /* Sharper corners for tech */
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, .logo {
    font-family: 'Orbitron', sans-serif; /* Tech font headers */
}

/* --- Navbar --- */
.navbar {
    background: var(--white);
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.nav-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-weight: 800;
    font-size: 24px;
    color: var(--primary-dark);
    text-decoration: none;
    letter-spacing: 1px;
}
.btn-nav {
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    transition: 0.3s;
}
.btn-nav:hover {
    background: var(--primary-dark);
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, #020024 0%, var(--primary-dark) 40%, var(--primary) 100%);
    color: white;
    padding: 60px 20px 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    min-height: 70vh;
}
.hero-content {
    flex: 1;
    max-width: 500px;
    animation: fadeIn 1s ease;
}
.badge-new {
    background: rgba(57, 204, 204, 0.1);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    border: 1px solid var(--accent);
}
.hero h1 {
    font-size: 48px;
    line-height: 1.1;
    margin: 20px 0;
    font-weight: 700;
}
.text-highlight {
    color: var(--accent);
}
.hero p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    font-family: 'Poppins', sans-serif;
}
.hero-buttons {
    display: flex;
    gap: 15px;
}
.btn-primary {
    background: var(--accent);
    color: var(--primary-dark);
    padding: 15px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s;
    box-shadow: 0 0 15px rgba(57, 204, 204, 0.4);
}
.btn-primary:hover {
    transform: translateY(-3px);
    background: #fff;
}
.btn-secondary {
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 13px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
}
.btn-secondary:hover {
    background: rgba(57, 204, 204, 0.1);
}

/* --- Generic Sections --- */
.section {
    padding: 80px 20px;
    max-width: 1100px;
    margin: auto;
}
.section h2 {
    text-align: center;
    font-size: 36px;
    color: var(--primary-dark);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.section-subtitle {
    text-align: center;
    color: #555;
    margin-bottom: 50px;
    font-size: 18px;
}

/* --- Videos Section --- */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.video-card {
    background: var(--white);
    padding: 15px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary);
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    border-radius: 4px;
    overflow: hidden;
    background: #000;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Productos --- */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.producto-card {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    border: 1px solid #e1e1e1;
    transition: transform 0.3s;
}
.producto-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}
.badge-offer {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: bold;
}
.producto-card img {
    width: 100%;
    max-width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
}
.producto-card h3 {
    color: var(--primary-dark);
    margin: 10px 0;
    font-size: 1.1rem;
}
.desc {
    font-size: 0.9rem;
    color: #666;
    min-height: 40px;
}
.price-container {
    margin: 15px 0;
    font-size: 18px;
}
.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    margin-right: 10px;
}
.new-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 20px;
}
.btn-buy {
    background: #25D366; /* WhatsApp Green */
    color: white;
    border: none;
    width: 100%;
    padding: 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.3s;
}
.btn-buy:hover {
    background: #1ebc57;
    box-shadow: 0 4px 10px rgba(30, 188, 87, 0.3);
}

/* --- Footer --- */
.footer {
    background: #001f3f;
    color: white;
    text-align: center;
    padding: 50px 20px;
    margin-top: 50px;
    border-top: 4px solid var(--accent);
}
.footer a {
    color: var(--accent);
    text-decoration: none;
    margin: 0 10px;
}

/* --- Animations --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 2000;
    transition: transform 0.3s;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}
.whatsapp-float img {
    width: 35px;
    height: 35px;
}


