/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e60012;
    --black: #0a0a0a;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-dark: #1a1a1a;
    --shadow: rgba(0, 0, 0, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--gray-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navegación */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--black);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
}

/* Hero Turnos */
.hero-turnos {
    position: relative;
    background: linear-gradient(135deg, var(--black) 0%, var(--gray-dark) 100%);
    padding: 150px 0 100px;
    text-align: center;
    overflow: hidden;
}

.hero-turnos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(230, 0, 18, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(230, 0, 18, 0.05) 0%, transparent 40%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

.hero-title {
    font-family: 'Oswald', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    z-index: 2;
}

.hero-title .highlight {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    position: relative;
    z-index: 2;
}

/* Sección de Reserva */
.booking-section {
    padding: 80px 0;
}

.booking-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    position: relative;
}

/* Steps */
.step {
    animation: fadeInUp 0.5s ease-out;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    color: var(--black);
    margin: 0;
}

/* Servicios */
.services-list {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.service-option {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.service-option:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(230, 0, 18, 0.1);
}

.service-option.selected {
    border-color: var(--primary-color);
    background: rgba(230, 0, 18, 0.05);
    box-shadow: 0 5px 20px rgba(230, 0, 18, 0.15);
}

.service-option-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #ff1a2e);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.service-option-icon svg {
    width: 30px;
    height: 30px;
}

.service-option-info {
    flex: 1;
}

.service-option-info h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    color: var(--black);
    margin-bottom: 0.3rem;
}

.service-option-info p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.duration {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}

.service-option-check {
    width: 30px;
    height: 30px;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: var(--transition);
}

.service-option.selected .service-option-check {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Calendario */
.calendar-container {
    margin-bottom: 2rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.calendar-header h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: var(--black);
}

.calendar-nav {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--gray-light);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--black);
    cursor: pointer;
    transition: var(--transition);
}

.calendar-nav:hover {
    background: var(--primary-color);
    color: var(--white);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.calendar-weekdays div {
    text-align: center;
    font-weight: 600;
    color: #666;
    font-size: 0.9rem;
    padding: 0.5rem;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.calendar-day:not(.disabled):not(.other-month):hover {
    background: var(--gray-light);
    border-color: var(--primary-color);
}

.calendar-day.selected {
    background: var(--primary-color);
    color: var(--white);
}

.calendar-day.disabled {
    color: #ccc;
    cursor: not-allowed;
}

.calendar-day.other-month {
    color: #ddd;
}

.calendar-day.today {
    border-color: var(--primary-color);
}

/* Horarios */
.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.time-slot {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.time-slot:hover {
    border-color: var(--primary-color);
    background: rgba(230, 0, 18, 0.05);
}

.time-slot.selected {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.time-slot.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.time-slot.disabled:hover {
    border-color: #e0e0e0;
    background: transparent;
}

/* Formulario */
.client-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* Botones */
.step-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.btn-next,
.btn-back {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-next {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 5px 20px rgba(230, 0, 18, 0.3);
    flex: 1;
}

.btn-next:hover:not(:disabled) {
    background: #c20010;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(230, 0, 18, 0.4);
}

.btn-next:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-back {
    background: transparent;
    color: var(--black);
    border: 2px solid var(--black);
}

.btn-back:hover {
    background: var(--black);
    color: var(--white);
}

/* Resumen */
.booking-summary {
    position: sticky;
    top: 100px;
    background: var(--gray-light);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.booking-summary h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid #ddd;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item strong {
    color: var(--black);
}

.summary-item span {
    color: #666;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 65px;
    height: 65px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: var(--transition);
    animation: floatWhatsApp 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    background: #20ba5a;
    transform: scale(1.15);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.7);
}

.whatsapp-float svg {
    width: 36px;
    height: 36px;
}

@keyframes floatWhatsApp {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--black);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .booking-container {
        padding: 2rem 1.5rem;
    }

    .service-option {
        flex-direction: column;
        text-align: center;
    }

    .time-slots {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 0.8rem;
    }

    .step-actions {
        flex-direction: column-reverse;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .booking-container {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }

    .step-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .calendar-days {
        gap: 0.3rem;
    }

    .calendar-day {
        font-size: 0.85rem;
    }

    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }

    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 60px;
        height: 60px;
    }

    .whatsapp-float svg {
        width: 32px;
        height: 32px;
    }
}
