/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f8f8f8;
  color: #111;
  line-height: 1.6;
}

/* Keyframe Animations */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounce {
  0% {
    transform: translateY(0);
    opacity: 0.5;
  }
  100% {
    transform: translateY(-12px);
    opacity: 1;
  }
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
}

/* Loader styles */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #111;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.6s ease;
}

.loader.fade-out {
  opacity: 0;
}

.brand-name {
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: 2px;
}

.tagline {
  margin-top: 15px;
  font-size: 1.2rem;
  opacity: 0.8;
}

.dots {
  display: flex;
  margin-top: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  margin: 0 5px;
  animation: bounce 1.4s infinite ease-in-out both;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
}

.dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%, 80%, 100% {
    transform: scale(0);
  } 
  40% {
    transform: scale(1);
  }
}

.hh {
  text-align: center;
}

/* Styled Links */
.content a {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 20px;
  background-color: #111;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease both;
}

.content a:hover {
  background-color: #ff6b6b;
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gallery-container {
      padding: 60px 20px;
      max-width: 1200px;
      margin: 0 auto;
      animation: fadeInUp 0.8s ease both;
    }

    .gallery-container h1 {
      text-align: center;
      margin-bottom: 40px;
      font-size: 2.5rem;
      color: #111;
      letter-spacing: 1px;
    }

    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
    }

    .gallery-grid img {
      width: 100%;
      height: auto;
      border-radius: 8px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      cursor: pointer;
    }

    .gallery-grid img:hover {
      transform: scale(1.05);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

/* About Section Styling */

.about {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease both;
  display: flex;
  gap: 40px;
  text-align: center;
}

.about p {
  margin-top: 50px;
  font-size: 1.2rem;
  color: #333;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* contact */
.content {
  max-width: 1200px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease both;
  display: flex;
  gap: 40px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.contact-info {
  flex: 1;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .gallery-container,
  .about,
  .content {
    padding: 16px 4px;
    flex-direction: column;
    gap: 16px;
    max-width: 100%;
    margin: 0 70px; /* Add small margin on left and right */
  }

  .gallery-container h1 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    width: 100%;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hh {
    font-size: 1.3rem;
    margin-bottom: 12px;
    text-align: center;
  }
  
  .about p {
    margin-top: 12px;
    font-size: 1rem;
  }

  .contact-info {
    padding: 8px;
    font-size: 1rem;
  }

  .content a {
    width: 100%;
    padding: 10px 0;
    font-size: 1rem;
  }

  .map {
    align-items: center;
    width: 100%;
    height: 50%;
    margin-top: 10px;
  }
}
