/* Almel Exports – main stylesheet */
:root {
  --green: #0f4d2e;
  --green-dark: #0a3622;
  --green-soft: #e9f1ec;
  --gold: #c9a227;
  --gold-light: #e8c75f;
  --ink: #1f2a24;
  --muted: #5d6b63;
  --cream: #faf7ef;
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased
}

h1,
h2,
h3,
h4,
h5,
.section-heading {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--green);
  font-weight: 700
}

a {
  color: var(--green)
}

.text-gold {
  color: var(--gold) !important
}

.text-muted {
  color: var(--muted) !important
}

.bg-cream {
  background: var(--cream)
}

.narrow {
  max-width: 640px
}

/* Top bar & nav */
.topbar {
  background: var(--green-dark);
  color: #e6eee8;
  font-size: .82rem
}

.topbar a {
  color: var(--gold-light);
  text-decoration: none
}

.topbar a:hover {
  color: #fff
}

.main-nav {
  background: #fff;
  box-shadow: 0 2px 14px rgba(15, 77, 46, .08);
  position: sticky;
  top: 0;
  z-index: 1030;
  padding: .35rem 0
}

.site-logo {
  height: 58px;
  width: auto
}

.main-nav .nav-link {
  font-weight: 600;
  color: var(--green);
  padding: 1rem 1.15rem !important;
  position: relative;
  transition: color .2s
}

.main-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: .55rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
  transform: scaleX(1)
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
  color: var(--gold)
}

.main-nav .dropdown-toggle::after {
  border-top-color: currentColor;
  margin-left: .4rem;
  position: static;
  background: none;
  transform: none;
  height: auto
}

.dropdown-menu {
  border-top: 3px solid var(--gold) !important;
  border-radius: 0 0 10px 10px;
  padding: .5rem
}

.dropdown-item {
  border-radius: 6px;
  padding: .55rem 1rem;
  font-weight: 500
}

.dropdown-item:hover {
  background: var(--green-soft);
  color: var(--green)
}

@media(max-width:991.98px) {
  .main-nav .nav-link::after {
    display: none
  }

  .site-logo {
    height: 48px
  }
}

/* Buttons */
.btn {
  border-radius: 8px;
  font-weight: 600;
  transition: all .25s
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #2a2200;
  border: 0
}

.btn-gold:hover {
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201, 162, 39, .4)
}

.btn-green {
  background: var(--green);
  color: #fff;
  border: 0
}

.btn-green:hover {
  background: var(--green-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 77, 46, .3)
}

.btn-outline-green {
  border: 2px solid var(--green);
  color: var(--green);
  background: transparent
}

.btn-outline-green:hover {
  background: var(--green);
  color: #fff
}

.btn-outline-light:hover {
  color: var(--green)
}

/* Hero: text stays on the left; authentic spice photo appears on the right.
   Save the uploaded photo as assets/images/spices-hero.png */
.hero {
  background-color: var(--green-dark);
  background-image:
    linear-gradient(90deg,
      rgba(10, 54, 34, 1) 0%,
      rgba(10, 54, 34, .98) 34%,
      rgba(10, 54, 34, .82) 48%,
      rgba(10, 54, 34, .28) 68%,
      rgba(10, 54, 34, .08) 100%),
    url('../images/spices-hero.png');
  background-size: 100% 100%, auto 100%;
  background-position: center, right center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 7rem 0 8rem;
}

.hero-title {
  color: #fff;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.15;
  margin: .8rem 0 1.2rem
}

.hero-sub {
  font-size: 1.12rem;
  color: #dbe7df;
  max-width: 600px;
  margin-bottom: 2rem
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .76rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: .5rem
}

.eyebrow-light {
  color: var(--gold-light)
}

/* Highlight strip */
.highlight-strip {
  margin-top: -3.2rem;
  position: relative;
  z-index: 2
}

.highlight-strip .container>.row {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(15, 77, 46, .15);
  overflow: hidden
}

.hl {
  padding: 1.6rem 1rem;
  border-right: 1px solid #eef0ec;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15rem
}

