/* 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;
}

/* 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;
  background-position: center;
  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;
    padding: 50px 0;
  }

  #showcase .showcase-content {
    padding-top: 150px;
  }

  #showcase .showcase-content h1 {
    font-size: 40px;
  }

  #showcase .showcase-content p {
    font-size: 16px;
  }
}

.logo-container {
  width: 150px;
  height: auto;
  overflow: hidden;
}

.logo-container img {
  width: 100%;
  height: auto;
}

/* Gallery */
.gallery img {
  width: 150px;
  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);
  max-width: auto;
}

.gallery-section img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* Home Info */
#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;
}

/* Features */
.box {
  float: left;
  width: 100%;
  padding: 20px;
  text-align: center;
  box-sizing: border-box;
}

.box i {
  margin-bottom: 10px;
}

/* Media query for mobile */
@media (max-width: 768px) {
  #features {
    flex-direction: column;
    align-items: center;
  }

  .box {
    width: 100%;
    margin-bottom: 20px;
  }
}

/* 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/fachada.jpg') no-repeat center center/cover;
  padding-top: 10px;
}

#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;
  }
}

/* Default styles for larger screens */
#about-info .info-left h1 {
  font-size: 2em;
  line-height: 1.2;
}

/* Responsive styles for screens smaller than 768px */
@media (max-width: 768px) {
  #about-info .info-left h1 {
    font-size: 1.5em;
    line-height: 1.3;
  }
}
