/* Reset & base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f5fff7;
  color: #333;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row-reverse;
  padding: 20px 10%;
  background: #e6f4ea;
}

header h1 {
  font-family: 'Dancing Script', cursive;
  font-size: 2rem;
  color: #4CAF50;
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  background:#e6f4ea;
  padding: 0.8rem 1rem;
  flex-wrap: wrap;
  flex-wrap: nowrap;
}

/* Normal links style */
.nav-link, .btn-register, .text-link, #cart-icon {
  color: #4CAF50;
  text-decoration: none;
  padding: 0.3rem 0.6rem;
  font-weight: 500;
}

.btn-register {
  background: #e6f4ea;
  border-radius: 4px;
}

/* Burger style - hidden by default */
.burger {
  display: flex;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
   /* debug - helps see the burger box */
  padding: 5px;
  z-index: 2000; /* make sure it’s on top */
  position: relative; /* so z-index works */
}
/* By default, hide the burger on big screens */
.burger {
  display: none;
}

/* Show burger only on mobile (max-width: 768px) */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }
}


.burger div {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
}

/* Mobile styles */
@media (max-width: 768px) {
  /* Hide text links & btn-register & cart-icon on mobile */
  .nav-link, .btn-register, .text-link, #cart-icon {
    display: none;
  }

  /* Show burger */
  .burger {
    display: flex;
  }

  /* When nav is active (burger clicked), show links vertically */
 /* When nav is toggled (burger clicked) */
nav.active {
  background-color: #e6f4ea; /* soft green background */
  color: #4CAF50;           /* bright green text */
  flex-direction: column;
  padding-top: 2rem;
  height: 100vh;            /* full screen height on mobile */
  width: 200px;             /* adjust as you want */
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
}

/* Style the links inside the toggled menu */
nav.active a {
  color: #4CAF50 !important;    /* bright green text */
  font-weight: bold;            /* bold text */
  padding: 1rem;
  text-align: center;
  text-decoration: none;
  display: block;
  border-bottom: 1px solid #b7d4b7; /* subtle divider */
}
.burger div {
  background-color: #999;  /* grey lines */
}
nav.active .burger {
  display: none;
}


  nav.active .nav-link,
  nav.active .btn-register,
  nav.active .text-link,
  nav.active #cart-icon {
    display: block;
    width: 100%;
    padding: 1rem;
    text-align: center;
  }
}


nav a:hover {
  color: #388E3C;
}

/* Cart count badge */
.cart-count {
  background: #388E3C;
  color: white;
  border-radius: 50%;
  padding: 2px 7px;
  font-size: 0.8rem;
  vertical-align: top;
  margin-left: 5px;
}

/* Hero section */

#payment-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  resize: vertical;
  min-height: 80px;
}
#customer_address {
  display: block !important;
  width: 100% !important;
  min-height: 80px !important;
  margin-top: 8px;
  padding: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
  resize: vertical;
}

.hero {
  height:  9cm; /* full screen */
  background-image: url('images/mintgreen.jpg'); /* change this to your image path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white; /* make sure text pops over the image */
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4); /* subtle dark overlay */
  z-index: 1;
}

.hero-content {
  z-index: 2;
  position: relative;
}
.hero-content h1 {
  font-size: 4rem; /* make it huge */
  font-weight: 900; /* bold AF */
  letter-spacing: 0.1em; /* adds some stylish space between letters */
  text-transform: uppercase; /* makes it stand out */
  color: white; /* make sure it’s bright on your bg */
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6); /* optional: adds cool shadow for contrast */
}
.hero-content p {
  font-size: 1.5rem; /* make it a bit bigger */
  font-weight: 600;  /* nice and readable */
  color: white;
  margin-top: 0.5rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5); /* optional for better contrast */
}

.hero h1 {
  font-size: clamp(1.5rem, 5vw, 4rem);
  padding: 0 1rem;
  text-align: center;
}
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}



.btn {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, #4CAF50, #66bb6a);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  transition: background 0.3s, transform 0.3s;
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-weight: bold;
  font-size: 1rem;
}

.btn:hover {
  background: linear-gradient(135deg, #388E3C, #4CAF50);
  transform: translateY(-3px);
}

/* Products section */
.products {
  padding: 60px 10%;
  opacity: 0;
  animation: fadeIn 1.5s forwards 0.5s;
}

.products h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #4CAF50;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.product-card {
  background: #ffffff;
  border: 1px solid #e6f4ea;
  border-radius: 15px;
  text-align: center;
  padding: 20px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.product-card:hover {
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.2);
}

.product-card img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.4s;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-card h3 {
  margin: 15px 0 5px;
}

.product-card p {
  color: #388E3C;
  font-weight: bold;
}

.size-select {
  margin-top: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid #e6f4ea;
  font-size: 1rem;
  outline: none;
  cursor: pointer;
}

