html {
    scroll-behavior: smooth;
  }
  
  html, body {
    margin: 0;
    padding: 0;

  }

  .page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  body {
    font-family: Georgia, 'Times New Roman', Times, serif;
    line-height: 1.8;
    color: #333;
  }
  
  nav {
    background: #f5f5f5;
    padding: 10px;
    position: sticky;
    top: 0;
    z-index: 9999;
  }
  
  .search-overlay a {
    margin-right: 15px;
    text-decoration: none;
    color: #007acc;
  }
  
  h1 {
    margin-top: 0;
  }
  
  textarea {
    width: 100%;
    height: 150px;
  }
  
  .blog-feed {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
  }
  
  .blog-feed {
    flex: 1;
  }

  .blog-card {
    width: 100%;
    max-width: 320px;
    background: #f9f9f9;
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    text-align: center;
  }
  
  .blog-card h3 {
    font-size: 1.2rem;
    margin:  0.5rem 0;
  }
  
  .blog-card p {
    font-size: 0.95rem;
    color: #555;
  }
  
  .read-more {
    display: inline-block;
    margin-top: 0.5rem;
    color:  #c45b81;
    font-weight: 500;
    text-decoration: none;
  }


  header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: transparent;
  width: 100%;
  backdrop-filter: blur(4px);
  }



  nav {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
  }

  .custom-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    padding: 1rem;
    z-index: 999;
    flex-wrap: wrap;
    position: relative;
  }
  
  /*desktop layout*/
  .nav-left, .nav-center, .nav-right {
    flex: 1;
    display: flex;
    align-items: center;
  }
  
  nav a {
    text-decoration: none;
    color: #000;
    transition: color 0.3s ease;
  }
  
  nav a:hover {
    color: #c45b81; /* pink on hover */
  }
  

  .nav-left {
    justify-content: flex-start;
  }
  
  .nav-center {
   justify-content: center;
  }
  
  .nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
  }
  
  .nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
  }
  
  .nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
  }
  
  .blog-title {
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
    color: #222;
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .social-icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem; /* uniform spacing */
    padding: 20px 0;
  }
  
  .social-icons a i {
    color: #c45b81; /* pink color */
  font-size: 1.2rem;
  transition: transform 0.3s ease, color 0.3s ease;
  transform: scale(1.2);
  }

  .social-icons a i:hover {
    transform: scale(1.3); /* or 1.4 if you want more pop */
    color: #a84769; /* optional: slightly darker pink on hover */
  }
  
  /* Hamburger Icon */
  .hamburger {
    display: none;
    font-size: 1.5rem;
    z-index: 1001;
    cursor: pointer;
  }

  .hamburger i {
    color: #000;
    transition: color 0.3s ease;
  }
  
  .hamburger:hover i {
    color: #c45b81; 
  }
  
  @media screen and (max-width: 768px) {
    .nav-center {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      z-index: 10; /* stays on top of hamburger */
    }
  
    .custom-navbar {
      position: relative;
    }
  }

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

  /* Mobile Styles */
  @media (max-width: 768px) {
    .nav-links {
      position: fixed;
      top: 0;
      right: -100%;
      flex-direction: column;
      background: white;
      height: 100vh;
      width: 250px;
      padding: 2rem;
      transition: right 0.3s ease-in-out;
      gap: 1.5rem;
      z-index: 1000;
    }
  
    .blog-title {
      font-size: 1.8rem;
      margin: 0;
    }
  

    .nav-links.active {
      right: 0;
    }
  
    .hamburger {
      display: block;
    }

    .nav-links a {
      font-size: 1.2rem;
      margin-bottom: 1rem;
    }
  
    .nav-left {
      width: 100%;
      justify-content: center;
      order: 2;
    }
  
    .nav-center {
      order: 1;
      width: 100%;
      justify-content: center;
    }
  
    .nav-right {
      order: 3;
   justify-content: flex-end;
    }

    .social-icons {
      display: flex;
      justify-content: center;
      gap: 1rem;
    }
    
    .social-icons a i {
      font-size: 1.4rem;
      color: #c45b81;
    }
  
   
  }
  

  /*hero section*/
  .category-hero {
    width: 100%;
    padding: 2rem 0;
  }
  
  .collageSwiper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
  }
  
  .swiper-slide {
    width: 100% !important;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0 auto;
    box-sizing: border-box;
  }
  
  .collage-slide {
    max-width: 1000px;
    width: 100%;
    padding: 1rem;
    background: #fff;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 600px;
    box-sizing: border-box;
  }
  
  .collage-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
  }
  
  .category-hero,
.swiper-slide {
  text-align: center;
}

.swiper-button-prev,
.swiper-button-next {
  color: #c45b81; /* override default */
}

