/* Camp Solutions - Main Stylesheet */
/* Mobile-First Responsive Design */

:root {
  --primary-color: #CD853F;
  --primary-dark: #8B5A2B;
  --secondary-color: #2c3e50;
  --accent-color: #3498db;
  --text-color: #333;
  --text-light: #666;
  --text-muted: #999;
  --bg-color: #fff;
  --bg-light: #f8f9fa;
  --bg-dark: #222;
  --border-color: #ddd;
  --shadow: 0 2px 10px rgba(0,0,0,0.1);
  --shadow-lg: 0 4px 20px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
  --max-width: 1200px;
  --font-primary: 'Open Sans', Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

h1 { font-size: clamp(1.75rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==================== NAVIGATION ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bg-color);
  box-shadow: var(--shadow);
  padding: 12px 0;
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.navbar-brand img {
  width: 50px;
  height: auto;
}

.navbar-brand h1 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--secondary-color);
  margin: 0;
  letter-spacing: 0.5px;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.navbar-nav a {
  font-weight: 600;
  color: var(--text-color);
  padding: 8px 0;
  position: relative;
}

.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.navbar-nav a:hover::after,
.navbar-nav a.active::after {
  width: 100%;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: #fff !important;
}

/* Mobile menu toggle */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.navbar-toggle span {
  width: 25px;
  height: 3px;
  background: var(--secondary-color);
  transition: var(--transition);
}

/* ==================== HERO SECTION ==================== */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  margin-top: 70px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.9));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  color: #fff;
}

.hero-content h1 {
  color: #fff;
  font-size: clamp(1.75rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: 0.95;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 1.5rem;
}

/* ==================== SECTIONS ==================== */
.section {
  padding: 120px 0;
}

.section-light {
  background: var(--bg-light);
}

.section-dark {
  background: var(--secondary-color);
  color: #fff;
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary-color);
}

/* ==================== GALLERY / CAROUSELS ==================== */
.gallery-section {
  padding: 60px 0;
}

.gallery-header {
  text-align: center;
  margin-bottom: 40px;
}

.gallery-header h2 {
  font-family: Impact, Arial Black, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.gallery-header h3 {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 20px;
}

.owl-carousel .owl-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
}

.owl-carousel .owl-dots {
  text-align: center;
  margin-top: 20px;
}

.owl-carousel .owl-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background: #ddd;
  border-radius: 50%;
  transition: var(--transition);
}

.owl-carousel .owl-dot.active {
  background: var(--primary-color);
}

.gallery-card {
  background: var(--bg-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ==================== ABOUT / CONTENT SECTIONS ==================== */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.values-list {
  list-style: none;
  margin: 2rem 0;
}

.values-list li {
  padding: 0.75rem 0;
  padding-left: 30px;
  position: relative;
}

.values-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg-color);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0;
}

/* ==================== TEAM SECTION ==================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.team-card {
  background: var(--bg-color);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.team-card img {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  margin: 0 auto 20px;
  object-fit: cover;
  border: 4px solid var(--bg-light);
}

.team-card h4 {
  margin-bottom: 5px;
}

.team-card .role {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.team-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ==================== EQUIPMENT SECTION ==================== */
.equipment-section {
  padding: 120px 0;
}

.equipment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .equipment-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.equipment-content h2 {
  margin-bottom: 1.5rem;
}

.equipment-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.equipment-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
  background: var(--bg-light);
  padding: 60px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1.5fr;
  }
}

.contact-info h3 {
  margin-bottom: 25px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-item i {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.contact-item a,
.contact-item p {
  color: var(--text-color);
  font-size: 1rem;
  margin: 0;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-color);
  color: var(--text-light);
  border-radius: 50%;
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary-color);
  color: #fff;
}

/* Contact Form */
.contact-form {
  background: var(--bg-color);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-message {
  padding: 15px;
  border-radius: 6px;
  margin-top: 20px;
  display: none;
}

.form-message.success {
  display: block;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  display: block;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--bg-dark);
  color: #aaa;
  padding: 40px 0 20px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 40px;
  height: auto;
}

.footer-brand span {
  font-weight: 700;
  color: #fff;
}

.footer-links {
  display: flex;
  gap: 30px;
}

.footer-links a {
  color: #aaa;
  font-size: 1.2rem;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-copy {
  font-size: 0.85rem;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #444;
  width: 100%;
  text-align: center;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
  .navbar-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-color);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
    gap: 15px;
  }

  .navbar-nav.active {
    display: flex;
  }

  .navbar-toggle {
    display: flex;
  }

  .btn-cta.nav-cta {
    display: none;
  }

  .hero {
    min-height: 60vh;
    margin-top: 65px;
  }

  .section {
    padding: 40px 0;
  }

  .owl-carousel .owl-item img {
    height: 320px !important;
    object-fit: cover;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .navbar-brand h1 {
    font-size: 1rem;
  }

  .hero-content {
    padding: 30px 15px;
  }

  .contact-form {
    padding: 20px;
  }
}

/* ==================== UTILITIES ==================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden { display: none; }

/* Lazy loading placeholder */
.lazy-load {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: var(--shadow-lg);
  z-index: 9998;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
}

/* Admin styles */
.admin-container {
  max-width: 1000px;
  margin: 100px auto 40px;
  padding: 0 20px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.admin-card {
  background: var(--bg-color);
  padding: 25px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 25px;
}

.admin-card h3 {
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--bg-light);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.admin-table th {
  background: var(--bg-light);
  font-weight: 600;
}

.admin-table tr:hover {
  background: var(--bg-light);
}

.btn-small {
  padding: 6px 12px;
  font-size: 0.85rem;
  border-radius: 4px;
}

.btn-danger {
  background: #dc3545;
  color: #fff;
}

.btn-secondary {
  background: var(--text-muted);
  color: #fff;
}
