@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

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

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.7;
  color:  rgb(51, 51, 51);
  background-color: rgb(255, 255, 255);
  font-size: 16px;
}

.container {
  width: 90%;
  margin: 0 auto;
  padding: 0 15px;
}

/* HEADER */
.header {
  position: absolute;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  background-color: transparent;
  transition: all 0.3s ease;
  text-decoration: none;
}

.header.scrolled {
  background-color:  rgb(26, 26, 46);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px 35px;
  margin-bottom: 35px;
}

.quick-links {
  display: flex;
  gap: 20px;
}

.quick-links a {
  color: rgb(245, 245, 245);
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s;
  text-decoration: none;
  text-transform: bold;
}

.quick-links a:hover {
  color: rgb(63, 209, 239);
}

.social-media {
  display: flex;
  gap: 30px;
}

.social-media a {
  color: rgb(255, 255, 255);
  font-size: 1.3rem;
  transition: color 0.3s;
}

.social-media a:hover {
  color:  rgb(63, 209, 239);
}

.main-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 40px;
  padding: 25px 0;
}

.main-nav a {
  color: rgb(255, 255, 255);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.5rem;
  letter-spacing: 1.5px;
  transition: color 0.3s;
  text-decoration: none;
}

.main-nav a:hover {
  color:  rgb(63, 209, 239);
}

.search-button {
  padding-left: 20px;
  background: none;
  border: none;
  color: rgb(255, 255, 255);
  font-size: 1.3rem;
  cursor: pointer;
  transition: color 0.3s;
}

.search-button:hover {
  color:  rgb(63, 209, 239);
}

/* HERO */
.hero {
  height: 70vh;
  min-height: 700px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('../img/hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgb(255, 255, 255);
  margin-bottom: 30px;
}

.hero h1 {
  font-size: 6rem;
  padding-top: 30px;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 3.5px;
}

/* ABOUT */
.about-section {
  padding-top: 35px;
  background-color: rgb(255, 255, 255);
  margin-bottom: 35px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 30px;
  padding: 30px 0;
}

.about-content .lead {
  font-size: 1.4rem;
  line-height: 1.8;
  color: rgb(94, 94, 94);
}

.about-intro, .about-philosophy, .about-mission {
  margin-bottom: 20px;
  padding: 30px 0;
}

.about-image img {
  width: 85%;
  height: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* SERVICES */
.services-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 35px;
  background-color: #dee3e8;
  margin-bottom: 35px;
}

.design-group, .development-group {
  text-align: center; 
  max-width: 500px;
  margin: 0 auto;
  padding: 35px 0;
}

.services-section h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.services-section p {
  font-size: 19px; 
}

/* GALLERY */
.gallery-section {
  width: 100%;
  overflow: hidden;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* CTA */
.cta-section {
  background-image: url('../img/fondo-request.jpg');
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 80px 20px;
}

.cta-section .container-cta {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
}

.cta-section h2 {
  font-size: 4rem;
  margin: 35px;
  color: rgb(26, 26, 46)
}

.cta-section p {
  font-size: 1.5rem;
  margin-bottom: 35px;
  margin-left: auto;
  margin-right: auto;
  color: rgb(94, 94, 94);
}

.cta-button {
  display: inline-block;
  background-color:  rgb(63, 209, 239);
  color: rgb(255, 255, 255);
  padding: 15px 50px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: rgb(12, 185, 231);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* FOOTER */
.main-footer {
  background-color: #252527;
  color: rgb(255, 255, 255);
  padding: 80px 0 30px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-column h3 {
  color: rgb(255, 255, 255);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
  font-size: 1.3rem;
}


.about-column p {
  line-height: 1.8;
  margin-bottom: 20px;
  color: #b3b3b3;
}

.footer-address p {
  font-style: normal;
  margin: 8px 0;
  color: #ffffff;
  font-weight: bold;
}

.posts-list {
  list-style: none;
}

.posts-list li {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #2d2d42;
}

.posts-list li:last-child {
  border-bottom: none;
}

.posts-list a {
  color: #b3b3b3;
  text-decoration: none;
  transition: color 0.3s;
  display: block;
  margin-bottom: 5px;
}

.posts-list a:hover {
  color:  rgb(63, 209, 239);
}

.post-date {
  font-size: 0.85rem;
  color: #666;
}

.newsletter-column {
  padding: 10px 0;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
  text-align: center;
  border: 8px solid #575757;
  padding: 35px;
  max-width: 380px;
}

.newsletter-form p {
  color: #b3b3b3;
  margin-bottom: 25px;
  font-size: 1.2rem;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: 2px solid #575757;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  width: 100%;
  font-size: 1.2rem;
  background-color: rgba(0, 0, 0, 0.1);
}

.newsletter-form button {
  background-color:  rgb(63, 209, 239);
  color: rgb(255, 255, 255);
  border: none;
  padding: 0 25px;
  border-radius: 4px;
  width: 100%;
  height: 50px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  transition: background-color 0.3s;

}

.newsletter-form button:hover {
  background-color: rgb(12, 185, 231);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid #2d2d42;
}

.copyright {
  font-size: 0.9rem;
  color: #666;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: #b3b3b3;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color:  rgb(63, 209, 239);
}

.footer-links span {
  color: rgb(63, 209, 239);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-group {
    grid-template-columns: 1fr;
  }

  .services-section {
    grid-template-columns: 1fr; 
    padding: 20px; 
  }
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-top {
    flex-direction: column;
    gap: 15px;
    padding-bottom: 15px;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .services-section {
    grid-template-columns: 1fr; 
    padding: 20px; 
  }
}

@media (max-width: 576px) {
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form button {
    border-radius: 4px;
    width: 100%;
  }

  .newsletter-form button {
    margin-top: 10px;
    padding: 12px;
  }

  .services-section {
    grid-template-columns: 1fr; 
    padding: 15px; 
  }
}
