/* ============================================================
   ASBRO – Yacht Agency & Marine Services  |  style.css
   Colors: Navy #1D3461  •  Gray #6B7B8D  •  White #FFFFFF
   ============================================================ */

:root {
  --navy: #1D3461;
  --navy-dark: #142447;
  --navy-light: #2a4a85;
  --gray: #6B7B8D;
  --gray-light: #8899A6;
  --gray-pale: #f0f3f7;
  --white: #ffffff;
  --text: #1a2332;
  --text-muted: #5a6a7a;
  --border: #dde3ea;
  --shadow: 0 4px 24px rgba(29,52,97,.10);
  --shadow-lg: 0 12px 48px rgba(29,52,97,.16);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: .25s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Container ── */
.container {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

/* ── Section spacing ── */
.section { padding-block: 96px; }

/* ── Section header ── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header p {
  max-width: 560px;
  margin-inline: auto;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ── Section tag ── */
.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy-light);
  background: rgba(29,52,97,.08);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.section-tag--light {
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.15);
}

/* ── Typography ── */
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
h4 { font-size: 1rem; font-weight: 700; }
p { line-height: 1.75; color: var(--text-muted); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--navy);
  color: var(--white);
}
.btn--primary:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn--ghost:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }
.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  padding: 10px 22px;
  font-size: .88rem;
}
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--full { width: 100%; justify-content: center; padding: 16px; }

/* ── Badge ── */
.badge {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
  padding-block: 14px;
}
.nav.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  backdrop-filter: blur(10px);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  line-height: 0;
}
.nav__logo img {
  height: 64px;
  width: auto;
  transition: var(--transition);
}
.nav:not(.scrolled) .nav__logo img {
  filter: brightness(0) invert(1);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--white); }
.nav.scrolled .nav__links a { color: var(--text); }
.nav.scrolled .nav__links a:hover { color: var(--navy); }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav.scrolled .nav__burger span { background: var(--navy); }

/* ============================================================
   HERO + SLIDER
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}

/* Slider wrapper */
.slider {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 600px;
}

/* Individual slides */
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity .9s ease;
  pointer-events: none;
}
.slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Slide backgrounds */
.slide--1 {
  background:
    linear-gradient(135deg, #0d1e3d 0%, var(--navy) 50%, #1e4080 100%);
}
.slide--1::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at 80% 40%, rgba(42,82,152,.5) 0%, transparent 65%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.slide--2 {
  background: linear-gradient(135deg, #0a1628 0%, #1a3060 50%, #2d5099 100%);
}
.slide--2::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 20% 60%, rgba(29,52,97,.7) 0%, transparent 60%);
}
.slide--3 {
  background: linear-gradient(135deg, #0e2040 0%, #1D3461 45%, #3a6aad 100%);
}
.slide--3::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 60% 30%, rgba(58,106,173,.45) 0%, transparent 65%);
}
.slide--4 {
  background: linear-gradient(135deg, #0b1a35 0%, #162d58 50%, #254d8a 100%);
}
.slide--4::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 75% 55%, rgba(37,77,138,.5) 0%, transparent 65%);
}

/* Overlay gradient per slide */
.slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,20,50,.55) 0%, transparent 100%);
  z-index: 0;
}

/* Slide content */
.slide__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding-block: 120px 80px;
  animation: none;
}
.slide.active .slide__content {
  animation: slideIn .8s ease both;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.slide__content h1 { color: var(--white); margin-bottom: 20px; }
.slide__content h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #a8c4f0, #d4e4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.slide__content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,.82);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.75;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* Arrow controls */
.slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.25);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.slider__arrow:hover {
  background: rgba(255,255,255,.25);
  transform: translateY(-50%) scale(1.08);
}
.slider__arrow svg { width: 22px; height: 22px; }
.slider__arrow--prev { left: 28px; }
.slider__arrow--next { right: 28px; }

/* Dot indicators */
.slider__dots {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none;
  transition: background var(--transition), transform var(--transition), width var(--transition);
  padding: 0;
}
.dot.active {
  background: var(--white);
  width: 28px;
  border-radius: 5px;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.hero__scroll span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 12px;
  position: relative;
}
.hero__scroll span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,.7);
  border-radius: 2px;
  animation: scrollDot 1.8s ease infinite;
}
@keyframes scrollDot {
  0%   { transform: translateX(-50%) translateY(0);    opacity: 1; }
  100% { transform: translateX(-50%) translateY(16px); opacity: 0; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--white); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__image { position: relative; }
.about__image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}
.about__image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__image-frame.no-img::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #2a5298 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='white' stroke-opacity='.1' stroke-width='2'/%3E%3C/svg%3E") center/200px;
}
.about__badge-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 28px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
}
.about__badge-card .stat {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.about__badge-card .stat-label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 4px;
}
.about__text h2 { margin-bottom: 20px; }
.about__text p { margin-bottom: 16px; }
.about__bullets { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.about__bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: .95rem;
  color: var(--text);
}
.check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.check::after {
  content: '';
  width: 6px;
  height: 10px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--gray-pale); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: default;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy-light);
}
.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(29,52,97,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--navy);
  transition: background var(--transition);
}
.service-card__icon svg { width: 28px; height: 28px; }
.service-card:hover .service-card__icon { background: var(--navy); color: white; }
.service-card h3 { color: var(--text); margin-bottom: 12px; }
.service-card > p { font-size: .92rem; margin-bottom: 18px; color: var(--text-muted); }
.service-card ul { display: flex; flex-direction: column; gap: 7px; }
.service-card ul li {
  font-size: .85rem;
  font-weight: 500;
  color: var(--gray);
  padding-left: 16px;
  position: relative;
}
.service-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--navy-light);
}

