/* Island Exchange IT Solutions — Caribbean-inspired palette */
:root {
  --ocean-deep: #0a3d4a;
  --ocean: #1a7a8c;
  --lagoon: #2a9d8f;
  --sand: #f4e4c1;
  --sun: #e9c46a;
  --coral: #e76f51;
  --text: #1a2f35;
  --muted: #4a6670;
  --white: #faf8f5;
  --card: rgba(255, 255, 255, 0.92);
  --shadow: 0 12px 40px rgba(10, 61, 74, 0.12);
  --radius: 14px;
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Outfit", var(--font);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.05rem;
}

/* Subtle wave texture background */
.bg-waves {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(165deg, #e8f6f4 0%, #fff8f0 45%, #fef6e8 100%);
  opacity: 1;
}

.bg-waves::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40vh;
  background: linear-gradient(
    to top,
    rgba(26, 122, 140, 0.06) 0%,
    transparent 100%
  );
  pointer-events: none;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(250, 248, 245, 0.88);
  border-bottom: 1px solid rgba(26, 122, 140, 0.12);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ocean-deep);
}

.brand img {
  width: 44px;
  height: 44px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

nav a:hover,
nav a:focus-visible {
  color: var(--ocean);
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.hero {
  padding: 3.5rem 0 3rem;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  color: var(--ocean-deep);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.hero .lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto 1.75rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--ocean) 0%, var(--lagoon) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(26, 122, 140, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26, 122, 140, 0.4);
}

.btn-ghost {
  color: var(--ocean);
  border: 2px solid rgba(26, 122, 140, 0.35);
  margin-left: 0.5rem;
}

.btn-ghost:hover {
  background: rgba(26, 122, 140, 0.08);
}

section {
  margin-bottom: 3.5rem;
}

section h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--ocean-deep);
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(26, 122, 140, 0.1);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  color: var(--ocean-deep);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(233, 196, 106, 0.35), rgba(42, 157, 143, 0.25));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  font-size: 1.25rem;
}

.about-block {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(26, 122, 140, 0.1);
}

.about-block p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.about-block p:last-child {
  margin-bottom: 0;
}

.address {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px dashed rgba(26, 122, 140, 0.25);
  font-weight: 600;
  color: var(--ocean-deep);
}

.coming-soon {
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 1rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  nav ul {
    justify-content: flex-end;
  }

  .btn-ghost {
    margin-left: 0;
    margin-top: 0.75rem;
  }

  .hero .btn-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
}

form label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  color: var(--ocean-deep);
}

form input,
form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(26, 122, 140, 0.25);
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 1rem;
  background: #fff;
}

form input:focus,
form textarea:focus {
  outline: 2px solid rgba(42, 157, 143, 0.45);
  border-color: var(--lagoon);
}

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

form button[type="submit"] {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.form-success,
.form-error {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.form-success {
  background: rgba(42, 157, 143, 0.15);
  color: #1b5e4a;
}

.form-error {
  background: rgba(231, 111, 81, 0.15);
  color: #8b3a2a;
}

footer {
  text-align: center;
  padding: 2rem 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid rgba(26, 122, 140, 0.1);
}

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