.hl:last-child {
  border-right: 0
}

.hl i {
  font-size: 1.9rem;
  color: var(--gold)
}

.hl strong {
  color: var(--green)
}

.hl span {
  font-size: .82rem;
  color: var(--muted)
}

/* Sections */
.section {
  padding: 5rem 0
}

.section-heading {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 1rem
}

.section-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 3px
}

.section-heading.text-start::after {
  left: 0;
  transform: none
}

.img-frame{
    max-width:520px;
    margin:0 auto;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 19px 49px rgba(15,77,46,.2);
    border:6px solid #fff;
    outline:2px solid var(--gold);
}

.img-frame img{
    display:block;
    width:100%;
    height:auto;
}

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: #fff;
  padding: 3.6rem 0;
  position: relative;
  overflow: hidden
}

.page-hero::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 2px solid rgba(232, 199, 95, .3)
}

.page-hero::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 20px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 2px solid rgba(232, 199, 95, .2)
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem)
}

.page-hero .lead {
  color: #dbe7df
}

.breadcrumb {
  --bs-breadcrumb-divider-color: #9fb8a9;
  font-size: .88rem
}

.breadcrumb a {
  color: var(--gold-light);
  text-decoration: none
}

.breadcrumb-item.active {
  color: #fff
}

/* Cards */
.product-card {
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(15, 77, 46, .1);
  transition: transform .3s, box-shadow .3s
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(15, 77, 46, .2)
}

.card-img-wrap {
  overflow: hidden;
  background: var(--cream)
}

.card-img-wrap img {
  transition: transform .5s;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover
}

.product-card:hover .card-img-wrap img {
  transform: scale(1.08)
}

.product-card .card-body {
  padding: 1.4rem
}

.spec-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 700;
  font-size: .78rem;
  padding: .35rem .7rem;
  border-radius: 20px;
  border: 1px solid rgba(15, 77, 46, .15)
}

.feature-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.8rem;
  border: 1px solid #edf0ea;
  box-shadow: 0 4px 18px rgba(15, 77, 46, .06);
  transition: all .3s;
  border-top: 3px solid transparent
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(15, 77, 46, .14);
  border-top-color: var(--gold)
}

.icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--green);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 0 0 5px var(--green-soft)
}

.step-circle {
  width: 56px;
  height: 56px;
  margin: auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #2a2200;
  font-weight: 800;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif
}

/* Lists, tables */
.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0
}

.check-list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: .55rem
}

.check-list li::before {
  content: "\F26A";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 1.1rem
}

.spec-table {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(15, 77, 46, .08);
  margin-bottom: .8rem
}

.spec-table th {
  width: 36%;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 600;
  padding: .85rem 1rem
}

.spec-table td {
  padding: .85rem 1rem
}

.pack-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid #edf0ea;
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  margin-bottom: .8rem;
  background: #fff;
  transition: transform .25s, box-shadow .25s
}

.pack-item:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 20px rgba(15, 77, 46, .1)
}

.pack-item i {
  font-size: 1.6rem;
  color: var(--green)
}

.notice-box {
  background: #fff8e1;
  border: 1px solid #ecd58a;
  border-left: 4px solid var(--gold);
  padding: 1rem 1.2rem;
  border-radius: 10px;
  font-size: .92rem;
  color: #5a4a10
}

/* CTA */
.cta-banner {
  background: linear-gradient(135deg, rgba(10, 54, 34, .97), rgba(15, 77, 46, .93));
  color: #fff;
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden
}

.cta-banner::before {
  content: "";
  position: absolute;
  left: -90px;
  bottom: -110px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 2px solid rgba(232, 199, 95, .25)
}

.cta-banner h2 {
  color: #fff
}

.cta-banner p {
  color: #d4e2d9
}

/* Contact */
.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.3rem
}

.contact-item>i {
  flex: 0 0 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem
}

.contact-item strong {
  display: block;
  color: var(--green)
}

.contact-item span {
  color: var(--muted)
}

