@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9f7f3;
  color: #222;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.header {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url(images/bg.jpg) center/cover no-repeat;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  position: relative;
}

.menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
}

.img-logo {
  height: 100px;
  width: 100px;
  border-radius: 50%;
  margin-right: 10px;
  margin-left: 0;
}

.navbar {
  margin-left: auto;
}

.navbar ul {
  display: flex;
  gap: 2rem;
}

.navbar a {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s;
  text-transform: uppercase;
}

.navbar a:hover {
  color: #d3b18a;
}

.header-content {
  text-align: center;
  padding: 2rem;
}

.header-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.header-content p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 1.5rem;
  font-weight: 400;
}

.btn-1 {
  background-color: #6b4c3b;
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.3s;
  letter-spacing: 1.5px;
}

.btn-1:hover {
  background-color: #50382b;
  cursor: pointer;
}

.Pasteles {
  padding: 4rem 0;
  background-color: #f4f0e6;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.Pasteles-img {
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0.15;
  max-height: 400px;
  user-select: none;
  pointer-events: none;
  transition: transform 0.5s ease;
}

.Pasteles-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.Pasteles-1 {
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  width: 300px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.3s ease;
}

.Pasteles-1:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.Pasteles-1 img {
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  height: 200px;
}

.Pasteles-1 h3 {
  margin-top: 1rem;
  color: #6b4c3b;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.Pasteles-1 p {
  font-weight: 400;
  color: #4a433d;
  text-align: center;
}

.Services {
  padding: 4rem 0;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(images/bg3.jpg) center/cover fixed;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.Services-content {
  max-width: 1100px;
  margin: 0 auto;
}

.Services-group {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.services-1 {
  width: 200px;
  background-color: rgba(255,255,255,0.12);
  padding: 1rem;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.services-1:hover {
  background-color: rgba(255,255,255,0.3);
  cursor: pointer;
}

.services-1 img {
  margin-bottom: 0.5rem;
  user-select: none;
}

.services-1 h3 {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.general {
  display: flex;
  flex-wrap: wrap;
  min-height: 400px;
}

.general-1, .general-2, .general-3 {
  flex: 1 1 50%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.general-1 {
  background-color: #f7f3ea;
  color: #5c4a36;
}

.general-1 h2 {
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1rem;
  font-weight: 700;
}

.general-1 p {
  line-height: 1.6;
  font-weight: 400;
}

.general-2 {
  background: url(images/pastel-1.jpg) center/cover no-repeat;
  min-height: 400px;
  border-radius: 0 10px 10px 0;
}

.general-3 {
  background: url(images/pastel-2.jpg) center/cover no-repeat;
  min-height: 400px;
  border-radius: 10px 0 0 10px;
}

.blog {
  padding: 4rem 0;
  text-align: center;
  background-color: #f4f0e6;
}

.blog-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.blog-1 {
  width: 250px;
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.blog-1:hover {
  transform: translateY(-10px);
  cursor: pointer;
}

.blog-1 img {
  border-radius: 10px;
  margin-bottom: 1rem;
}

.blog-1 h3 {
  color: #6b4c3b;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.blog-1 p {
  color: #4a433d;
  font-weight: 400;
}

.footer {
  background-color: #2c2a29;
  color: #ddd;
  padding: 3rem 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.link h3 {
  margin-bottom: 1rem;
  color: #bc9c6a;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.link a {
  color: #ddd;
  margin-bottom: 0.5rem;
  display: block;
  transition: color 0.3s;
  font-weight: 400;
}

.link a:hover {
  color: #bc9c6a;
  cursor: pointer;
}

#btn-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #6b4c3b;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 22px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  z-index: 1000;
}

#btn-top:hover {
  background-color: #50382b;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s ease-out;
  will-change: opacity, transform;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Media Queries */
@media (max-width: 768px) {
  .menu {
    flex-direction: column;
    align-items: flex-start;
  }
  .navbar ul {
    flex-direction: column;
    gap: 0.5rem;
  }
  .Pasteles-group,
  .Services-group,
  .blog-content {
    flex-direction: column;
    align-items: center;
  }
  .general-1,
  .general-2,
  .general-3 {
    flex: 1 1 100%;
  }
  .footer-content {
    flex-direction: column;
    align-items: center;
  }
}
