/* Reset and base styles */

h1,
.welcome-title,
.journey-title {
  font-family: "Playfair Display", serif;
}

h2,
.category-title,
.thank-you-message h2 {
  font-family: "Playfair Display", serif;
}

.logo,
.footer-logo {
  font-family: "Playfair Display", serif;
  font-weight: 500;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Navigation */
.navbar {
  padding: 1.5rem 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 2rem;
  font-weight: 500;
  text-decoration: none;
  color: #000;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-size: 1rem;
}

.search-icon {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.search-icon img {
  width: 100%;
  height: 100%;
}

/* Hero Section */
.hero {
  margin-top: 80px;
  height: 80vh;
  position: relative;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Welcome Section */
.welcome-section {
  padding: 4rem 10%;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 6rem;
  background: white;
}

.welcome-left {
  display: flex;
  flex-direction: column;
}

.welcome-title {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 2rem;
  font-weight: 500;
  grid-column: 1 / -1;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  color: #666;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.5rem;
  font-size: 1.2rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-icon {
  width: 24px;
  height: 24px;
  display: block;
}

.welcome-right {
  max-width: 600px;
}

.welcome-text {
  color: #555;
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 1.2rem;
}

.read-more-btn {
  display: inline-block;
  padding: 1.8rem 2rem;
  background: #000;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.read-more-btn:hover {
  background-color: #333;
}

.journey-section {
  padding: 4rem 10%;
  background: white;
}

.journey-header {
  margin-bottom: 3rem;
}

.journey-category {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.journey-title {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 500;
  margin-bottom: 2rem;
}

.category-section {
  margin-bottom: 5rem; /* Space between categories */
}

.category-section:last-child {
  margin-bottom: 0; /* Remove margin from last category */
}

.category-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 500;
}

.category-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  background: #cdcdcd;
  padding: 1.5rem;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.info-card p {
  color: #555;
  margin-bottom: 1.25rem;
  line-height: 1.6;
  font-size: 0.9rem;
}

.read-more-btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: #000;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.read-more-btn:hover {
  background-color: #333;
}

.gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.main-image {
  width: 100%;
  height: 520px;
  background: #c9c9c9;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.main-image:hover {
  transform: scale(1.02);
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.main-image model-viewer {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.small-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.small-image {
  height: 150px;
  background: #dedede;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.small-image:hover {
  transform: scale(1.05);
}

.small-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.final-section {
  padding: 4rem 10%;
  background: white;
}

.thank-you-message {
  padding: 4rem 10%;
  margin-bottom: 8rem;
}

.thank-you-message h2 {
  font-size: 4rem;
  line-height: 1.2;
  font-weight: 500;
  color: #000;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 2rem;
}

.footer {
  background: #000;
  color: white;
  padding: 4rem 10%;
}

.footer-content {
  display: flex;
  justify-content: space-between;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 8rem;
}

.footer-logo {
  color: white;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 500;
}

.designer-credit {
  color: #ffffff;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  gap: 8rem;
}

.footer-column h3 {
  color: white;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 1rem;
}

.footer-column ul li:last-child {
  margin-bottom: 0;
}

.footer-column ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-column ul li a:hover {
  opacity: 1;
}

/* Overlay styles */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Dark overlay background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow: auto;
  padding: 2rem; /* Padding around the content inside the overlay */
}

.overlay.hidden {
  display: none; /* Hide overlay by default */
}

.overlay-content {
  background: white;
  padding: 4rem; /* Increased padding for more space */
  border-radius: 10px; /* Rounded corners for a smooth appearance */
  max-width: 70%; /* Set maximum width for the overlay */
  max-height: 80%; /* Set maximum height for the overlay */
  overflow-y: auto; /* Allow vertical scrolling for long content
text-align: left; /* Align text to the left */
  position: relative;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4); /* Stronger shadow for a floating effect */
  line-height: 1.8; /* Improved text readability */
  font-size: 1.2rem; /* Larger font size for overlay content */
}

.overlay-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333;
  font-weight: bold;
}

.overlay-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: #555;
}

.overlay-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: #666;
}

.overlay-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  list-style: disc;
}

.overlay-content li {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.overlay-content img {
  max-width: 50%; /* Ensure the image does not exceed the overlay width */
  max-height: 0%; /* Ensure the image does not exceed the overlay height */
  object-fit: contain; /* Scale the image to fit within the overlay while maintaining aspect ratio */
  border-radius: 10px; /* Optional: Add a subtle rounded corner to the image */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Optional: Add shadow for a polished look */
}

.close-btn {
  position: absolute;
  top: 15px; /* Adjusted position */
  right: 15px;
  font-size: 1.5rem; /* Close button size */
  cursor: pointer;
  background: none;
  border: none;
  color: black;
}

.close-btn:hover {
  color: red; /* Red color on hover for emphasis */
}

/* Small image styles */
.small-image {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.small-image:hover {
  transform: scale(1.05); /* Slight zoom effect on hover */
}

.small-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px; /* Rounded corners for images */
}

/* Paragraph and text spacing */
p {
  margin-bottom: 1rem; /* General spacing for paragraphs */
}

h2,
h4 {
  margin-bottom: 1rem; /* General spacing for headings */
}

/* Responsive design adjustments */
@media (max-width: 768px) {
  .overlay-content {
    max-width: 90%; /* Adjust overlay width for smaller screens */
    max-height: 90%; /* Adjust overlay height for smaller screens */
    padding: 2rem; /* Reduce padding for smaller screens */
  }

  .overlay-content h2 {
    font-size: 1.8rem; /* Slightly smaller headings for smaller screens */
  }

  .overlay-content p {
    font-size: 1rem; /* Adjust paragraph font size for smaller screens */
  }
}

/* Small image styles */
.small-image {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.small-image:hover {
  transform: scale(1.05);
}

.small-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 968px) {
  .navbar {
    padding: 1rem 5%;
  }

  .welcome-section {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem 5%;
  }

  .welcome-right {
    max-width: 100%;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .journey-section {
    padding: 3rem 5%;
  }

  .category-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .main-image {
    height: 400px;
  }

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

  .category-section {
    margin-bottom: 4rem;
  }
}

.final-section {
  padding: 6rem 0 0 0;
}

.thank-you-message {
  padding: 0 5%;
  margin-bottom: 6rem;
}

.thank-you-message h2 {
  font-size: 2.8rem;
}

.footer {
  padding: 3rem 5%;
}

.footer-content {
  flex-direction: column;
  gap: 3rem;
}

.footer-left {
  gap: 3rem;
}

.footer-links {
  gap: 4rem;
}

@media (max-width: 480px) {
  .welcome-title {
    font-size: 2rem;
  }

  .hero {
    height: 60vh;
  }

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

  .category-title {
    font-size: 1.5rem;
  }

  .main-image {
    height: 300px;
  }

  .small-image {
    height: 120px;
  }

  .category-section {
    margin-bottom: 3rem;
  }

  .thank-you-message h2 {
    font-size: 2rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-left {
    gap: 2rem;
  }
}

/* Style for hotspots */
.hotspot {
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid #000;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  position: relative;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.hotspot:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 1000;
}
