/* Estilos generales */
body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background-color: #f9f9f9; 
}

/* Barra de navegación */
.navbar {
    background-color: rgb(80, 14, 0); 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    color: white;
}

.navbar-brand img {
    height: 130px; 
}

.navbar-center-text {
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar-nav {
    list-style: none;
    display: flex;
    gap: 15px;
}

.nav-item .nav-link {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.nav-item .nav-link:hover {
    text-decoration: underline;
}

.navbar-center-text {
    color: #ffffff; 
    font-weight: bold;
    font-size: 1.5rem; 
    text-align: center;
}
.navbar-nav .nav-link {
    color: white; 
    text-decoration: none;
}
.navbar-nav .nav-link:hover {
    color: rgb(144, 171, 186); 
}
/* Sección principal */
.hero-section {
    text-align: center;
    height: 100vh; 
    background-image: url('../Images/Elche-ciudad.jpg'); 
    background-size: cover;
    background-position: center 100%; 
    color: #fff;
    display: flex; 
    justify-content: center;
    align-items: flex-start;
    padding-top: 100px;
}


.hero-section .centered-content {
    background-color: rgb(80, 14, 0); 
    padding: 100px 50px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); 
    opacity: 0.8; 
}

.hero-section h1 {
    font-size: 3rem; 
    margin-bottom: 20px;
}

.hero-section .btn {
    padding: 15px 30px; 
    font-size: 1.2rem; 
    background-color: rgb(80, 14, 0); 
    border: none;
    color: white;
    transition: background-color 0.3s ease;
    opacity: 0.8;
}

.hero-section .btn:hover {
    background-color: rgb(144, 171, 186);
    color: black;
    opacity: 1;
}


footer {
    position: relative; 
    bottom: 0; 
    width: 100%; 
    background-color: rgb(80, 14, 0);
    color: white; 
    padding: 10px 0; 
    text-align: center; 
    z-index: 10; 
}


/* Estilos específicos para el buscador */
.buscador-section {
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 50px 0;
    height: 100vh; 
}

.buscador-content {
    background-color: rgb(80, 14, 0);
    padding: 40px;
    border-radius: 10px;
    width: 70%;
    color: white;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.buscador-content h1 {
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.search-form {
    margin: 20px 0;
}

.search-input {
    width: 80%;
    padding: 10px;
    margin: 10px 0;
    border: 2px solid rgb(80, 14, 0);
    border-radius: 5px;
    font-size: 1rem;
}

.btn-search {
    background-color: rgb(144, 171, 186);
    color: white;
    font-size: 1rem;
    font-weight: bold;
    padding: 10px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-search:hover {
    background-color: rgb(144, 171, 186, 0.8);
    color: black;
}

/* Estilos de los filtros */
.filtros-section {
    margin-top: 30px;
    text-align: left;
}

.filtros {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.filtro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.filtro label {
    margin-bottom: 5px;
    font-weight: bold;
    color: white;
}

.filtro select {
    padding: 10px;
    border: 2px solid rgb(80, 14, 0);
    border-radius: 5px;
    width: 150px;
    font-size: 1rem;
}

/* Estilos para la sección de Login */
#login {
    min-height: 100vh;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    background-image: url('../Images/Elche-Restaurante.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.card {
    background-color: rgb(80, 14, 0);
    padding: 40px; 
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    color: white;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    margin-top: 80px;
    opacity: 0.8;
}

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

h2 {
    font-size: 2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
}

.form-label {
    font-weight: 500;
    color: white;
}

.form-control {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 20px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #6c1a13;
    box-shadow: 0 0 5px rgba(76, 11, 5, 0.5);
    outline: none;
}

.btn {
    background-color: rgb(80, 14, 0); 
    color: white;
    font-weight: bold;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1.1rem;
}

.btn:hover {
    background-color: rgb(144, 171, 186);
}

p a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

p a:hover {
    color: rgb(144, 171, 186);
}

/* Espaciado y estilo para el enlace de registro */
.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.d-grid {
    display: grid;
    place-items: center;
}

/* Sección de contacto */
.contacto-section {
    background-image: url('../Images/Elche-Art.jpg'); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    color: white;
}

.contacto-content {
    background-color: rgb(80, 14, 0); 
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    opacity: 0.9;
}

.contacto-content h1 {
    font-size: 2.5rem;
    color: white; 
    margin-bottom: 20px;
    text-align: center;
}

.contacto-content p {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    font-weight: 600;
    color: white; 
}

.form-control {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border: 1px solid white; 
    border-radius: 8px;
    transition: border-color 0.3s ease;
    color: #333; 
}

.form-control:focus {
    border-color: #4c0b05; 
    box-shadow: 0 0 5px rgba(76, 11, 5, 0.5);
    outline: none;
}

.btn {
    background-color: #4c0b05; 
    color: white;
    font-weight: bold;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1.1rem;
    display: block;
    margin: 0 auto;
}
.btn-option {
    text-decoration: none;
}
.btn:hover {
    background-color: rgb(144, 171, 186); 
    color: black;
}

/* Enlace del formulario */
.contacto-content p a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.contacto-content p a:hover {
    color: #6c1a13;
}


/* Estilos para la landing privada */
.private-landing-section {
    background-color: #f9f9f9; 
    padding: 60px 20px;
    text-align: center;
}

.private-landing-content {
    background-color: rgb(80, 14, 0); 
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    max-width: 900px;
    margin: 0 auto;
    opacity: 0.9;
}

.private-landing-content h1 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 20px;
}

.private-landing-content p {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 30px;
}

.option-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.option-buttons .btn-option {
    background-color: #4c0b05;
    color: white;
    font-weight: bold;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
    width: 200px;
    margin: 10px;
}

.option-buttons .btn-option:hover {
    background-color: rgb(144, 171, 186);
    color: black;
}



/* Estilos para la sección de Comercio */
.comercio-list-section {
    background-color: #f9f9f9;
    padding: 40px 20px;
    text-align: center;
}

.comercio-list-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 0 auto;
}

.comercio-list-content h1 {
    font-size: 2.5rem;
    color: #4c0b05;
    margin-bottom: 30px;
}

.comercio-item {
    background-color: #f1f1f1;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.comercio-item h2 {
    font-size: 1.8rem;
    color: #333;
}

.comercio-item p {
    font-size: 1.1rem;
    color: #555;
}

.additional-options {
    margin-top: 30px;
}

.additional-options .btn-option {
    background-color: #4c0b05;
    color: white;
    font-weight: bold;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
    margin: 10px;
}

.additional-options .btn-option:hover {
    background-color: #6c1a13;
}
/* Sección de edición de comercio */
.comercio-detail-section {
    background-image: url('../Images/Remi.jpg'); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    background-color: rgba(249, 249, 249, 0.7); 
    padding: 40px 20px;
    text-align: center;
}

/* Contenido de la sección de edición de comercio */
.comercio-detail-content {
    background-color: rgba(255, 255, 255, 0.8); 
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.comercio-detail-content h1 {
    font-size: 2.5rem;
    color: #4c0b05;
    margin-bottom: 30px;
}

.form-label {
    font-weight: bold;
    color: white;
    text-align: center;
}

.form-control {
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 20px;
    width: 100%;
    font-size: 1rem;
    box-sizing: border-box;
}

.btn {
    background-color: #4c0b05;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
}

.btn:hover {
    background-color: #6c1a13;
}

.comerciolink {
    text-decoration: none; 
    color: inherit; 
    display: block; 
}
/* Comercio detail1 */
.comercio-info-box {
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.comercio-info-box h2 {
    color: #4c0b05;
    margin-bottom: 15px;
}

.comercio-info-box p {
    font-size: 1rem;
    color: #333;
    margin: 5px 0;
}

.comercio-info-box strong {
    color: #4c0b05;
}

/* Sección principal del detalle del comercio */
.comercio-detail-section {
    background-color: #f9f9f9;
    padding: 40px 20px;
    text-align: center;
}

/* Contenedor principal con tres columnas */
.comercio-detail-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

/* Columna izquierda: Información del comercio */
.comercio-info {
    
    flex: 1;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.comercio-info h2{
    color: rgb(80, 14, 0);
}
/* Columna central: Google Maps */
.comercio-map {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Columna derecha: Foto del negocio */
.comercio-photo {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Imagen de la foto del negocio */
.business-photo {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.form-section {
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.form-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}


.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input, .form-group textarea, .form-group select {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    color: #333;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 4px rgba(52, 152, 219, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.btn-option {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    background-color: #3498db;
    transition: background-color 0.3s;
}

.btn-option:hover {
    background-color: #2980b9;
}


