/* =========================================
   KALBO40 VENTURES - GLOBAL STYLES
   File: /assets/css/styles.css
   ========================================= */

/* 🎨 THEME VARIABLES */
:root {
  /* Primary Colors from Logo */
  --primary: #8B2332;           /* Maroon - Primary Brand Color */
  --primary-dark: #6B1B26;      /* Darker Maroon */
  --primary-light: #A83242;     /* Lighter Maroon */
  
  --secondary: #2D5A3D;         /* Forest Green - Secondary Brand Color */
  --secondary-dark: #1E3D29;    /* Darker Green */
  --secondary-light: #3D7A52;   /* Lighter Green */
  
  /* Accent Colors */
  --accent: #D4A574;            /* Earthy Tan/Beige */
  --accent-light: #E8C9A8;      /* Light Tan */
  
  /* Neutral Colors */
  --dark: #1A1A1A;
  --light: #F5F5F0;             /* Warm Off-White with nature feel */
  --text: #2C2C2C;
  --text-light: #666666;
  --white: #FFFFFF;
  --border: #D4D4C8;            /* Warm gray-green border */
  
  /* Effects */
  --shadow: 0 10px 30px rgba(139, 35, 50, 0.15);
  --shadow-sm: 0 4px 12px rgba(139, 35, 50, 0.1);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --container-width: 1240px;
  --header-height: 80px;
}
/* 📐 RESET & BASE */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6; color: var(--text); background: var(--light);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* 📦 LAYOUT UTILITIES */
.container { width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); color: var(--primary); margin-bottom: 12px; font-weight: 700; }
.section-title p { color: var(--text-light); max-width: 650px; margin: 0 auto; font-size: 1.05rem; }

/* 🔘 BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; background: var(--primary); color: var(--white);
  border-radius: var(--radius); font-weight: 600; border: 2px solid transparent;
  cursor: pointer; transition: var(--transition);
}
.btn:hover { background: var(--secondary); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-sm { padding: 8px 16px; font-size: 0.9rem; }

/* 🧭 HEADER */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; min-height: var(--header-height); }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--primary); display: flex; align-items: center; gap: 10px; }
.logo img { height: 45px; width: auto; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a:not(.btn) { font-weight: 500; color: var(--dark); position: relative; }
.nav-links a:not(.btn)::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--secondary); transition: var(--transition); }
.nav-links a:not(.btn):hover::after { width: 100%; }
.mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: var(--primary); background: none; border: none; }

/* 🏔 HERO */
.hero {
  height: 70vh; min-height: 650px;
  background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.6)), url('../images/camp.jpg') center/cover no-repeat;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--white); padding: 0 20px;
}
.hero-content { max-width: 900px; width: 100%; }
.hero-content h1 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; margin-bottom: 16px; line-height: 1.1; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.hero-content p { font-size: 1.15rem; margin-bottom: 30px; max-width: 700px; margin-left: auto; margin-right: auto; }

/* 📝 BOOKING WIDGET */
.booking-widget {
  background: var(--white); padding: 20px; border-radius: var(--radius-lg);
  display: flex; gap: 15px; flex-wrap: wrap; max-width: 950px; margin: 30px auto 0; box-shadow: var(--shadow);
}
.booking-field { flex: 1; min-width: 180px; }
.booking-field label { display: block; font-size: 0.85rem; color: var(--text-light); margin-bottom: 6px; font-weight: 500; }
.booking-field select, .booking-field input {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border);
  border-radius: 6px; font-size: 0.95rem; background: var(--light); transition: var(--transition);
}
.booking-field select:focus, .booking-field input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(44, 94, 67, 0.15); }
.booking-widget .btn { width: 100%; margin-top: 15px; }