/* section divider*/
.section-divider {
  height: 1px;
  width: 80%;
  margin: 2rem auto;
  background: #ccc;
  opacity: 0.5;
  display: block;
}

.blog-category {
  padding: 4rem 2rem;
  text-align: center;
}

.blog-category h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: 600;
  font-family: Georgia, 'Times New Roman', Times, serif, serif;
  letter-spacing: 1px;
  
}

.section-divider {
  height: 1px;
  width: 80%;
  margin: 3rem auto;
  background: #ddd;
  opacity: 0.5;
}


/*gallery section*/
.split-section {
  display: flex;
  gap: 2rem;
  padding: 3rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-side {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}

.gallery-side img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  margin: 0;
}

.gallery-side div {
  margin: 5px;
}


.content-side {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-category {
  margin-bottom: 2rem;
}

.blog-category h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
  padding: 1rem 0;
  justify-items: center;
  /* Example styles for blog preview cards */
}

.section-divider {
  height: 1px;
  background-color: #ddd;
  margin: 2rem 0;
}

/* Responsive */
@media (max-width: 768px) {
  .split-section {
    flex-direction: column;
  }
  .gallery-side, .content-side {
    width: 100%;
  }
}

/*footer*/
.site-footer {
  width: 100vw;
  background-color: #fff0f5;
  padding: 2rem 1rem;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
  border-top: 1px solid #f3dce2;
  box-sizing: border-box;
}

.footer-social-icons {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center; /* ✅ center them */
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social-icons a i {
  margin: 0 0.75rem;
  font-size: 1.5rem;
  color: #db7093;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social-icons a:hover  i{
  color: #c45b81;
  transform: scale(1.2);
}

.site-footer p {
  font-size: 0.9rem;
  color: #7d5965;
}


/*about section*/
.about-section {
  padding: 4rem 2rem;
  background-color: #fff;
}

.about-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 3rem;
  flex-wrap: wrap;
}

.about-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.about-content {
  flex: 1;
  max-width: 600px;
}

.about-content h1 {
  font-size: 2.7rem;
  margin-bottom: 1rem;
  color: #c45b81;
  font-family: 'Georgia', serif;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.75;
  color: #333;
  margin-bottom: 1.2rem;
  font-family: 'Segoe UI', sans-serif;
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
  }

  .about-content {
    max-width: 100%;
  }

  .about-content h1 {
    font-size: 2rem;
  }

  .about-content p {
    font-size: 1rem;
  }

  .about-image img {
    max-width: 90%;
    margin-bottom: 1.5rem;
  }
}


/*font styles*/
.sacramento-font {
  font-family: 'Sacramento', cursive;
  font-size: 2.5rem; /* Adjust as needed */
}

/* Apply Sacramento font to blog title and headings */
.blog-title {
  font-family: 'Sacramento', cursive;
}

/* Pink blog title */
.blog-title {
  color: #c45b81; /* or use another pink you like */
  font-size: 3rem; /* adjust size as needed */
  text-align: center; /* optional: center the title */
  margin: 1rem 0;
}


/*search icon*/
.search-icon i {
  color: #c45b81; /* pink */
  font-size: 1.2rem;
  margin-left: 1rem;
  cursor: pointer;
}


/*search form*/
.search-icon i {
  color:#c45b81;
  font-size: 1.2rem;
  margin-left: 1rem;
  cursor: pointer;
}

/* Search overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-direction: column;
}

.search-popup-form {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-popup-form input {
  padding: 12px 18px;
  width: 300px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 20px;
  outline: none;
}

.search-popup-form button {
  background: none;
  border: none;
  color: #c45b81;
  font-size: 1.3rem;
  cursor: pointer;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
}

/*admin dashboard */
.admin {
  padding: 3rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.admin-form button {
  padding: 0.75rem 2rem;
  background: #c45b81;
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
}

.admin-form button:hover {
  background: #a83c66;
}

/*blog feed*/
.blog-feed {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.blog-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.blog-intro h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.blog-intro p {
  font-size: 1.1rem;
  color: #555;
}

.category-section {
  margin-top: 0.5rem;
}

.category-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #c45b81;
  padding-bottom: 0.25rem;
  display: inline-block;
  color: #333;
}

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

.blog-card {
  max-width: 500px;
  margin: 2rem auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  padding: 1rem;
  text-align: center;
}

.blog-card img {
  width: 100%;
  max-height: 350px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.blog-card h3 {
  font-size: 1.1rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.blog-card p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.4;
  flex-grow: 1;
}

.read-more {
  color: #c45b81;
  font-weight: bold;
  margin-top: 0.5rem;
  display: inline-block;
  text-decoration: none;
}

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

.read-more:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .blog-feed {
    padding: 1rem;
  }

  .blog-card {
    margin: 1rem auto;
    padding: 1rem;
  }

  .blog-card h3 {
    font-size: 1rem;
  }

  .blog-card p {
    font-size: 0.9rem;
  }
}

/*shop*/
/* Match social icon size */
.shop-icon i {
  font-size: 1.2rem; /* Match Instagram/LinkedIn icon size */
  color: #444;
  transition: color 0.3s ease;
  margin-left: 15px;
}

.shop-icon i:hover {
  color: #c45b81; /* pink on hover */
}

/* Responsive visibility */
.desktop-only {
  display: inline-block;
}

.mobile-only {
  display: none;
}

.shop-link.desktop-only {
  margin-left: 20px; /* or try 1rem or 1.5rem */
}


@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
  .mobile-only {
    display: inline-block;
  }
}


