/* ========================================
   Fuego Latino - Custom Styles
   ======================================== */

/* Global Variables */
:root {
    --primary-color: #f4a236;
    --secondary-color: #0c0077;
    --dark-color: #000000;
    --light-color: #f8f9fa;
    --gradient: linear-gradient(135deg, #d32f2f 0%, #f44336 100%);
}

/* Typography */
body {
    font-family: 'Montserrat', sans-serif;
    padding-top: 76px;
    min-height: 100vh;
    background-color: #ffffff;
    line-height: 1.6;
    color: var(--dark-color);
}

.dancing-script {
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.display-1, .display-2, .display-3, .display-4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.card-title, .feature-card h4, .dance-card h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: color 0.3s ease;
    letter-spacing: 0.3px;
}

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

/* Hero Section */
.hero-section {
    background: var(--secondary-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Fade In Animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

.fade-in-delay {
    animation: fadeIn 1s ease-in 0.3s backwards;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease-in 0.6s backwards;
}

.fade-in-delay-3 {
    animation: fadeIn 1s ease-in 0.9s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Float Animation */
.animate-float {
    animation: float 3s ease-in-out infinite;
}

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

/* Section */
.section {
    min-height: 80vh;
}

/* Feature Cards */
.feature-card {
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(211, 47, 47, 0.2);
}

.feature-icon {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Dance Cards */
.dance-card {
    background: white;
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.dance-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(211, 47, 47, 0.2);
}

.dance-card i {
    transition: all 0.3s ease;
}

.dance-card:hover i {
    transform: scale(1.2) rotate(360deg);
}

/* Stats Box */
.stat-box {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

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

.stat-box h3 {
    font-size: 2.5rem;
}

/* Mission & Vision Cards */
.mission-card, .vision-card {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Login Prompt */
#loginPrompt {
    border-radius: 15px;
    border: 2px dashed #dee2e6;
}

#loginPrompt i {
    animation: float 3s ease-in-out infinite;
}

/* Client Dashboard */
.welcome-card {
    border-radius: 15px;
    animation: slideInDown 0.5s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Files List */
.files-list {
    max-height: 400px;
    overflow-y: auto;
}

.file-item {
    padding: 15px;
    border-bottom: 1px solid #dee2e6;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-item:hover {
    background-color: #f8f9fa;
    padding-left: 20px;
}

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

.file-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 15px;
}

.file-info h6 {
    margin: 0;
    font-size: 0.95rem;
}

.file-info small {
    color: #6c757d;
}

/* Videos Grid */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.video-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(211, 47, 47, 0.2);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-play-icon {
    position: absolute;
    font-size: 3rem;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.video-card:hover .video-play-icon {
    transform: scale(1.2);
}

.video-info {
    padding: 15px;
    background: white;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-danger {
    background: var(--gradient);
    border: none;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #b71c1c 0%, #d32f2f 100%);
}

/* Modals */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.modal-header {
    border-radius: 15px 15px 0 0;
}

/* Footer */
footer {
    margin-top: auto;
}

.social-links a {
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    color: var(--primary-color) !important;
    transform: translateY(-3px);
}

/* Install Banner */
.install-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gradient);
    color: white;
    padding: 15px 0;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    z-index: 1000;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 5px;
}

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

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .display-1 {
        font-size: 3rem;
    }
    
    .hero-section {
        text-align: center;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .install-banner .row {
        text-align: center;
    }
}

/* Forum Styles */
.category-card {
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.category-card h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(211, 47, 47, 0.2);
    border-color: var(--primary-color) !important;
}

.topic-card {
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.topic-card h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.topic-card:hover {
    background-color: #f8f9fa;
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.topic-header-card {
    border-left: 4px solid var(--primary-color);
}

.topic-header-card h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.reply-card {
    background: white;
    transition: all 0.3s ease;
}

.reply-card strong {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.reply-card:hover {
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

.reply-form {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.reply-form h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Modal and Form Typography */
.modal-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.form-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.form-control {
    font-family: 'Montserrat', sans-serif;
}

.form-select {
    font-family: 'Montserrat', sans-serif;
}

/* Footer Typography */
footer h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

footer p, footer li {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

/* Client Cards Typography */
.client-card h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.client-card p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

/* Mission and Vision Cards */
.mission-card h4, .vision-card h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.mission-card p, .vision-card p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 1.7;
}

/* Print Styles */
@media print {
    .navbar,
    .install-banner,
    footer {
        display: none;
    }
}


/* DASHBOARD USUARIO */
#dashboard .card {
  border-radius: 12px;
  overflow: hidden;
}

#dashboard h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.logoApp {
  position: fixed;        /* Fija el logo en la parte superior */
  top: 0;                 /* Lo coloca pegado arriba */
  left: 50%;              /* Centrado horizontalmente */
  transform: translateX(-50%); /* Ajuste perfecto para centrar */
  background-color: #000; /* Fondo negro */
  width: 100%;            /* Ocupa todo el ancho de la página */
  text-align: center;     /* Centra el contenido dentro */
  padding: 10px 0;        /* Espaciado vertical opcional */
  z-index: 1000;          /* Asegura que quede por encima de otros elementos */
}

.logoApp img {
  height: 60px;           /* Ajusta el tamaño del logo según necesites */
  object-fit: contain;    /* Mantiene proporción */
}



