/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  scroll-behavior: smooth;
}

/* Video Background */
.video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: url("background-1.jpg") center center / cover no-repeat;
}

#bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

/* Hero Content */
.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  padding: 20px;
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
}

.logo-container {
  margin-bottom: 60px;
  animation: fadeInDown 1s ease-out;
}

.logo {
  max-width: 500px;
  width: 100vw;
  height: auto;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

/* Social Links */
.social-links {
  display: flex;
  gap: 30px;
  animation: fadeInUp 1s ease-out 0.3s backwards;
}

.social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 32px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-link:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-link.whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
}

.social-link.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: transparent;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 24px;
  text-decoration: none;
  animation: bounce 2s infinite;
  opacity: 0.8;
}

/* Sections - Base Styles */
.section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.section-dark {
  color: #e8dfd5;
}

.section-dark::before {
  background: rgba(56, 36, 48, 0.8);
}

.section-light {
  color: #382430;
}

.section-light::before {
  background: rgba(200, 200, 200, 0.8);
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.section-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 30px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-text {
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 25px auto;
}

.section-text:last-of-type {
  margin-bottom: 0;
}

/* About Section */
.about-section {
  background-image: url("background-2.jpg");
}

/* Services Section */
.services-section {
  background-image: url("background-3.jpg");
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.service-card {
  background: #e8dfd5;
  padding: 40px 30px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: 500;
}

.service-card p {
  line-height: 1.6;
}

/* Contact Section */
.contact-section {
  background-image: url("background-4.jpg");
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.contact-item {
  text-align: center;
}

.contact-item a {
  color: #e8dfd5;
  font-size: 1.1rem;
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.contact-item a:hover {
  color: #d4a574;
}

.contact-item i {
  font-size: 2rem;
}

/* Map */
.map-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
  background: #382430;
  color: #888;
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-15px);
  }
  60% {
    transform: translateX(-50%) translateY(-7px);
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  .logo {
    max-width: 280px;
  }

  .logo-container {
    margin-bottom: 50px;
  }

  .social-links {
    gap: 25px;
  }

  .social-link {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-text {
    font-size: 1rem;
  }

  .contact-info {
    gap: 40px;
  }

  .services-grid {
    gap: 25px;
  }
}

@media (max-width: 480px) {
  .logo {
    max-width: 220px;
  }

  .logo-container {
    margin-bottom: 40px;
  }

  .social-links {
    gap: 20px;
  }

  .social-link {
    width: 55px;
    height: 55px;
    font-size: 26px;
  }

  .section {
    padding: 60px 15px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .contact-info {
    gap: 30px;
  }

  .service-card {
    padding: 30px 20px;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .logo {
    max-width: 150px;
  }

  .logo-container {
    margin-bottom: 20px;
  }

  .social-link {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}
