/* =========================
   Lively Safari - Vintage Retro CSS
   ========================= */

/*
  Vintage Retro Palette (inspired by brand + retro):
  - Deep Forest Green: #1A3A18 (brand primary)
  - Warm Mustard: #FFD966 (brand secondary)
  - Cream: #FFF8E1
  - Soft Brown: #A67C52
  - Burnt Orange: #E07A5F
  - Sky Blue: #7EC4CF
  - Accent White: #FFFFFF (brand accent)
  - Charcoal: #2D2D2D
*/

:root {
  --color-primary: #1A3A18;
  --color-secondary: #FFD966;
  --color-accent: #FFFFFF;
  --color-cream: #FFF8E1;
  --color-brown: #A67C52;
  --color-orange: #E07A5F;
  --color-blue: #7EC4CF;
  --color-charcoal: #2D2D2D;
  --color-shadow: rgba(26,58,24,0.08);
  --color-shadow-strong: rgba(26,58,24,0.18);
  --color-border: #A67C52;
  --color-footer-bg: #1A3A18;
  --color-footer-text: #FFD966;
  --color-testimonial-bg: #FFF8E1;
  --color-testimonial-text: #2D2D2D;
  --color-btn-primary-bg: #FFD966;
  --color-btn-primary-text: #1A3A18;
  --color-btn-secondary-bg: #E07A5F;
  --color-btn-secondary-text: #FFF8E1;
  --color-btn-outline-bg: transparent;
  --color-btn-outline-text: #1A3A18;
  --color-btn-outline-border: #1A3A18;
  --font-display: 'Montserrat', 'Arial Rounded MT Bold', 'Futura', 'Trebuchet MS', sans-serif;
  --font-body: 'Roboto', 'Georgia', 'Times New Roman', serif;
  --font-vintage: 'Montserrat', 'Roboto', 'Georgia', serif;
  --radius-card: 18px;
  --radius-btn: 24px;
  --shadow-card: 0 4px 20px var(--color-shadow);
  --shadow-card-strong: 0 8px 32px var(--color-shadow-strong);
  --pattern-bg: repeating-linear-gradient(135deg, #FFD966 0 8px, #FFF8E1 8px 16px);
}

/* ========== RESET & BASE ========== */
* {
  box-sizing: border-box;
}
html {
  font-size: 18px;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background: var(--color-cream);
  color: var(--color-charcoal);
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: 0.01em;
  /* Subtle retro paper texture */
  background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="%23FFF8E1"/><circle cx="10" cy="10" r="1.5" fill="%23FFD966"/><circle cx="90" cy="90" r="1.5" fill="%23FFD966"/><circle cx="50" cy="50" r="1" fill="%23A67C52"/></svg>');
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--color-orange);
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 0.6em;
  letter-spacing: 0.02em;
  color: var(--color-primary);
  text-shadow: 1px 1px 0 #FFD96633;
}
h1 {
  font-size: 2.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5em;
}
h2 {
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5em;
}
h3 {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
h4 {
  font-size: 1rem;
  font-weight: 600;
}
p, ul, ol, blockquote {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 1em;
}
blockquote {
  font-family: var(--font-vintage);
  font-style: italic;
  background: var(--color-secondary);
  color: var(--color-primary);
  border-left: 6px solid var(--color-brown);
  padding: 18px 24px;
  border-radius: 0 18px 18px 0;
  margin: 0 0 1em 0;
  box-shadow: 0 2px 8px var(--color-shadow);
}
strong {
  font-weight: 700;
  color: var(--color-brown);
}
ul, ol {
  padding-left: 1.5em;
}

/* ========== CONTAINER & LAYOUT ========== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-cream);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  position: relative;
}

/* ========== HEADER & NAVIGATION ========== */
header {
  background: var(--pattern-bg);
  border-bottom: 4px solid var(--color-brown);
  box-shadow: 0 2px 12px var(--color-shadow);
  position: relative;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 18px 18px 0;
}
.logo img {
  height: 48px;
  width: auto;
  filter: sepia(0.2) contrast(1.1) saturate(1.2);
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--color-primary);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
  letter-spacing: 0.04em;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-orange);
  border-bottom: 2px solid var(--color-orange);
}
.btn-primary {
  background: var(--color-btn-primary-bg);
  color: var(--color-btn-primary-text);
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-btn);
  padding: 12px 32px;
  box-shadow: 0 2px 8px var(--color-shadow);
  cursor: pointer;
  letter-spacing: 0.06em;
  font-weight: 700;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.1s;
  margin-left: 18px;
  outline: none;
  position: relative;
  z-index: 1;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-orange);
  color: var(--color-accent);
  box-shadow: 0 4px 16px var(--color-shadow-strong);
  transform: translateY(-2px) scale(1.03);
}
.btn-secondary {
  background: var(--color-btn-secondary-bg);
  color: var(--color-btn-secondary-text);
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-btn);
  padding: 12px 32px;
  box-shadow: 0 2px 8px var(--color-shadow);
  cursor: pointer;
  letter-spacing: 0.06em;
  font-weight: 700;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.1s;
  margin-top: 18px;
  outline: none;
  position: relative;
  z-index: 1;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-primary);
  color: var(--color-secondary);
  box-shadow: 0 4px 16px var(--color-shadow-strong);
  transform: translateY(-2px) scale(1.03);
}

