:root {
  --bg: #0f172a;
  --bg-soft: #1e293b;
  --text: #e2e8f0;
  --text-soft: #cbd5e1;
  --card: #111827;
  --accent: #22d3ee;
  --accent-strong: #06b6d4;
}

/* Weather Header */
.weather-header {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.95), rgba(34, 211, 238, 0.15));
  border-bottom: 1px solid rgba(34, 211, 238, 0.3);
  padding: 8px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  font-size: 0.85rem;
}

.weather-container {
  width: min(1200px, 96%);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  padding: 8px 0;
}

.weather-link {
  display: flex;
  gap: 20px;
  text-decoration: none;
  color: var(--text);
  flex: 1;
  min-width: 300px;
  transition: color 0.2s ease;
}

.weather-link:hover {
  color: var(--accent);
}

.weather-separator {
  color: var(--text-secondary);
  opacity: 0.6;
  font-weight: bold;
  font-size: 0.8rem;
  margin: 0 2px;
}

.weather-item {
  display: flex;
  gap: 4px;
  align-items: center;
  white-space: nowrap;
  transition: color 0.2s ease, opacity 0.2s ease;
  font-size: 0.9rem;
}

.weather-item:hover {
  color: var(--accent);
  opacity: 0.8;
}

.weather-label {
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.85rem;
}

.weather-value {
  color: var(--accent);
  font-weight: 700;
}

.header-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: nowrap;
}

.header-location {
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.75rem;
  white-space: nowrap;
}

.weather-btn-action {
  cursor: pointer;
}

.weather-btn {
  background: rgba(34, 211, 238, 0.2);
  border: 1px solid rgba(34, 211, 238, 0.4);
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.weather-btn:hover {
  background: rgba(34, 211, 238, 0.3);
  border-color: var(--accent);
}

/* Alerts Banner */
.alerts-banner {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.05));
  border-top: 2px solid #ef4444;
  border-bottom: 1px solid rgba(239, 68, 68, 0.2);
  padding: 10px 0;
  position: sticky;
  top: 57px;
  z-index: 99;
  transition: all 0.3s ease;
}

.clickable-banner {
  cursor: pointer;
}

.clickable-banner:hover {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.22), rgba(239, 68, 68, 0.12));
  border-top-color: #dc2626;
  box-shadow: inset 0 2px 8px rgba(239, 68, 68, 0.1);
}

.alerts-container {
  width: min(1200px, 96%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
}

.alerts-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  animation: pulse-alert 2s ease-in-out infinite;
}

@keyframes pulse-alert {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.alerts-content {
  flex: 1;
  color: #fca5a5;
}

.alerts-content strong {
  color: #ef4444;
}

.banner-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  transition: all 0.2s ease;
}

.alerts-banner .banner-link:hover {
  text-decoration-style: solid;
  color: #fff;
  text-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

.news-banner .banner-link:hover {
  text-decoration-style: solid;
  color: #fff;
  text-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
}


.alerts-close {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-size: 1.5rem;
  padding: 0;
  transition: opacity 0.2s ease;
}

.alerts-close:hover {
  opacity: 0.7;
}

/* News Banner */
.news-banner {
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.05));
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  border-top: 2px solid rgba(59, 130, 246, 0.3);
  padding: 10px 0;
  position: sticky;
  top: 107px;
  z-index: 98;
  transition: all 0.3s ease;
}

.news-banner.clickable-banner:hover {
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.22), rgba(59, 130, 246, 0.12));
  border-top-color: #1d4ed8;
  box-shadow: inset 0 2px 8px rgba(59, 130, 246, 0.1);
}

.news-container {
  width: min(1200px, 96%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
}

.news-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  animation: pulse-news 2s ease-in-out infinite;
}

@keyframes pulse-news {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(5deg); }
}

.news-content {
  flex: 1;
  color: #93c5fd;
}

.news-content strong {
  color: #3b82f6;
}

.news-close {
  background: none;
  border: none;
  color: #3b82f6;
  cursor: pointer;
  font-size: 1.5rem;
  padding: 0;
  transition: opacity 0.2s ease;
}

.news-close:hover {
  opacity: 0.7;
}

/* Top Surf Spots - Home */
.top-surf-section {
  padding: 16px 0 4px;
}

.top-surf-wrap {
  width: min(72vw, 920px);
  margin-left: 0;
}

.top-surf-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 10px;
}

.top-surf-card {
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 8px;
  padding: 8px 10px;
  min-height: 76px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.top-surf-card:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.5);
  box-shadow: 0 8px 18px rgba(34, 211, 238, 0.18);
}

.top-surf-card.is-active {
  border-color: rgba(45, 212, 191, 0.9);
  box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.35);
}

.top-surf-name {
  margin: 0 0 5px;
  font-size: 0.66rem;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.2;
}

.top-surf-meta {
  margin: 0;
  font-size: 0.6rem;
  color: #cbd5e1;
  line-height: 1.3;
}

.top-surf-modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1200;
  padding: 16px;
}

