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

:root {
    --primary: #c49b3f;
    --primary-dark: #a07d30;
    --dark: #1a1a1a;
    --dark-light: #2a2a2a;
    --text: #f5f5f5;
    --text-muted: #b0b0b0;
    --shadow: 0 8px 32px rgba(0,0,0,0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== FORZAR ORIENTACIÓN VERTICAL EN SMARTPHONES ===== */
@media (max-width: 768px) {
    /* Esta es la regla mágica para forzar orientación vertical */
    body {
        transform: rotate(0deg);
    }
    
    /* Si el usuario gira el teléfono, mostramos un mensaje o forzamos */
    @media (orientation: landscape) {
        body::before {
            content: "⚠️ Por favor, gira tu teléfono a modo vertical";
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--dark);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            text-align: center;
            padding: 2rem;
            z-index: 9999;
            backdrop-filter: blur(10px);
            background: rgba(0,0,0,0.95);
        }
        
        /* Ocultamos todo el contenido mientras está horizontal */
        body > *:not(body::before) {
            display: none;
        }
    }
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

.logo h1 span {
    color: var(--primary);
}

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

.nav-menu a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem 4rem;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(196, 155, 63, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-text {
    flex: 1;
}

.hero-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--dark);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.hero-text h2 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-text h2 span {
    color: var(--primary);
    position: relative;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--primary);
    color: var(--dark);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(196, 155, 63, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--dark);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 30% 70% 50% 50% / 50% 40% 60% 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: morph 6s ease-in-out infinite;
    box-shadow: 0 20px 60px rgba(196, 155, 63, 0.3);
}

.hero-icon {
    font-size: 8rem;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

@keyframes morph {
    0%, 100% { border-radius: 30% 70% 50% 50% / 50% 40% 60% 50%; }
    33% { border-radius: 60% 40% 70% 30% / 40% 60% 30% 70%; }
    66% { border-radius: 40% 60% 30% 70% / 70% 30% 60% 40%; }
}

/* ===== SECCIONES GENERALES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    background: rgba(196, 155, 63, 0.2);
    color: var(--primary);
    padding: 0.3rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.section-header h2 span {
    color: var(--primary);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ===== SERVICIOS ===== */
.servicios {
    background: var(--dark-light);
}

.servicios-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.servicio-card {
    flex: 1 1 220px;
    max-width: 280px;
    background: var(--dark);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(196, 155, 63, 0.2);
    transition: all 0.3s;
}

.servicio-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.servicio-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.servicio-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.servicio-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.precio {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.duracion {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== GALERÍA ===== */
.galeria-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.galeria-item {
    flex: 1 1 200px;
    max-width: 280px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--dark-light), var(--dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(196, 155, 63, 0.2);
    transition: all 0.3s;
    overflow: hidden;
}

.galeria-item:hover {
    transform: scale(1.05);
    border-color: var(--primary);
}

.galeria-placeholder {
    font-size: 4rem;
    opacity: 0.5;
    transition: all 0.3s;
}

.galeria-item:hover .galeria-placeholder {
    opacity: 1;
    transform: scale(1.2);
}

/* ===== VIDEO REEL ===== */
.reel-section {
    background: var(--dark-light);
}

.video-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.video-container video {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    pointer-events: none;
}

.video-overlay span {
    font-size: 4rem;
    opacity: 0.8;
}

.video-overlay p {
    color: white;
    font-size: 1.2rem;
    margin-top: 1rem;
    font-weight: 600;
}

/* ===== CONTACTO ===== */
.contacto-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.contacto-info {
    flex: 1 1 300px;
}

.contacto-form {
    flex: 1 1 300px;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.8rem;
    background: rgba(196, 155, 63, 0.2);
    padding: 0.5rem;
    border-radius: 12px;
    min-width: 60px;
    text-align: center;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.info-item p {
    color: var(--text-muted);
}

.btn-whatsapp {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contacto-form input,
.contacto-form select,
.contacto-form textarea {
    padding: 0.8rem 1rem;
    background: var(--dark-light);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s;
}

.contacto-form input:focus,
.contacto-form select:focus,
.contacto-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(196, 155, 63, 0.2);
}

.contacto-form select option {
    background: var(--dark);
}

.contacto-form .btn-primary {
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-light);
    padding: 2rem 0;
    border-top: 1px solid rgba(196, 155, 63, 0.2);
    text-align: center;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--primary);
}

/* ===== RESPONSIVE ===== */

/* Tablets y celulares grandes */
@media (max-width: 1024px) {
    .hero-text h2 {
        font-size: 2.8rem;
    }
    
    .hero-content {
        gap: 2rem;
    }
}

/* Celulares y tablets pequeñas */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark);
        padding: 2rem;
        transform: translateY(-200%);
        transition: transform 0.3s;
        border-bottom: 2px solid var(--primary);
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .hero {
        padding: 5rem 1.5rem 3rem;
        min-height: auto;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text h2 {
        font-size: 2.2rem;
    }
    
    .hero-text p {
        margin: 0 auto 1.5rem;
        font-size: 1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-placeholder {
        max-width: 250px;
    }
    
    .hero-icon {
        font-size: 5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .servicio-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .galeria-item {
        flex: 1 1 150px;
    }
    
    .contacto-grid {
        flex-direction: column;
    }
    
    .footer .container {
        flex-direction: column;
        text-align: center;
    }
}

/* Celulares muy pequeños */
@media (max-width: 480px) {
    .header-container {
        padding: 0 1rem;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .hero-text h2 {
        font-size: 1.8rem;
    }
    
    .hero-placeholder {
        max-width: 180px;
    }
    
    .hero-icon {
        font-size: 3.5rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .precio {
        font-size: 1.4rem;
    }
}

/* ===== MENU TOGGLE ANIMATION ===== */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

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

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