/* ========== FLEXBOX LAYOUTS ========== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-cream);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  min-width: 260px;
  flex: 1 1 320px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.card:hover, .card:focus-within {
  box-shadow: var(--shadow-card-strong);
  transform: translateY(-4px) scale(1.02);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-testimonial-bg);
  color: var(--color-testimonial-text);
  border-radius: var(--radius-card);
  box-shadow: 0 2px 12px var(--color-shadow);
  margin-bottom: 20px;
  flex-wrap: wrap;
  font-size: 1.05rem;
}
.testimonial-card blockquote {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0 0 0 0;
  color: var(--color-primary);
  font-size: 1.1rem;
}
.testimonial-card strong {
  color: var(--color-orange);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-cream);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 24px 20px;
  min-width: 220px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  border-left: 6px solid var(--color-secondary);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: var(--shadow-card-strong);
  border-left: 6px solid var(--color-orange);
}

/* ========== SPECIAL GRIDS & SLIDERS ========== */
.feature-grid, .tour-cards, .blog-post-cards, .team-profiles, .photographer-profiles, .image-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.tour-card, .blog-post-card, .team-profile, .photographer-profile, .image-item {
  background: var(--color-cream);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 24px 20px;
  min-width: 220px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.15s;
  position: relative;
}
.tour-card:hover, .blog-post-card:hover, .team-profile:hover, .photographer-profile:hover, .image-item:hover {
  box-shadow: var(--shadow-card-strong);
  transform: translateY(-4px) scale(1.02);
}
.gallery-slider {
  display: flex;
  flex-direction: row;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.gallery-slide {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: var(--radius-card);
  padding: 18px 32px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  min-width: 220px;
  box-shadow: 0 2px 8px var(--color-shadow);
  margin-bottom: 0;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.gallery-slide:hover {
  background: var(--color-orange);
  color: var(--color-accent);
}

/* ========== FOOTER ========== */
footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 48px 0 24px 0;
  border-top: 4px solid var(--color-brown);
  font-family: var(--font-body);
  font-size: 1rem;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-menu a {
  color: var(--color-footer-text);
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--color-orange);
}
.footer-brand-contact {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
.footer-brand-contact img {
  height: 40px;
  width: auto;
  filter: sepia(0.2) contrast(1.1) saturate(1.2);
}
.contact-info {
  color: var(--color-footer-text);
  font-size: 0.95rem;
  line-height: 1.5;
}
.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 320px;
}
.footer-newsletter h4 {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.2em;
}
.footer-newsletter p {
  color: var(--color-footer-text);
  font-size: 0.95rem;
}

/* ========== MOBILE NAVIGATION ========== */
.mobile-menu-toggle {
  display: none;
  background: var(--color-btn-primary-bg);
  color: var(--color-btn-primary-text);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 120;
  cursor: pointer;
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: background 0.2s, color 0.2s, transform 0.1s;
}
.mobile-menu-toggle:active {
  background: var(--color-orange);
  color: var(--color-accent);
  transform: scale(0.95);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-cream);
  box-shadow: 0 8px 32px var(--color-shadow-strong);
  z-index: 200;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.77,0,0.175,1), opacity 0.25s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--color-btn-secondary-bg);
  color: var(--color-btn-secondary-text);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  margin: 18px 0 0 18px;
  cursor: pointer;
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: background 0.2s, color 0.2s, transform 0.1s;
}
.mobile-menu-close:active {
  background: var(--color-orange);
  color: var(--color-accent);
  transform: scale(0.95);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 48px 0 0 32px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-transform: uppercase;
  color: var(--color-primary);
  letter-spacing: 0.06em;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-orange);
  border-bottom: 2px solid var(--color-orange);
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-cream);
  color: var(--color-charcoal);
  border-top: 3px solid var(--color-brown);
  box-shadow: 0 -2px 16px var(--color-shadow-strong);
  z-index: 300;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px;
  font-size: 1rem;
  animation: cookieBannerIn 0.6s cubic-bezier(0.77,0,0.175,1);
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-btn {
  font-family: var(--font-display);
  font-size: 1rem;
  border-radius: var(--radius-btn);
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  margin-left: 0;
}
.cookie-btn.accept {
  background: var(--color-btn-primary-bg);
  color: var(--color-btn-primary-text);
  box-shadow: 0 2px 8px var(--color-shadow);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--color-orange);
  color: var(--color-accent);
}
.cookie-btn.reject {
  background: var(--color-btn-outline-bg);
  color: var(--color-btn-outline-text);
  border: 2px solid var(--color-btn-outline-border);
  box-shadow: 0 2px 8px var(--color-shadow);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--color-orange);
  color: var(--color-accent);
  border-color: var(--color-orange);
}
.cookie-btn.settings {
  background: var(--color-btn-secondary-bg);
  color: var(--color-btn-secondary-text);
  box-shadow: 0 2px 8px var(--color-shadow);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-primary);
  color: var(--color-secondary);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 400;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(26,58,24,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: var(--color-cream);
  color: var(--color-charcoal);
  border-radius: var(--radius-card);
  box-shadow: 0 8px 32px var(--color-shadow-strong);
  padding: 36px 32px 28px 32px;
  min-width: 320px;
  max-width: 95vw;
  animation: cookieModalIn 0.5s cubic-bezier(0.77,0,0.175,1);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@keyframes cookieModalIn {
  from { transform: scale(0.85) translateY(40px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: 0.5em;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-charcoal);
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: var(--color-secondary);
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-toggle:checked {
  background: var(--color-orange);
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 14px;
  height: 14px;
  background: var(--color-primary);
  border-radius: 50%;
  transition: left 0.2s, background 0.2s;
}
.cookie-toggle:checked:before {
  left: 20px;
  background: var(--color-accent);
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 12px;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
  .footer-newsletter {
    max-width: 100%;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 16px;
  }
  .footer-brand-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .footer-menu {
    gap: 8px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 16px;
  }
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 12px 8px 12px 0;
  }
  .main-nav {
    display: none;
  }
  .btn-primary {
    margin-left: 0;
    padding: 10px 18px;
    font-size: 0.95rem;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .footer-newsletter {
    max-width: 100%;
  }
  .container {
    padding: 0 4px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .section {
    margin-bottom: 36px;
    padding: 24px 8px;
  }
  .card-container, .feature-grid, .tour-cards, .blog-post-cards, .team-profiles, .photographer-profiles, .image-grid {
    gap: 12px;
  }
  .card, .tour-card, .blog-post-card, .team-profile, .photographer-profile, .image-item {
    padding: 16px 10px;
    min-width: 160px;
    flex: 1 1 100%;
    margin-bottom: 12px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    font-size: 1rem;
  }
  .feature-item {
    padding: 14px 10px;
    min-width: 140px;
    margin-bottom: 12px;
  }
  .gallery-slider {
    gap: 10px;
    padding-bottom: 6px;
  }
  .gallery-slide {
    padding: 10px 14px;
    min-width: 120px;
    font-size: 0.95rem;
  }
  .footer-menu {
    flex-direction: column;
    gap: 6px;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-brand-contact {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 8px;
    font-size: 0.95rem;
  }
  .cookie-modal {
    padding: 18px 8px 14px 8px;
    min-width: 90vw;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.3rem;
  }
  h2 {
    font-size: 1.05rem;
  }
  .btn-primary, .btn-secondary {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
  .mobile-nav a {
    font-size: 1rem;
    padding: 6px 0;
  }
}

/* ========== MICRO-INTERACTIONS ========== */
.card, .tour-card, .blog-post-card, .team-profile, .photographer-profile, .image-item, .feature-item {
  transition: box-shadow 0.2s, transform 0.15s, border-color 0.2s;
}
.card:active, .tour-card:active, .blog-post-card:active, .team-profile:active, .photographer-profile:active, .image-item:active, .feature-item:active {
  transform: scale(0.98);
}
.btn-primary:active, .btn-secondary:active {
  transform: scale(0.97);
}

/* ========== RETRO PATTERNS & DECORATIVE ELEMENTS ========== */
.section {
  background-image: repeating-linear-gradient(135deg, #FFF8E1 0 24px, #FFD966 24px 48px);
  background-size: 100% 48px;
  border: 2px solid var(--color-brown);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.section:nth-child(even) {
  background-image: repeating-linear-gradient(135deg, #FFD966 0 24px, #FFF8E1 24px 48px);
}

/* ========== ACCESSIBILITY ========== */
:focus {
  outline: 2px dashed var(--color-orange);
  outline-offset: 2px;
}

/* ========== UTILITY CLASSES ========== */
.hide {
  display: none !important;
}

/* ========== END ========== */
