/* styles.css */
@import url('colors.css');

@font-face {
    font-family: 'Agharti Bold Semi Wide';
    src: url('../fonts/AghartiFamilyTest-SemiWideBold-BF66722ee18752b.otf') format('truetype');
    font-weight: bold;
    font-style: normal;    
    color: var(--text-color);
}

h2, h3 {
    font-family: 'Agharti Bold Semi Wide', sans-serif;
    font-weight: bold;
    letter-spacing: 1px;
    color: var(--text-color);
}

/* También podrías hacerlo para h1, h3, etc. si lo deseas */
h1 {
    font-family: 'Agharti Bold Semi Wide', sans-serif;
    font-weight: bold;
    letter-spacing: 1px;
    color: var(--h1-color); /* Ajusta el color según tus necesidades */    
}

/* Aplicar la fuente al logo */
.navbar-brand {
    font-family: 'Agharti Bold Semi Wide', sans-serif;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 2px;    
    color: var(--h1-color);
}

/* Cambiar el color de fondo del navbar */
.navbar {
    background-color: var(--bg-color) !important;
}


.display-4 {
    font-family: 'Agharti Bold Semi Wide', sans-serif;
    font-size: 8rem;
    font-weight: bold;
    letter-spacing: 2px;
}

/* Difuminar el fondo en la sección de inicio */
#inicio {
    position: relative;
    background-image: url('../images/bar-background.jpg'); /* Ajusta la ruta según corresponda */
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-light-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    z-index: 1;
}

#inicio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1); /* Puedes ajustar la opacidad para hacer más oscuro el fondo */
    backdrop-filter: blur(6px); /* Aquí defines el nivel de difuminado */
    z-index: -1;
}

#inicio h1, #inicio p {
    z-index: 2; /* Asegúrate de que el texto esté encima del filtro */
}


/* Estilos para las secciones */
section {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* Estilo para las tarjetas del menú */
.card img {
    height: 200px;
    object-fit: cover;
}

/* Estilo para el botón "Ver Menú" */
.btn-primary {
    background-color: var(--bg-color);
    border-color: var(--bg-color);
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    background-color: var(--bg-color-2);
    border-color: var(--bg-color-2);
    --bs-btn-bg: var(--bg-color-2);
    --bs-btn-border-color: var(--bg-color-2);
    --bs-btn-hover-bg: var(--bg-color-2);
    --bs-btn-hover-border-color: var(--bg-color-2);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-bg: var(--bg-color-4);
    --bs-btn-active-border-color: var(--bg-color-4);
    --bs-btn-disabled-bg: var(--bg-color-2);
    --bs-btn-disabled-border-color: var(--bg-color-2);
}

/* Estilo para el botón "Enviar" */
.btn-secondary {
    background-color: var(--bg-color-3);
    border-color: var(--bg-color-3);
}

.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:focus  {
    background-color: var(--bg-color-4);
    border-color: var(--bg-color-4);
}

.img-fluid {
    max-width: 15%; /* Make the image smaller */
    height: auto;
    position: relative;
}

.img-fluid-nav {
    max-width: 8%; /* Make the image smaller */
    height: auto;
    position: relative;
}

/* Media query for smaller screens */
@media (max-width: 992px) {
    .img-fluid {
        max-width: 30%; /* Adjust the size for smaller screens */
    }

    .img-fluid-nav {
        max-width: 20%; /* Make the image smaller */
    }
}

/* Estilos para la sección de redes sociales */
#redes-sociales {
    background-color: var(--social-grey-color);
}

#redes-sociales h2 {
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    color: var(--text-light-color);
}

/* Estilo para los iconos de las redes sociales */
#redes-sociales a {
    transition: color 0.3s ease;
    color: var(--text-light-color); /* Color por defecto de los iconos */
}

#redes-sociales a:hover {
    color: var(--text-light-color); /* El mismo color que el navbar */
}

/* Ajustes adicionales para aumentar la especificidad si es necesario */
#redes-sociales a:hover .fab {
    color: var(--text-light-color) !important;
}

#braineir-link:hover {
    color: var(--text-light-color) !important;
}

#braineir-link, #braineir-link:visited, #braineir-link:hover, #braineir-link:active {
    text-decoration: none;
}



/* Hacer que el iframe del mapa sea responsive */
.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    position: relative;
    height: 0;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    border: 0;
}


/* Ajustes para el formulario de contacto */
form .form-control {
    border-radius: 0;
}

/* Footer */
footer {
    position: relative;
    bottom: 0;
    width: 100%;
}

.language-switcher {
    display: flex;
    align-items: center;
    margin-left: 10px; 
}

.language-switcher button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0 5px;
    opacity: 0.3; /* Set initial opacity to make it semi-transparent */
    transition: opacity 0.3s; /* Smooth transition for opacity change */
}

.language-switcher button:hover {
    opacity: 1; /* Fully opaque on hover */
}

.language-switcher img {
    display: block;
}