/* Remove default margins and set a clean base font */
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #ffffff; /* Page background set to yellow */
}

/* Style the top navigation bar */
.topnav {
  overflow: hidden; 
  background-color: #000000; /* Keep black for contrast */
}

/* Style links inside the navigation bar */
.topnav a {
  float: left; 
  color: #f2f2f2; 
  text-align: center;
  padding: 14px 16px; 
  text-decoration: none; 
  font-size: 32px; 
}

/* Change color when hovering over links */
.topnav a:hover {
  background-color: #020202; 
  color: rgb(237, 230, 230); 
}

/* Active (current page) link style */
.topnav a.active {
  background-color: #000000;
  color: white;
}

/* Style for search input in the navbar */
.topnav input[type=text] {
  float: right; 
  padding: 6px;
  border: none;
  margin-top: 8px;
  margin-right: 16px;
  font-size: 17px;
}

/* Add a border to all images */
img {
  border: 5px solid #278b27;
}

/* Container for social media icons */
.social-icons {
  margin-top: 10px;
}

/* Style for each social media icon link */
.social-icons a {
  color: white;
  margin: 0 10px;
  font-size: 20px;
  text-decoration: none;
  transition: color 0.3s; 
}

/* Change icon color when hovered */
.social-icons a:hover {
  color: #c5c4c1;
}

/* ============================
   Multicolumn Footer Styles
   ============================ */

.suitable-footer {
  background-color: #f8f8f8; /* Light background for contrast */
  padding: 40px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #333;
}

/* Style for each column inside the footer */
.footer-column {
  flex: 1 1 200px; /* Flex grow, shrink, basis for responsiveness */
  margin: 10px;
}

/* Style for the column headings */
.footer-column h4 {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 16px;
}

/* Style for links inside the columns */
.suitable-footer a {
  display: block;
  color: #555;
  text-decoration: none;
  margin-bottom: 8px;
}

/* Hover effect for links */
.suitable-footer a:hover {
  color: #000;
}

/* Style for the country/language info at the bottom */
.footer-info {
  flex: 1 1 100%;
  text-align: right;
  font-size: 12px;
  margin-top: 20px;
  padding: 0 20px;
  color: #777;
}

/* Horizontal scrollable image container */
div.scroll-container {
  background-color: #ffffff; /* White background */
  overflow: auto; 
  white-space: nowrap; 
  padding: 10px;
}

/* Add spacing around each image in scroll container */
div.scroll-container img {
  padding: 10px;
}

/* HERO SECTION (main banner) */
.hero {
  height: 70vh; 
  display: flex; 
  justify-content: center;
  align-items: center;
  text-align: center;
  background: url("nature_facts_1600x.webp") no-repeat center center/cover; 
  position: relative;
  background-color: #a3a8a4; /* Fallback color */
}

/* Hero title styling */
.hero h1 {
  font-size: 3rem;
  color: white;
  background: rgba(0,0,0,0.5);
  padding: 10px 20px;
  border-radius: 10px;
}

/* PRODUCTS SECTION */
.products {
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 2rem; 
  padding: 3rem 5%;
}

/* Individual product card */
.product {
  border: 1px solid #eee; 
  padding: 1rem;
  text-align: center;
  border-radius: 10px;
  transition: 0.3s; 
  background-color: #000000; /* Black background for contrast */
}

/* Hover effect for product cards */
.product:hover {
  transform: scale(1.03); 
  box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
}

/* Product images */
.product img {
  width: 100%; 
  height: 450px;
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Product title */
.product h3 {
  margin: 1rem 0;
  font-size: 1.2rem;
}

/* Buttons inside product cards */
.product .btn {
  display: inline-block;
  padding: 0.75rem 1.5rem; 
  background: #111; 
  color: #fff; 
  border-radius: 5px;
  text-decoration: none;
  text-align: center;
  transition: background 0.3s, transform 0.3s;
  font-size: 1rem;
  margin-top: 1rem;
}

/* Hover effect for product buttons */
.product .btn:hover {
  background: #1264b600; 
  transform: scale(1.05);
}

/* Contact form styling */
input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical; 
}