/* ============================================================
   VESSEL TYPES
   ============================================================ */
.vessels { background: var(--white); }
.vessels__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.vessel-card {
  background: var(--gray-pale);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  border: 1.5px solid transparent;
  transition: var(--transition);
  cursor: default;
}
.vessel-card:hover {
  border-color: var(--navy);
  background: rgba(29,52,97,.04);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.vessel-card__icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}
.vessel-card h4 {
  font-size: .82rem;
  color: var(--text);
  line-height: 1.4;
}

/* ============================================================
   COVERAGE
   ============================================================ */
.coverage {
  position: relative;
  padding-block: 96px;
  overflow: hidden;
}
.coverage__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #2a5298 100%);
}
.coverage__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M0 0h40v40H0zM40 40h40v40H40z'/%3E%3C/g%3E%3C/svg%3E");
}
.coverage__inner { position: relative; z-index: 1; }
.section-header--light h2 { color: var(--white); }
.section-header--light p { color: rgba(255,255,255,.7); }
.regions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 780px;
  margin-inline: auto;
}
.region-chip {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px;
  padding: 10px 22px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: var(--transition);
  cursor: default;
}
.region-chip:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.4);
  transform: translateY(-2px);
}
.region-chip span {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.95);
}

/* ============================================================
   STATS
   ============================================================ */
.stats { background: var(--navy-dark); padding-block: 72px; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item { padding: 20px; }
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-suffix {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #a8c4f0;
}
.stat-desc {
  display: block;
  margin-top: 10px;
  font-size: .85rem;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  letter-spacing: .04em;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--gray-pale); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.contact__info h2 { margin-bottom: 18px; }
.contact__info > p { margin-bottom: 40px; }
.contact__details { display: flex; flex-direction: column; gap: 24px; }
.contact__detail {
  display: flex;
  align-items: center;
  gap: 18px;
}
.contact__detail-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(29,52,97,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}
.contact__detail-icon svg { width: 20px; height: 20px; }
.contact__detail strong {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--navy);
  margin-bottom: 3px;
}
.contact__detail span {
  font-size: .95rem;
  color: var(--text-muted);
}

/* Contact form */
.contact__form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}
.contact__form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .02em;
}
label span { color: var(--navy-light); }
input, select, textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
input::placeholder, textarea::placeholder { color: #b0bbc8; }
input:focus, select:focus, textarea:focus {
  border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(29,52,97,.1);
}
select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7B8D' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
textarea { resize: vertical; min-height: 120px; }
.form-error {
  font-size: .78rem;
  color: #e53e3e;
  font-weight: 500;
  min-height: 16px;
}
.form-success {
  background: rgba(29,52,97,.06);
  border: 1px solid rgba(29,52,97,.2);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: .9rem;
  color: var(--navy);
  font-weight: 500;
  text-align: center;
}
input.invalid, select.invalid, textarea.invalid { border-color: #e53e3e; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-dark);
  padding-block: 40px;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .85;
  border-radius: 3px;
}
.footer__brand p {
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,.5);
}
.footer__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__links a {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  font-weight: 500;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); }
.footer__copy p {
  font-size: .78rem;
  color: rgba(255,255,255,.35);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .vessels__grid { grid-template-columns: repeat(3, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__image { max-width: 520px; margin-inline: auto; }
}

@media (max-width: 768px) {
  .slider__arrow { width: 40px; height: 40px; }
  .slider__arrow svg { width: 18px; height: 18px; }
  .slider__arrow--prev { left: 12px; }
  .slider__arrow--next { right: 12px; }
  .section { padding-block: 64px; }
  .nav__links {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--navy-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 99;
  }
  .nav__links.open { display: flex; }
  .nav__links a {
    font-size: 1.3rem;
    color: var(--white) !important;
  }
  .nav__burger { display: flex; z-index: 100; }
  .services__grid { grid-template-columns: 1fr; }
  .vessels__grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .contact__form-wrap { padding: 28px 20px; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero__cta { flex-direction: column; }
  .btn { justify-content: center; }
  .vessels__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat-num { font-size: 2.2rem; }
}
