/* Font Styling */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Lora:wght@400;500&display=swap");

/* Apply background color to all sections except footer */
section {
  background-color: #f7f3f1;
}

body {
  font-family: "Lora", serif; /* Paragraph font */
  font-size: 18px; /* Increase base font size slightly */
  color: #1f1f1f; /* Slightly softer black for readability */
}
/*
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif; /* Title font 
    font-weight: 600;
    color: #181818; /* A warm dark color for a cozy feel 
}*/

/* Header section start */
#header h3 {
  font-family: "Playfair Display", serif;
  color: #3c2a21; /* Deep brown for a warm, elegant look */
}

#header p {
  font-family: "Lora", serif;
  color: #a67c52; /* Soft gold-bronze to complement the background */
}

/* Background Styling */
.header-section {
  min-height: 100vh; /* Full screen height */
  background: linear-gradient(
      rgba(255, 255, 255, 0.1),
      rgba(255, 255, 255, 0.1)
    ),
    url("../image/header.webp") no-repeat center center/cover;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  flex-direction: column; /* Stack items vertically */
  font-family: "Lora", serif; /* Elegant font */
}

/* Logo Styling */
.logo {
  width: auto; /* Keeps aspect ratio intact */
  max-width: 25%; /* Adjusted for better proportion */
  object-fit: contain; /* Prevent stretching */
}

/* Text Styling */
h1,
p,
.lead {
  font-family: "Playfair Display", serif; /* Consistent font */
  color: #3c2a21;
}

/* Tablet Size (max-width: 1024px) */
@media (max-width: 1024px) {
  .logo {
    max-width: 50%;
  }
}

/* Mobile Size (max-width: 768px) */
@media (max-width: 768px) {
  .logo {
    max-width: 65%;
  }
  .header-section h3 {
    font-size: 1.6rem;
  }
  .header-section p {
    font-size: 1.2rem;
  }
}

/* Small Mobile Size (max-width: 480px) */
@media (max-width: 480px) {
  .logo {
    max-width: 75%;
  }
  .header-section h3 {
    font-size: 1.3rem;
  }
  .header-section p {
    font-size: 1rem;
  }
}
/*Nav bar section start*/
/* Ensure navbar is placed under the header initially */
body {
  padding-top: 0; /* Reset padding since navbar is below header */
}

#navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease-in-out;
}

.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.9); /* Slight transparency */
  backdrop-filter: blur(10px);
}

/* Remove border from hamburger menu button */
.navbar-toggler {
  border: none !important;
  background: none !important;
  padding: 0;
}
.navbar-toggler:focus,
.navbar-toggler:active {
  outline: none;
  box-shadow: none;
}

/* Add spacing between menu items on large screens */
@media (min-width: 992px) {
  .navbar-nav .nav-item {
    margin: 0 50px;
  }
}

/* Add bottom border to menu items on mobile */
@media (max-width: 991px) {
  .navbar-nav .nav-item {
    border-bottom: 1px solid #ddd;
  }
  .navbar-nav .nav-item:last-child {
    border-bottom: none;
  }
}
/* ################# About section start ################ */
#about {
  padding-top: 80px; /* Adjust based on navbar height */
}
.about-section {
  background-color: #f8f9fa;
  padding: 60px 0;
}
.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #404040;
}
.sub-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
}
.text-muted {
  font-size: 1.1rem;
  font-family: "Lora", serif; /* Elegant font */
}

/* Smooth scrolling effect */
html {
  scroll-behavior: smooth;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .text-muted {
    text-align: center;
  }
  .sub-title {
    text-align: center;
  }
  .row.align-items-center {
    text-align: center;
  }
}

/* ################# About section end ################ */

/* ################# Video Section start ############## */
.video-section {
  position: relative;
  width: 100%;
  height: 300px; /* Make it full-screen height */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Background Video */
.video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 300px;
  object-fit: cover;
  transform: translate(-50%, -50%);
}

/* Dark Overlay */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Darken the video */
}