/* Size guide button */
.size-guide-btn {
  display: block;
  margin: 40px auto 0;
  background: linear-gradient(135deg, #4CAF50, #66bb6a);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  transition: background 0.3s, transform 0.3s;
}

.size-guide-btn:hover {
  background: linear-gradient(135deg, #388E3C, #4CAF50);
  transform: translateY(-3px);
}

/* About section */
.about {
  background: #ebf8ee;
  padding: 60px 10%;
  text-align: center;
  opacity: 0;
  animation: fadeIn 1.5s forwards 1s;
}

.about h2 {
  color: #4CAF50;
  margin-bottom: 20px;
}

/* Contact section */
.contact {
  padding: 60px 10%;
  text-align: center;
  opacity: 0;
  animation: fadeIn 1.5s forwards 1.5s;
}

.contact h2 {
  color: #4CAF50;
  margin-bottom: 10px;
}

.contact form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.contact input,
.contact textarea {
  margin-bottom: 15px;
  padding: 12px;
  border: 1px solid #e6f4ea;
  border-radius: 8px;
  outline: none;
  font-family: inherit;
  font-size: 1rem;
}

.contact button {
  background: linear-gradient(135deg, #4CAF50, #66bb6a);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  font-weight: bold;
}

.contact button:hover {
  background: linear-gradient(135deg, #388E3C, #4CAF50);
  transform: translateY(-3px);
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #e6f4ea;
  color: #4CAF50;
}

/* Modal base styles */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: #f5fff7;
  margin: 10% auto;
  padding: 20px;
  border-radius: 12px;
  max-width: 500px;
  box-shadow: 0 8px 24px rgba(76, 175, 80, 0.4);
  font-family: inherit;
}

.close {
  color: #4CAF50;
  float: right;
  font-size: 1.8rem;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
}

.close:hover {
  color: #388E3C;
}

#cart-items {
  margin-bottom: 15px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #e6f4ea;
}

.cart-item span {
  flex: 1;
  font-size: 1rem;
}

.cart-item .remove-btn {
  background: transparent;
  border: none;
  color: #d32f2f;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
  padding-left: 10px;
  transition: color 0.3s;
}

.cart-item .remove-btn:hover {
  color: #9a0000;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 1rem;
}

th, td {
  border: 1px solid #4CAF50;
  padding: 8px;
  text-align: center;
}

/* Notification popup */
.notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #4CAF50;
  color: white;
  padding: 15px 25px;
  border-radius: 30px;
  font-weight: bold;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-in-out;
  z-index: 10000;
}

.notification.show {
  opacity: 1;
  pointer-events: auto;
}

/* Animations */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Responsive */

/* Hide text links at 634px and below */
@media (max-width: 634px) {
  .text-link {
    display: none;
  }
  .emoji-link {
    display: none;
  }
}

/* Show emoji links only at 390px and below */
/* Hide emojis by default everywhere */
.emoji-link {
  display: none !important;
}

/* Show emojis ONLY at 390px and below */
@media (max-width: 390px) {
  .emoji-link {
    display: inline-block !important;
    font-size: 1.5rem;
    margin-left: 10px;
    text-decoration: none;
    transition: transform 0.3s;
  }

  .emoji-link:hover {
    transform: scale(1.2);
  }

  nav {
    justify-content: flex-start;
  }
}


@media (max-width: 480px) {
  header h1 {
    font-size: 1.5rem;
  }

  .hero {
    padding: 60px 20px;
  }

  .hero h2 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .products {
    padding: 40px 5%;
  }

  .about,
  .contact form {
  max-width: 400px;
  margin: 40px auto;
  padding: 30px 25px;
  background: #f0fbf4; /* light greenish background */
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(76, 175, 80, 0.15);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #2e7d32; /* dark green text */
}}

.contact input,
.contact textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 18px;
  border: 2px solid #a5d6a7; /* lighter green border */
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
  background: white;
  color: #2e7d32;
  resize: vertical;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
}

.contact input:focus,
.contact textarea:focus {
  border-color: #4caf50;
  box-shadow: 0 0 8px 2px #81c784;
}

.contact button {
  width: 100%;
  padding: 14px;
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #4caf50, #66bb6a);
  border: none;
  border-radius: 50px;
  color: white;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(76, 175, 80, 0.4);
  transition: backgroud 0.3s ease, transform 0.2s ease;
}

.contact button:hover,
.contact button:focus {
  background: linear-gradient(135deg, #388e3c, #4caf50);
  transform: scale(1.05);
  outline: none;
}

/* Modal overlay */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
}

/* Modal content */
.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  position: relative;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Close button (×) */
.close {
  color: #888;
  position: absolute;
  top: 10px; right: 20px;
  font-size: 28px;
  cursor: pointer;
}
.close:hover {
  color: #000;
}

/* Cart Items */
#cart-items {
  margin: 20px 0;
}
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}
.cart-item span {
  font-size: 16px;
}

/* Remove button */
.remove-btn {
  background: none;
  border: none;
  color: #e74c3c;
  font-size: 18px;
  cursor: pointer;
}
.remove-btn:hover {
  color: #c0392b;
}

/* Total price */
#cart-total {
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
  text-align: right;
}

