/* Estilos personalizados específicos para tu sitio */

body {
    font-family: 'Montserrat', sans-serif;

}

.welcome-section {
    text-align: center;
    margin-bottom: 2rem;
}

.welcome-section h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.welcome-section p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

/* Fondo animado para la Hero Section */
.hero-section {
    position: relative;
    color: white;
    overflow: hidden;
    z-index: 1;
    height: 100vh; /* Ocupa el 100% de la altura disponible */
    display: flex;
    flex-direction: column; /* Cambia a diseño vertical */
    align-items: center; /* Centra horizontalmente el contenido */
    justify-content: center; /* Centra verticalmente el contenido */
    padding: 2rem; /* Espaciado interno */
    text-align: center; /* Centra el texto */
}

.hero-section .hero-content {
    max-width: 600px; /* Limita el ancho máximo del texto */
    margin-bottom: 2rem; /* Espaciado entre el texto y la ilustración */
}

.hero-section h1 {
    font-size: 5rem; /* Tamaño más grande para el título */
    margin-bottom: 0.5rem; /* Espaciado reducido debajo del título */
    font-family: 'Dancing Script', cursive; /* Aplica la fuente handwrite */
}

.hero-section .hero-subtitle {
    font-size: 1.5rem; /* Tamaño para "SEMPER PARATUS SERVIRE" */
    margin-bottom: 0.5rem; /* Espaciado reducido debajo del subtítulo */
    font-weight: 600; /* Hace el texto más destacado */
    color: #f8f9fa; /* Color claro */
}

.hero-section .hero-tagline {
    font-size: 1.8rem; /* Tamaño para "Scouting & Tech" */
    margin-bottom: 1.5rem; /* Espaciado debajo del tagline */
    font-weight: 400; /* Peso normal */
    color: #e0e0e0; /* Color más tenue */
}

.hero-section p {
    font-size: 1.2rem; /* Tamaño del texto */
    margin-bottom: 1.5rem;
}

.hero-section .btn {
    font-size: 1.2rem; /* Botón ligeramente más grande */
    padding: 0.75rem 2rem;
    border-radius: 50px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, #5fabe2, #e5c7a8, #8bc6bd, #db86da);
    background-size: 300% 300%;
    animation: gradientAnimation 8s ease infinite;
    z-index: -1;
    opacity: 0.8;
}

.hero-section img {
    position: absolute;
    bottom: 0; /* Justo en el borde inferior */
    right: 10%; /* Justo en el borde derecho */
    max-width: 40%; /* Ajusta el tamaño de la imagen */
    height: max-content;
    z-index: -1;
}
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Contact buttons */
.contact-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 999px; /* Botones completamente redondeados */
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-buttons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Specific button colors */
.contact-buttons .btn-instagram {
    background-color: #e4405f;
}

.contact-buttons .btn-github {
    background-color: #333;
}

.contact-buttons .btn-spotify {
    background-color: #1db954;
}

.contact-buttons .btn-twitter {
    background-color: #1da1f2;
}

.contact-buttons .btn-coffee {
    background-color: #ffdd00;
    color: #000;
}

/* Interest cards */
.interest-card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
}

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

/* Estiliza el botón flotante para que sea redondeado y esté ubicado en la esquina inferior derecha */
.theme-toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #4f46e5;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    z-index: 1000;
}

.theme-toggle-btn:hover {
    background-color: #3b82f6;
    transform: scale(1.1);
}

body.dark-mode {
    background: #121212;
    color: #e0e0e0;
}

body.dark-mode header,
body.dark-mode footer {
    background: #1e1e1e;
    color: #e0e0e0;
}

body.dark-mode .card {
    background: #1e1e1e;
    color: #e0e0e0;
    border: 1px solid #333;
}