/* Content Box */
.content {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.content h1,
.content p {
  color: white !important;
}
.responsive-img {
  max-width: 100%; /* Ensures the image never overflows */
  height: auto; /* Maintains the aspect ratio */
  width: 200px; /* Adjust this to your preferred size */
  max-height: 400px; /* Ensures a reasonable height */
  object-fit: cover; /* Ensures the image fills the space properly */
}

/* ################# Video Section end ############## */

/* ################# Lune Section start ############## */
.coffee-box img {
  max-width: 100%;
  height: auto;
}
.coffee-box h5 {
  margin-top: 20px;
  color: #404040;
  font-family: "Lora", serif; /* Elegant font */
}
.coffee-box p {
  margin-top: 10px;
  color: #555555;
  font-family: Georgia, "Times New Roman", Times, serif;
}

img.colored-svg {
  filter: invert(66%) sepia(19%) saturate(238%) hue-rotate(359deg);
}
/* Ensure headings are also black */
.coffee-shop-section h2,
.coffee-shop-section h6 {
  color: #404040; /* Override any inherited color */
}

/* ################# Lune Section end ############## */

/* ################# Footer Section start ############## */
/* Footer Styling */
.footer {
  background-color: #404040 !important; /* Ensures the color applies */
  color: #333;
  padding: 20px 0;
  text-align: center; /* Ensures everything inside the footer is centered */
}

footer p {
  color: #f7f3f1; /* Light gray text */
  font-size: 14px;
  margin: 0;
}

/* Center social icons ONLY in the footer */
.footer .social-icons {
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center; /* Ensures vertical alignment */
  margin-top: 10px; /* Add spacing above icons */
}

/* Social Icons */
.footer .social-icons a {
  color: #b1b1b1;
  font-size: 20px;
  margin: 0 10px;
  transition: color 0.3s ease-in-out;
  text-decoration: none;
}

/* Maintain 4:3 Aspect Ratio */
/* Gallery Item */
.gallery-item {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3; /* Ensures a 4:3 aspect ratio */
  overflow: hidden;
  border-radius: 8px;
}

/* Lazy loading fade-in effect */
.lazyload {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.lazyloaded {
  opacity: 1;
}

/* Images inside gallery */
.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

/* Hover effect */
.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}

/* Let's talk business section */
.business-talking {
  min-height: 200px;
  overflow: hidden;
}

.business-video-section {
  position: relative;
  width: 100%;
  height: 200px; /* Full viewport height */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.business-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
}

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

/* Content */
.content {
  position: relative;
  z-index: 1;
  font-size: 2rem; /* Increase text size */
  max-width: 90%;
}

/* Make text even bigger on large screens */
@media (min-width: 992px) {
  .content h2 {
    font-size: 3rem;
  }
}

/*######################################Form section start ##########################################*/
/* General Styles */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two equal columns */
  gap: 30px;
  align-items: center; /* Aligns items properly */
  padding: 50px 20px; /* Adds spacing */
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-icon {
  font-size: 20px;
  color: #9f9381;
}

.contact-label {
  font-weight: bold;
  white-space: nowrap;
  min-width: 100px; /* Ensures all labels have the same width */
  font-size: medium;
}

.contact-text {
  flex: 1; /* Makes sure text aligns properly */
  font-size: medium;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.social-icon {
  font-size: 20px;
  color: #444;
  text-decoration: none;
}

/* Contact Form */
.contact-form {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
  margin-bottom: 15px;
}

.form-group {
  margin-bottom: 15px;
}

.form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* Submit Button */
.btn-primary {
  width: 100%;
  padding: 10px;
  background-color: #9f9381;
  border: none;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #9f9381;
}

/* Responsive Design */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr; /* Stacks elements on smaller screens */
    gap: 20px;
    text-align: center;
  }

  .contact-info,
  .contact-form {
    text-align: center;
  }

  .contact-item {
    justify-content: center;
  }

  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .contact-container {
    gap: 15px;
    padding: 30px 15px; /* Less padding on small screens */
  }

  .contact-label {
    min-width: 90px; /* Slightly reduce label width for smaller screens */
  }

  .contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-text {
    font-size: 14px;
  }

  .form-control {
    padding: 8px;
  }
}

/* Preloader Styling */
#preloader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #ffffff; /* Change to your background color */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Spinner Animation */
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(0, 0, 0, 0.2);
  border-top: 5px solid #000000; /* Change to your brand color */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Keyframe Animation for Spinning */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
