@charset "UTF-8";
/* CSS Document */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
}

#contenedor {
    width: 1100px;
    margin: 0 auto;
    background-color: #ebe2ce;
}

header {
    width: 100%;
    height: 250px;
	background: #2D401E;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

#titol {
    color: #FFFFFF;
    text-align: center;
    border-radius: 8px;
    padding: 20px 30px;
}

nav {
    width: 100%;
    background-color:#91a564;
	height: 50px;
}
       
.text_navegador {
    text-align: center;
    margin: 0;
    padding: 0;
	line-height: 50px;       
    background-color: #91a564; 
    height: 50px;            
}

.text_navegador a {
    color: #1c2619;
    text-decoration: none;
    font-weight: bold;
    margin: 0 19px;        
}

.text_navegador a:hover {
    color: #FFFFFF;
}

#contenido {
    display: flex;
    gap: 20px;                
    align-items: stretch;   
    width: 1200px;
    max-width: 95%;
    margin: 0 auto;
    padding: 20px;
}

#contenido section {
    width: 60%;
    font-size: 18px;
}

#contenido aside {
    width: 40%;
    display: flex;          
}

#contenido aside img {
    width: 100%;              
    height: 100%;             
    object-fit: cover;        
    display: block;
}
section h1 {
  color: #1c2619;
  font-size: 24px;
  margin-bottom: 15px; 
  margin-top: 15px; 
}

p {
  margin: 10px 0; 
  line-height: 1.6;
margin-bottom: 20px;
}

footer {
  background-color: #74573f;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 30px 20px;
  font-family: Arial, sans-serif;
  gap: 20px;
}

#contenidoHistoria {
  display: flex;
  flex-direction: column; 
  gap: 20px;               
  width: 1200px;           
  max-width: 95%;         
  margin: 0 auto;          
  padding: 20px;           
}


#contenidoHistoria section {
  width: 100%;             
  font-size: 18px;
}


#contenidoHistoria aside {
  width: 100%;             
  display: flex;           
}

#contenidoHistoria aside img {
  width: 80%;       
  height: auto;      
  display: block;    
  margin: 0 auto;   
  object-fit: cover; 
}

#contenidoBio {
  display: flex;
  flex-direction: column; 
  gap: 20px;               
  width: 1200px;           
  max-width: 95%;         
  margin: 0 auto;          
  padding: 20px;           
}


#contenidoBio section {
  width: 100%;             
  font-size: 18px;
}


#contenidoBio aside {
  display: flex;   
  gap: 20px;      
  justify-content: center; 
 padding: 20px; 
  max-width: 95%;         
  margin: 0 auto;   	
}

#contenidoBio aside img {
  width: 50%;
  aspect-ratio: 1/1;   
  object-fit: cover;
}

#contenidoPai {
  display: flex;        
  flex-direction: row;  
  gap: 20px;
  max-width: 95%;
  margin: 0 auto;
  padding: 20px;
  align-items: flex-start;
}

#contenidoPai aside {
  width: 50%;
	padding: 15px;
}

#contenidoPai section {
  width: 50%;
  font-size: 18px;
}

#contenidoPai aside img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

#contenidoInfo {
  display: flex;
  flex-direction: row;
  gap: 80px;           
  width: 1200px;
  max-width: 95%;
  margin: 40px auto;
  padding: 20px;
  align-items: stretch;
}
#contenidoInfo .info-col {
  width: 50%;
  min-height: 250px;              
}

.tabla-horaris {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.tabla-horaris th,
.tabla-horaris td {
  border: 1px solid #2D401E;
  padding: 18px 12px;
	font-size: 18px;
}

.tabla-horaris th {
  background-color: #2D401E; 
  color: #fff;
}

.nota-horaris {
  font-size: 16px;
  font-style: italic;
  margin-top: 8px;
}

.llista-serveis {
  list-style-type: disc;
  margin-left: 20px;
  line-height: 2;
	font-size: 18px;
}


.imagen-abajo {
  display: block;
  width: 95%;
  margin: 30px auto 40px auto;
  height: auto;
  object-fit: cover;
}

#contenidoGaleria {
  width: 1200px;
  max-width: 95%;
  margin: 25px auto 40px auto;  
  padding: 20px;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);  
  gap: 15px;
}

.galeria-grid img {
  width: 100%;
  height: 200px;
  aspect-ratio: 1/1;     
  object-fit: cover;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.galeria-grid img:hover {
  transform: scale(1.10);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  z-index: 10;
  border: 3px solid #2D401E;
}

#contenidoCom {
  display: flex;
  flex-direction: row;
  gap: 40px;
  width: 1200px;
  max-width: 95%;
  margin: 40px auto;
  padding: 20px;
  align-items: stretch;
  box-sizing: border-box;   
}

#contenidoCom .com-col {
  width: 50%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;    
}

#contenidoCom iframe {
  flex: 1;
  height: 350px;             
  width: 100% !important;   
  max-width: 100%;           
  box-sizing: border-box;    
  border-radius: 8px;
  border: 0;
}
.transports {
  list-style-type: none;
  margin-left: 0;
  line-height: 1.2;
}

.transports li {
  padding: 8px 0;
  border-bottom: 1px solid #EBE2CE;
}

.btn-maps {
  display: inline-block;
  background-color: #2D401E;
  color: white;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  margin-top: 15px;
  text-align: center;
}

.btn-maps:hover {
  background-color: #1c2619;
}

