:root {
  --green: #9CAF88;
  --light-green: #4f7c5b;
  --cream: #FAF7F2;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--cream);
  color: #333;
  scroll-behavior: smooth;
}

body.dark {
  --green: #9CAF88;
  --cream: #FAF7F2;
  background: #121212;
  color: #eaeaea;
}

body.dark .email-form input,
body.dark .email-form textarea {
  background: #1e1e1e;
  border: 1px solid #444;
  color: #fff;
}

/* NAVBAR */
.navbar {
  position: fixed;
  width: 100%;
  background: var(--cream);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--green);
}

.navbar nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: var(--green);
  font-weight: 500;
}

/* HERO */

.hero {
  height: 100vh;
  background: linear-gradient(rgba(243,245,238,0.85), rgba(243,245,238,0.85)),
              url("../assets/img/hero.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hero {
  min-height: 100vh;
  padding: 6rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(
      rgba(243,245,238,0.88),
      rgba(243,245,238,0.88)
    ),
    url("../assets/img/hero.jpg") center/cover no-repeat;
  transition: background 0.4s ease;
}

body.dark .hero {
  background:
    linear-gradient(
      rgba(0,0,0,0.65),
      rgba(0,0,0,0.65)
    ),
    url("assets/hero.jpg") center/cover no-repeat;
}

.hero-content {
  max-width: 800px;
  text-align: center;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--green);
  margin-bottom: 1rem;
}

.hero p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* BUTTON */
button {
  background: var(--green);
  color: white;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1rem;
}

button:hover {
  background: var(--light-green);
}

/* SECTIONS */
.section {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: auto;
}

.section h2 {
  font-family: 'Playfair Display', serif;
  color: var(--green);
  margin-bottom: 1.5rem;
  text-align: center;
}

.section p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.bg-light {
  background: #ffffff;
}

/* PRODUCTS */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.product-card {
  background: var(--cream);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
}

.product-card h3 {
  color: var(--green);
  margin-bottom: 0.5rem;
}

.product-card span {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
}

/* FOOTER */
footer {
  background: var(--green);
  color: white;
  text-align: center;
  padding: 3rem 2rem;
}

.footer-links {
  margin: 1.5rem 0;
}

.footer-links a {
  color: white;
  margin: 0 0.8rem;
  text-decoration: none;
  font-size: 0.9rem;
}

/* TO TOP */
#toTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: none;
  background: var(--green);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 30px;
}



/* New modifications */

:root {
  --green: #9CAF88;
  --cream: #FAF7F2;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: var(--cream);
}

/* NAVBAR */
.navbar {
  position: fixed;
  width: 100%;
  background: var(--cream);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  color: var(--green);
}

nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: var(--green);
}

.menu-toggle {
  display: none;
  font-size: 1.4rem;
}

/* HERO */

.hero {
  min-height: 100vh;
  padding: 6rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(243,245,238,.9),rgba(243,245,238,.9)),
  url("../assets/img/hero.jpg") center/cover no-repeat;
}

.hero {
  min-height: 100vh;
  padding: 6rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(
      rgba(243,245,238,0.88),
      rgba(243,245,238,0.88)
    ),
    url("../assets/img/hero.jpg") center/cover no-repeat;
  transition: background 0.4s ease;
}

.hero-content {
  text-align: center;
  max-width: 700px;
}

h1,h2 {
  font-family: 'Playfair Display', serif;
  color: var(--green);
}

/* SECTIONS */
.section {
  padding: 4rem 1.5rem;
  max-width: 1100px;
  margin: auto;
}

.bg-light {
  background: #fff;
}

/* PRODUCTS */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 2rem;
}

.product-card {
  background: var(--cream);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
}

.product-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #fff;
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  border-radius: 12px;
  text-align: center;
}

.close {
  float: right;
  cursor: pointer;
  font-size: 1.4rem;
}

/* FOOTER */
footer {
  background: var(--green);
  color: #fff;
  padding: 3rem 1.5rem;
  text-align: center;
}

.footer-links a {
  color: #fff;
  margin: 0 .6rem;
  text-decoration: none;
}

/* BACK TO TOP */
#toTop {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: none;
  border-radius: 50%;
  width: 20px;
  height: 45px;
  border: none;
  background: var(--green);
  color: #fff;
}

/* MOBILE NAV */
@media (max-width: 768px) {
  nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: var(--cream);
    width: 100%;
    display: none;
    flex-direction: column;
    text-align: center;
  }

  nav a {
    padding: 1rem;
    margin: 0;
  }

  .menu-toggle {
    display: block;
  }
}

/* DARK MODE TOGGLE FEATURES */
body.dark .navbar,
body.dark nav,
body.dark .bg-light {
  background: #1b1b1b;
}

body.dark .product-card {
  background: #1e1e1e;
}

body.dark footer {
  background: #0f0f0f;
}

body.dark a {
  color: #9BC59D;
}

body.dark .modal-content {
  background: #1e1e1e;
  color: #fff;
}

.dark-toggle {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--green);
  cursor: pointer;
}

/* EMAIL FORM */
.email-form {
  max-width: 500px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.email-form input,
.email-form textarea {
  padding: 0.9rem 1rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-family: inherit;
}

.email-form button {
  align-self: center;
  padding: 0.9rem 2.5rem;
}

/* DARK MODE TOGGLE ADDITIONAL FEATURES */
.dark-toggle {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.dark-toggle .icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.dark-toggle .sun {
  transform: translateY(100%);
  opacity: 0;
}

body.dark .dark-toggle .moon {
  transform: translateY(-100%);
  opacity: 0;
}

body.dark .dark-toggle .sun {
  transform: translateY(0);
  opacity: 1;
}








