/* ==================== VARIABLES GLOBALES ==================== */
:root {
    --primary-color: #e8363f;
    --secondary-color: #1a1a1a;
    --accent-color: #d4af37;
    --text-light: #f5f5f5;
    --text-dark: #1a1a1a;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* ==================== RESET Y ESTILOS GENERALES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--secondary-color);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* ==================== NAVEGACIÓN ==================== */
.navbar {
    position: relative;
    z-index: 5;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    border-bottom: 2px solid var(--accent-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.logo h1 {
    font-size: 28px;
    color: var(--accent-color);
    font-weight: 900;
    font-family: 'Playfair Display', serif;
}

.logo p {
    font-size: 12px;
    color: var(--text-light);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    transition: var(--transition);
}

/* ==================== HERO CONTENT ==================== */
.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    gap: 1.5rem;
}

.hero-title-jp {
    font-size: 8rem;
    font-weight: 900;
    font-family: 'Playfair Display', serif;
    color: var(--accent-color);
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.9);
    animation: fadeInDown 0.8s ease;
    letter-spacing: 10px;
    margin: 0;
}

.hero-title-sub {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    color: var(--text-light);
    letter-spacing: 6px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    animation: fadeInDown 0.8s ease 0.1s both;
    margin: 0;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    font-family: 'Playfair Display', serif;
    color: var(--accent-color);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    animation: fadeInDown 0.8s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    font-weight: 300;
    letter-spacing: 1px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.cta-button {
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    background: var(--accent-color);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInUp 0.8s ease 0.4s both;
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
}

.cta-button:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.5);
}

/* ==================== WELCOME SECTION ==================== */
.welcome-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    text-align: center;
}

.welcome-section h2 {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.welcome-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-light);
}

/* ==================== FILOSOFÍA SECTION ==================== */
.filosofia-section {
    padding: 80px 0;
    background: var(--secondary-color);
}

.filosofia-section h2 {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    color: var(--accent-color);
    text-align: center;
    margin-bottom: 3rem;
}

.filosofia-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.filosofia-card {
    background: rgba(232, 54, 63, 0.1);
    border: 2px solid var(--accent-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    animation: slideInUp 0.6s ease forwards;
}

.filosofia-card:nth-child(1) {
    animation-delay: 0.1s;
}

.filosofia-card:nth-child(2) {
    animation-delay: 0.2s;
}

.filosofia-card:nth-child(3) {
    animation-delay: 0.3s;
}

.filosofia-card:hover {
    background: rgba(232, 54, 63, 0.2);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.filosofia-card h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.filosofia-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ==================== ESPECIALIDADES SECTION ==================== */
.especialidades-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
}

.especialidades-section h2 {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    color: var(--accent-color);
    text-align: center;
    margin-bottom: 3rem;
}

.especialidades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.especialidad-card {
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    animation: slideInUp 0.6s ease forwards;
}

.especialidad-card:nth-child(1) {
    animation-delay: 0.1s;
}

.especialidad-card:nth-child(2) {
    animation-delay: 0.2s;
}

.especialidad-card:nth-child(3) {
    animation-delay: 0.3s;
}

.especialidad-card:nth-child(4) {
    animation-delay: 0.4s;
}

.especialidad-card:nth-child(5) {
    animation-delay: 0.5s;
}

.especialidad-card:nth-child(6) {
    animation-delay: 0.6s;
}

.especialidad-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(232, 54, 63, 0.3);
    border-color: var(--primary-color);
}

.especialidad-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
}

.especialidad-card:hover .especialidad-image {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--text-dark);
}

.placeholder-image {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect fill="%234a4a4a" width="400" height="300"/><text x="50%" y="50%" dominant-baseline="middle" text-anchor="middle" fill="%23d4af37" font-size="20" font-family="Arial">📷</text></svg>');
    background-size: cover;
}

.especialidad-card h3 {
    font-size: 1.3rem;
    color: var(--accent-color);
    padding: 1.5rem 1.5rem 0.5rem;
    font-family: 'Playfair Display', serif;
}

.especialidad-card p {
    color: var(--text-light);
    padding: 0.5rem 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.precio {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.3rem;
}

/* ==================== EXPERIENCIA SECTION ==================== */
.experiencia-section {
    padding: 80px 0;
    background: var(--secondary-color);
    text-align: center;
}

.experiencia-section h2 {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.experiencia-content {
    max-width: 800px;
    margin: 0 auto;
}

.experiencia-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* ==================== CONTACTO SECTION ==================== */
.contacto-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
}

.contacto-section h2 {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    color: var(--accent-color);
    text-align: center;
    margin-bottom: 3rem;
}

.contacto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contacto-info {
    background: rgba(212, 175, 55, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
    animation: slideInUp 0.6s ease forwards;
    transition: var(--transition);
}

.contacto-info:nth-child(1) {
    animation-delay: 0.1s;
}

.contacto-info:nth-child(2) {
    animation-delay: 0.2s;
}

.contacto-info:nth-child(3) {
    animation-delay: 0.3s;
}

.contacto-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.contacto-info h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.contacto-info p,
.contacto-info a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.contacto-info a:hover {
    color: var(--primary-color);
}

.contacto-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.contacto-form input,
.contacto-form textarea {
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--accent-color);
    border-radius: var(--border-radius);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.contacto-form textarea {
    grid-column: 1 / -1;
    min-height: 120px;
    resize: vertical;
}

.contacto-form input:focus,
.contacto-form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.contacto-form button {
    grid-column: 1 / -1;
    padding: 12px 30px;
    background: var(--accent-color);
    color: var(--text-dark);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contacto-form button:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
}

/* ==================== FOOTER ==================== */
.footer {
    background: rgba(0, 0, 0, 0.8);
    border-top: 2px solid var(--accent-color);
    padding: 2rem;
    text-align: center;
    color: var(--text-light);
}

.footer small {
    color: var(--accent-color);
}

/* ==================== ANIMACIONES ==================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: slideInUp 0.6s ease forwards;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
    .hero-title-jp {
        font-size: 4.5rem;
    }

    .hero-title-sub {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        padding: 2rem;
        gap: 1rem;
        width: 100%;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .welcome-section h2,
    .filosofia-section h2,
    .especialidades-section h2,
    .experiencia-section h2,
    .contacto-section h2 {
        font-size: 1.8rem;
    }

    .filosofia-grid {
        grid-template-columns: 1fr;
    }

    .especialidades-grid {
        grid-template-columns: 1fr;
    }

    .contacto-grid {
        grid-template-columns: 1fr;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-title-jp {
        font-size: 2.5rem;
    }

    .hero-title-sub {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .logo h1 {
        font-size: 20px;
    }

    .navbar {
        padding: 1rem 0;
    }

    .welcome-section,
    .filosofia-section,
    .especialidades-section,
    .experiencia-section,
    .contacto-section {
        padding: 40px 0;
    }

    .container {
        padding: 0 15px;
    }
}

/* ==================== EFECTOS ADICIONALES ==================== */
.especialidad-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.especialidad-card:hover::before {
    left: 100%;
}

/* Scroll suave para navegación */
a[href^="#"] {
    text-decoration: none;
}