/* Submit button style */
input[type=submit] {
  background-color: #000000; 
  color: rgb(255, 255, 255);
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Darker green on hover */
input[type=submit]:hover {
  background-color: #ffffff;
}

/* Container for the form */
.container {
  border-radius: 5px;
  background-color: #f1f1fa; /* Light background */
  padding: 20px;
}

/* Main large button */
.btn {
  display: inline-block;
  background-color: #000000;
  color: white;
  text-decoration: none;
  font-size: 24px;
  padding: 15px 40px;
  border-radius: 10px;
  margin: 600px auto 0; 
  display: block;
  width: fit-content;
  transition: all 0.3s ease;
}

/* Hover effect for large button */
.btn:hover {
  background-color: #000000;
  transform: scale(1.05);
}

/* Centered title */
h1 {
  text-align: center;
  margin-top: 40px;
}

/* Map Section */
.map-container {
  display: flex;
  justify-content: center; 
  align-items: center; 
  height: 70vh; 
}

/* Embedded map styling */
.map-container iframe {
  width: 60%;
  height: 400px;
  border-radius: 10px; 
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); 
}

/* Responsive tweak for smaller screens */
@media (max-width: 768px) {
  .product img {
    height: 280px;
  }
}
.js-calendar {
  max-width: 320px;
  background: #111;
  color: #fff;
  padding: 1rem;
  border-radius: 20px;
  margin-top: 2rem;
}
 
.cal-header {
  display: flex;
  justify-content: space-between;
  align-items: upper;
  margin-bottom: 1rem;
}
 
.cal-header button {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.3rem;
  cursor: pointer;
}
 
.cal-days,
.cal-dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  gap: 6px;
}
 
.cal-days span {
  font-size: 0.75rem;
  opacity: 0.6;
}
 
.cal-date {
  padding: 8px 0;
  border-radius: 6px;
  cursor: pointer;
}
 
.cal-date:hover {
  background: #222;
}
 
.cal-date.today {
  background: #ff3333;
  font-weight: bold;
}
 
.cal-date.disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* =========================
   THE BAG – SAFE FIXES ONLY
   (Does NOT affect other pages)
========================= */
 
/* نقيّد كل شيء داخل صفحة The Bag */
.vault-section {
  padding: 2rem 5%;
}
 
/* عرض العناصر */
.vault-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
 
/* الكرت */
.vault-item {
  display: flex;
  gap: 2rem;
  background: #f5f5f5;
  border-radius: 16px;
  padding: 1.5rem;
  align-items: center;
}
 
/* الصور – فقط داخل The Bag */
.vault-item img {
  width: 220px;
  height: 260px;
  object-fit: cover;
}
 
/* النص */
.vault-info h2 {
  margin: 0 0 0.5rem;
}
 
.vault-info p {
  opacity: 0.7;
  margin-bottom: 0.5rem;
}
 
.vault-info .price {
  font-weight: bold;
}
 
/* زر Remove */
.remove-btn {
  margin-top: 1rem;
  background: transparent;
  border: 1px solid #000;
  padding: 6px 14px;
  cursor: pointer;
}
 
/* =========================
   THE BAG PAGE STYLES
   ========================= */
 
/* Page header */
.page-header {
  text-align: center;
  padding: 3rem 1rem 2rem;
}
 
.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
 
.page-header p {
  opacity: 0.7;
}
 
/* Vault section container */
.vault-section {
  padding: 2rem 5%;
}
 
/* Items container */
.vault-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
 
/* Individual item card */
.vault-item {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}
 
.vault-item:hover {
  transform: translateY(-6px);
}
 
/* Item image */
.vault-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border: none; /* remove green border */
}
 
/* Item info */
.vault-info {
  padding: 1.2rem;
  color: #1c1917;
}
 
.vault-info h2 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
 
.vault-info p {
  font-size: 0.9rem;
  opacity: 0.7;
}
 
/* Price */
.vault-info .price {
  display: block;
  font-weight: bold;
  margin-top: 0.5rem;
}
 