/* Checkout form inside modal */
#checkout-form input,
#checkout-form select {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
}
#checkout-form input[type="radio"] {
  width: auto;
  margin-right: 5px;
}
#checkout-form label {
  display: block;
  margin: 8px 0;
  font-size: 15px;
}
#checkout-form button {
  margin-top: 10px;
  background-color: #000;
  color: white;
  border: none;
  padding: 12px;
  width: 100%;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}
#checkout-form button:hover {
  background-color: #333;
}

/* Notification Popup */
.notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #4caf50;
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 16px;
  z-index: 1000;
  display: none;
  animation: fadeInOut 3s ease-in-out;
}
.notification.show {
  display: block;
}
@keyframes fadeInOut {
  0% { opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { opacity: 0; }
}


/* Header - subtle shadow and sticky on scroll */
header {
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.25);
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #e6f4eacc; /* slight transparency for that glassy vibe */
  backdrop-filter: blur(10px);
}

/* Nav links - smooth underline on hover */
nav a {
  position: relative;
  overflow: hidden;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #388E3C;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  border-radius: 2px;
}

nav a:hover::after,
nav a:focus::after {
  transform: translateX(0);
}

/* Buttons - add subtle scale on hover + shadow */
.btn,
.size-guide-btn {
  display: block;
  margin: 25px auto;
  padding: 10px 24px;
  font-size: 1.1rem;
  width: fit-content;
  box-shadow: 0 6px 12px rgba(76, 175, 80, 0.3);
  border-radius: 50px; /* This makes it oval */
  background-color: #4CAF50;
  color: white;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  will-change: transform;
  text-align: center;
}

.size-guide-btn:hover,
.size-guide-btn:focus {
  box-shadow: 0 10px 22px rgba(56, 142, 60, 0.5);
  transform: translateY(-3px);
  outline: none;
}





/* Product cards - elevated hover effect */
.product-card {
  box-shadow: 0 4px 10px rgba(76, 175, 80, 0.1);
  will-change: transform, box-shadow;
}

.product-card:hover {
  box-shadow: 0 16px 32px rgba(46, 125, 50, 0.3);
  transform: translateY(-8px);
}

/* Product images - smooth zoom on hover */
.product-card img {
  will-change: transform;
}

.product-card:hover img {
  transform: scale(1.1);
  transition: transform 0.5s ease;
}

/* Inputs & textarea - glowing focus effect */
.contact input:focus,
.contact textarea:focus,
.size-select:focus {
  box-shadow: 0 0 8px 2px #66bb6a;
  border-color: #66bb6a;
}

/* Modal content - soft entrance animation */
.modal-content {
  animation: slideDownFade 0.4s ease forwards;
}

@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Notification popup - bounce in */
.notification.show {
  animation: bounceIn 0.5s forwards;
}

@keyframes bounceIn {
  0% {
    transform: translateX(-50%) scale(0.7);
    opacity: 0;
  }
  60% {
    transform: translateX(-50%) scale(1.1);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) scale(1);
  }
}

/* Hero text fade + slide from bottom */
.hero h2,
.hero p {
  opacity: 0;
  transform: translateY(20px);
  animation-fill-mode: forwards;
}

.hero h2 {
  animation: fadeSlideUp 1.2s 0.5s ease forwards;
}

.hero p {
  animation: fadeSlideUp 1.2s 0.9s ease forwards;
}

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer - subtle glow on hover */
footer {
  transition: box-shadow 0.4s ease;
}

footer:hover {
  box-shadow: 0 0 15px 3px rgba(76, 175, 80, 0.5);
}

/* Emoji nav - playful bounce on hover */
.emoji-link:hover {
  animation: bounce 0.4s ease;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Add cursor pointer to emoji links */
.emoji-link {
  cursor: pointer;
}
form {
  max-width: 350px;
  margin: 30px auto;
  padding: 20px;
  background: #f9fdf7;
  border: 1px solid #4caf50;
  border-radius: 10px;
  font-family: Arial, sans-serif;
}

form h2 {
  text-align: center;
  color: #4caf50;
  margin-bottom: 20px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"] {   /* Added phone input styling */
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #4caf50;
  border-radius: 6px;
  font-size: 1rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus {  /* Also on focus */
  outline: none;
  border-color: #66bb6a;
}

button {
  width: 100%;
  padding: 12px;
  background-color: #4caf50;
  border: none;
  border-radius: 20px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
}

button:hover {
  background-color: #388e3c;
}
/* Modal base styles (if you don't have it) */
.modal {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: #f5fff7;
  margin: 10% auto;
  padding: 20px;
  border-radius: 12px;
  max-width: 400px;
  box-shadow: 0 8px 24px rgba(76, 175, 80, 0.4);
  position: relative;
  font-family: inherit;
}

.close {
  color: #4CAF50;
  float: right;
  font-size: 1.8rem;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
}

.close:hover {
  color: #388E3C;
}

#register-form input,
#register-form button {
  width: 100%;
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #4caf50;
  font-size: 1rem;
}

#register-form button {
  background-color: #4caf50;
  border: none;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

#register-form button:hover {
  background-color: #388e3c;
}


