/* Active Water Sports Wake Guide Styles */

/* CSS Variables */
:root {
  --primary-green: #bfd730;
  --dark-bg: #1a1a1a;
  --darker-bg: #0d1117;
  --teal-accent: #006b7d;
  --text-light: #ffffff;
  --text-gray: #cccccc;
  --link-hover: #d4e157;
}

/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Rajdhani', 'Arial', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

/* Header and Navigation */
.site-header {
  background: var(--dark-bg);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

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

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

.main-nav {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.main-nav a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--primary-green);
}

/* Alert Banner */
.alert-banner {
  background: var(--primary-green);
  color: #000;
  text-align: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
}

.alert-banner a {
  color: #006b7d;
  text-decoration: underline;
}

/* Main Content */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Rajdhani', 'Arial', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--dark-bg);
}

h1 {
  font-size: 48px;
  color: var(--teal-accent);
  margin-bottom: 30px;
}

h2 {
  font-size: 36px;
  color: var(--teal-accent);
  margin-top: 40px;
  margin-bottom: 20px;
}

h3 {
  font-size: 28px;
  margin-top: 30px;
}

h4 {
  font-size: 22px;
  margin-top: 25px;
}

p {
  margin-bottom: 15px;
  line-height: 1.8;
}

/* Tooltip for skill levels */
.skill-level {
  border-bottom: 2px dotted var(--teal-accent);
  cursor: help;
  position: relative;
}

.skill-level .tooltip {
  visibility: hidden;
  width: 250px;
  background-color: var(--darker-bg);
  color: var(--text-light);
  text-align: center;
  border-radius: 6px;
  padding: 10px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -125px;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 14px;
  line-height: 1.4;
}

.skill-level:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

/* Guide Cards */
.guide-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.guide-card {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid var(--teal-accent);
}

.guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.guide-card h3 {
  margin-top: 0;
  color: var(--teal-accent);
}

.guide-card a {
  color: var(--teal-accent);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 15px;
}

.guide-card a:hover {
  color: var(--dark-bg);
}

/* Feature Sections */
.feature-section {
  margin: 40px 0;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 8px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.feature-item {
  padding: 20px;
  background: white;
  border-radius: 6px;
  border-left: 3px solid var(--primary-green);
}

.feature-item h4 {
  margin-top: 0;
  color: var(--teal-accent);
}

/* Troubleshooting Links */
.troubleshooting-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.troubleshooting-link {
  background: var(--teal-accent);
  color: white;
  padding: 20px;
  border-radius: 6px;
  text-decoration: none;
  display: block;
  transition: background 0.3s ease;
  font-weight: 600;
}

.troubleshooting-link:hover {
  background: var(--dark-bg);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--teal-accent);
  color: white;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--dark-bg);
}

/* Footer */
.site-footer {
  background: var(--darker-bg);
  color: var(--text-gray);
  padding: 60px 20px 30px;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-locations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #333;
}

.location-section h3 {
  color: var(--primary-green);
  font-size: 28px;
  margin-bottom: 20px;
}

.location-section.activewake h3 {
  color: var(--primary-green);
}

.brand-logos {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 15px;
}

.brand-logos img {
  height: 30px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.brand-logos img:hover {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding-top: 30px;
}

.footer-section h4 {
  color: var(--text-light);
  font-size: 18px;
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #333;
  border-radius: 50%;
  color: var(--text-light);
  transition: background 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  background: var(--primary-green);
  color: #000;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.footer-links a {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links a:hover {
  color: var(--primary-green);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid #333;
  font-size: 12px;
}

/* Lists */
ul, ol {
  margin: 20px 0 20px 30px;
}

li {
  margin-bottom: 10px;
  line-height: 1.8;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background: white;
}

th, td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

th {
  background: var(--teal-accent);
  color: white;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 20px;
  }

  .main-nav {
    flex-direction: column;
    gap: 15px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  .guide-list {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* Performance optimizations */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration-skip-ink: auto;
}
