/* Team Outdoors — white, #0d6980, #0097b2 */
:root {
  --white: #ffffff;
  --teal-dark: #0d6980;
  --teal: #0097b2;
  --teal-light: #e6f6f9;
  --text: #1a2b33;
  --text-muted: #4a6270;
  --shadow: 0 4px 24px rgba(13, 105, 128, 0.12);
  --radius: 8px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
  --header-height: 152px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--teal-dark);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--teal);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(13, 105, 128, 0.1);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
  background: var(--white);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
}

.site-header .logo img {
  display: block;
  height: 132px;
  width: auto;
  max-width: min(520px, 78vw);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--teal-dark);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav > ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav > ul > li {
  position: relative;
}

.main-nav a {
  display: block;
  padding: 0.6rem 1rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  border-radius: var(--radius);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--teal-dark);
  background: var(--teal-light);
}

.main-nav .has-dropdown > a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  vertical-align: middle;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  padding: 0.5rem 0;
  border: 1px solid rgba(13, 105, 128, 0.08);
  list-style: none;
  margin: 0;
}

.dropdown li {
  list-style: none;
  list-style-type: none;
}

.dropdown li::marker {
  display: none;
  content: none;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  border-radius: 0;
  background: transparent;
}

.dropdown a:hover,
.dropdown a.active {
  background: var(--teal-light);
  color: var(--teal-dark);
  font-weight: 600;
}

.btn-nav {
  background: var(--teal-dark) !important;
  color: var(--white) !important;
  margin-left: 0.5rem;
  padding: 0.6rem 1.25rem !important;
}

.btn-nav:hover {
  background: #0097b2 !important;
  color: var(--white) !important;
}

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero--short {
  min-height: 320px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(13, 105, 128, 0.72) 0%,
    rgba(13, 105, 128, 0.55) 35%,
    rgba(0, 151, 178, 0.35) 70%,
    rgba(0, 151, 178, 0.2) 100%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
  width: 100%;
}

.hero-label,
.hero h1,
.hero p {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.hero-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.9;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 14ch;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.15rem;
  max-width: 42rem;
  opacity: 0.95;
  margin-bottom: 1.75rem;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  font-family: inherit;
}

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

.btn-primary:hover {
  background: #0097b2;
  color: var(--white);
  border-color: #0097b2;
}

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

.btn-outline:hover {
  background: #0097b2;
  color: var(--white);
  border-color: #0097b2;
}

.btn-teal {
  background: var(--teal-dark);
  color: var(--white);
}

.btn-teal:hover {
  background: #0097b2;
  color: var(--white);
}

/* Sections */
main {
  flex: 1;
}

.section {
  padding: 4.5rem 1.5rem;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--teal-dark);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Intro block */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.intro-grid h2 {
  font-size: 1.85rem;
  color: var(--teal-dark);
  margin-bottom: 1rem;
}

.intro-grid p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.intro-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

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

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid rgba(13, 105, 128, 0.06);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(13, 105, 128, 0.18);
}

.card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

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

.card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

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

.card-link:hover {
  color: var(--teal-dark);
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.feature {
  text-align: center;
  padding: 1.5rem;
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: var(--teal-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.feature h3 {
  font-size: 1.1rem;
  color: var(--teal-dark);
  margin-bottom: 0.5rem;
}

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

/* Team building benefits */
.benefits-intro {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

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

.benefit-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--teal);
  box-shadow: var(--shadow);
}

.section--alt .benefit-card {
  background: var(--white);
}

.benefit-card h3 {
  font-size: 1.1rem;
  color: var(--teal-dark);
  margin-bottom: 0.5rem;
}

.benefit-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

blockquote {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--teal);
  box-shadow: var(--shadow);
}

blockquote p {
  font-style: italic;
  color: var(--text);
  margin-bottom: 1rem;
}

blockquote cite {
  font-style: normal;
  font-weight: 600;
  color: var(--teal-dark);
  font-size: 0.9rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: var(--white);
  text-align: center;
  padding: 3.5rem 1.5rem;
}

.cta-band h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.cta-band p {
  opacity: 0.95;
  margin-bottom: 1.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Page content */
.page-content {
  padding: 3rem 1.5rem 4rem;
}

.page-content .container {
  max-width: 800px;
}

.page-content h2 {
  color: var(--teal-dark);
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content p,
.page-content li {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.page-content ul {
  margin-left: 1.25rem;
  margin-bottom: 1rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Contact form */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.contact-info h2 {
  color: var(--teal-dark);
  margin-bottom: 1rem;
}

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

.contact-detail {
  margin-bottom: 1rem;
}

.contact-detail strong {
  display: block;
  color: var(--teal-dark);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-form {
  background: var(--teal-light);
  padding: 2rem;
  border-radius: var(--radius);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--teal-dark);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(13, 105, 128, 0.2);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 151, 178, 0.2);
}

/* Adventure page */
.adventure-hero-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.activity-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.activity-list li {
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  border-bottom: 1px solid rgba(13, 105, 128, 0.1);
  color: var(--text-muted);
}

.activity-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: bold;
}

/* Footer */
.site-footer {
  background: var(--teal-dark);
  color: var(--white);
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand .logo {
  margin-bottom: 0.75rem;
  display: inline-block;
  background: transparent;
  padding: 0;
}

.footer-brand .logo img {
  height: 108px;
  max-width: 440px;
}

.footer-brand p {
  opacity: 0.85;
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.footer-col ul {
  list-style: none;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.85);
  display: block;
  padding: 0.35rem 0;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.25rem 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 900px) {
  .intro-grid,
  .two-col,
  .contact-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

  .footer-brand p {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .main-nav.open {
    max-height: 90vh;
    overflow-y: auto;
  }

  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
  }

  .main-nav > ul > li {
    width: 100%;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    background: var(--teal-light);
    border-radius: var(--radius);
    margin: 0.25rem 0 0.5rem;
  }

  .has-dropdown.open .dropdown {
    max-height: 300px;
    padding: 0.25rem 0;
  }

  .has-dropdown > a::after {
    float: right;
  }

  .btn-nav {
    margin-left: 0 !important;
    text-align: center;
  }
}
