/* =========================
   GLOBAL STYLES
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
}

body {
  background: #fff;
  color: #222;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

p {font-size: 0.9rem; }

/* =========================
   HEADER
========================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: rgba(245, 245, 245, 0.95);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  z-index: 1000;
}

.header.scrolled {
  background-color: rgba(255,255,255,0.8);
}

.logo {
  font-weight: 700;
  color: #d6001c;
  font-size: 20px;
}

.logo span {
  font-size: 10px;
  vertical-align: top;
}

.menu-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* =========================
   SIDE MENU
========================= */
.side-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 45%;
  height: 100%;
  background-color: rgba(255,255,255,0.9);
  box-shadow: -4px 0 15px rgba(0,0,0,0.2);
  padding: 80px 60px;
  transition: right 0.5s ease;
  overflow-y: auto;
  z-index: 2000;
}

.side-menu.open {
  right: 0;
}

.close-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 2rem;
  cursor: pointer;
  color: #777;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #d6001c;
}

/* -------------------------
   MENU LINKS
------------------------- */
.menu-content h3 {
  font-size: 1.4rem;
  margin: 18px 0;
  color: #333;
  font-weight: 500;
}

.menu-content h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.menu-content h3 a:hover {
  color: #d6001c;
}

/* -------------------------
   DROPDOWN INSIDE SIDEMENU
------------------------- */
.side-menu .dropdown {
  margin-top: 1px;
}
.side-menu .dropdown h3 {
  display: flex;
  align-items: center;
  justify-content: center;
}
.side-menu .dropdown-toggle {
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
  color: #333;
  position: relative;
  transition: color 0.3s ease;
}

.side-menu .dropdown-toggle::after {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.side-menu .dropdown-toggle.rotated::after {
  transform: rotate(180deg);
}

.side-menu .dropdown-menu {
  position: static !important;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  border-radius: 12px;
  margin-top: 0.5rem;
  width: 100%;
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
  padding: 10px 0;
  transform: none !important;
  display: none;
}

.side-menu .dropdown-menu.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

.side-menu .dropdown-item {
  font-size: 1rem;
  color: #333;
  text-align: center;
  transition: all 0.3s ease;
  border-radius: 6px;
}

.side-menu .dropdown-item a:hover {
  background-color: #d6001c;
  color: #fff;
  padding-left: 0;
}

.side-menu .dropdown-toggle:hover {
  color: #d6001c;
}

.active a {
    color: #0d6efd;
    font-weight: bold;
}
/* =========================
   ANIMATIONS
========================= */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================
   HERO SECTION
========================= */
.hero {
  margin-top: 70px;
}

.hero-content {
  text-align: left;
  color: #333;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 30px;
}

.hero-btn {
  display: inline-block;
  background: #fff;
  color: #2e2e2e;
  padding: 12px 25px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  background: #333;
  color: #fff;
}

/* =========================
   INFO SECTION
========================= */
.info {
  /* Add info section styles */
}

/* =========================
   ECOVADIS SECTION
========================= */
.ecovadis {
  background: linear-gradient(135deg, #caa74b, #e0c066);
  color: white;
}

/* =========================
   BUSINESS SECTION
========================= */
.business-section {
  /* Add business styles */
}

/* =========================
   GLOBAL SECTION
========================= */
.global-section {
  /* Add global section styles */
}

/* =========================
   COMMITMENT SECTION
========================= */
.commitment-section {
  /* Add commitment section styles */
}

/* =========================
   CONTACT SECTION
========================= */
.contact-section {
  width: 100%;
  background-color: #3B4E5D;
  padding: 50px;
  color: #fff;
}

/* =========================
   FULFILLMENT SECTION
========================= */
.fulfillment {
  /* Add fulfillment styles */
}

.fulfillment h1 {
  font-size: 3rem;
  margin-bottom: 25px;
}

.top-divider,
.bottom-divider {
  border-top: 1px solid #000;
  opacity: 0.7;
}

.top-divider {
  margin-bottom: 30px;
}

.bottom-divider {
  margin-top: 30px;
  margin-bottom: 40px;
}

.intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
  max-width: 1100px;
}

/* =========================
   ARROW ICONS
========================= */
.arrow {
  display: flex;
  justify-content: flex-end;
  margin-top: 5px;
  font-size: 22px;
  color: #000;
  transition: transform 0.3s ease;
}

.arrow:hover {
  transform: translateX(8px);
}

.arrow svg {
  width: 34px;
  height: 34px;
  stroke: #000;
  transition: all 0.3s ease;
}

/* =========================
   OUTING SECTION
========================= */
.outing-section { }
.outing-text { }

/* =========================
   SUSTAINABILITY HERO
========================= */
.sustainability { }

.sustainability-info {
  background: #8bc272;
  color: #fff;
  padding: 50px;
}

.sustainability-info p {
  margin-bottom: 20px;
  font-size: 1rem;
}

/* =========================
   AMFORI MEMBERSHIP
========================= */
.amfori-box {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.amfori-box img {
  width: 300px;
  height: auto;
}

/* =========================
   CAREER SECTION
========================= */
.career-section {
  position: relative;
  min-height: 700px;
  overflow: hidden;
}

.overlay-box {
  background: rgba(255,255,255,0.85);
  color: #111;
  width: 400px;
  max-width: 90%;
  backdrop-filter: blur(5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  padding: 30px;
}

.overlay-box h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.overlay-box p {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

/* ================================
   Raw Material Sustainable SECTION
=================================== */
.raw-material-sustainable ul li {font-size:14px; line-height: 10px;}

/* =========================
   Raw Material SECTION
========================= */
.raw-material-section {}


/* =========================
   Certified SECTION
========================= */
.certified-section {}

/* =========================
   Production SECTION
========================= */
.production-section p {font-size:16px;}

/* =========================
   Sustainable Production SECTION
========================= */
.sustainable-production ul li {font-size:12px; line-height: 10px;}

/* =========================
   Logistics SECTION
========================= */
.logistics-section {}

/* =========================
   FOOTER
========================= */
.footer { }

/* =========================
   SCROLL TO TOP BUTTON
========================= */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 40px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #e2001a;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.3s ease;
  z-index: 3000;
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
}

#scrollTopBtn:hover {
  background-color: #b00014;
  transform: scale(1.1);
}

#mainImage {
    transition: transform 0.3s ease;
}

#mainImage.zoomed {
    transform: scale(2); /* zoom factor */
    cursor: zoom-out;
}
.glightbox-clean .gclose {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 999999 !important;
}

