/**
 * SeaTech Yachts - Main Stylesheet
 * Core layout, typography, buttons, inputs, and utilities.
 */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--color-dark-charcoal);
  background-color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Accessible focus ring */
:focus-visible {
  outline: 2px solid var(--color-cyan-accent);
  outline-offset: 3px;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-navy-deep);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.85rem, 3.8vw, 2.6rem);
}

h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: #3b4d5e;
  font-size: 1.05rem;
  line-height: 1.7;
}

p.lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #4b6072;
}

a {
  color: var(--color-blue-cerulean);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-blue-sapphire);
}

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

ul, ol {
  list-style: none;
}

/* Eyebrow Label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-teal-marine);
  margin-bottom: 0.75rem;
}

.eyebrow.eyebrow-light {
  color: var(--color-cyan-accent);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.container-narrow {
  max-width: 860px;
}

/* Section Wrapper */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-dark {
  background-color: var(--color-navy-deep);
  color: var(--color-silver-light);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--color-white);
}

.section-dark p {
  color: #a8bccd;
}

.section-pearl {
  background-color: var(--color-pearl);
}

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

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.15rem;
  color: #556c80;
}

.section-dark .section-header p {
  color: #9cb1c4;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-blue-sapphire) 0%, var(--color-blue-cerulean) 100%);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(13, 80, 184, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0b439c 0%, #1c73c2 100%);
  color: var(--color-white);
  box-shadow: 0 6px 20px rgba(13, 80, 184, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.22);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

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

.btn-outline-navy:hover {
  background-color: var(--color-navy-deep);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-cyan {
  background: linear-gradient(135deg, #087E8B 0%, #36C5CF 100%);
  color: #04121e;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(54, 197, 207, 0.35);
}

.btn-cyan:hover {
  background: linear-gradient(135deg, #066772 0%, #29abb5 100%);
  color: #04121e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(54, 197, 207, 0.5);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: #1eb956;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}

.badge-gold {
  background: rgba(197, 160, 89, 0.15);
  color: #8c6a21;
  border: 1px solid rgba(197, 160, 89, 0.3);
}

.badge-cyan {
  background: rgba(54, 197, 207, 0.15);
  color: #06727c;
  border: 1px solid rgba(54, 197, 207, 0.3);
}

.badge-navy {
  background: rgba(6, 27, 44, 0.08);
  color: var(--color-navy-deep);
  border: 1px solid rgba(6, 27, 44, 0.15);
}

.badge-white {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-navy-deep);
  box-shadow: var(--shadow-sm);
}

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

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

.section-dark .form-label {
  color: var(--color-silver-light);
}

.form-control,
.form-select {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-dark-charcoal);
  background-color: var(--color-white);
  border: 1px solid var(--color-silver);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--color-blue-cerulean);
  box-shadow: 0 0 0 3px rgba(36, 136, 229, 0.18);
  outline: none;
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Text alignments */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
