:root {
  --pink: #ff8fb3;
  --rose: #d81b60;
  --text: #4a1c2b;
  --bg: #ffe8f0;
  --hero-start: #ffd1e1;
  --hero-end: #ff7aa8;
  --footer-start: #ffc2d6;
  --footer-mid: #ff8cb3;
  --footer-end: #ffe0eb;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  background: #fcebf5;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.logo {
  font-size: 28px;
  font-weight: 700;
}
.logo span {
  color: var(--rose);
  font-family: Arial, Helvetica, sans-serif;
}
nav a {
  margin: 0 15px;
  text-decoration: none;
  color: var(--text);
}
nav a:hover { color: var(--rose); }

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 8%;
  gap: 30px;
  background: linear-gradient(180deg, var(--hero-start), var(--hero-end));
}
.hero-text {
  max-width: 500px;
}
.hero-text h1 {
  font-size: 55px;
  color: var(--rose);
  margin-bottom: 25px;
  margin-top:-5px;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.2); 
}
.hero-text p {
  font-size: 20px;
  margin-bottom: 40px;
}
.hero-text h3 {
  font-size: 25px;
  color: var(--text);
  opacity: 0.8;
  margin-top:-40px;
  letter-spacing: 1px;
}

/* Primary Button */
.btn {
  background: var(--rose);
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}
.btn:hover {
  background: #d9667a;
}

/* Slider */
.slider {
  position: relative;
  width: 500px;
  height: 500px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}
.slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.slide.active {
  opacity: 1;
}
.dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}
.dot {
  height: 10px;
  width: 10px;
  margin: 0 4px;
  background-color: #fff;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  opacity: 0.3;
  transition: opacity 0.1s;
}
.dot.active, .dot:hover {
  opacity: 1;
}

/* About Section */
.about {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 80px 8%;
  gap: 30px;
  background: var(--bg);
}
.about-image img {
  width: 500px;
  height: 450px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}
.about-content {
  max-width: 500px;
}
.about-content h2 {
  color: var(--rose);
  font-size: 35px;
  
  margin-bottom: 20px;
}
.about-content p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--text);
  opacity: 0.9;
  text-align: justify;
}

/* About Stats */
.about-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 20px;
}
.about-stats .stat {
  flex: 1 1 22%;
  text-align: center;
}
.stat-number {
  font-size: 26px;
  font-weight: 700;
   color: #ff4fa0;
  margin-bottom: 5px;
}
.stat-text {
  font-size: 16px;
  color: var(--text);
  opacity: 0.9;
}

/* Featured Section */
.featured-section {
  padding: 50px 0;
  background: var(--bg);
  text-align: center;
}
.featured-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

/* Featured Cards */
.product-card {
  width: 250px;
  background: #ffffff;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0px 0px 15px rgba(255, 155, 197, 0.3);
  position: relative;
  transition: 0.3s;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 0px 20px rgba(255, 100, 170, 0.4);
}
.product-card img {
  width: 100%;
  height: 200px;
  border-radius: 15px;
}
.product-card h3 {
  margin-top: 12px;
  font-size: 20px;
  color: #ff4fa0;
}
.product-card p {
  font-size: 14px;
  color: #555;
  margin: 5px 0 12px 0;
}
.product-card button {
  background: #ff4fa0;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}
.product-card button:hover {
  background: #ff1c87;
}
.sale-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ff1c87;
  color: white;
  padding: 5px 12px;
  font-size: 12px;
  border-radius: 20px;
  font-weight: bold;
}

/* Services Section */
.services {
  padding: 80px 8%;
  background: var(--bg);
  text-align: center;
}
.services-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap;
  margin-top: 40px;
  overflow-x: auto;
  padding-bottom: 10px;
}
.service-card {
  flex: 0 0 220px;
  padding: 20px 15px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(255, 155, 197, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 100, 170, 0.4);
}
.service-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}
.service-card h3 {
  font-size: 20px;
 color: #ff4fa0;
  margin-bottom: 8px;
}
.section-title{
   color: var(--rose);
    font-size: 35px;
  margin-bottom: 20px;
}
.service-card p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}

/* Menu Section */
.menu-section {
  padding: 60px 1%;
  background: var(--bg);
  text-align: center;
}
.menu-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px; 
  justify-items: center;
  overflow-x: auto;
}
.menu-card {
  width: 250px;
  background: #ffffff;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(255, 155, 197, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.menu-card h3 {
  margin-top: 12px;
  font-size: 20px;
  color: #ff4fa0;
}
.menu-card p {
  font-size: 14px;
  color: #555;
  margin: 5px 0 12px 0;
}
.menu-card button {
  background: #ff4fa0;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}
.menu-card button:hover {
  background: #ff1c87;
}
.menu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 100, 170, 0.4);
}
.menu-card img {
  width: 100%;
  height: 180px;
  border-radius: 15px;
  object-fit: cover;
}

