/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* Navbar -  default: #ff6b81 */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ff6b81;
  padding: 15px 30px;
  position: relative;
  z-index: 100;
}

.logo {
  color: white;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: bold;
}

/* Hero Section with Slider */
.hero {
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

/* 
===========================================
CUSTOM SLIDER IMAGES - REPLACE THESE URLs
===========================================
Replace the URLs below with your own image paths.
Example: background: url('images/your-cake-image-1.jpg') center/cover;

Recommended image dimensions: 1920x1080 or larger
Recommended formats: .jpg, .jpeg, .png, .webp
*/

.slide1 {
  background: linear-gradient(45deg, rgba(255, 107, 129, 0.7), rgba(255, 138, 155, 0.7)), 
              url('images/slider-image-1.jpg') center/cover;
  /* 
  TO USE YOUR OWN IMAGE: Replace 'images/slider-image-1.jpg' with your image path
  Example: url('C:/Users/sujaa/Documents/cake photos/slider-cake-1.jpg') center/cover;
  */
}

.slide2 {
  background: linear-gradient(45deg, rgba(255, 159, 243, 0.7), rgba(243, 104, 224, 0.7)), 
              url('images/slider-image-2.jpg') center/cover;
  /* 
  TO USE YOUR OWN IMAGE: Replace 'images/slider-image-2.jpg' with your image path
  Example: url('C:/Users/sujaa/Documents/cake photos/slider-cake-2.jpg') center/cover;
  */
}

.slide3 {
  background: linear-gradient(45deg, rgba(162, 155, 254, 0.7), rgba(108, 92, 231, 0.7)), 
              url('images/slider-image-3.jpg') center/cover;
  /* 
  TO USE YOUR OWN IMAGE: Replace 'images/slider-image-3.jpg' with your image path
  Example: url('C:/Users/sujaa/Documents/cake photos/slider-cake-3.jpg') center/cover;
  */
}

.slide4 {
  background: linear-gradient(45deg, rgba(253, 121, 168, 0.7), rgba(232, 67, 147, 0.7)), 
              url('images/slider-image-4.jpg') center/cover;
  /* 
  TO USE YOUR OWN IMAGE: Replace 'images/slider-image-4.jpg' with your image path
  Example: url('C:/Users/sujaa/Documents/cake photos/slider-cake-4.jpg') center/cover;
  */
}

/* 
===========================================
END OF CUSTOM SLIDER IMAGES SECTION
===========================================
*/

.hero-content {
  background: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 12px;
  position: relative;
  z-index: 10;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero .btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 30px;
  background: #ff6b81;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 129, 0.3);
}

.hero .btn:hover {
  background: #ff5252;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 129, 0.4);
}

/* Slider Navigation Dots */
.slider-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: white;
  transform: scale(1.2);
}

/* Menu Section */
.menu {
  padding: 60px 20px;
  text-align: center;
  background: #f9f9f9;
}

.menu h2 {
  font-size: 2.2rem;
  color: #333;
  margin-bottom: 40px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
  max-width: 1200px;
  margin: 30px auto 0;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0px 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 30px rgba(0,0,0,0.15);
}

.card img {
  width: 100%;
  height: 450px; /* Fixed height for uniform sizing */
  object-fit: cover; /* Maintains aspect ratio while filling the space */
  border-radius: 12px;
}

/* About Section */
.about {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
}

.about h2 {
  font-size: 2.2rem;
  color: #333;
  margin-bottom: 30px;
}

.about p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
}

/* Contact Section */
.contact {
  padding: 60px 20px;
  text-align: center;
  background: #f9f9f9;
}

.contact h2 {
  font-size: 2.2rem;
  color: #333;
  margin-bottom: 30px;
}

.contact p {
  font-size: 1.1rem;
  color: #666;
  margin: 10px 0;
}

/* Footer */
footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 15px;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero-content {
    padding: 30px 20px;
    margin: 0 20px;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}