/**
 * CutCloud - Main Stylesheet
 * AB'L Barbería - Estilos Principales
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    padding: 15px 50px;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
}

.logo span {
    color: #ff6b35;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff6b35;
    transition: width 0.3s ease;
}

.btn-login-mobile {
    display: none;
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.btn-reservar-flotante {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 20;
    background: #ff6b35;
    color: #fff;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 2px solid #ff6b35;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
    animation: pulse 2s infinite;
}

.btn-reservar-flotante:hover {
    background: transparent;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.6);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
    }
    50% {
        box-shadow: 0 10px 40px rgba(255, 107, 53, 0.7);
    }
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

/* ============================================
   SERVICIOS SECTION
   ============================================ */
.servicios-section {
    padding: 100px 50px;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 48px;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-title p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.servicio-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.servicio-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.servicio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.servicio-card:hover .servicio-image img {
    transform: scale(1.1);
}

.servicio-info {
    padding: 30px;
    text-align: center;
}

.servicio-info h3 {
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 700;
}

.servicio-info p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* ============================================
   TESTIMONIOS SECTION
   ============================================ */
.testimonios-section {
    padding: 100px 50px;
    background: #fff;
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.testimonio-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.stars {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.stars i {
    color: #ffc107;
    font-size: 20px;
}

.testimonio-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #555;
}

.testimonio-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 14px;
    color: #888;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 80px 50px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto 50px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #ff6b35;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 15px;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.footer-section a:hover {
    color: #ff6b35;
}

.social-footer {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-footer a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-footer a:hover {
    background: #ff6b35;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .testimonios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
    }

    .logo {
        font-size: 22px;
    }

    .mobile-toggle {
        display: block !important;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 999;
        gap: 40px;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        font-size: 20px;
    }

    .btn-login-mobile {
        display: block !important;
        background: #ff6b35;
        padding: 15px 30px;
        border-radius: 50px;
        text-align: center;
    }

    .hero {
        height: 70vh;
    }

    .btn-reservar-flotante {
        bottom: 20px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        padding: 12px 25px;
        font-size: 14px;
        white-space: nowrap;
    }

    .servicios-section,
    .testimonios-section {
        padding: 60px 20px;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .section-title p {
        font-size: 16px;
    }

    .servicios-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .servicio-image {
        height: 250px;
    }

    .servicio-info {
        padding: 25px 20px;
    }

    .servicio-info h3 {
        font-size: 20px;
    }

    .servicio-info p {
        font-size: 14px;
    }

    .testimonios-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonio-card {
        padding: 30px 20px;
    }

    .footer {
        padding: 60px 20px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 20px;
    }

    .hero {
        height: 60vh;
    }

    .btn-reservar-flotante {
        bottom: 15px;
        right: 15px;
        padding: 10px 20px;
        font-size: 13px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .section-title p {
        font-size: 14px;
        padding: 0 10px;
    }

    .servicios-section,
    .testimonios-section {
        padding: 40px 15px;
    }

    .servicio-image {
        height: 200px;
    }

    .servicio-info {
        padding: 20px 15px;
    }

    .servicio-info h3 {
        font-size: 18px;
    }

    .servicio-info p {
        font-size: 13px;
    }

    .testimonio-card {
        padding: 25px 15px;
    }

    .testimonio-text {
        font-size: 14px;
    }

    .author-avatar {
        width: 50px;
        height: 50px;
    }

    .author-info h4 {
        font-size: 16px;
    }

    .author-info p {
        font-size: 13px;
    }

    .footer-section h3 {
        font-size: 18px;
    }

    .footer-section p,
    .footer-section a {
        font-size: 14px;
    }
}
