/* ============================================
   SOS Tours & Travels - Global Stylesheet
   Brand Colors:
   - Primary Teal: #0b8c99
   - Gold Accent: #d4a843
   - Light Blue: #e6f5f8
   - Dark Text: #1a2b3c
   - Red Accent: #e53935
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  --primary: #0b8c99;
  --primary-dark: #086e7a;
  --primary-light: #e6f5f8;
  --gold: #d4a843;
  --gold-light: #f5e6c3;
  --red-accent: #e53935;
  --dark: #1a2b3c;
  --text: #333333;
  --text-light: #666666;
  --white: #ffffff;
  --light-bg: #f8fbfc;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
  --radius: 10px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  color: var(--dark);
  line-height: 1.3;
  font-weight: 700;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

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

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: #b8922e;
  border-color: #b8922e;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* ---- Header ---- */
.header {
  background: var(--white);
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 60px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text span {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.logo-text small {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav {
  display: flex;
  gap: 30px;
}

.nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
  position: relative;
  padding: 5px 0;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

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

.nav a:hover,
.nav a.active {
  color: var(--primary);
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* ---- Footer ---- */
.footer {
  background: var(--dark);
  color: #ccc;
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  padding-bottom: 40px;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.15rem;
}

.footer-col p,
.footer-col a,
.footer-col li {
  color: #aaa;
  font-size: 0.95rem;
  margin-bottom: 10px;
  display: block;
}

.footer-col a:hover {
  color: var(--gold);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid #334;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
  color: #888;
}

.footer-bottom a {
  color: var(--gold);
}

/* ---- Section Common ---- */
.section {
  padding: 70px 0;
}

.section-light {
  background: var(--light-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  display: inline-block;
  position: relative;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* ---- Cards ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.card-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.card-body {
  padding: 22px;
}

.card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.card-body p {
  font-size: 0.95rem;
  margin-bottom: 15px;
}

/* ---- WhatsApp Float ---- */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 55px;
  height: 55px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* ---- Forms ---- */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 140, 153, 0.1);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: var(--shadow);
  }

  .nav.active {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  h2 {
    font-size: 1.8rem;
  }

  .section {
    padding: 50px 0;
  }
}

@media (max-width: 600px) {
  .logo img {
    height: 48px;
  }

  .logo-text span {
    font-size: 1.05rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}