/* Testimonials Section */
.testimonials-timeline {
  padding: 60px 10%;
  background: var(--bg);
}
.timeline {
  border-left: 3px solid #ff4fa0;
  padding-left: 40px;
  position: relative;
}
.t-item {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
  position: relative;
}
.t-item::before {
  content: "";
  width: 18px;
  height: 18px;
  background: #ff4fa0;
  border-radius: 50%;
  position: absolute;
  left: -49px;
  top: 5px;
}
.t-item img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffb3cf;
  box-shadow: 0 0 0 6px #ffe6f0, 0 8px 18px rgba(255, 120, 160, 0.35);
}
.content h3 { font-size: 20px; color: #ff1c87;; margin-bottom: 5px; }
.stars { color: #ff4fa0; font-size: 18px; margin-bottom: 10px; }
.content p { color: #555; background: #ffe3ec; padding: 15px 18px; border-radius: 15px; line-height: 1.6; font-size: 15px; max-width: 550px; }

/* Contact Section */
.single-contact-section { padding: 70px 20px; background: var(--bg); display: flex; flex-direction: column; align-items: center; }
.ribbon { background: #ff4fa1; padding: 15px 50px; margin-bottom: 40px; border-radius: 8px; color: white; }
.single-form { width: 100%; max-width: 780px; background: #fff; padding: 35px; border-radius: 15px; box-shadow: 0 0 20px rgba(255, 0, 150, 0.15); }
.row { display: flex; gap: 20px; margin-bottom: 20px; }
.row .input-group { flex: 1; }
.input-group { display: flex; flex-direction: column; }
.input-group label { margin-bottom: 6px; color:  #ff4fa0; font-weight: 600; }
input, textarea, select { padding: 12px; border: 2px solid #ffc6e6; border-radius: 10px; outline: none; background: #ffffff; transition: 0.3s; font-size: 15px; }
input:focus, textarea:focus, select:focus { border-color: #ff4fa1; box-shadow: 0 0 12px rgba(255, 0, 180, 0.4); }
textarea { height: 130px; resize: none; }
.glow-btn {
  background: #ff4fa0;
  color: white;
  border: 2px solid  #ff1c87; ;
  padding: 10px 18px;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
  margin-left:40%;
  margin-top:20px;
  font-size: 20px;
}
.menu-card button:hover {
  background: #ff1c87;
}

/* Footer */
.footer-bakery { position: relative; background: linear-gradient(135deg, var(--footer-start), var(--footer-mid), var(--footer-end)); color: #5C2A2A; padding: 80px 8% 40px; overflow: hidden; }
.footer-wave { position: absolute; top: -20px; left: 0; width: 100%; height: 80px; background: url('data:image/svg+xml;utf8,<svg viewBox=\"0 0 1440 320\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"%23ffc2d6\" fill-opacity=\"0.3\" d=\"M0,64L1440,224L1440,0L0,0Z\"/></svg>') no-repeat; background-size: cover; }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; position: relative; z-index: 2; gap: 20px; }
.footer-section { flex: 1 1 250px; }
.footer-title { font-size: 24px; font-weight: 700; margin-bottom: 15px; position: relative; color: #ff1c87;  }
.footer-title::after { content: ""; display: block; width: 60px; height: 4px; background: #ff4fa0; border-radius: 3px; margin-top: 6px; }
.footer-section ul { list-style: none; padding: 0; }
.footer-section ul li { margin: 10px 0; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.footer-section ul li a { text-decoration: none; color: #5C2A2A; transition: 0.3s; }
.footer-section ul li a:hover { color: #ff4fa0; }
.footer-bottom-row { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255, 79, 160, 0.3); padding-top: 20px; margin-top: 40px; flex-wrap: wrap; }
.footer-bottom-row p { margin: 0; font-size: 14px; color: #b63174; }
.social-icons { display: flex; gap: 20px; }
.social-icons a { color: #ff4fa0; font-size: 20px; transition: 0.3s; }
social-icons a:hover { color: #ffe6f0; transform: scale(1.2); }

/* Media Queries for Responsiveness */

/* Hero */
@media (max-width: 768px) {
  .hero { flex-direction: column; text-align: center; }
  .slider { width: 80%; height: 250px; }
}

/* About */
@media (max-width: 1024px) {
  .about { flex-direction: column; text-align: center; align-items: center; }
  .about-image img { width: 80%; height: auto; margin-bottom: 20px; }
  .about-content { max-width: 100%; }
  .about-stats { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 15px; }
  .about-stats .stat { flex: 1 1 45%; }
}
@media (max-width: 480px) {
  .about-stats .stat { flex: 1 1 100%; }
}

/* Featured Section */
@media (max-width: 1024px) { .product-card { width: 45%; } }
@media (max-width: 768px) { .featured-container { gap: 20px; } .product-card { width: 80%; } }
@media (max-width: 480px) { .product-card { width: 100%; } .product-card img { height: 150px; } }

/* Services Section */
@media (max-width: 768px) { .service-card { flex: 0 0 180px; padding: 15px 10px; } .services-container { gap: 15px; } }

/* Menu Section */
@media (max-width: 1024px) { .menu-card { flex: 0 1 calc(50% - 15px); } }
@media (max-width: 768px) {
  .menu-card { flex: 0 1 100%; }
  .menu-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
}

/* Contact Section */
@media (max-width: 700px) { .row { flex-direction: column; } }

/* Footer */
@media (max-width: 768px) { .footer-content { flex-direction: column; align-items: center; text-align: center; } .footer-bottom-row { flex-direction: column; gap: 15px; } }


/* Hero Section Fix for Mobile */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .hero-image {
    width: 90%;
    margin-top: 20px;
  }
  .slider {
    width: 100%;
    height: 250px;
  }
}

/* Services Section Responsive Cards */
@media (max-width: 1024px) {
  .services-container {
    flex-wrap: wrap;
    justify-content: center;
  }
  .service-card {
    flex: 0 1 calc(50% - 15px);
    margin-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .service-card {
    flex: 0 1 100%;
  }
}

/* Menu Section Responsive Cards */
@media (max-width: 1024px) {
  .menu-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .menu-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .menu-card {
    width: 90%;
    margin: 0 auto;
  }
}

/* Additional tweaks for hero image */
.hero img, .hero .slider img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}
