/* ============================================================
   MKUZE SEA TEE LODGE — Main Stylesheet
   
   Color Palette (from logo):
   - Primary Blue: #1E88E5 (CTAs, accents)
   - Secondary Gold: #D4AF37 (highlights)
   - Charcoal Gray: #6B7280 (text, borders)
   - Cream White: #FFFEF5 (backgrounds)
   - Light Gray: #F3F4F6 (subtle backgrounds)
   
   Typography:
   - Headlines: Playfair Display (serif)
   - Body: DM Sans (sans-serif)
   
   ============================================================ */

:root {
  /* Color Variables - Easy to customize */
  --primary-blue: #1E88E5;
  --secondary-gold: #D4AF37;
  --charcoal: #6B7280;
  --cream: #FFFEF5;
  --light-gray: #F3F4F6;
  --dark-gray: #374151;
  --border-color: #E8E0D0;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* ============================================================
   GLOBAL STYLES
   ============================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--dark-gray);
  background-color: var(--cream);
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark-gray);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  color: var(--charcoal);
  font-size: 1rem;
  margin-bottom: var(--spacing-md);
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-gold);
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

/* Primary Button - Blue Background */
.btn-primary {
  background-color: var(--primary-blue);
  color: white;
}

.btn-primary:hover {
  background-color: #1565c0;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Secondary Button - Gold Background */
.btn-secondary {
  background-color: var(--secondary-gold);
  color: var(--dark-gray);
}

.btn-secondary:hover {
  background-color: #c9a84c;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Outline Button - Blue Border */
.btn-outline {
  background-color: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
  background-color: var(--primary-blue);
  color: white;
}

/* ============================================================
   NAVIGATION BAR
   ============================================================ */

nav.navbar {
  background-color: rgba(255, 254, 245, 0.95);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-gray);
}

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

.nav-link {
  color: var(--charcoal) !important;
  font-weight: 500;
  transition: color 0.3s ease;
  margin: 0 0.5rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-blue) !important;
}

.navbar-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--charcoal);
  font-weight: 600;
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
  position: relative;
  height: 100vh;
  background: linear-gradient(135deg, rgba(30, 136, 229, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('images/Mkuze_bg.jpeg');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 600px;
  animation: fadeInUp 1s ease-out;
}

.hero-label {
  color: var(--primary-blue);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--spacing-md);
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--dark-gray);
}

.hero h1 .highlight {
  color: var(--primary-blue);
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-lg);
  color: var(--charcoal);
}

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

/* ============================================================
   SECTIONS
   ============================================================ */

section {
  padding: var(--spacing-2xl) 0;
}

.section-label {
  display: block;
  color: var(--primary-blue);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--spacing-md);
}

.section-divider {
  width: 60px;
  height: 3px;
  background-color: var(--secondary-gold);
  margin-bottom: var(--spacing-lg);
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: var(--spacing-lg);
  color: var(--dark-gray);
}

/* ============================================================
   CARDS
   ============================================================ */

.card {
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  background-color: white;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

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

.card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: var(--spacing-lg);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
  color: var(--dark-gray);
}

.card-text {
  color: var(--charcoal);
  margin-bottom: var(--spacing-md);
}

.card-price {
  font-size: 1.5rem;
  color: var(--primary-blue);
  font-weight: 700;
}

.card-price-label {
  font-size: 0.75rem;
  color: var(--charcoal);
  display: block;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */

.testimonials-container {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  background-color: white;
  padding: var(--spacing-xl);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
}

.testimonial-quote {
  font-size: 1.125rem;
  color: var(--charcoal);
  margin-bottom: var(--spacing-lg);
  font-style: italic;
  line-height: 1.8;
}

.testimonial-quote::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: var(--primary-blue);
  opacity: 0.2;
  position: absolute;
  top: -10px;
  left: 10px;
}

.testimonial-author {
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: var(--spacing-xs);
}

.testimonial-location {
  color: var(--primary-blue);
  font-size: 0.875rem;
}

.testimonial-rating {
  color: var(--primary-blue);
  margin-bottom: var(--spacing-md);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: var(--spacing-lg);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-blue);
  opacity: 0.3;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  opacity: 1;
  width: 24px;
  border-radius: 4px;
}

/* ============================================================
   FORMS
   ============================================================ */

.form-group {
  margin-bottom: var(--spacing-lg);
}

label {
  display: block;
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
  color: var(--dark-gray);
}

input[type="text"],
input[type="email"],
input[type="phone"],
input[type="date"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--dark-gray);
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="phone"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  background-color: var(--dark-gray);
  color: white;
  padding: var(--spacing-2xl) 0 var(--spacing-lg);
  margin-top: var(--spacing-2xl);
}

footer h5 {
  color: white;
  margin-bottom: var(--spacing-md);
}

footer a {
  color: #d1d5db;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--secondary-gold);
}

.footer-logo {
  height: 40px;
  margin-bottom: var(--spacing-md);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-lg);
  margin-top: var(--spacing-lg);
  text-align: center;
  color: #9ca3af;
}

/* ============================================================
   GALLERY
   ============================================================ */

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  cursor: pointer;
  aspect-ratio: 1;
}

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

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(30, 136, 229, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

/* ============================================================
   UTILITIES
   ============================================================ */

.container-custom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.px-2 { padding-left: var(--spacing-sm); padding-right: var(--spacing-sm); }
.px-3 { padding-left: var(--spacing-md); padding-right: var(--spacing-md); }
.px-4 { padding-left: var(--spacing-lg); padding-right: var(--spacing-lg); }

.py-2 { padding-top: var(--spacing-sm); padding-bottom: var(--spacing-sm); }
.py-3 { padding-top: var(--spacing-md); padding-bottom: var(--spacing-md); }
.py-4 { padding-top: var(--spacing-lg); padding-bottom: var(--spacing-lg); }

.bg-cream { background-color: var(--cream); }
.bg-light { background-color: var(--light-gray); }
.bg-white { background-color: white; }

.text-primary { color: var(--primary-blue); }
.text-secondary { color: var(--secondary-gold); }
.text-dark { color: var(--dark-gray); }
.text-muted { color: var(--charcoal); }

/* ============================================================
   ANIMATIONS
   ============================================================ */

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in { animation: fadeIn 0.6s ease-out; }
.slide-in { animation: slideInLeft 0.6s ease-out; }

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.875rem; }
  
  .hero {
    height: 60vh;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  
  section {
    padding: var(--spacing-xl) 0;
  }
}

@media (max-width: 576px) {
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
  
  .hero-content {
    max-width: 100%;
  }
  
  .navbar-brand img {
    height: 40px;
  }
  
  .nav-link {
    margin: 0.25rem 0;
  }
}