body.dark-mode .btn-primary {
    background: linear-gradient(135deg, #3b82f6, #4f46e5);
    color: #ffffff;
}

body.dark-mode a {
    color: #90caf9;
}

body.dark-mode a:hover {
    color: #42a5f5;
}

body.dark-mode .navbar {
    background: #1e1e1e;
    border-bottom: 1px solid #333;
}

body.dark-mode .navbar-brand,
body.dark-mode .nav-link {
    color: #e0e0e0 !important;
}

body.dark-mode .contact-buttons a {
    background-color: #333;
    color: #e0e0e0;
}

body.dark-mode .contact-buttons a:hover {
    background-color: #444;
}

body.dark-mode .hero-section {
    background: linear-gradient(135deg, #2c2c2c, #1e1e1e);
    color: #e0e0e0;
}

body.dark-mode h1, 
body.dark-mode h2, 
body.dark-mode h3, 
body.dark-mode h4, 
body.dark-mode h5, 
body.dark-mode h6 {
    color: #ffffff;
}

body.dark-mode p, 
body.dark-mode li {
    color: #e0e0e0;
}

/* Footer styles */
footer {
    background-color: #222; /* Fondo oscuro */
    color: #fff; /* Texto claro */
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.9rem;
    border-top: 1px solid #444; /* Línea separadora */
}

footer a {
    color: #90caf9; /* Azul claro para enlaces */
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #42a5f5; /* Azul más brillante al pasar el cursor */
}

/* Footer styles for dark mode */
body.dark-mode footer {
    background-color: #1e1e1e; /* Fondo oscuro para modo oscuro */
    color: #e0e0e0; /* Texto claro */
    border-top: 1px solid #333; /* Línea separadora */
}

body.dark-mode footer a {
    color: #90caf9; /* Azul claro para enlaces */
}

body.dark-mode footer a:hover {
    color: #42a5f5; /* Azul más brillante al pasar el cursor */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .hero-section {
        height: auto; /* Permite que el Hero se ajuste automáticamente */
        padding: 2rem 1rem; /* Reduce el padding */
    }

    .hero-section h1 {
        font-size: 3rem; /* Reduce el tamaño del título */
    }

    .hero-section .hero-subtitle {
        font-size: 1.2rem; /* Reduce el tamaño del subtítulo */
    }

    .hero-section .hero-tagline {
        font-size: 1.5rem; /* Reduce el tamaño del tagline */
    }

    .hero-section p {
        font-size: 1rem; /* Reduce el tamaño del texto */
    }

    .hero-section .btn {
        font-size: 1rem;
        padding: 0.5rem 1.5rem;
    }

    .hero-illustration {
        position: static; /* Cambia la posición a estática */
        display: block;
        margin: 0 auto; /* Centra la ilustración */
        max-width: 80%; /* Ajusta el tamaño de la ilustración */
        height: auto; /* Permite que la altura se ajuste automáticamente */
    }

    .navbar-nav {
        flex-direction: column;
        gap: 0.5rem;
    }

    .navbar-nav .nav-link {
        font-size: 1rem;
        text-align: center;
    }

    .contact-buttons a {
        width: 100%;
        margin-bottom: 0.75rem;
        font-size: 0.9rem;
    }

    .interest-card {
        margin-bottom: 1.5rem;
        padding: 1rem;
    }

    .interest-card .card-title {
        font-size: 1.1rem;
    }

    .interest-card .card-text {
        font-size: 0.9rem;
    }

    .welcome-section {
        padding: 2rem 1rem;
    }

    .welcome-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .welcome-section p {
        font-size: 0.9rem;
    }

    footer {
        padding: 1.5rem 1rem;
        font-size: 0.9rem;
    }

    .contact-buttons {
        flex-direction: column; /* Asegura que estén en vertical */
        align-items: center; /* Centra los botones */
    }

    .contact-buttons a {
        width: auto; /* Ajusta el ancho al contenido */
        max-width: 300px; /* Limita el ancho máximo */
        text-align: center; /* Centra el texto */
        margin-bottom: 0.75rem; /* Espaciado entre botones */
    }

    .row.text-center {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .row.text-center .col-md-3 {
        flex: 0 0 calc(50% - 1rem); /* Ensure two items per row */
        max-width: calc(50% - 1rem);
    }

    section {
        padding: 1rem 0.5rem; /* Reduce el padding de las secciones */
    }

    .container {
        padding: 0 1rem; /* Reduce el padding interno del contenedor */
    }

    .row {
        margin: 0; /* Elimina márgenes adicionales entre filas */
    }

    .contact-buttons {
        gap: 0.5rem; /* Reduce el espacio entre botones */
    }

    .contact-buttons a {
        padding: 0.4rem 0.8rem; /* Reduce el tamaño de los botones */
        font-size: 0.9rem; /* Ajusta el tamaño de la fuente */
    }

    .interest-card {
        margin-bottom: 1rem; /* Reduce el espacio entre tarjetas */
        padding: 0.8rem; /* Ajusta el padding interno */
    }

    .interest-card .card-title {
        font-size: 1rem; /* Reduce el tamaño del título */
    }

    .interest-card .card-text {
        font-size: 0.85rem; /* Reduce el tamaño del texto */
    }

    .row.text-center .col-md-3 {
        flex: 0 0 calc(50% - 0.5rem); /* Agrupa más las tarjetas */
        max-width: calc(50% - 0.5rem);
    }
}

/* Ajustes para pantallas medianas */
@media (min-width: 769px) and (max-width: 1199px) {
    .hero-section {
        height: 90vh; /* Ajusta la altura */
        padding: 2rem; /* Ajusta el padding */
    }

    .hero-section h1 {
        font-size: 2.5rem; /* Ajusta el tamaño del título */
    }

    .hero-section p {
        font-size: 1.1rem; /* Ajusta el tamaño del texto */
    }

    .hero-illustration {
        max-width: 45%; /* Ajusta el tamaño de la ilustración */
    }
}

/* Ajustes para pantallas anchas */
@media (min-width: 1200px) {
    .hero-section {
        height: 100vh; /* Mantiene el Hero a pantalla completa */
        padding: auto;
    }

    .hero-illustration {
        max-width: 45%; /* Ajusta el tamaño de la ilustración */
        position: absolute; /* Mantiene la posición absoluta */
        bottom: 0; /* Justo en el borde inferior */
        right: 0; /* Justo en el borde derecho */
        z-index: -1; /* Asegura que esté detrás del contenido */
    }
}

/* Dark mode styles */
body.dark-mode {
    background-color: #121212;
    color: #ffffff;
}

body.dark-mode a {
    color: #bb86fc;
}

/* Floating button styles */
#dark-mode-toggle {
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Botón primario reutilizable */
.btn-primary {
  background: linear-gradient(135deg, #ff7eb3, #ff758c);
  border: none;
  color: #ffffff;
  font-size: 1.2rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Animaciones */
@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

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

/* Skills Section Styles */
.skill-card {
}

.skill-card:hover {
    transform: translateY(-10px);
}
