* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #FAF7F0;
  color: #1F2933;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

.site-header {
  background: #FFFFFF;
  border-bottom: 1px solid #E5E7EB;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 18px 0;
}

.logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 20px;
}

.main-nav a {
  margin-left: 18px;
  text-decoration: none;
  color: #1F2933;
  font-weight: 500;
}

.hero {
  background: #E8C547;
  padding: 70px 0;
  text-align: center;
}

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 42px;
}

.hero p {
  max-width: 640px;
  margin: auto;
  font-size: 18px;
}

.content-section {
  padding: 60px 0;
}

.content-section.alt {
  background: #FFFFFF;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.card h3 {
  font-family: 'Poppins', sans-serif;
}

.btn {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 18px;
  background: #D97706;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
}

.site-footer {
  background: #FFFFFF;
  border-top: 1px solid #E5E7EB;
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.site-footer nav a {
  margin-left: 16px;
  text-decoration: none;
  color: #6B7280;
}



/* Overlay OLD STYLES - Commented out to prefer new .cookie-overlay styles
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.overlay-box {
  background: #FFFFFF;
  padding: 40px 32px;
  border-radius: 16px;
  max-width: 420px;
  width: 90%;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transform: scale(1) translateZ(0);
  transition: transform 0.3s ease;
  will-change: transform;
}

.overlay.hidden .overlay-box {
  transform: scale(0.95) translateZ(0);
}

.overlay-box h3 {
  font-family: 'Poppins', sans-serif;
  margin-bottom: 12px;
  font-size: 24px;
  color: #1F2933;
}

.overlay-box p {
  margin-bottom: 28px;
  line-height: 1.6;
  color: #52606D;
}

.overlay-box .btn {
  cursor: pointer;
  border: none;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  margin: 8px 6px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.overlay-box .btn:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.overlay-box input[type="email"] {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  font-size: 14px;
}

.overlay-box button[type="submit"] {
  width: 100%;
  padding: 10px;
  background: #D97706;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

.overlay-close {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
  color: #6B7280;
}
*/

/* Mobile tweaks */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .main-nav a {
    margin: 8px 10px;
    display: inline-block;
  }
}

/* NEW OVERLAY STYLES */
.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9999;
  animation: fadeInBackground 0.5s ease-out forwards;
}

/* Ensure hidden state works with JS toggling */
.cookie-overlay.hidden {
  display: none !important;
}

@keyframes fadeInBackground {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.cookie-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  border: none;
  color: #333;
  padding: 30px;
  border-radius: 10px;
  z-index: 10000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  max-width: 400px;
  width: 90%;
  text-align: center;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  color: #888;
}

.btn-primary {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 15px;
  display: inline-block;
  text-decoration: none;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #0056b3;
}

.cookie-popup h3 {
  font-family: Arial, sans-serif;
  margin-bottom: 10px;
}

.cookie-popup p {
  font-family: Arial, sans-serif;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .cookie-popup {
    width: 95%;
    padding: 24px 20px;
    max-width: none;
  }

  .cookie-popup h3 {
    font-size: 1.25rem;
    margin-top: 10px;
  }

  .close-btn {
    top: 5px;
    right: 5px;
    padding: 10px;
    /* Increase hit area */
  }
}