/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Main Styling */
html, body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7em;
}

a {
  color: #333;
  text-decoration: none;
}

h1, h2, h3 {
  padding-bottom: 20px;
}

p {
  margin: 10px 0;
}

/* Utility Classes */
.container {
  margin: auto;
  max-width: 1100px;
  padding: 0 20px;
  overflow: auto;
}

.text-primary {
  color: #f7c08a;
}

.lead {
  font-size: 20px;
}

.btn {
  display: inline-block;
  font-size: 18px;
  color: #fff;
  background: #333;
  padding: 13px 20px;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #f7c08a;
  color: #333;
}

.btn-light {
  background: #f4f4f4;
  color: #333;
}

.bg-dark {
  background: #333;
  color: #fff;
}

.bg-light {
  background: #f4f4f4;
  color: #333;
}

.bg-primary {
  background: #f7c08a;
  color: #333;
}

.clr {
  clear: both;
}

@media (max-width: 768px) {
  .l-heading {
    font-size: 30px; /* Smaller font size for mobile devices */
    line-height: 1.4; /* Increase line-height for better readability on mobile */
  }

  .l-heading .text-primary {
    display: block; /* Makes the span a block element so margin can be applied */
    margin-bottom: 10px; /* Space below the primary text span */
  }
}



/* Padding */
.py-1 {
  padding: 10px 0;
}

.py-2 {
  padding: 20px 0;
}

.py-3 {
  padding: 30px 0;
}

/* Navbar */
#navbar {
  background: #333;
  color: #fff;
  overflow: auto;
}

#navbar a {
  color: #fff;
}

#navbar h1 {
  float: left;
  padding-top: 20px;
}

#navbar ul {
  list-style: none;
  float: right;
}

#navbar ul li {
  float: left;
}

#navbar ul li a {
  display: block;
  padding: 20px;
  text-align: center;
}

#navbar ul li a:hover,
#navbar ul li a.current {
  background: #444;
  color: #f7c08a;
}

/* showcase */
#showcase {
background-image: url('../img/fondo1.jpg');
background-size: cover; /* ensures the background image covers the entire div */
background-position: center; /* centers the background image */
height: 1050px;
}

#showcase .showcase-content {
color: #fff;
text-align: center;
padding-top: 10px;
}

#showcase .showcase-content h1 {
font-size: 75px;
line-height: 1.2em;
}

#showcase .showcase-content p {
padding-bottom: 20px;
line-height: 1.7em;
}

/* Responsive styles for screens smaller than 768px */
@media (max-width: 768px) {
#showcase {
  height: auto; /* Adjust height for smaller screens */
  padding: 50px 0; /* Add some padding */
}

#showcase .showcase-content {
  padding-top: 150px; /* Less padding for smaller screens */
}

#showcase .showcase-content h1 {
  font-size: 40px; /* Smaller font size for h1 */
}

#showcase .showcase-content p {
  font-size: 16px; /* Adjust paragraph font size */
}
}
.logo-container {
    width: 150px; /* Adjust the width as needed */
    height: auto; /* Adjust the height as needed, or leave it out for auto-sizing */
    overflow: hidden; /* This can prevent the image from exceeding the container */
}

.logo-container img {
    width: 100%;
    height: auto;
}

/* Gallery */
.gallery img {
  width: 150px; /* You might want to adjust this for thumbnail size */
  height: auto;
  margin: 10px;
  border-radius: 8px;
  transition: transform 0.2s;
}
.gallery img:hover {
  transform: scale(1.05);
}

.gallery-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
  margin-bottom: 30px;
}

.gallery-section h1 {
  width: 100%;
  margin-top: 20px;
  margin-bottom: 10px;
  text-align: left;
}

.gallery-section a {
  margin: 5px;
  flex-basis: calc(20% - 10px); /* Adjusted for smaller thumbnails */
  max-width: auto; /* Maximum width for each image */
}

.gallery-section img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}


#home-info {
height: 400px;
}

#home-info .info-img {
float: left;
width: 50%;
background: url('../img/fondo.jpg') no-repeat;
min-height: 100%;
}

#home-info .info-content {
float: right;
width: 50%;
height: 100%;
text-align: center;
padding: 50px 30px;
overflow: auto;
}

#home-info .info-content p {
padding-bottom: 30px;
}

/* Media Query for Mobile Devices */
@media (max-width: 768px) {
#home-info .info-img {
  width: 100%; /* Adjust width for full width on mobile */
  float: none; /* Remove float on mobile for stacking */
  min-height: auto; /* Reset min-height */
  background-size: cover; /* Adjust background size for mobile */
}

#home-info .info-content {
  width: 100%; /* Adjust width for full width on mobile */
  float: none; /* Remove float on mobile for stacking */
  text-align: center; /* Center-align content on mobile */
  padding: 10px 30px 30px; /* Adjust padding on mobile */
}
}


/* Features */
.box {
  float: left;
  width: 100%; /* Change width to 100% for mobile */
  padding: 20px; /* Reduce padding for mobile */
  text-align: center;
  box-sizing: border-box; /* Add box-sizing for proper width calculation */
}

.box i {
  margin-bottom: 10px;
}

/* Media query for screens with a maximum width of 768px (typical for mobile devices) */
@media (max-width: 768px) {
  #features {
      flex-direction: column; /* Change flex-direction to column for mobile */
      align-items: center; /* Center align items for mobile */
  }

  .box {
      width: 100%; /* Change width to 100% for mobile */
      margin-bottom: 20px; /* Add some spacing between boxes for mobile */
  }
}


/* About Info */
#about-info .info-right {
  float: right;
  width: 50%;
  min-height: 100%;
}

#about-info .info-left {
  float: left;
  width: 50%;
  min-height: 100%;
}

#about-info .info-right img {
  display: block;
  margin: auto;
  width: 70%;
  border-radius: 50%;
}

/* Testimonials */
#testimonials {
  height: 800px;
  background: url('../img/terrazamod.png') no-repeat center center/cover;
  padding-top: 100px;
}

#testimonials .testimonial img {
  width: 100px;
  float: left;
  margin-right: 40px;
  border-radius: 50%;
}

#testimonials h2 {
  color: #fff;
  text-align: center;
  padding-bottom: 55px;
}

#testimonials .testimonial {
  padding: 20px;
  margin-bottom: 40px;
  border-radius: 5px;
  opacity: 0.85;
}

/* Contact Form */
#contact-form .form-group {
  margin-bottom: 20px;
}

#contact-form label {
  display: block;
  margin-bottom: 5px;
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px #ddd solid;
}

#contact-form textarea {
  height: 200px;
}

#contact-form input:focus,
#contact-form textarea:focus {
  outline: none;
  border-color: #f7c08a;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }

  .btn {
    font-size: 16px;
  }

  /* Add more specific responsive styles as needed */
}
/* Default styles for larger screens */
#about-info .info-left h1 {
font-size: 2em; /* Adjust to your default size */
line-height: 1.2; /* Adjust to your default line height */
}

/* Responsive styles for screens smaller than 768px */
@media (max-width: 768px) {
#about-info .info-left h1 {
  font-size: 1.5em; /* Smaller font size for mobile */
  line-height: 1.3; /* Slightly increased line height for readability */
}
}
