/*
Theme Name: Oscar Hernandez - Official Theme
Author: Edgar Hemel Rincon
Description: Tema personalizado desarrollado desde cero para OH Performance (Oscar Hernandez), rapido y sin plugins externos.
Version: 1.0
Text Domain: oscar-hernandez
*/

:root {
    --gold: #d8b65c;
    --dark: #090909;
    --muted: #b9b5ab;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--dark);
    color: #f8f5ee;
    font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; }
button { cursor: pointer; }
.wrap { max-width: 1200px; margin: auto; padding: 0 22px; }

/* Header & Nav */
header.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #080808ed;
    border-bottom: 1px solid #b9954544;
    backdrop-filter: blur(12px);
}
.nav {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    letter-spacing: 3px;
    font-weight: 800;
}
.brand img {
    height: 58px;
    width: 52px;
    object-fit: contain;
    mix-blend-mode: screen;
}
.links {
    display: flex;
    gap: 25px;
    align-items: center;
    font-size: 12px;
    letter-spacing: 1.5px;
    font-weight: bold;
}
.links a:hover { color: var(--gold); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 23px;
    border: 1px solid var(--gold);
    background: var(--gold);
    color: #101010;
    font-weight: 800;
    letter-spacing: 1.1px;
    font-size: 12px;
    text-align: center;
    transition: filter .2s;
}
.btn.secondary { background: transparent; color: var(--gold); }
.btn:hover { filter: brightness(1.15); }
.cartbtn {
    background: transparent;
    border: 1px solid #776333;
    color: var(--gold);
    padding: 10px 14px;
    font-weight: bold;
    font-size: 12px;
    letter-spacing: 1.2px;
}
.cartbtn:hover { border-color: var(--gold); }

/* Hero */
.hero {
    min-height: 670px;
    display: flex;
    align-items: center;
    position: relative;
    background-color: #080808;
    background-size: cover;
    background-position: center 35%;
}
.hero .wrap { width: 100%; padding-top: 70px; padding-bottom: 70px; }
.eyebrow {
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
}
.hero h1 {
    font-size: clamp(47px, 7.5vw, 104px);
    line-height: .96;
    letter-spacing: -3px;
    margin: 24px 0;
    max-width: 820px;
}
.hero h1 span { color: var(--gold); }
.hero p {
    max-width: 540px;
    color: #d6d0c6;
    line-height: 1.8;
    font-size: 17px;
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* Statbar & Sections */
.statbar {
    background: #15130e;
    border-block: 1px solid #544521;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    padding: 23px 15px;
    gap: 10px;
}
.statbar strong { display: block; color: var(--gold); font-size: 21px; }
.statbar small { font-size: 11px; letter-spacing: 1.5px; color: #c8c1b3; }
.section { padding: 85px 0; }
.section.alt { background: #111110; }
.section h2 {
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.05;
    letter-spacing: -1.6px;
    margin: 13px 0 18px;
}
.lead { color: #bcb8b0; line-height: 1.8; max-width: 700px; }

/* Products */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 35px;
}
.product {
    background: #191816;
    border: 1px solid #3d3525;
    overflow: hidden;
}
.product img {
    width: 100%;
    height: 310px;
    object-fit: cover;
    display: block;
    background: #12110f;
}
.product .details { padding: 22px; }
.product h3 { font-size: 17px; margin: 0 0 8px; }
.price { color: var(--gold); font-size: 24px; font-weight: bold; }
.muted { color: var(--muted); font-size: 13px; line-height: 1.6; }
.product select {
    background: #101010;
    color: white;
    border: 1px solid #675632;
    padding: 11px;
    width: 100%;
    margin: 14px 0;
}
.product button { width: 100%; }

/* Split, Lessons & Booking */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}
.split img { width: 100%; max-height: 570px; object-fit: cover; }
.lesson-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 30px;
}
.lesson { border: 1px solid #554727; background: #181714; padding: 24px; }
.lesson h3 { margin: 0 0 10px; }
.lesson .price { margin: 12px 0; }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
video { width: 100%; max-height: 390px; background: #000; border: 1px solid #554727; }
.video-grid h3 { color: var(--gold); }
.booking {
    background: #171510;
    border: 1px solid #6e592e;
    padding: 30px;
    margin-top: 30px;
}
.booking-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.booking label { font-size: 12px; color: var(--gold); letter-spacing: 1px; display: block; }
.booking input, .booking select {
    display: block;
    width: 100%;
    padding: 13px;
    margin-top: 8px;
    background: #0b0b0b;
    color: white;
    border: 1px solid #655634;
}
.booking p { line-height: 1.7; }
.notice {
    border-left: 3px solid var(--gold);
    padding: 12px 16px;
    background: #282316;
    color: #e5ddcc;
    font-size: 13px;
    line-height: 1.7;
    margin: 18px 0;
}
.status-msg {
    margin-top: 15px;
    padding: 14px;
    border: 1px solid var(--gold);
    background: #1f1b12;
    color: #f8f5ee;
    font-size: 14px;
}

/* Footer & Drawer */
.footer {
    background: #050505;
    border-top: 1px solid #4e4025;
    padding: 45px 0;
    color: #bfb9ac;
}
.footer img { width: 85px; mix-blend-mode: screen; }
.drawer {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: min(420px, 100%);
    background: #14120f;
    z-index: 30;
    padding: 26px;
    box-shadow: -15px 0 70px #000b;
    transform: translateX(105%);
    transition: transform .25s;
    overflow: auto;
    border-left: 1px solid #51452e;
}
.drawer.open { transform: none; }
.drawer .top { display: flex; justify-content: space-between; align-items: center; }
.drawer button.action-btn { margin-top: 12px; width: 100%; }
.cartline {
    border-bottom: 1px solid #51452e;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.remove-item {
    background: none;
    border: 1px solid #655634;
    color: var(--muted);
    padding: 4px 8px;
    font-size: 11px;
}
.remove-item:hover { color: #fff; border-color: var(--gold); }
.close { background: none; border: 0; color: white; font-size: 27px; }
.mobile-menu { display: none; }
.maplink { color: var(--gold); text-decoration: underline; }
.tag { color: #dfd3b9; font-size: 12px; letter-spacing: 1.2px; }
.hide { display: none; }

@media (max-width: 760px) {
    .nav { height: 70px; }
    .brand { letter-spacing: 1px; font-size: 12px; }
    .brand img { height: 51px; width: 44px; }
    .links { display: none; }
    .mobile-menu { display: block; background: none; border: 0; color: var(--gold); font-size: 13px; font-weight: bold; }
    .links.open {
        display: flex;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #111;
        flex-direction: column;
        padding: 22px;
        border-bottom: 1px solid #544521;
    }
    .cards, .split, .lesson-list, .video-grid, .booking-grid, .statbar {
        grid-template-columns: 1fr;
    }
}