/* ========================================
   WILD FOX - Nature Tour Japan
   Main Stylesheet
   ======================================== */

/* CSS Variables */
:root {
  --primary-color: #2d5016;
  --primary-dark: #1e3810;
  --accent-color: #d4842a;
  --accent-hover: #b86f1f;
  --text-dark: #1a1a1a;
  --text-light: #ffffff;
  --text-muted: #6b6b6b;
  --bg-light: #f8f7f4;
  --bg-dark: #1a1a1a;
  --border-color: #e0e0e0;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --transition: all 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-light);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.btn-outline:hover {
  background-color: var(--text-light);
  color: var(--text-dark);
}

.btn-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.btn-dark:hover {
  background-color: #333;
  transform: translateY(-2px);
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
  padding: 0.75rem 0;
}

.header.scrolled .nav-link {
  color: var(--text-dark);
}

.header.scrolled .logo-text {
  color: var(--text-dark);
}

.header.scrolled .social-icon {
  color: var(--text-dark);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.02em;
  transition: var(--transition);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Social & Language */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-light);
  font-size: 1rem;
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--accent-color);
  color: var(--text-light);
  transform: scale(1.1);
}

.lang-switch {
  display: flex;
  gap: 0.25rem;
  background-color: rgba(255,255,255,0.15);
  border-radius: 4px;
  padding: 0.25rem;
}

.header.scrolled .lang-switch {
  background-color: rgba(0,0,0,0.08);
}

.lang-btn {
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  background: transparent;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: var(--transition);
}

.header.scrolled .lang-btn {
  color: var(--text-dark);
}

.lang-btn.active {
  background-color: var(--accent-color);
  color: var(--text-light);
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--text-light);
  transition: var(--transition);
}

.header.scrolled .mobile-toggle span {
  background-color: var(--text-dark);
}

/* ========================================
   HERO SLIDER
   ======================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.3) 0%,
    rgba(0,0,0,0.1) 50%,
    rgba(0,0,0,0.5) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--text-light);
  padding: 0 1.5rem;
}

.hero-logo {
  width: 120px;
  height: auto;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 2.5rem;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Slider Navigation */
.slider-nav {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.75rem;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background-color: var(--text-light);
  transform: scale(1.2);
}

.scroll-indicator {
  position: absolute;
  bottom: 4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   ABOUT PREVIEW (Home)
   ======================================== */
.about-preview {
  background-color: var(--text-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.about-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--bg-light);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 500;
}

/* ========================================
   TOURS SECTION
   ======================================== */
.tours-section {
  background-color: var(--bg-light);
}

.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.tour-card {
  background-color: var(--text-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.tour-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.tour-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.tour-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tour-card:hover .tour-image img {
  transform: scale(1.05);
}

.tour-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.4rem 1rem;
  background-color: var(--accent-color);
  color: var(--text-light);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 4px;
}

.tour-content {
  padding: 1.5rem;
}

.tour-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.tour-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.25rem;
}

.tour-price-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.tour-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.tour-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.highlight-tag {
  padding: 0.35rem 0.75rem;
  background-color: var(--bg-light);
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--primary-color);
}

.tour-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.tour-duration {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.tour-link {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.9rem;
}

.tour-link:hover {
  color: var(--accent-hover);
}

/* ========================================
   WILDLIFE GALLERY
   ======================================== */
.wildlife-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.wildlife-section .section-title {
  color: var(--text-light);
}

.wildlife-section .section-subtitle {
  color: rgba(255,255,255,0.7);
}

.wildlife-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.wildlife-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
}

.wildlife-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.wildlife-item:hover img {
  transform: scale(1.1);
}

.wildlife-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  opacity: 0;
  transition: var(--transition);
}

.wildlife-item:hover .wildlife-overlay {
  opacity: 1;
}

.wildlife-name {
  font-size: 0.9rem;
  font-weight: 600;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  position: relative;
  padding: 8rem 0;
  background-image: url('../images/cta-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--text-light);
}

.cta-content h2 {
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* ========================================
   INSTAGRAM FEED
   ======================================== */
.instagram-section {
  padding: 4rem 0;
  background-color: var(--text-light);
}

.instagram-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.instagram-header h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
}

.instagram-item {
  aspect-ratio: 1;
  overflow: hidden;
}

.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.instagram-item:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo-img {
  height: 60px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--text-light);
  transition: var(--transition);
}

.footer-social a:hover {
  background-color: var(--accent-color);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  margin: 0;
}

