/* Reset default spacing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Ensure body takes full width and height */
body {
  margin: 0;
  padding: 0;
}

:root {
  --pink: #eec9c5;
  --blue: #3b56a7;
  --tan: #efe1ce;
  --grey: #e6e6e6;
  --black: #2e2e2e;

  --font-lato: 'Lato', sans-serif;
  --font-calgary: 'Calgary', sans-serif;
  --font-noto-serif: 'Noto Serif Display', sans-serif;

}

/* Navigation/Header Home Page*/
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 0 1rem;
}

.main-nav ul li:not(:last-child)::after {
  content: "|";
  margin-left: 1rem;
  color: var(--blue);
}

/* Hamburger styles */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: var(--blue);
  transition: 0.3s ease;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 150px;
  padding: 1rem;
  background-color: var(--pink);
}

.vc-logo {
  margin-top: 125px;
  max-height: 500px;
  width: auto;
}

.site-header {
  background-color: var(--pink);
  color: var(--black);
  padding: 1rem 0;
  position: relative;
  z-index: 1500;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.search-bar {
  display: flex;
  justify-content: center;
  background-color: var(--pink);
  margin-top: 0;
}

.search-form {
  display: flex;
  align-items: center;
  margin-right: 1rem;
}

.search-form input[type="text"] {
  padding: 0.4rem 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px 0 0 4px;
  font-size: 1rem;
}

.search-form button {
  padding: 0.4rem 0.8rem;
  background-color: #3b56a7;
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

.search-form button:hover {
  background-color: #32488c;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  font-family: var(--font-calgary);
  margin-bottom: 100px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--blue);
  text-decoration: none;
  font-weight: bold;
}

.main-nav a:hover {
  text-decoration: underline;
  color: var(--black);
}

.cart-icon {
  position: relative;
  text-decoration: none;
  font-size: 1.5rem;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: red;
  color: white;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 50%;
}

/* Navigation/Header Rest Of Pages*/
.logo-container2 {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 150px;
  padding: 1rem;
  background-color: var(--pink);
}

.site-header2 {
  background-color: var(--pink);
  color: var(--black);
  padding: 1rem 0;
}

.main-nav2 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.main-nav2 {
  font-family: var(--font-calgary);
  margin: 30px 0 20px 0;
}

.main-nav2 ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.main-nav2 a {
  color: var(--blue);
  text-decoration: none;
  font-weight: bold;
}

.main-nav2 a:hover {
  text-decoration: underline;
  color: var(--black);
}

.cart-icon {
  position: relative;
  text-decoration: none;
  font-size: 1.5rem;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: red;
  color: white;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 50%;
}

/* Main Home Page */
.home-hero {
  background: var(--pink);
  color: var(--black);
  text-align: center;
  padding: 4rem 2rem;
}

.home-hero .btn {
  font-family: var(--font-noto-serif);
  padding: 2rem 3rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background-color: var(--blue);
  color: var(--pink);
  font-size: larger;
  margin-top: 75px;
}

.home-hero .btn:hover {
  transform: scale(1.05);
  color: #d6b3af;
  background-color: #324a90;
  box-shadow: 0 4px rgba(0,0,0,0.2);
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-family: var(--font-calgary);
  color: var(--blue);
}

.hero-content p {
  font-family: var(--font-lato);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.banner-images {
  padding: 2rem;
  background-color: var(--grey);
}

.banners-home {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.banners-home img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.banner-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.banner-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.banner-text {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 1rem;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1rem;
  line-height: 1.4;
}

.banner-text .line-top {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.r1c1, .r3c1 {
  color: red;
}

.r1c2, .r3c2 {
  color: green;
}

.r1c3, .r3c3 {
  color: blue;
}

.banner-text .line-middle {
  display: block;
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 7px;
}

.r2c1 {
  color:rgb(65, 10, 10);
}

.r2c2 {
  color: rgb(24, 57, 24);
}

.r2c3 {
  color: rgb(19, 19, 62);
}

.banner-text .line-bottom {
  display: block;
  font-size: 1rem;
  text-decoration: underline;
}

.featured-section {
  background-color: var(--blue);
}

.featured-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--pink);
  font-family: var(--font-calgary);
}

.features-icons {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 2rem;
  background-color: var(--grey);
  gap: 2rem;
}

.feature {
  flex: 1 1 22%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 220px;
  padding: 1rem;
  box-sizing: border-box;
}

.feature img {
  max-width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.feature p {
  font-weight: 600;
  color: black;
  font-size: 1rem;
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature img:hover {
  transform: scale(1.1);
}

/* Footer */

.site-footer {
  background-color: var(--pink);
  color: white;
  padding: 2rem 1rem;
}

.footer-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  justify-items: center;
  padding-top: 2rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.footer-logo {
  max-height: 150px;
  margin-bottom: 0.5rem;
}

.tagline, .copyright {
  color: var(--blue);
  font-style: italic;
  margin-top: 0.25rem;
}

.copyright {
  margin-top: 10px;
  color: var(--black);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 0;
  margin: 30px 0 1rem 0;
}

.footer-links a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
  color: #2676d8
}

.footer-links li::after {
  content: "|";
  margin: 0 0.5rem;
  color: var(--blue);
}

.footer-links li:last-child::after {
  content: "";
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: flex-end;
}

.social-icons a {
  color: var(--blue);
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--black);
}

/* Blog Pages */
.admin-section {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.blog-list {
  list-style: none;
  padding: 0;
}

.blog-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  margin-bottom: 1rem;
  background: var(--blue);
  border-radius: 8px;
  border: 1px solid #ddd;
}

.blog-details h3 {
  margin: 0 0 0.25rem;
}

.blog-actions a,
.blog-actions button {
  margin-left: 0.5rem;
}

.no-posts {
  text-align: center;
  color: #777;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.btn-primary {
  background-color: #3b56a7;
  color: white;
}

.btn-secondary {
  background-color: #555;
  color: white;
}

.btn-danger {
  background-color: #c0392b;
  color: white;
}

.btn-sm {
  font-size: 0.875rem;
  padding: 0.4rem 0.8rem;
}

.blog-single {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

.blog-post .blog-date {
  color: #777;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.blog-content {
  line-height: 1.7;
  font-size: 1.1rem;
  color: #333;
}

.btn-secondary {
  display: inline-block;
  margin-top: 2rem;
  background-color: #555;
  color: white;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 6px;
}

/* Contact Page */
.contact-section {
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contact-wrapper h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  background: #f9f9f9;
}

.contact-form button {
  align-self: flex-start;
}

.success-message {
  background-color: #e6ffed;
  color: #2e7d32;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  border: 1px solid #a5d6a7;
}

/* Register Page */
.register-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  background: #f9f9f9;
  padding: 3rem 1rem;
}

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

.register-box h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
  color: #333;
}

.register-box p {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #555;
}

.google-btn {
  display: inline-block;
  background-color: #4285f4;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.google-btn:hover {
  background-color: #3367d6;
}

/* Client Dashboard */
.dashboard {
  padding: 3rem 1rem;
  background: #f9f9f9;
}

.dashboard .container {
  max-width: 700px;
  margin: auto;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.dashboard h2 {
  margin-bottom: 1rem;
  color: #333;
}

.info-box {
  background: #f1f1f1;
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0 2rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #333;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  margin-right: 0.5rem;
}

.btn.secondary {
  background: #aaa;
}

/* Shop Page */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.page-title {
  text-align: center;
  margin-bottom: 2rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  background: var(--blue);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  height: 100%;
}

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

.product-card img {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 5px;
}

.product-card h2 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.product-info {
  margin-top: auto;
}

.product-info .price {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.product-info .btn {
  margin-top: 0.5rem;
}

.product-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.product-options label {
  font-weight: bold;
}

.product-options select {
  padding: 0.5rem;
  font-size: 1rem;
}


.btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: #333;
  color: white;
  text-decoration: none;
  border-radius: 4px;
}

/* Blog Page */
.blog-page {
  max-width: 750px;
  margin: 3rem auto;
  padding: 2rem 1rem;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  font-family: var(--font-lato);
}

.blog-page h1 {
  font-size: 2.3rem;
  margin-bottom: 2rem;
  color: var(--blue);
  text-align: center;
  font-family: var(--font-calgary);
}

.blog-list,
.blog-grid {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Single Page Blog */
.description-content {
  margin-bottom: 25px;
}
.hash-content {
  margin: 25px 0 25px 0;
}

/* Optional for grid layout instead of column */
.blog-grid {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.blog-card {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--grey);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 200px;
  max-width: 340px;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.blog-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--blue);
  font-family: var(--font-calgary);
}

.blog-card h2 a {
  text-decoration: none;
  color: inherit;
}

.blog-card .blog-topic {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 0.4rem;
}

.blog-card .description {
  flex-grow: 1;
  font-size: 1rem;
  color: #444;
  margin-bottom: 0.5rem;
}

.blog-card .hashtags {
  margin-bottom: 0.5rem;
}

.blog-card .tag {
  display: inline-block;
  background-color: #f4f4f4;
  color: #555;
  font-size: 0.85rem;
  margin: 0 5px 5px 0;
  padding: 3px 8px;
  border-radius: 4px;
}

.read-more {
  align-self: flex-start;
  font-weight: bold;
  color: var(--blue);
  text-decoration: none;
  font-family: var(--font-lato);
  margin-top: auto;
}

.read-more:hover {
  text-decoration: underline;
  color: var(--black);
}

/* Admin Product Form Styling */
.product-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.product-form label {
  font-weight: 600;
  color: #333;
}

.product-form input {
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: border-color 0.3s ease;
}

.product-form input:focus {
  border-color: #555;
  outline: none;
}

.product-form .btn {
  margin-top: 1rem;
  align-self: start;
}

.product-card {
  border: 1px solid #ccc;
  padding: 1rem;
  text-align: center;
  border-radius: 8px;
  background: var(--pink);
  transition: box-shadow 0.3s ease;
  max-width: 240px;        
  margin: 0 auto;          
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-grid {
  display: grid;
  margin-top: 10px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
  justify-content: center;
}

.form-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn-secondary {
  background-color: #ccc;
  color: #333;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  display: inline-block;
}


/* Product Detail Page */

.product-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2rem auto;
  padding: 1rem;
  max-width: 900px;
}

.product-details .product-images {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.product-details .product-images img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  flex: 1 1 200px;
}

.product-details .product-info {
  text-align: center;
}

.product-details .product-info h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.product-details .product-info .price {
  font-size: 1.5rem;
  color: #c38d2d;
  margin: 0.5rem 0;
}

.product-details .product-info p {
  margin: 0.3rem 0;
  font-size: 1rem;
  color: #444;
}

/* Cart */
.cart-page h1 {
  text-align: center;
  margin-bottom: 2rem;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 1rem;
}

.cart-img {
  width: 120px;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.cart-details h2 {
  margin: 0;
}

.remove-btn {
  background-color: #cc0000;
  color: white;
  margin-top: 0.5rem;
}

.cart-summary {
  margin-top: 2rem;
  text-align: right;
}

.cart-summary h3 {
  margin-bottom: 1rem;
}

.quantity-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.qty-btn {
  padding: 0.3rem 0.8rem;
  font-size: 1.1rem;
  border: none;
  background-color: #444;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}

.qty-display {
  min-width: 20px;
  text-align: center;
}

@media (max-width: 1100px) and (min-width: 769px) {
  .banner-text {
    top: 0.2rem;
    left: 0.8rem;
    padding: 0.5rem;
  }

  .banner-text .line-top {
    font-size: 1.2rem;
  }

  .banner-text .line-middle {
    font-size: .8rem;
  }

  .banner-text .line-bottom {
    font-size: 1rem;
  }
}



/* Responsive Tweaks */
@media (max-width: 768px) {

  /* Navigation Home Page*/
  .nav-toggle {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 1rem;
  }

  .main-nav {
    display: none !important;
    flex-direction: column;
    background-color: var(--pink);
    width: 100%;
    padding: 1rem 0;
    position: static;
  }

  .main-nav.open {
    display: flex !important;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .main-nav ul li {
    text-align: left;
  }
  .vc-logo {
    max-width: 350px;
  }

  /* Navigation Every other page */

  .main-nav2 {
    display: none !important;
    flex-direction: column;
    background-color: var(--pink);
    width: 100%;
    padding: 1rem 0;
  }

  .main-nav2.open {
    display: flex !important;
  }

  .main-nav2 ul {
    flex-direction: column;
    gap: 1rem;
  }

  .main-nav2 ul li {
    text-align: left;
  }

  /* Banners */
  .banner-text {
    font-size: 0.8rem;
    padding: 0 0.5rem;
    top: 0.5rem;
    left: 0.5rem;
  }

  .banner-text .line-top {
    font-size: 1rem;
  }

  .banner-text .line-middle,
  .banner-text .line-bottom {
    font-size: 0.9rem;
  }


  /* Footer */
  .footer-row {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    text-align: center;
    justify-items: center;
    gap: 1.5rem;
  }

  .footer-right {
    grid-row: 1; /* Show right section (links + socials) first */
    align-items: center;
    width: 100%;
  }

  .footer-left {
    grid-row: 2; /* Show left section (logo + tagline) second */
    align-items: center;
    width: 100%;
  }

  .social-icons {
    justify-content: center;
    margin-top: 0.5rem;
  }
}

@media (min-width: 768px) {
  .product-detail {
    flex-direction: row;
    align-items: flex-start;
  }

  .product-detail .product-images {
    flex: 1;
    flex-direction: column;
    align-items: center;
  }

  .product-detail .product-info {
    flex: 1;
    text-align: left;
    padding: 0 2rem;
  }
}