.top-surf-modal-content {
  width: min(460px, 94vw);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.97), rgba(30, 41, 59, 0.97));
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 12px;
  padding: 18px 18px 14px;
  position: relative;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
}

.top-surf-modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: transparent;
  color: #cbd5e1;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.top-surf-modal-close:hover {
  color: #f8fafc;
}

.top-surf-detail-title {
  margin: 0 0 8px;
  color: #f8fafc;
  font-size: 0.78rem;
  font-weight: 700;
}

.top-surf-detail-line {
  margin: 0 0 4px;
  color: #dbeafe;
  font-size: 0.68rem;
  line-height: 1.4;
}

.top-surf-modal-map-link {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.72rem;
  color: #042f2e;
  background: linear-gradient(135deg, #2dd4bf, #5eead4);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.top-surf-modal-map-link:hover {
  transform: translateY(-1px);
}

.top-surf-modal-map-link.is-disabled {
  pointer-events: none;
  opacity: 0.55;
}

.top-surf-modal-map-note {
  margin: 8px 0 0;
  color: #bfdbfe;
  font-size: 0.66rem;
  line-height: 1.35;
}

/* Comments Section */
.comments-section {
  padding-top: 24px;
}

.comments-section h2 {
  margin: 0 0 8px;
}

.comments-subtitle {
  margin: 0 0 16px;
  color: var(--text-soft);
}

.comments-form {
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 12px;
  padding: 16px;
  display: grid;
  gap: 12px;
}

.comments-form-row {
  display: grid;
  gap: 6px;
}

.comments-form-row label {
  font-size: 0.85rem;
  color: var(--text-soft);
  font-weight: 600;
}

.comments-form-row input,
.comments-form-row textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.75);
  color: #f8fafc;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  padding: 10px;
}

.comments-form-row textarea {
  resize: vertical;
}

.comments-submit {
  justify-self: start;
  border: 1px solid rgba(34, 211, 238, 0.4);
  background: rgba(34, 211, 238, 0.2);
  color: var(--accent);
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.comments-submit:hover {
  background: rgba(34, 211, 238, 0.3);
}

.comments-list {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.comments-empty {
  margin: 0;
  color: var(--text-soft);
}

.comment-item {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(34, 211, 238, 0.16);
  border-radius: 10px;
  padding: 12px;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.comment-name {
  color: #f8fafc;
  font-size: 0.9rem;
}

.comment-date {
  color: var(--text-soft);
  font-size: 0.75rem;
}

.comment-message {
  margin: 0;
  color: #e2e8f0;
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .weather-container {
    flex-direction: row;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 6px 0;
  }

  .weather-item {
    font-size: 0.75rem;
  }

  .weather-label, .weather-separator {
    font-size: 0.7rem;
  }

  .header-actions {
    gap: 4px;
    flex-wrap: nowrap;
  }

  .header-location {
    font-size: 0.7rem;
  }

  .weather-link {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }

  .weather-btn {
    width: 100%;
    text-align: center;
  }

  .header-location {
    width: auto;
    text-align: center;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  position: relative;
}

.video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.18) contrast(1.12) brightness(1.08);
}

.overlay-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.62);
  z-index: -1;
  pointer-events: none;
}

.video-control-btn {
  border: 1px solid rgba(148, 163, 184, 0.41);
  background: rgba(15, 23, 42, 0.45);
  color: var(--text);
  border-radius: 10px;
  padding: 6px 12px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  font-size: 0.85rem;
  white-space: nowrap;
}

