/* Base Styles */
:root {
  --primary-color: #4a3328; /* Darker brown */
  --primary-dark: #2d1f19; /* Even darker brown */
  --secondary-color: #f0e6da; /* Slightly darker cream */
  --accent-color: #6d4522; /* Darker golden brown */
  --text-color: #1a1a1a; /* Darker text */
  --light-text: #f5f5f5; /* Slightly darker white */
  --dark-bg: #121212; /* Darker background */
  --light-bg: #f2ede5; /* Slightly darker light background */
  --border-color: #ccc; /* Darker border */
  --shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Slightly stronger shadow */
  --transition: all 0.3s ease;
  --google-blue: #4285f4;
  --google-red: #db4437;
  --google-yellow: #f4b400;
  --google-green: #0f9d58;
  --star-color: #fbbc05;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-bg);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  text-align: center;
}

.btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--light-text);
}

/* Update the header styles to make it more compact */
header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  padding: 0.5rem 0; /* Reduced from 1rem to 0.5rem */
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow);
  background-color: #f5e9d9;
  transition: background-color 0.3s ease;
}

/* Remove the separate header-background div completely */
.header-background {
  display: none; /* Hide this element */
}

/* Adjust the main content padding to account for smaller header */
main {
  padding-top: 120px; /* Reduced from 160px to 120px */
}

/* Reduce the logo size */
.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.3rem; /* Reduced from 0.5rem to 0.3rem */
  width: 90px; /* Reduced from 120px to 90px */
  height: 90px; /* Reduced from 120px to 90px */
  position: relative;
  z-index: 2;
  background-color: transparent;
  border-radius: 50%;
  box-shadow: none;
}

.logo-container img {
  width: 80px; /* Reduced from 100px to 80px */
  height: 80px; /* Reduced from 100px to 80px */
  object-fit: contain;
}

/* Updated navigation */
nav {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Adjust the nav links to be more compact */
.nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background-color: transparent;
  padding: 0.3rem 1rem; /* Reduced from 0.5rem 1.5rem to 0.3rem 1rem */
  border-radius: 30px;
}

.nav-links li {
  margin: 0 0.8rem; /* Reduced from 1rem to 0.8rem */
}

.nav-links a {
  color: var(--text-color);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger .line {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 5px;
  transition: var(--transition);
}

/* Hamburger menu animation */
.hamburger.active .line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("/images/background.jpg");
  background-size: cover;
  background-position: center;
  color: var(--light-text);
  text-align: center;
  padding: 8rem 0;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Intro Section */
.intro {
  padding: 5rem 0;
  background-color: var(--light-text);
}

.intro h2,
.highlights h2,
.reviews h2 {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.intro h2::after,
.highlights h2::after,
.reviews h2::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.intro-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

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

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

/* Reviews Section */
.reviews {
  padding: 5rem 0;
  background-color: var(--secondary-color);
}

.google-reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.google-logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
}

.google-logo i {
  color: var(--google-blue);
  margin-right: 0.5rem;
}

.overall-rating {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.rating-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-color);
}

.rating-stars {
  color: var(--star-color);
  font-size: 1.2rem;
}