.contact-item a {
  text-decoration: none;
  color: var(--muted)
}

.contact-item a:hover {
  color: var(--gold)
}

.map-frame {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 77, 46, .15);
  border: 3px solid #fff;
  outline: 1px solid #e3e8e1
}

.form-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.2rem;
  box-shadow: 0 14px 40px rgba(15, 77, 46, .13);
  border-top: 5px solid var(--gold)
}

.form-label {
  font-weight: 600;
  font-size: .88rem;
  color: var(--green)
}

.form-control,
.form-select {
  border-radius: 8px;
  padding: .65rem .9rem;
  border-color: #d9dfd6
}

.form-control:focus,
.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 .2rem rgba(201, 162, 39, .2)
}

.modal-header {
  background: var(--green);
  color: #fff
}

.modal-title {
  font-family: 'Playfair Display', serif;
  color: #fff
}

.modal-content {
  border: 0;
  border-radius: 14px;
  overflow: hidden
}

/* Footer */
.site-footer {
  background: var(--green-dark);
  color: #e6eee8
}

.footer-logo {
  height: 62px;
  width: auto
}

.footer-title {
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .82rem;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif
}

.footer-links li {
  margin-bottom: .5rem
}

.footer-links a,
.footer-contact a {
  color: #d4e2d9;
  text-decoration: none;
  transition: color .2s, padding .2s
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--gold-light);
  padding-left: 4px
}

.footer-contact li {
  display: flex;
  gap: .7rem;
  margin-bottom: .8rem
}

.footer-contact i {
  color: var(--gold-light);
  margin-top: .2rem
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: rgba(0, 0, 0, .18)
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: #2a2200;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  z-index: 1040
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto
}

.back-to-top:hover {
  transform: translateY(-3px);
  color: #000
}

/* Scroll reveal (only when JS is on) */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease
}

.js .reveal.show {
  opacity: 1;
  transform: none
}

@media(prefers-reduced-motion:reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none
  }

  html {
    scroll-behavior: auto
  }
}

@media(max-width:767.98px) {
  .section {
    padding: 3.5rem 0
  }

  .hero {
    padding: 4.5rem 0 6rem
  }

  .hl {
    border-right: 0;
    border-bottom: 1px solid #eef0ec
  }

  /* Enquiry Modal Improvements */

.modal-dialog {
    max-width: 950px;
    margin: 15px auto;
}

.modal-content {
    max-height: calc(100vh - 30px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-body {
    overflow-y: auto;
    max-height: calc(100vh - 130px);
    padding: 25px 22px;
}

/* Message / Requirements textarea */

.modal-body textarea {
    width: 100%;
    min-height: 140px;
    resize: vertical;
    padding: 12px 15px;
}

/* Form spacing */

.modal-body .mb-3 {
    margin-bottom: 18px !important;
}

  .form-card {
    padding: 1.5rem
  }
}

/* Product enquiry modal: keep the form inside the viewport on desktop and mobile */
#inquiryModal .modal-dialog {
    width: calc(100% - 2rem);
    max-width: 950px;
    margin: 1rem auto;
}

#inquiryModal .modal-content {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 2rem);
    max-height: calc(100dvh - 2rem);
    overflow: hidden;
}

#inquiryModal form {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

#inquiryModal .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    padding: 1.25rem 1.35rem;
}

#inquiryModal .modal-footer {
    flex-shrink: 0;
    padding: .85rem 1.35rem;
    background: #fff;
}

#inquiryModal #inqMsg {
    display: block;
    width: 100%;
    min-height: 160px;
    resize: vertical;
    padding: .75rem .9rem;
}

@media (max-width: 767.98px) {
    #inquiryModal .modal-dialog {
        width: auto;
        max-width: none;
        margin: .5rem;
    }

    #inquiryModal .modal-content {
        max-height: calc(100vh - 1rem);
        max-height: calc(100dvh - 1rem);
    }

    #inquiryModal .modal-body {
        padding: 1rem;
    }

    #inquiryModal #inqMsg {
        min-height: 140px;
    }
}