/* 🌍 TOUR CARDS */
.tours-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.tour-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  display: flex; flex-direction: column; height: 100%;
}
.tour-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.tour-img { height: 220px; overflow: hidden; position: relative; }
.tour-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.tour-card:hover .tour-img img { transform: scale(1.05); }
.tour-tag {
  position: absolute; top: 15px; left: 15px; background: var(--secondary); color: var(--white);
  padding: 5px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
}
.tour-info { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.tour-meta { display: flex; gap: 15px; color: var(--text-light); font-size: 0.9rem; margin: 8px 0 12px; }
.tour-info h3 { margin-bottom: 10px; color: var(--primary); font-size: 1.25rem; }
.tour-price { font-weight: 700; color: var(--secondary); font-size: 1.1rem; margin-bottom: 15px; }
.tour-footer {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--border); padding-top: 15px; margin-top: auto;
}
.rating { color: #f59e0b; font-size: 0.9rem; }

/* ✅ FEATURES */
.features { background: var(--light); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.feature-card {
  background: var(--white); padding: 30px 25px; border-radius: var(--radius);
  text-align: center; box-shadow: var(--shadow-sm); transition: var(--transition);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature-icon {
  width: 60px; height: 60px; background: var(--secondary); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin: 0 auto 20px;
}
.feature-card h3 { margin-bottom: 12px; color: var(--primary); font-size: 1.2rem; }
.feature-card p { color: var(--text-light); font-size: 0.95rem; }

/* 📸 GALLERY */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 15px; }
.gallery-item { height: 250px; overflow: hidden; border-radius: var(--radius); cursor: pointer; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.08); filter: brightness(0.85); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.3); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { color: var(--white); font-size: 2rem; }

/* 💬 TESTIMONIALS */
.testimonials { background: var(--primary); color: var(--white); }
.testimonials .section-title h2 { color: var(--white); }
.testimonials .section-title p { color: rgba(255,255,255,0.85); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card {
  background: rgba(255,255,255,0.1); padding: 25px; border-radius: var(--radius);
  backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.15);
}
.testimonial-text { font-style: italic; margin-bottom: 15px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }
.testimonial-author h4 { font-size: 1rem; margin-bottom: 2px; }
.testimonial-author span { font-size: 0.85rem; opacity: 0.85; }

/* 📧 NEWSLETTER */
.newsletter { text-align: center; background: linear-gradient(135deg, var(--secondary), var(--accent)); padding: 60px 20px; }
.newsletter h2 { color: var(--dark); margin-bottom: 10px; }
.newsletter p { color: var(--text); margin-bottom: 20px; }
.newsletter-form { max-width: 500px; margin: 0 auto; display: flex; gap: 10px; }
.newsletter-form input { flex: 1; padding: 12px 15px; border: none; border-radius: var(--radius); font-size: 1rem; }
.newsletter-form .btn { background: var(--primary-dark); }

/* 🦶 FOOTER */
.footer { background: var(--dark); color: #ccc; padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h3 { color: var(--white); margin-bottom: 20px; font-size: 1.2rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--secondary); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact i { color: var(--secondary); margin-top: 4px; min-width: 16px; }
.social-links { display: flex; gap: 12px; margin-top: 15px; }
.social-links a {
  width: 38px; height: 38px; background: rgba(255,255,255,0.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.social-links a:hover { background: var(--secondary); color: var(--white); transform: translateY(-2px); }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 25px; font-size: 0.9rem; }

/* 📱 RESPONSIVE */
@media (max-width: 1024px) { .container { padding: 0 24px; } }
@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  .nav-links {
    position: fixed; top: var(--header-height); right: -100%; width: 260px;
    height: calc(100vh - var(--header-height)); background: var(--white);
    flex-direction: column; padding: 30px 24px; box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: var(--transition); align-items: flex-start; z-index: 999;
  }
  .nav-links.active { right: 0; }
  .booking-widget { flex-direction: column; }
  .booking-widget .btn { margin-top: 10px; }
  .newsletter-form { flex-direction: column; }
  .section { padding: 60px 0; }
}
@media (max-width: 480px) {
  .hero-content h1 { font-size: 2rem; }
  .tours-grid, .features-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
/* 🤝 MEMBERSHIPS & AFFILIATIONS - NEW STYLES */
.memberships { 
  background: var(--white); 
  padding: 60px 0; 
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.memberships-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
  gap: 30px; 
  align-items: center;
  justify-items: center;
}

.membership-card {
  text-align: center;
  padding: 20px 15px;
  transition: var(--transition);
  display: block;
  border-radius: var(--radius);
  max-width: 220px;
}

.membership-card:hover { 
  transform: translateY(-5px); 
  background: var(--light);
}

.membership-logo {
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  padding: 10px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.membership-card:hover .membership-logo {
  border-color: var(--secondary);
  box-shadow: var(--shadow-sm);
}

.membership-logo img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

.membership-card:hover .membership-logo img {
  filter: grayscale(0%);
  opacity: 1;
}

.membership-card h4 {
  color: var(--primary);
  font-size: 1.05rem;
  margin-bottom: 5px;
  font-weight: 600;
}

.membership-card p {
  color: var(--text-light);
  font-size: 0.85rem;
  line-height: 1.4;
}

/* Responsive for Memberships */
@media (max-width: 768px) {
  .memberships-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px; 
  }
  .membership-logo { height: 75px; }
  .membership-logo img { max-height: 45px; }
}

@media (max-width: 480px) {
  .memberships-grid { grid-template-columns: 1fr; }
}


.btn {
  background: var(--primary);
  border-color: var(--primary);
}

.btn:hover {
  background: var(--secondary);
  border-color: var(--secondary);
}

.tour-tag {
  background: var(--primary);
}

.tour-price {
  color: var(--secondary);
}

.feature-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.testimonials {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.newsletter {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
}

.footer {
  border-top: 4px solid var(--primary);
}

.social-links a:hover {
  background: var(--primary);
}
/* Contact Form Response Messages */
#contactResponse.success-message,
#contactResponse.error-message {
  padding: 15px;
  border-radius: var(--radius);
  margin-top: 10px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideIn 0.3s ease;
}

#contactResponse.success-message {
  background: rgba(45, 90, 61, 0.1);
  border: 1px solid var(--secondary);
  color: var(--secondary);
}

#contactResponse.error-message {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid #dc3545;
  color: #dc3545;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}