.video-control-btn:hover {
  border-color: var(--accent);
  background: rgba(15, 23, 42, 0.6);
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.hero {
  padding: 90px 0 64px;
  text-align: center;
}

.brand {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.25);
  padding: 8px;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  background: linear-gradient(90deg, #22d3ee 0%, #FFD60A 25%, #fbbf24 50%, #FFD60A 75%, #22d3ee 100%);
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: smokeWave 8s ease-in-out infinite;
}

.subtitle {
  color: var(--text-soft);
  max-width: 720px;
  margin: 12px auto 8px;
}

.subtitle-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed rgba(226, 232, 240, 0.45);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.subtitle-link:hover {
  color: #e2e8f0;
  border-bottom-color: rgba(34, 211, 238, 0.8);
}

.btn {
  display: inline-block;
  text-decoration: none;
  color: var(--text);
  background: rgba(15, 23, 42, 0.26);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.section {
.comments-feedback {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-left: 4px solid #22c55e;
  border-radius: 8px;
  background: rgba(34, 197, 94, 0.12);
  color: #bbf7d0;
  font-size: 0.85rem;
}
.comments-admin-access {
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 0.82rem;
}
.comments-admin-access a {
  color: #67e8f9;
  text-decoration: none;
  border-bottom: 1px dashed rgba(103, 232, 249, 0.6);
}
.comments-admin-access a:hover {
  color: #a5f3fc;
}
  padding: 56px 0;
}

.section h2 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

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

.card {
  background: var(--card);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  padding: 20px;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.highlight {
  background: transparent;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 10px 14px;
  border-radius: 10px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.social-links.pulse-green a {
  animation: socialPulseGreen 7s ease-in-out;
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

.social-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.social-links a.social-instagram:hover {
  border-color: #e1306c;
  color: #e1306c;
}

.social-links a.social-whatsapp:hover {
  border-color: #25d366;
  color: #25d366;
}

.social-links a.social-facebook:hover {
  border-color: #1877f2;
  color: #1877f2;
}

.social-links a.social-x:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.note {
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.note a {
  color: var(--text);
}

.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding: 18px 0;
  text-align: center;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.bottom-logo-banner {
  width: 100%;
  margin-top: 10px;
}

.bottom-logo-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.section-accordion {
  background: transparent;
}

.services-toggle {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  cursor: pointer;
  margin-bottom: 18px;
}

.services-heading {
  margin: 0;
  color: var(--text);
}

.services-toggle-arrow {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.services-toggle[aria-expanded="true"] .services-toggle-arrow {
  transform: rotate(180deg);
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.services-list[hidden] {
  display: none;
}

.contact-toggle {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  cursor: pointer;
  margin-bottom: 18px;
}

.contact-heading {
  margin: 0;
  color: var(--text);
}

.contact-toggle[aria-expanded="true"] .services-toggle-arrow {
  transform: rotate(180deg);
}

.contact-content[hidden] {
  display: none;
}

.service-card {
  --service-text: #f8fafc;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.25);
  overflow: hidden;
}

.service-yellow {
  background: rgba(255, 214, 10, 0.22);
  --service-text: #ffffff;
}

.service-blue {
  background: rgba(139, 92, 246, 0.22);
  --service-text: #ffffff;
}

.service-white {
  background: rgba(255, 255, 255, 0.22);
  --service-text: #ffffff;
}

.service-green {
  background: rgba(34, 197, 94, 0.22);
  --service-text: #ffffff;
}

.service-salmon {
  background: rgba(250, 128, 114, 0.22);
  --service-text: #ffffff;
}

.service-toggle {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--service-text);
  cursor: pointer;
  padding: 14px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 1rem;
  font-weight: 800;
  text-align: left;
  text-decoration: underline;
  opacity: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.service-content {
  padding: 0 14px 14px;
  color: var(--service-text);
  opacity: 1;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.service-content p {
  margin: 0;
}

.logo-main {
  width: 1080px;
  height: 1080px;
  object-fit: contain;
  display: block;
  margin: 0 auto 2px;
}

.logo-transparent {
  background: transparent;
}

.service-toggle .arrow {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.service-toggle[aria-expanded="true"] .arrow {
  transform: rotate(180deg);
}

.service-content {
  overflow: hidden;
  animation: slideDown 0.3s ease;
}

.service-content[hidden] {
  display: none;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes socialPulseGreen {
  0% {
    border-color: rgba(148, 163, 184, 0.4);
    border-width: 1px;
    box-shadow: 0 0 0 rgba(34, 197, 94, 0);
  }
  20% {
    border-color: #22c55e;
    border-width: 3px;
    box-shadow: 0 0 16px rgba(34, 197, 94, 0.9);
  }
  55% {
    border-color: #16a34a;
    border-width: 2px;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.6);
  }
  100% {
    border-color: rgba(148, 163, 184, 0.4);
    border-width: 1px;
    box-shadow: 0 0 0 rgba(34, 197, 94, 0);
  }
}

@keyframes smokeWave {
  0% {
    background-position: -100% 0;
  }
  50% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

/* Standard Page Header - Used on all interior pages */
.page-header {
  background: white;
  padding: 20px 30px;
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-left: 20px;
  margin-right: 20px;
}

.page-header h1 {
  margin: 0;
  color: #1ba098;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  min-width: 300px;
  font-weight: 700;
}

.page-header-location {
  font-size: 1rem;
  color: #1ba098;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s ease;
}

.page-header-location:hover {
  color: #158b7e;
}

.page-header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Back link for page headers */
.page-header .back-link {
  color: #1ba098;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  font-size: 1rem;
  white-space: nowrap;
}

.page-header .back-link:hover {
  color: #158b7e;
  text-decoration: underline;
}

/* Auto-collapse weather header on scroll */
.weather-header.scrolled {
  padding: 4px 0 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.weather-header.scrolled .weather-item {
  font-size: 0.75rem;
}

.weather-header.scrolled .weather-label,
.weather-header.scrolled .weather-separator {
  font-size: 0.65rem;
}

.weather-header.scrolled .header-location {
  font-size: 0.65rem;
}

@media (max-width: 768px) {
  .page-header {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .page-header h1 {
    min-width: auto;
    justify-content: center;
  }

  .page-header-right {
    justify-content: center;
    width: 100%;
  }

  .top-surf-wrap {
    width: 100%;
  }

  .top-surf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-surf-detail-line {
    font-size: 0.7rem;
  }
}