/*shop page*/
.shop-page {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.shop-banner {
  max-width: 600px;
  margin: 0 auto 2rem;
  display: block;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.product-card {
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  width: 100%;
  max-width: 280px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.product-card:hover {
  transform: scale(1.03);
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.product-card h3 {
  margin: 0.5rem 0;
  font-size: 1.1rem;
}

.product-card .price {
  margin-top: 0.5rem;
  color: #c45b81;
  font-weight: bold;
}


/*like button*/
.like-form {
  margin-top: 2rem;
  text-align: center;
}

.like-button {
  background: none;
  border: none;
  color: #c45b81; /* pink */
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.like-button:hover {
  transform: scale(1.1);
}

.like-button i {
  color: #c45b81;
}

/*buttons edit delete*/
.edit-btn, .delete-btn {
  background: none;
  border: 1px solid #c45b81;
  padding: 6px 12px;
  color: #c45b81;
  font-weight: 500;
  border-radius: 4px;
  margin-right: 10px;
  cursor: pointer;
  transition: 0.2s;
  text-decoration: none;
}

.edit-btn:hover,
.delete-btn:hover {
  background-color: #c45b81;
  color: white;
}
/*edit post*/
.edit-textarea {
  width: 100%;
  min-height: 300px;
  padding: 1rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  resize: vertical;
}

.post-content {
  white-space: pre-wrap;
  line-height: 1.8;
}

.post-content a {
  color: #c45b81;
  text-decoration: underline;
  font-weight: 500;
}

.post-content a:hover {
  color: #a93c6d;
}


.post-meta {
  display: flex;
  justify-content: flex-start;
  gap: 1.5rem;
  font-family: Georgia, serif;
  font-size: 0.9rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.post-meta .post-author {
  color: #c45b81; 
}

.post-meta .post-date {
  color: #999; /* faint grey */
}





/*post container*/
.post-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
  font-family: 'Georgia', serif;
  line-height: 1.8;
  color: #333;
}

.post-container h1 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #111;
}

.post-content {
  white-space: pre-wrap;
  font-size: 1.1rem;
}

.post-image {
text-align: center;
margin-bottom: 1.5rem;
}

.post-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/*subscriber-container*/
.subscribe-container {
  font-family: Georgia, 'Times New Roman', Times, serif;
  text-align: center;
  margin: 2rem auto;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.subscribe-form input{
  padding: 0.8rem 1rem;
  font-family: Georgia, serif;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 2px;
  width: 220px;
}


.subscribe-form button {
  padding: 0.8rem 1.2rem;
  background-color: #2b4a61; /* navy/blue */
  color: white;
  font-family: Georgia, serif;
  font-size: 1rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  text-transform: uppercase;
}

.subscribe-form button {
  background-color: #c45b81;
  color: white;
  border: none;
  cursor: pointer;
}

.subscribe-form button:hover {
  background-color: #c45b81; /* pink hover */
}

@media (max-width: 600px) {
  .subscribe-form {
    flex-direction: column;
    align-items: center;
  }

  .subscribe-form input,
  .subscribe-form button {
    width: 50%;
  }
}

/* login page */
.login-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  font-family: Georgia, serif;
}

.login-box {
  background: #fff0f5;
  padding: 2rem 3rem;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-align: center;
  max-width: 400px;
  width: 100%;
}

.login-box h2 {
  margin-bottom: 1rem;
  color: #c45b81;
  font-size: 2rem;
}

.login-box input[type="password"] {
  padding: 0.8rem;
  width: 100%;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.login-box button {
  padding: 0.8rem 1.5rem;
  background-color: #c45b81;
  color: white;
  font-family: Georgia, serif;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.login-box button:hover {
  background-color: #a83c66;
}

.login-error {
  color: #a83c66;
  margin-bottom: 1rem;
  font-weight: bold;
}

/*pagination */
.pagination {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
  gap: 0.5rem;
}

.pagination a {
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-decoration: none;
  color: #c45b81;
  transition: background 0.3s;
}

.pagination a:hover {
  background-color: #ffe6ee;
}

.pagination a.active {
  background-color: #c45b81;
  color: white;
}