.legal-info {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

/* ========================================
   TOURS PAGE
   ======================================== */
.page-hero {
  height: 50vh;
  min-height: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6));
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin-bottom: 1rem;
  text-shadow: 2px 2px 20px rgba(0,0,0,0.3);
}

.page-hero p {
  font-size: 1.15rem;
  opacity: 0.9;
}

/* Tour Detail Cards */
.tour-detail-section {
  padding: 5rem 0;
}

.tour-detail-section:nth-child(even) {
  background-color: var(--text-light);
}

.tour-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.tour-detail-grid.reverse {
  direction: rtl;
}

.tour-detail-grid.reverse > * {
  direction: ltr;
}

.tour-detail-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.tour-detail-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.tour-detail-content .tour-badge {
  position: static;
  display: inline-block;
  margin-bottom: 1rem;
}

.tour-detail-content h2 {
  margin-bottom: 1rem;
}

.tour-detail-content > p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.tour-info-list {
  margin-bottom: 2rem;
}

.tour-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.tour-info-item:last-child {
  border-bottom: none;
}

.tour-info-icon {
  width: 24px;
  color: var(--accent-color);
  flex-shrink: 0;
}

.tour-info-item strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

.tour-info-item span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-section {
  padding: 5rem 0;
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.about-intro-image img {
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.mission-section {
  background-color: var(--text-light);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.mission-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background-color: var(--bg-light);
  border-radius: 12px;
  transition: var(--transition);
}

.mission-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.mission-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: 50%;
  font-size: 1.5rem;
}

.mission-card h4 {
  margin-bottom: 1rem;
}

.mission-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Guide Profile */
.guide-section {
  background-color: var(--bg-light);
}

.guide-profile {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 4rem;
  align-items: start;
}

.guide-photo {
  position: relative;
}

.guide-photo img {
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.guide-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background-color: var(--accent-color);
  color: var(--text-light);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
}

.guide-info h3 {
  margin-bottom: 0.5rem;
}

.guide-title {
  color: var(--accent-color);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.guide-bio {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.guide-credentials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background-color: var(--text-light);
  border-radius: 8px;
}

.credential-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: 8px;
  flex-shrink: 0;
}

.credential-item span {
  font-size: 0.9rem;
  font-weight: 500;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-section {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info h2 {
  margin-bottom: 1.5rem;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-details {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 24px;
  color: var(--accent-color);
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  margin-bottom: 0.25rem;
}

.contact-item span,
.contact-item a {
  color: var(--text-muted);
}

.contact-item a:hover {
  color: var(--accent-color);
}

/* Contact Form */
.contact-form-wrapper {
  background-color: var(--text-light);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 {
  margin-bottom: 0.5rem;
}

.contact-form-wrapper > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group label span {
  color: #e74c3c;
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background-color: var(--bg-light);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(212, 132, 42, 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b6b6b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-submit {
  margin-top: 1rem;
}

.form-submit .btn {
  width: 100%;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tour-detail-grid,
  .about-intro,
  .guide-profile {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tour-detail-grid.reverse {
    direction: ltr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .wildlife-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--bg-dark);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem;
    gap: 1.5rem;
    transition: right 0.3s ease;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu .nav-link {
    color: var(--text-light);
    font-size: 1.1rem;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-right {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--text-light);
    padding: 1rem;
    justify-content: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 999;
  }

  .nav-right .social-icon {
    color: var(--text-dark);
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-slide img {
    object-position: 25% center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tours-grid {
    grid-template-columns: 1fr;
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }

  .guide-credentials {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand .logo-img {
    margin: 0 auto 1rem;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .wildlife-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section {
    padding: 4rem 0;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }

  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease forwards;
}

/* Tour Details Note */
.tour-details-note {
  margin-top: 3rem;
  padding: 1.5rem 2rem;
  background-color: var(--text-light);
  border-radius: 8px;
  border-left: 4px solid var(--accent-color);
  text-align: center;
}

.tour-details-note p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.tour-details-note i {
  color: var(--accent-color);
  margin-right: 0.5rem;
}

.tour-details-note a {
  color: var(--accent-color);
  font-weight: 500;
}

.tour-details-note a:hover {
  text-decoration: underline;
}

/* Guide Section within About */
.guide-section {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border-color);
}

/* Animation Classes - Simplified for better performance */
.animate-on-scroll {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  will-change: opacity, transform;
}

@media (prefers-reduced-motion: no-preference) {
  .animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
  }

  .animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Form Error State */
.form-control.error {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* Print Styles */
@media print {
  .header, .footer, .hero-slider, .slider-nav, .cta-section, .instagram-section {
    display: none;
  }
}
