/* ============================================
   RESET Y ESTILOS BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   SCROLLBAR PERSONALIZADO
   ============================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #d97706;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #f59e0b;
}

/* ============================================
   UTILIDADES GENERALES
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    color: #f59e0b;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    font-weight: bold;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.section-divider .line {
    width: 80px;
    height: 1px;
    background-color: #f59e0b;
}

.section-divider .star {
    margin: 0 1rem;
    color: #f59e0b;
}

.section-subtitle {
    text-align: center;
    color: #9ca3af;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* ============================================
   HEADER Y NAVEGACIÓN
   ============================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background-color: transparent;
}

header.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #f59e0b;
    letter-spacing: 0.15em;
}

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

.nav-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
    letter-spacing: 0.05em;
}

.nav-links a:hover {
    color: #f59e0b;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}

/* ============================================
   HERO SECTION
   ============================================ */
#hero {
    height: 100vh;
    background-image: url('https://images.unsplash.com/photo-1723101917533-4fc9149c3684?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&q=80&w=1920');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.2em;
    animation: fadeInUp 1s ease-out;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: #d1d5db;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.3s backwards;
    font-weight: normal;
}

.hero-description {
    color: #9ca3af;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.cta-button {
    background-color: #f59e0b;
    color: #000;
    padding: 1rem 2.5rem;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.9s backwards;
}

.cta-button:hover {
    background-color: #d97706;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: #f59e0b;
    font-size: 2.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;
}

/* ============================================
   SERVICIOS
   ============================================ */
#servicios {
    padding: 5rem 0;
    background-color: #171717;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: #0a0a0a;
    padding: 2.5rem 2rem;
    border: 1px solid #262626;
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    border-color: #f59e0b;
    transform: translateY(-10px);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: rgba(245, 158, 11, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: background-color 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: rgba(245, 158, 11, 0.2);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: bold;
}

.service-description {
    color: #9ca3af;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.service-price {
    color: #f59e0b;
    font-weight: bold;
    letter-spacing: 0.05em;
}

/* ============================================
   GALERÍA
   ============================================ */
#galeria {
    padding: 5rem 0;
    background-color: #0a0a0a;
}

.gallery-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 2rem;
    height: 600px;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.gallery-slide.active {
    opacity: 1;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.gallery-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 1rem;
}

.gallery-btn {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.gallery-btn:hover {
    background-color: rgba(245, 158, 11, 0.9);
}

.gallery-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot.active {
    background-color: #f59e0b;
    width: 32px;
    border-radius: 6px;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.thumbnail {
    height: 100px;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail.active {
    opacity: 1;
    border-color: #f59e0b;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   TESTIMONIOS
   ============================================ */
#testimonios {
    padding: 5rem 0;
    background-color: #171717;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.testimonial-card {
    background-color: #0a0a0a;
    padding: 2rem;
    border: 1px solid #262626;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: #f59e0b;
}

.quote-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.5rem;
    color: #f59e0b;
    opacity: 0.2;
}

.rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star {
    color: #f59e0b;
    font-size: 1.1rem;
}

.testimonial-text {
    color: #d1d5db;
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.testimonial-author {
    border-top: 1px solid #262626;
    padding-top: 1rem;
}

.author-name {
    color: white;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.author-date {
    color: #6b7280;
    font-size: 0.9rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    color: #f59e0b;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #9ca3af;
}

/* ============================================
   CONTACTO
   ============================================ */
#contacto {
    padding: 5rem 0;
    background-color: #0a0a0a;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: start;
    gap: 1.5rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(245, 158, 11, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: background-color 0.3s ease;
}

.info-item:hover .info-icon {
    background-color: rgba(245, 158, 11, 0.2);
}

.info-content h4 {
    color: white;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.info-content p {
    color: #9ca3af;
    font-size: 0.95rem;
}

.contact-map {
    background-color: #171717;
    height: 250px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #262626;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #d1d5db;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    background-color: #171717;
    border: 1px solid #262626;
    color: white;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f59e0b;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    background-color: #f59e0b;
    color: #000;
    padding: 1rem 2rem;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #d97706;
    transform: scale(1.02);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.success-message {
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid rgb(34, 197, 94);
    color: rgb(34, 197, 94);
    padding: 1rem;
    border-radius: 4px;
    display: none;
}

.success-message.show {
    display: block;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background-color: #000;
    padding: 3rem 0 1.5rem;
    border-top: 1px solid #171717;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-weight: bold;
}

.footer-section p {
    color: #9ca3af;
    font-size: 0.9rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: #171717;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: #f59e0b;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #f59e0b;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    color: #9ca3af;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #171717;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: #6b7280;
    font-size: 0.9rem;
}

/* ============================================
   ANIMACIONES
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN - MÓVIL
   ============================================ */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background-color: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: right 0.3s ease;
        backdrop-filter: blur(10px);
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
    }

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

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-slider {
        height: 400px;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

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

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

    .stat-number {
        font-size: 2.5rem;
    }
}
/* ===== BOTONES FLOTANTES ===== */
.floating-buttons {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.float-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 26px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.float-btn:hover,
.float-btn:focus {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.whatsapp {
  background-color: #25d366;
}

.mail {
  background-color: #0078d7;
}
/* =======================================
   IMÁGENES RESPONSIVE GLOBAL
======================================= */
img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* =======================================
SLIDER RESPONSIVE (PC, TABLET, MÓVIL)
======================================= */
.gallery-slide img {
    width: 100%;
    height: 600px; /* Altura perfecta para PC */
    object-fit: cover;
    border-radius: 12px;
}

@media (max-width: 1024px) {
    .gallery-slide img {
        height: 420px;
    }
}

@media (max-width: 768px) {
    .gallery-slide img {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .gallery-slide img {
        height: 230px;
    }
}

/* Evitar que se salga del contenedor */
.gallery-slide {
    overflow: hidden;
}

/* Miniaturas responsivas */
.thumbnail img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .thumbnail img {
        height: 50px;
    }
}
