/* ==================== GLOBAL ==================== */
body {
  margin: 0;
  padding: 0;
  font-family: 'Quicksand', sans-serif; /* Body font */
  background: #fffafc;
  color: #4f4a4a;
}

/* Logo styling */
.logo {
  font-family: 'Dancing Script', cursive;
  font-size: 2.5rem;  /* Big and beautiful */
  font-weight: bold;
  color: #e75480; /* Soft cake-pink */
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

.logo:hover {
  transform: scale(1.1);
  color: #ff85a2; /* Lighter pink on hover */
}

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

/* ==================== NAVBAR (Top) ==================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: linear-gradient(90deg, #C71585, #ff9671);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.logo {
  font-size: 1.8rem;
  color: #fff;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: #5C4033;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background 0.3s, transform 0.2s;
}

.nav-links li a:hover,
.nav-links li a.active {
  background: #947d72;
  transform: scale(1.05);
}

.nav-links li a:active {
  color: #080808;
  background: rgba(0,0,0,0.2);
}

/* ==================== LAYOUT + SIDEBAR ==================== */
.layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 100vh;
}

.sidebar {
  background: linear-gradient(135deg, #C71585, #ff9671);
  color: white;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sidebar h2 {
  margin-bottom: 2rem;
  font-size: 1.3rem;
}

.sidebar .nav-links {
  flex-direction: column;
  width: 100%;
}

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

.sidebar .nav-links li a {
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  display: block;
  transition: background 0.3s, transform 0.2s;
}

.sidebar .nav-links li a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(5px);
}

.sidebar .nav-links li a.active {
  background: white;
  color: #ff6f91;
  font-weight: bold;
}

.main-content {
  padding: 2rem;
  background: #fff7f9;
}

/* ==================== HERO SECTION ==================== */
.hero {
  height: 60vh;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 1rem;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

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

.hero-content .btn {
  background: #ff6f91;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  transition: background 0.3s, transform 0.2s;
}

.hero-content .btn:hover {
  background: #ff4d75;
  transform: translateY(-3px);
}

.btn:active {
  transform: scale(0.95);
  background: #e63b63;
}

/* ==================== PRODUCTS ==================== */
.products-grid {
  padding: 3rem 2rem;
  max-width: 1100px;
  margin: auto;
}

.products-grid h1 {
  text-align: center;
  color: #ff4d75;
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.product-card {
  background: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.product-card h2 {
  padding: 1rem;
  font-size: 1.2rem;
  text-align: center;
}

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

/* ==================== CONTACT PAGE ==================== */
.contact-header {
  text-align: center;
  padding: 2rem 1rem 1rem;
  background: #f3f0ef;
  color: #0f0b0d;
}

.contact-main {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: 1px solid #C71585;
  border-radius: 8px;
  font-size: 1rem;
  transition: border 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border: 1px solid #C71585;
  box-shadow: 0 0 6px#C71585;
  outline: none;
}

.contact-form button {
  background: #f09bae;
  color: #fff;
  border: none;
  padding: 0.9rem;
  font-size: 1rem;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.contact-form button:hover {
  background: #C71585;
  transform: scale(1.05);
}

.contact-info {
  background: rgb(237, 180, 199);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.contact-info h2 {
  margin-bottom: 1rem;
  color: #ff4d75;
}

/* ==================== FOOTER ==================== */
footer {
  background: linear-gradient(135deg, #C71585, #ff9671);
  color: #fff;
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 0.9rem;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    flex-direction: row;
    justify-content: space-around;
    padding: 1rem;
  }

  .sidebar h2 {
    display: none;
  }

  .sidebar .nav-links {
    flex-direction: row;
    gap: 1rem;
  }

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

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .nav-links {
    display: none; /* future mobile menu toggle */
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}
/* ===== Hamburger Menu ===== */
.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
}

/* Mobile Sidebar Collapse */
@media (max-width: 768px) {
  .sidebar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .sidebar h2 {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .sidebar .nav-links {
    display: none;
    flex-direction: column;
    background: linear-gradient(135deg, #C71585, #ff9671);
    padding: 1rem;
    border-radius: 8px;
    position: absolute;
    top: 60px;
    left: 10px;
    right: 10px;
  }

  .sidebar .nav-links.show {
    display: flex;
  }
}