.image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 640 / 992; /* maintains correct height automatically */
    overflow: hidden;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* fill the box nicely */
    opacity: 0;
    transition: opacity .6s ease;
}

.slide-img.active {
    opacity: 1;
}

/* Active subcategory accent */
.btn-outline-secondary.active {
    background-color: #e9ecef;
    color: #000;
}

/* =========================
   RESPONSIVE DESIGN
========================= */
@media (max-width: 992px) {
  .side-menu { width: 100%; padding: 80px 30px; }
  .hero-content h1 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
  .header { padding: 0 20px; }
  .footer { flex-direction: column; text-align: center; }
  .contact-section { padding: 60px 25px; }
}

@media (max-width: 576px) {
  /* SIDE MENU */
  .side-menu {
    width: 100%;
    padding: 100px 20px;
  }
  .menu-content h3 { font-size: 1.2rem; }
  .side-menu .dropdown-toggle { font-size: 1.2rem; }
  .side-menu .dropdown-item { font-size: 1rem; padding: 8px 18px; }

  /* HERO SECTION */
  .hero img {
    min-height: 300px;
  }

  .hero h1 {
    font-size: 1.4rem; /* smaller font */
  }
  
  /* Ecovadis Section SECTION */
  .ecovadis h2 {font-size: 1.2rem;}
  .ecovadis h5 {font-size: 1.2rem;}
  .ecovadis p {font-size: 1rem;}
  
   /* Business Section SECTION */
   .business-section img {min-height: 300px;}
   .business-section h1 {font-size: 1.2rem; margin-top: -25%;}
   
  /* Commitment Section SECTION */
  .commitment-section h2 {font-size: 1.5rem;}
  .commitment-section h5 {font-size: 1.5rem;}
  .commitment-section p {font-size: 1rem;}
  
  /* Global Section SECTION */
  .global-section {}
  .global-section img {width: 100%;}
  .global-section h1 {font-size: 1rem;}
  .global-section p {display: none;}
  
  .contact-section {margin-top: 0px;}
  
  /* Fulfillment SECTION */
  .fulfillment h1 {font-size: 1.8rem;}

  /* SUSTAINABILITY SECTION */
  .sustainability img {
    min-height: 300px; /* reduce overall padding */
  }

  .hero-content h1 {
    font-size: 1.5rem;
    margin-bottom: 5px;
  }

  .hero-btn {
    font-size: 0.8rem;
    padding: 8px 18px;
  }
  
  /* CAREER SECTION */
  .career-section {
    min-height: 500px; /* reduce height for mobile */
    padding: 20px 10px;
  }

  .career-section h2 { font-size: 1.4rem; }
  .career-section p { font-size: 0.85rem; }

  /* FOOTER */
  .footer { padding: 15px; text-align: center; }

  /* SCROLL TO TOP BUTTON */
  #scrollTopBtn {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}