.rating-count {
  font-size: 0.9rem;
  color: #666;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.review-card {
  background-color: var(--light-text);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.review-stars {
  color: var(--star-color);
  margin-bottom: 0.5rem;
}

.review-date {
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 1rem;
}

.review-text {
  font-style: italic;
  line-height: 1.6;
}

.reviews-link {
  text-align: center;
  margin-top: 2rem;
}

.reviews-link .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.reviews-link .btn i {
  color: var(--google-blue);
}

.reviews-link .btn:hover i {
  color: var(--light-text);
}

/* Highlights Section */
.highlights {
  padding: 5rem 0;
  background-color: var(--secondary-color);
}

.highlight-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.card {
  background-color: var(--light-text);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  width: 300px;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card h3 {
  padding: 1rem 1rem 0.5rem;
  color: var(--primary-color);
}

.card p {
  padding: 0 1rem 1rem;
}

/* CTA Section */
.cta {
  padding: 5rem 0;
  background-color: var(--primary-color);
  color: var(--light-text);
  text-align: center;
}

.cta h2 {
  margin-bottom: 1rem;
}

.cta p {
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta .btn {
  background-color: var(--light-text);
  color: var(--primary-color);
}

.cta .btn:hover {
  background-color: var(--secondary-color);
}

.cta .btn-outline {
  background-color: transparent;
  border-color: var(--light-text);
  color: var(--light-text);
}

.cta .btn-outline:hover {
  background-color: var(--light-text);
  color: var(--primary-color);
}

/* Location Section */
.location {
  padding: 5rem 0;
  background-color: var(--light-text);
  text-align: center;
}

.location h2 {
  margin-bottom: 1rem;
  position: relative;
}

.location h2::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.location p {
  margin-bottom: 2rem;
}

.location-content {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 2rem;
}

.location-info {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  gap: 1rem;
}

.map-container {
  flex: 1;
  min-width: 300px;
  height: 350px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.location-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.location-item i {
  color: var(--primary-color);
  font-size: 1.2rem;
  width: 20px;
  text-align: center;
}

.location-item p {
  margin-bottom: 0;
}

/* Footer */
footer {
  background-color: var(--dark-bg);
  color: var(--light-text);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-info,
.footer-hours,
.footer-social {
  flex: 1;
  min-width: 250px;
}

.footer-info h3,
.footer-hours h3,
.footer-social h3 {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.footer-info p,
.footer-hours p {
  margin-bottom: 0.5rem;
}

.footer-info i {
  margin-right: 0.5rem;
  color: var(--accent-color);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Page Header */
.page-header {
  background-color: var(--primary-color);
  color: var(--light-text);
  text-align: center;
  padding: 3rem 0;
}

/* Menu Styles */
.menu {
  padding: 3rem 0;
  background-color: var(--light-text);
}

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

.menu-category h3 {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.price-notice {
  background-color: var(--secondary-color);
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 500;
}

.menu-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.menu-item {
  margin-bottom: 1.5rem;
}

.menu-item-info {
  width: 100%;
}

.menu-item-info h4 {
  margin-bottom: 0.3rem;
  color: var(--primary-color);
}

.menu-item-info p {
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 0;
}

.menu-item-price {
  font-weight: 700;
  color: var(--primary-color);
}

.allergens,
.coffee-info {
  background-color: var(--secondary-color);
  padding: 2rem 0;
  text-align: center;
}

/* Gallery Styles */
.gallery {
  padding: 3rem 0;
  background-color: var(--light-text);
}

.gallery-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.filter-btn {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color);
  color: var(--light-text);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 250px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item-overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.7);
  color: var(--light-text);
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-item-overlay {
  bottom: 0;
}

.gallery-item-overlay h3 {
  margin-bottom: 0.3rem;
}

.gallery-item-overlay p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Form Styles */
.wedding-info,
.cake-info {
  padding: 3rem 0;
  background-color: var(--light-text);
}

.wedding-content,
.cake-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.wedding-text,
.cake-text {
  flex: 1;
  min-width: 300px;
}

.wedding-image,
.cake-image {
  flex: 1;
  height: 500px;
  width: 700px;
}

.wedding-form,
.cake-form {
  padding: 3rem 0;
  background-color: var(--secondary-color);
}

form {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--light-text);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-item input {
  width: auto;
}

/* Slideshow styles */
.slideshow-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.slideshow-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
  transform: scale(1.05);
}

.slideshow-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.slideshow-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slideshow-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  z-index: 2;
}

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

.slideshow-dot.active {
  background-color: #fff;
}

/* Meow Script Font */
.meow-script-regular {
  font-family: "Meow Script", cursive;
}

/* Privacy Policy Link Styling */
#privacy-policy-link {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hamburger {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 101;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }

  .hamburger .line {
    background-color: var(--primary-color);
    height: 3px;
    width: 25px;
    margin: 5px 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--light-text);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 100;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 0;
    padding: 0;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    margin: 1.5rem 0;
  }

  /* Removed font-family changes to maintain consistent fonts across all screen sizes */
  /* h2 {
    font-family: "Meow Script", cursive;
  } */

  .hero h2 {
    font-size: 2rem;
    /* Removed font-family override to maintain consistent fonts */
    /* font-family: "Sindenetta", sans-serif; */
    font-style: italic;
  }

  .intro-content,
  .wedding-content,
  .cake-content {
    flex-direction: column;
  }

  .intro-image,
  .wedding-image,
  .cake-image {
    order: -1;
  }

  .menu-items {
    grid-template-columns: 1fr;
  }

  .location-content {
    flex-direction: column-reverse;
  }

  .map-container {
    height: 300px;
    width: 100%;
  }

  .location-info {
    width: 100%;
    align-items: center;
  }

  .google-reviews-header {
    flex-direction: column;
    align-items: center;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
  }

  .map-container {
    height: 250px;
  }

  .location-item {
    width: 100%;
  }

  .review-card {
    padding: 1rem;
  }
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--light-text);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 99;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background-color: var(--accent-color);
  transform: translateY(-5px);
}

.scroll-to-top i {
  font-size: 1.5rem;
}
