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

/* Set the background to vibrant saffron */
body {
  background-color: #ff8c42; /* Vibrant saffron color */
  width: 100vw;
  min-height: 100vh;
  color: white;
  font-family: "Literata", serif; /* Use Literata variable font */
}

/* Header styles */
header {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Logo styles */
.logo {
  height: 8rem;
  width: auto;
  animation: scaleIn 1.5s ease-out forwards;
}

/* Variable font animation */
.variable {
  font-size: 8rem; /* Large font size */
  display: flex;
  gap: 20px; /* Space between "Bhakti" and "Field" */
}

/* Animation for "Bhakti" */
.Bhakti {
  font-variation-settings: "wght" 275, "wdth" 50; /* Initial font settings */
  animation: stretch 3s both cubic-bezier(0.17, 0.04, 0.04, 0.99); /* Stretching animation */
  position: relative;
}

/* Animation for "Field" */
.Field {
  font-variation-settings: "wght" 900, "wdth" 200; /* Initial font settings */
  animation: stretch-reverse 3s both cubic-bezier(0.17, 0.04, 0.04, 0.99); /* Opposite stretching animation */
  position: relative;
}

.Bhakti,
.Field {
  color: white; /* Set the text color first */
  -webkit-text-stroke: 1px #edc944; /* Then apply the stroke */
}

.Bhakti::after,
.Field::after {
  content: attr(class);
  position: absolute;
  top: 0;
  left: 0;
  color: #8de3f3;
  animation: animate 4s ease-in-out infinite;
}

/* Keyframes for the stretching animation (Bhakti) */
@keyframes stretch {
  0% {
    font-variation-settings: "wght" 275, "wdth" 50; /* Thin and narrow */
  }
  50% {
    font-variation-settings: "wght" 900, "wdth" 200; /* Bold and wide */
  }
  100% {
    font-variation-settings: "wght" 900, "wdth" 200; /* End with Bold and Wide */
  }
}

/* Keyframes for the opposite stretching animation (Field) */
@keyframes stretch-reverse {
  0% {
    font-variation-settings: "wght" 900, "wdth" 200; /* Bold and wide */
  }
  50% {
    font-variation-settings: "wght" 275, "wdth" 50; /* Thin and narrow */
  }
  100% {
    font-variation-settings: "wght" 275, "wdth" 50; /* End with Thin and Narrow */
  }
}

/* Water Wave animation */
@keyframes animate {
  0%,
  100% {
    clip-path: polygon(
      0% 45%,
      16% 44%,
      33% 50%,
      54% 60%,
      70% 61%,
      84% 59%,
      100% 52%,
      100% 100%,
      0% 100%
    );
  }
  50% {
    clip-path: polygon(
      0% 60%,
      15% 65%,
      34% 66%,
      51% 62%,
      67% 50%,
      84% 45%,
      100% 46%,
      100% 100%,
      0% 100%
    );
  }
}

/* Image Scale-In Animation */
@keyframes scaleIn {
  from {
    transform: scale(0.1);
  }
  to {
    transform: scale(1);
  }
}

/* Dropdown Menu Styles */
.dropdown-menu {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.dropdown-menu ul.menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  position: relative;
  flex-wrap: nowrap;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.1);
}

.dropdown-menu ul li {
  position: relative;
  white-space: nowrap;
}

.dropdown-menu ul li a {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  position: relative;
  display: block;
}

.dropdown-menu ul li a:hover {
  color: #edc944;
}

.dropdown-menu ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #edc944;
  transition: width 0.3s ease;
}

.dropdown-menu ul li a:hover::after {
  width: 100%;
}

/* Dropdown submenu */
.dropdown-menu ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ff8c42;
  padding: 1rem;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  gap: 0.5rem;
  min-width: 200px;
  z-index: 100;
  border: none;
  list-style: none;
}

.dropdown-menu ul li:hover > ul {
  display: flex;
}

.dropdown-menu ul ul li a {
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
  white-space: nowrap;
}

