/* RESET & BASE TYPOGRAPHY */
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #2e2e2e;
  background: #fffdf7;
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
a {
  color: #194f7f;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
a:hover {
  color: #f09a36;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}


/* BRAND COLORS & FONTS */
:root {
  --primary: #194f7f;
  --secondary: #ffe07b;
  --accent: #ffffff;
  --text-dark: #2e2e2e;
  --text-light: #ffffff;
  --bg-light: #fffdf7;
  --bg-warm: #fff7e1;
  --brand-orange: #f09a36;
  --shadow: 0 2px 10px rgba(40,40,40,0.09);
  --radius-large: 24px;
  --radius-small: 10px;
  --transition: 0.2s cubic-bezier(.45,1.54,.41,.95);
  --box-gap: 24px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 { font-size: 2.7rem; line-height: 1.1; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.35rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { margin-bottom: 14px; font-size: 1rem; }

label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 4px;
}


/* CONTAINER & SPACING */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.section, section:not(.hero) {
  background: var(--bg-light);
  border-radius: var(--radius-large);
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: var(--shadow);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-container, .feature-grid, .team-grid, .idea-card-grid, .activity-summaries, .tip-cards, .blog-card-grid, .idea-list, .weather-display, .testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card, .feature-block, .team-member, .idea-card, .activity-summary, .tip-card, .blog-card, .idea-item, .testimonial-card {
  background: var(--bg-warm);
  box-shadow: var(--shadow);
  border-radius: var(--radius-small);
  padding: 24px 20px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section:last-child { margin-bottom: 0; }


/* BUTTONS & CALL TO ACTIONS */
.cta-btn, .favorite-btn, .newsletter-signup button, .contactform button, .idea-card button, .cookie-banner button, .cookie-modal button {
  appearance: none;
  background: var(--primary);
  color: var(--accent);
  border: none;
  border-radius: var(--radius-small);
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  margin-top: 8px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(25, 79, 127, 0.08);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.cta-btn:hover, .favorite-btn:hover, .newsletter-signup button:hover, .contactform button:hover, .cookie-banner button:hover, .cookie-modal button:hover {
  background: var(--brand-orange);
  color: var(--text-light);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 3px 18px rgba(25, 79, 127, 0.15);
}
.favorite-btn {
  background: var(--secondary);
  color: var(--primary);
  font-size: 0.95rem;
  padding: 10px 20px;
  margin-top: 10px;
  transition: background var(--transition), color var(--transition);
}
.favorite-btn:hover {
  background: var(--primary);
  color: #fff;
}
.read-more {
  font-weight: bold;
  background: none;
  color: var(--brand-orange);
  padding: 0;
  margin-top: 8px;
  transition: color var(--transition);
}
.read-more:hover {
  color: var(--primary);
  text-decoration: underline;
}


/* HEADER & NAVIGATION */
header {
  background: var(--secondary);
  width: 100%;
  box-shadow: 0 2px 16px rgba(25,79,127,0.04);
  padding: 0;
}
.logo img {
  height: 42px;
  margin-right: 16px;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 14px 20px;
  gap: 20px;
  min-height: 68px;
}
.main-nav {
  display: flex;
  gap: 20px;
}
.main-nav a {
  font-family: var(--font-body);
  font-size: 1.08rem;
  color: var(--primary);
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 7px;
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover, .main-nav a:active {
  background: var(--brand-orange);
  color: var(--accent);
}
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: var(--accent);
  border-radius: 10px;
  font-size: 2.1rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  z-index: 103;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--brand-orange);
}


/* MOBILE SLIDE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(25, 79, 127, 0.96);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.45,1.54,.41,.95);
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--secondary);
  font-size: 2rem;
  margin: 28px 0 20px 22px;
  border: none;
  cursor: pointer;
  z-index: 210;
  align-self: flex-start;
  transition: color 0.17s;
}
.mobile-menu-close:hover {
  color: var(--brand-orange);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  align-items: flex-start;
  padding: 8px 36px;
  margin-top: 18px;
}
.mobile-nav a {
  color: var(--secondary);
  font-size: 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 10px 0;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
  width: 100%;
  display: block;
}
.mobile-nav a:hover {
  background: var(--brand-orange);
  color: var(--accent);
}
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu { display: none !important; }
}

/* HERO SECTIONS */
.hero {
  background: linear-gradient(120deg, #ffe07b 0%, #fff7ec 100%);
  border-radius: var(--radius-large);
  padding: 48px 0 40px 0;
  margin-bottom: 40px;
  box-shadow: var(--shadow);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 2.4rem;
  margin-bottom: 8px;
}
.hero p {
  color: #835c00;
  font-size: 1.18rem;
}

/* CARDS & BLOCKS */
.card, .feature-block, .team-member, .idea-card, .activity-summary, .tip-card, .blog-card, .idea-item {
  transition: box-shadow 0.23s, transform 0.23s;
}
.card:hover, .feature-block:hover, .idea-card:hover, .blog-card:hover, .tip-card:hover, .team-member:hover {
  box-shadow: 0 6px 24px rgba(25,79,127,0.10);
  transform: scale(1.025) translateY(-3px);
}

/* FEATURES, TEAM, SERVICES, etc */
.feature-block {
  flex: 1 1 264px;
  min-width: 243px;
  background: #fffbe7;
  align-items: flex-start;
  text-align: left;
}
.feature-block img {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.team-member {
  flex: 1 1 220px;
  background: #fffbe7;
  align-items: flex-start;
  min-width: 195px;
}
.vision-statement {
  background: #fff4bf;
  border-radius: var(--radius-small);
  padding: 20px 14px;
  margin-top: 20px;
}

/* TESTIMONIALS */
.testimonials {
  background: #fff4bf;
  border-radius: var(--radius-large);
  margin-bottom: 60px;
  padding: 40px 0;
  box-shadow: var(--shadow);
}
.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  justify-content: center;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background: #fffdfc;
  color: #2e2e2e;
  border-radius: var(--radius-small);
  box-shadow: 0 4px 18px rgba(25,79,127,0.10);
  max-width: 350px;
  min-width: 245px;
  padding: 20px 22px 20px 22px;
  gap: 20px;
  margin-bottom: 20px;
}
.testimonial-rating {
  display: flex;
  gap: 5px;
  margin-bottom: 4px;
}
.testimonial-rating img {
  height: 20px;
}
.testimonial-author {
  font-family: var(--font-body);
  color: #b0832b;
  margin-top: 6px;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* IDEA FILTER NAV & TABS */
.idea-filter-nav, .category-tabs, .tags-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 1.05rem;
}
.idea-filter-nav span { font-weight: 600; margin-right: 7px; }
.category-tabs a, .idea-filter-nav a, .tags-nav a {
  background: #ffe07b;
  border-radius: var(--radius-small);
  padding: 8px 20px;
  margin-right: 6px;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  font-family: var(--font-body);
  transition: background var(--transition), color var(--transition);
}
.category-tabs a:hover, .idea-filter-nav a:hover, .tags-nav a:hover {
  background: var(--brand-orange);
  color: var(--accent);
}

/* MAP PREVIEW */
.map-preview {
  margin-top: 32px;
  background: #fffbe7;
  border-radius: var(--radius-small);
  padding: 18px 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.map-preview img {
  border-radius: 14px;
  max-width: 240px;
  margin-top: 8px;
}

/* DOWNLOAD SECTION */
.download-section {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
}
.download-section img {
  width: 54px;
  height: 54px;
}

/* QUICK ACCESS LINKS */
.quick-access {
  margin-top: 15px;
  font-size: 1rem;
  text-align: center;
}
.quick-access a {
  color: var(--primary);
  font-weight: 500;
  margin: 0 7px;
  text-decoration: underline;
  transition: color 0.18s;
}
.quick-access a:hover { color: var(--brand-orange); }

/* NEWSLETTER SIGNUP */
.newsletter-signup .content-wrapper {
  flex-direction: row;
  gap: 28px;
  flex-wrap: wrap;
}
.newsletter-benefits, .newsletter-form {
  flex: 1 1 235px;
  background: #fffbe7;
  border-radius: var(--radius-small);
  padding: 18px 16px;
}
.newsletter-form form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.newsletter-form input[type="email"] {
  border-radius: 7px;
  border: 1px solid #e5e2ce;
  padding: 10px 12px;
  font-size: 1.08rem;
  transition: border-color var(--transition);
}
.newsletter-form input[type="email"]:focus {
  border-color: var(--primary);
  outline: none;
}
.newsletter-form button {
  margin-top: 10px;
}

/* FORMS */
form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
input[type="text"], input[type="email"], textarea {
  font-size: 1rem;
  border-radius: 7px;
  border: 1px solid #e2e0cb;
  padding: 11px 12px;
  color: #222;
  font-family: var(--font-body);
  transition: border-color var(--transition);
  background: #fff;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: var(--primary);
  outline: none;
}
textarea {
  resize: vertical;
  min-height: 80px;
}
form button[type="submit"] {
  margin-left: 0;
  margin-top: 4px;
}

/* INFO BOXES */
.info-box {
  background: #fffbe7;
  border-left: 5px solid var(--brand-orange);
  padding: 18px 20px;
  border-radius: var(--radius-small);
  color: var(--primary);
  margin-top: 16px;
}

/* FOOTER */
footer {
  background: var(--primary);
  padding: 0;
  color: var(--accent);
  margin-top: 55px;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 34px 20px 28px 20px;
}
.footer-logo img {
  height: 40px;
  border-radius: 13px;
  background: var(--secondary);
  padding: 4px 7px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: var(--secondary);
  font-size: 1rem;
  font-family: var(--font-body);
  padding: 5px 0;
  border-radius: 6px;
  transition: background 0.15s, color 0.18s;
}
.footer-nav a:hover { background: var(--brand-orange); color: var(--accent); }
.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.98rem;
  color: #fffde0;
}
.footer-contact-details img { width: 17px; vertical-align: middle; margin-right: 6px; }
.footer-contact-details a { color: #fffde0; text-decoration: underline; transition: color .15s; }
.footer-contact-details a:hover { color: #ffe07b; }
.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}
.footer-social a img { background: #fff; border-radius: 100%; padding: 5px; width: 28px; transition: background 0.17s; }
.footer-social a:hover img { background: var(--brand-orange); }


/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 500;
  background: #fff8de;
  color: #443c03;
  box-shadow: 0 -2px 22px rgba(25,79,127,0.13);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  font-size: 1rem;
  border-radius: 30px 30px 0 0;
  gap: 16px;
  animation: cookieBannerIn 0.43s cubic-bezier(.45,1.54,.41,.95);
}
@keyframes cookieBannerIn {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 1 1 195px;
  margin-right: 20px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  font-size: 1rem;
  padding: 10px 20px;
}
.cookie-banner .settings-btn { background: var(--brand-orange); color: var(--accent); }
.cookie-banner .settings-btn:hover { background: var(--primary); }

.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(25,79,127,0.66);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 900;
  animation: fadeIn 0.34s cubic-bezier(.45,1.54,.41,.95);
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal .modal-content {
  background: #fffbe8;
  border-radius: var(--radius-large);
  box-shadow: 0 6px 22px rgba(25,79,127,0.15);
  padding: 40px 28px;
  max-width: 390px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: modalIn 0.40s cubic-bezier(.45,1.54,.41,.95);
}
@keyframes modalIn {
  from { transform: translateY(70px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 14px;
  background: none;
  font-size: 1.6rem;
  color: var(--primary);
  border: none;
  cursor: pointer;
  z-index: 4;
}
.cookie-modal h3 {
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 9px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 2px;
  font-size: 1.04rem;
}
.cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--brand-orange);
  border-radius: 5px;
  border: 1px solid var(--primary);
}
.cookie-category label {
  margin-left: 3px;
}
.cookie-category.essential label {
  font-weight: 600;
  color: #b0832b;
}

/* ----------------------------------------------------------
RESPONSIVENESS – MOBILE FIRST
---------------------------------------------------------- */
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  .footer-wrapper { flex-direction: column; gap: 30px; align-items: flex-start; }
  .newsletter-signup .content-wrapper { flex-direction: column; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .hero { padding: 34px 0 24px 0; }
  .section, section:not(.hero) { padding: 28px 7px; margin-bottom: 38px; }
  .content-wrapper, .card-container, .feature-grid, .idea-card-grid, .activity-summaries, .tip-cards, .blog-card-grid, .idea-list, .weather-display, .testimonials-slider { gap: 14px; }
  .testimonials-slider { justify-content: flex-start; }
  .footer-wrapper { flex-direction: column; gap: 20px; padding: 22px 10px 18px 10px; }
  .download-section {
    flex-direction: column;
    gap: 7px;
    align-items: flex-start;
  }
  .map-preview img { max-width: 140px; }
  .newsletter-benefits, .newsletter-form { padding: 11px 7px; }
}
@media (max-width: 660px) {
  .content-wrapper, .card-container, .feature-grid, .idea-card-grid, .activity-summaries, .tip-cards, .blog-card-grid, .idea-list, .weather-display, .testimonials-slider {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .newsletter-signup .content-wrapper { flex-direction: column !important; }
  .download-section { align-items: flex-start; gap: 8px; }
  .footer-wrapper { flex-direction: column; gap: 9px; }
}
@media (max-width: 530px) {
  .cookie-banner { flex-direction: column; align-items: stretch; padding: 21px 11px; font-size: 0.97rem; gap: 8px; }
  .cookie-banner .cookie-buttons { flex-direction: column; gap: 10px; }
}

/* FLEXBOX UTILITY CLASSES (if manually applied) */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 18px; }
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}


/* MISC COMPONENTS */
.confirmation .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
}
.privacy-policy .content-wrapper, .terms .content-wrapper {
  background: #fffbe7;
  border-radius: var(--radius-small);
  padding: 20px 18px;
  margin-top: 13px;
  color: var(--primary);
  font-size: 1.09rem;
}
.privacy-policy .content-wrapper ul, .terms .content-wrapper ul {
  margin-bottom: 8px;
}


/* SMOOTH INTERACTIONS */
button, .cta-btn, .favorite-btn, input, textarea, select {
  outline: none;
  transition: box-shadow .17s, border-color .17s, background .17s, color .17s;
}
input:focus, textarea:focus, select:focus {
  box-shadow: 0 0 0 2px var(--secondary);
}
a:active, button:active {
  opacity: 0.90;
}


/* ACCESSIBILITY: FOCUS STATES */
.main-nav a:focus, .footer-nav a:focus, .cta-btn:focus, .blog-card a:focus, .idea-card button:focus, .favorite-btn:focus {
  outline: 2px solid var(--brand-orange);
  outline-offset: 2px;
}

/* Hide visually without display:none for accessibility */
.sr-only {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Prevent button/element overlap & ensure clarity */
.card, .feature-block, .team-member, .idea-card, .activity-summary, .tip-card, .blog-card, .idea-item, .testimonial-card {
  z-index: 1;
}
