/*
Theme Name: Skydrate Global
Theme URI: https://skydrateglobal.com
Author: Skydrate Global
Author URI: https://skydrateglobal.com
Description: Elementor-first theme for Skydrate Global — Caribbean sargassum and waste-to-value technology. Ships a one-click demo import that builds every page as native Elementor containers and widgets, fully editable in the Elementor canvas.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: skydrate
Tags: elementor, one-column, custom-menu, custom-logo, full-width-template, translation-ready
*/

:root {
  --sk-ocean: #003366;
  --sk-ocean-deep: #001a33;
  --sk-emerald: #1a7a4a;
  --sk-emerald-dark: #0f5a35;
  --sk-cream: #f7f7f5;
  --sk-charcoal: #1a1a2e;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--sk-charcoal);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { letter-spacing: -0.02em; line-height: 1.1; }

a { color: var(--sk-ocean); }

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

.sk-skip-link {
  position: absolute;
  left: -9999px;
}

/* ---------- Header ---------- */
.sk-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 999;
  background: rgba(0, 26, 51, 0.92);
  backdrop-filter: blur(10px);
}

.sk-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.sk-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.2em;
  font-size: 15px;
}

.sk-brand img { width: 36px; height: 36px; }

.sk-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.sk-nav a {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.sk-nav a:hover { color: #fff; }

/* Active page indicator — emerald label plus underline bar */
.sk-nav li.current-menu-item > a,
.sk-nav li.current_page_item > a,
.sk-nav li.current-menu-ancestor > a,
.sk-nav li.current-menu-parent > a {
  color: var(--sk-emerald);
  font-weight: 700;
}

.sk-nav li.current-menu-item > a::after,
.sk-nav li.current_page_item > a::after,
.sk-nav li.current-menu-ancestor > a::after,
.sk-nav li.current-menu-parent > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--sk-emerald);
}

.sk-menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  padding: 8px;
  cursor: pointer;
}

.sk-menu-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1024px) {
  .sk-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--sk-ocean-deep);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .sk-nav.is-open { display: block; }
  .sk-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 16px;
    max-width: 1280px;
    margin: 0 auto;
  }
  .sk-nav a {
    padding: 10px 12px;
    border-left: 2px solid transparent;
    border-radius: 6px;
    font-size: 16px;
  }
  .sk-nav li.current-menu-item > a,
  .sk-nav li.current_page_item > a {
    border-left-color: var(--sk-emerald);
    background: rgba(26, 122, 74, 0.15);
  }
  .sk-nav li.current-menu-item > a::after,
  .sk-nav li.current_page_item > a::after { display: none; }
  .sk-menu-toggle { display: inline-flex; }
}

/* ---------- Footer ---------- */
.sk-footer {
  background: var(--sk-ocean-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 20px 32px;
}

.sk-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.sk-footer h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.sk-footer ul { list-style: none; margin: 0; padding: 0; }
.sk-footer li { margin-bottom: 8px; }
.sk-footer a { color: rgba(255, 255, 255, 0.75); text-decoration: none; font-size: 14px; }
.sk-footer a:hover { color: var(--sk-emerald); }

.sk-footer__bottom {
  max-width: 1280px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

/* ---------- Content pages (non-Elementor fallback) ---------- */
.sk-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 140px 20px 80px;
}

.sk-page--wide { max-width: 1280px; }

.sk-site-main { padding-top: 0; }

body.sk-has-fixed-header .sk-site-main--offset { padding-top: 72px; }

/* ---------- Demo contact form (replace with Elementor Pro Forms or CF7) ---------- */
.sk-form { display: grid; gap: 14px; }
.sk-form label { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #4a5568; }
.sk-form input,
.sk-form select,
.sk-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font: inherit;
  background: #fff;
}
.sk-form button {
  justify-self: start;
  background: var(--sk-emerald);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 14px 26px;
  font-weight: 700;
  letter-spacing: 0.12em;
  cursor: pointer;
}
.sk-form button:hover { background: var(--sk-emerald-dark); }