.dropdown-menu ul ul li a:hover {
  background-color: rgba(237, 201, 68, 0.2);
  border-radius: 4px;
}

/* Responsive adjustments for menu */
@media (max-width: 768px) {
  .title-container {
    flex-direction: column;
    gap: 1rem;
  }
  .variable {
    font-size: 4rem;
  }
  .logo {
    height: 6rem;
  }
  .dropdown-menu ul.menu {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 1rem;
    border: 2px solid white;
    border-radius: 8px;
  }
  .dropdown-menu ul ul {
    position: static;
    box-shadow: none;
    background-color: transparent;
    padding: 0.5rem 0 0 1rem;
  }
  .dropdown-menu ul ul li a {
    padding: 0.5rem;
  }
}

/* Slideshow Styles */
main {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.slideshow-container {
  position: relative;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

.slide {
  display: none;
  width: 100%;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
  transition: 0.3s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.3);
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Dots/bullets/indicators */
.dots-container {
  text-align: center;
  margin-top: 1rem;
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
  background-color: white;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* Content Page Styles */
.content-page {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
  color: white;
}

.page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.divider {
  width: 100px;
  height: 3px;
  background-color: #edc944;
  margin: 0 auto;
}

.text-section {
  margin: 4rem 0;
}

.content-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
}

.text-content {
  flex: 1;
  min-width: 300px;
}

.text-content h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #f8d8a8;
}

.text-content h3 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: #f8d8a8;
}

.text-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

blockquote {
  font-style: italic;
  padding: 1.5rem;
  border-left: 3px solid #edc944;
  background-color: rgba(237, 201, 68, 0.1);
  margin: 2rem 0;
}

.image-content {
  flex: 1;
  min-width: 300px;
}

.content-image {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.features-section {
  margin: 4rem 0;
  text-align: center;
}

.features-section h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

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

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #f8d8a8;
}

.feature-card p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Responsive adjustments for content pages */
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2.2rem;
  }
  .content-container {
    flex-direction: column;
  }
  .image-content {
    order: -1;
  }
}

/* Responsive adjustments for slideshow */
@media (max-width: 768px) {
  .slideshow-container {
    max-width: 90%;
  }
  .prev,
  .next {
    font-size: 1.2rem;
    padding: 12px;
  }
}

/* Footer Styles */
.site-footer {
  background-color: #e67c22; /* Slightly darker saffron */
  color: white;
  padding: 2rem 0 0;
  margin-top: 3rem;
  font-family: "Literata", serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-section {
  flex: 1;
  min-width: 200px;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: white;
}

.footer-links {
  list-style: none; /* Ensure footer links also have no bullets */
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 1.1rem;
}

.footer-links a:hover {
  color: #f8d8a8;
}

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

.social-icon {
  color: white;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.social-icon:hover {
  transform: translateY(-3px);
  background-color: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
  background-color: #d35400; /* Darker saffron for bottom bar */
  padding: 1rem 0;
  text-align: center;
  font-size: 0.9rem;
}

/* Responsive adjustments for footer */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    padding: 0 1rem;
  }
  .footer-section {
    margin-bottom: 1.5rem;
    padding: 0;
  }
  .footer-section h3 {
    font-size: 1.3rem;
  }
  .footer-links a {
    font-size: 1rem;
  }
}

/* Cafe Contact Info Box (from previous request) */
.contact-info-cafe {
  background-color: rgba(255, 255, 255, 0.05); /* Very subtle background */
  padding: 1rem;
  border-radius: 4px;
  margin-top: 1.5rem;
  border-left: 3px solid #edc944; /* Accent line */
}

.contact-info-cafe h3 {
  color: #f8d8a8; /* Matches other h3s */
  margin-bottom: 0.5rem;
}

.contact-info-cafe p {
  font-size: 1rem; /* Slightly smaller if needed */
  line-height: 1.5;
  margin-bottom: 0.3rem;
}

.contact-info-cafe a {
  color: #f8d8a8; /* Link color */
  text-decoration: underline;
}

.contact-info-cafe a:hover {
  color: white;
}