/* Remove button */
.remove-btn {
  margin-top: 1rem;
  background: none;
  border: 1px solid #7c2d12;
  color: #7c2d12;
  padding: 0.4rem 1rem;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.3s, color 0.3s;
}
 
.remove-btn:hover {
  background: #7c2d12;
  color: white;
}
 
/* Vault summary */
.vault-summary {
  max-width: 300px;
  margin: 3rem auto;
  padding: 2rem;
  background: #000000;
  color: white;
  border-radius: 16px;
  text-align: center;
  height: 200px;
}
 
.vault-summary h3 {
  margin-bottom: 1rem;
}
 
.vault-summary h2 {
  margin: 1rem 0;
}
 
/* Checkout button */
.checkout-btn {
  display: inline-block;
  background: #7c2d12;
  color: white;
  padding: 0.8rem 2.5rem;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.3s;
}
 
.checkout-btn:hover {
  transform: scale(1.05);
}
 .checkout-btn {
  align-self: center;
  padding: 12px 24px;
  background-color: #fffdfd;
  color: rgb(0, 0, 0);
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  
}
 
.checkout-btn:hover {
  background-color: #fffdfd;
}


/* Navigation */
.topnav {
  background: black;
  overflow: hidden;
}

.topnav a {
  float: left;
  color: white;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 18px;
}

/* Contact Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  padding: 2rem 5%;
  align-items: start;
}

/* Form */
#contactForm input,
#contactForm textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

#contactForm input[type="submit"] {
  background: black;
  color: white;
  cursor: pointer;
}

/* Layout */
.contact-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* Calendar */
.js-calendar {
  position: sticky;
  top: 120px;
  width: 300px;
  background: #1f1f1f;
  color: #fff;
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Header */
.cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.cal-header button {
  background: #333;
  border: none;
  color: white;
  font-size: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
}

.cal-header button:hover {
  background: #ff4d4d;
}

#calMonth {
  font-weight: bold;
}

/* Days */
.cal-days,
.cal-dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  text-align: center;
}

.cal-days {
  font-size: 12px;
  opacity: 0.7;
  margin-bottom: 6px;
}

/* Dates */
.cal-date {
  padding: 8px 0;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}

.cal-date:hover {
  background: #333;
}

.cal-date.today {
  background: #ff4d4d;
  font-weight: bold;
}

.cal-date.selected {
  background: #ffffff;
  color: #111;
  font-weight: bold;
}

.cal-date.disabled {
  opacity: 0.3;
  pointer-events: none;
}

.page-wrapper  {
max-width: 1100px;
margin: 60px auto;
padding: 40px;
background: #f7f7f7;
border-radius: 24px;
box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
body {
    background-color: white;
    color: black;
}

body.dark-mode {
    background-color: #121212;
    color: white;
}

body.dark-mode header {
    background-color: #1e1e1e;
}
/* =========================
   DARK MODE (FINAL FIX)
========================= */

body.dark-mode {
    background-color: #121212;
    color: #ffffff;
}

/* Navbar */
body.dark-mode .topnav {
    background-color: #1e1e1e;
}

/* الروابط */
body.dark-mode a {
    color: #ffffff;
}

/* المنتجات */
body.dark-mode .product {
    background-color: #2a2a2a;
    color: #ffffff;
}

/* الفوتر */
body.dark-mode .suitable-footer {
    background-color: #1a1a1a;
    color: #ffffff;
}

/* الفورم */
body.dark-mode .container {
    background-color: #2a2a2a;
}

/* الكالندر */
body.dark-mode .js-calendar {
    background: #111;
}

/* الأزرار */
body.dark-mode .btn,
body.dark-mode input[type=submit] {
    background-color: #333;
    color: #fff;
}
body.dark-mode {
    background-color: #121212 !important;
    color: #ffffff !important;
}

/* navbar */
body.dark-mode .topnav {
    background-color: #1e1e1e !important;
}

/* cards */
body.dark-mode .product,
body.dark-mode .vault-item {
    background-color: #2a2a2a !important;
    color: white !important;
}

/* sections */
body.dark-mode .container,
body.dark-mode .page-wrapper {
    background-color: #1a1a1a !important;
}