/* Design DNA: Bodrum Yat | cinematic fullbleed hero | navy-solid header | card-bl cookie */
/* Fonts: "Playfair Display", serif + "Source Sans 3", sans-serif */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

:root {
  --by-navy: #0A1628;
  --by-seafoam: #3D8B7A;
  --by-sand: #E8DFD0;
  --by-white: #FFFFFF;
  --by-gold: #C4A35A;
  --by-navy-light: #152238;
  --by-text: #1a2332;
  --by-text-muted: #5a6478;
  --by-font-serif: "Playfair Display", serif;
  --by-font-sans: "Source Sans 3", sans-serif;
  --by-max-width: 1200px;
  --by-header-h: 72px;
  --by-radius: 6px;
  --by-shadow: 0 4px 24px rgba(10, 22, 40, 0.12);
  --by-transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--by-font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--by-text);
  background: var(--by-white);
}

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

a {
  color: var(--by-seafoam);
  text-decoration: none;
  transition: color var(--by-transition);
}

a:hover {
  color: var(--by-gold);
}

h1, h2, h3, h4 {
  font-family: var(--by-font-serif);
  font-weight: 600;
  line-height: 1.25;
  color: var(--by-navy);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

ul { list-style: none; }

/* ── Header ── */
.by-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--by-navy);
  height: var(--by-header-h);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.by-header__inner {
  max-width: var(--by-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.by-logo {
  font-family: var(--by-font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--by-white);
  letter-spacing: 0.02em;
}

.by-logo span {
  color: var(--by-gold);
}

.by-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.by-nav a {
  color: var(--by-sand);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.by-nav a:hover,
.by-nav a.by-nav--active {
  color: var(--by-gold);
}

.by-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.by-burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--by-white);
  margin: 6px 0;
  transition: var(--by-transition);
}

/* ── Hero ── */
.by-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.by-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.by-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 22, 40, 0.55) 0%,
    rgba(10, 22, 40, 0.75) 50%,
    rgba(10, 22, 40, 0.9) 100%
  );
  z-index: 1;
}

.by-hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem 1.5rem;
}

.by-hero h1 {
  color: var(--by-white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.by-hero__subtitle {
  color: var(--by-sand);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.by-hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ── */
.by-btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--by-font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--by-radius);
  cursor: pointer;
  transition: all var(--by-transition);
}

.by-btn--primary {
  background: var(--by-seafoam);
  color: var(--by-white);
  border-color: var(--by-seafoam);
}

.by-btn--primary:hover {
  background: #347a6b;
  border-color: #347a6b;
  color: var(--by-white);
}

.by-btn--outline {
  background: transparent;
  color: var(--by-white);
  border-color: var(--by-white);
}

.by-btn--outline:hover {
  background: var(--by-white);
  color: var(--by-navy);
}

.by-btn--gold {
  background: var(--by-gold);
  color: var(--by-navy);
  border-color: var(--by-gold);
}

.by-btn--gold:hover {
  background: #b8944a;
  border-color: #b8944a;
  color: var(--by-navy);
}

/* ── Sections ── */
.by-section {
  padding: 5rem 1.5rem;
}

.by-section--sand {
  background: var(--by-sand);
}

.by-section--navy {
  background: var(--by-navy);
  color: var(--by-sand);
}

.by-section--navy h2,
.by-section--navy h3 {
  color: var(--by-white);
}

.by-container {
  max-width: var(--by-max-width);
  margin: 0 auto;
}

.by-section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.by-section__header p {
  color: var(--by-text-muted);
  font-size: 1.05rem;
}

.by-section--navy .by-section__header p {
  color: var(--by-sand);
  opacity: 0.85;
}

.by-divider {
  width: 60px;
  height: 3px;
  background: var(--by-gold);
  margin: 1rem auto 0;
}

/* ── Features Grid ── */
.by-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.by-feature {
  text-align: center;
  padding: 2rem 1.5rem;
}

.by-feature__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  background: var(--by-seafoam);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--by-white);
}

.by-section--navy .by-feature__icon {
  background: var(--by-gold);
  color: var(--by-navy);
}

.by-feature h3 {
  margin-bottom: 0.75rem;
}

.by-feature p {
  color: var(--by-text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.by-section--navy .by-feature p {
  color: var(--by-sand);
  opacity: 0.8;
}

/* ── Yacht Cards ── */
.by-yachts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.by-yacht-card {
  background: var(--by-white);
  border-radius: var(--by-radius);
  overflow: hidden;
  box-shadow: var(--by-shadow);
  transition: transform var(--by-transition), box-shadow var(--by-transition);
}

.by-yacht-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(10, 22, 40, 0.18);
}

.by-yacht-card__img {
  height: 220px;
  overflow: hidden;
}

.by-yacht-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.by-yacht-card:hover .by-yacht-card__img img {
  transform: scale(1.05);
}

.by-yacht-card__body {
  padding: 1.5rem;
}

.by-yacht-card__meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--by-text-muted);
  margin-bottom: 0.75rem;
}

.by-yacht-card__price {
  font-family: var(--by-font-serif);
  font-size: 1.25rem;
  color: var(--by-seafoam);
  font-weight: 600;
  margin-top: 0.75rem;
}

/* ── Split Layout ── */
.by-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.by-split__img {
  border-radius: var(--by-radius);
  overflow: hidden;
  box-shadow: var(--by-shadow);
}

.by-split__img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.by-split--reverse {
  direction: rtl;
}

.by-split--reverse > * {
  direction: ltr;
}

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

.by-tour-card {
  display: flex;
  gap: 1.5rem;
  background: var(--by-white);
  border-radius: var(--by-radius);
  overflow: hidden;
  box-shadow: var(--by-shadow);
}

.by-tour-card__img {
  flex: 0 0 200px;
  overflow: hidden;
}

.by-tour-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 180px;
}

.by-tour-card__body {
  padding: 1.5rem 1.5rem 1.5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.by-tour-card__tag {
  display: inline-block;
  background: var(--by-seafoam);
  color: var(--by-white);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
  margin-bottom: 0.5rem;
  width: fit-content;
}

.by-tour-card__duration {
  font-size: 0.85rem;
  color: var(--by-gold);
  font-weight: 600;
  margin-top: 0.5rem;
}

/* ── Stats ── */
.by-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.by-stat__number {
  font-family: var(--by-font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--by-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.by-stat__label {
  font-size: 0.9rem;
  color: var(--by-sand);
  opacity: 0.85;
}

/* ── Page Hero (inner pages) ── */
.by-page-hero {
  background: var(--by-navy);
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

.by-page-hero h1 {
  color: var(--by-white);
  margin-bottom: 0.75rem;
}

.by-page-hero p {
  color: var(--by-sand);
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto;
}

.by-breadcrumb {
  font-size: 0.85rem;
  color: var(--by-gold);
  margin-bottom: 1rem;
}

.by-breadcrumb a {
  color: var(--by-sand);
}

.by-breadcrumb a:hover {
  color: var(--by-gold);
}

/* ── Contact ── */
.by-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.by-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.by-contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.by-contact-item__icon {
  width: 44px;
  height: 44px;
  background: var(--by-seafoam);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--by-white);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.by-contact-item h4 {
  font-family: var(--by-font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--by-text-muted);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.by-contact-item p,
.by-contact-item a {
  font-size: 1rem;
  color: var(--by-navy);
}

.by-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.by-form__group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--by-navy);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.by-form__group input,
.by-form__group select,
.by-form__group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #d0ccc4;
  border-radius: var(--by-radius);
  font-family: var(--by-font-sans);
  font-size: 1rem;
  background: var(--by-white);
  transition: border-color var(--by-transition);
}

.by-form__group input:focus,
.by-form__group select:focus,
.by-form__group textarea:focus {
  outline: none;
  border-color: var(--by-seafoam);
}

.by-form__group textarea {
  min-height: 140px;
  resize: vertical;
}

.by-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* ── Privacy ── */
.by-privacy-content {
  max-width: 800px;
  margin: 0 auto;
}

.by-privacy-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.by-privacy-content h2:first-child {
  margin-top: 0;
}

.by-privacy-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.by-privacy-content li {
  margin-bottom: 0.5rem;
  color: var(--by-text-muted);
}

.by-privacy-content p {
  color: var(--by-text-muted);
}

/* ── About Values ── */
.by-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.by-value {
  padding: 2rem;
  background: var(--by-white);
  border-left: 4px solid var(--by-gold);
  border-radius: 0 var(--by-radius) var(--by-radius) 0;
}

.by-value h3 {
  color: var(--by-seafoam);
  margin-bottom: 0.75rem;
}

.by-value p {
  color: var(--by-text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ── CTA Banner ── */
.by-cta {
  background: var(--by-seafoam);
  padding: 4rem 1.5rem;
  text-align: center;
}

.by-cta h2 {
  color: var(--by-white);
  margin-bottom: 1rem;
}

.by-cta p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 550px;
  margin: 0 auto 2rem;
}

/* ── Footer ── */
.by-footer {
  background: var(--by-navy);
  color: var(--by-sand);
  padding: 4rem 1.5rem 2rem;
}

.by-footer__grid {
  max-width: var(--by-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.by-footer__col h4 {
  font-family: var(--by-font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--by-gold);
  margin-bottom: 1.25rem;
}

.by-footer__col p,
.by-footer__col li {
  font-size: 0.9rem;
  line-height: 1.8;
  opacity: 0.85;
}

.by-footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.by-footer__col a {
  color: var(--by-sand);
}

.by-footer__col a:hover {
  color: var(--by-gold);
}

.by-footer__brand {
  font-family: var(--by-font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--by-white);
  margin-bottom: 1rem;
}

.by-footer__brand span {
  color: var(--by-gold);
}

.by-footer__bottom {
  max-width: var(--by-max-width);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(232, 223, 208, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

.by-footer__bottom a {
  color: var(--by-sand);
}

/* ── Cookie Banner ── */
.by-cookie {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 9999;
  max-width: 380px;
  background: var(--by-white);
  border-radius: var(--by-radius);
  box-shadow: 0 8px 40px rgba(10, 22, 40, 0.25);
  padding: 1.5rem;
  display: none;
}

.by-cookie.by-cookie--visible {
  display: block;
}

.by-cookie h4 {
  font-family: var(--by-font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--by-navy);
  margin-bottom: 0.5rem;
}

.by-cookie p {
  font-size: 0.85rem;
  color: var(--by-text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.by-cookie__actions {
  display: flex;
  gap: 0.75rem;
}

.by-cookie__actions .by-btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.8rem;
}

/* ── Responsive 900px ── */
@media (max-width: 900px) {
  .by-features,
  .by-yachts,
  .by-values {
    grid-template-columns: repeat(2, 1fr);
  }

  .by-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .by-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .by-split--reverse {
    direction: ltr;
  }

  .by-split__img img {
    height: 300px;
  }

  .by-tours {
    grid-template-columns: 1fr;
  }

  .by-tour-card__img {
    flex: 0 0 160px;
  }

  .by-contact-grid {
    grid-template-columns: 1fr;
  }

  .by-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Responsive 560px ── */
@media (max-width: 560px) {
  :root {
    --by-header-h: 64px;
  }

  .by-burger {
    display: block;
  }

  .by-nav {
    position: fixed;
    top: var(--by-header-h);
    left: 0;
    right: 0;
    background: var(--by-navy);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform var(--by-transition), opacity var(--by-transition);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  }

  .by-nav.by-nav--open {
    transform: translateY(0);
    opacity: 1;
  }

  .by-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(232, 223, 208, 0.1);
    width: 100%;
  }

  .by-hero {
    min-height: 70vh;
  }

  .by-section {
    padding: 3rem 1.25rem;
  }

  .by-features,
  .by-yachts,
  .by-values,
  .by-stats {
    grid-template-columns: 1fr;
  }

  .by-tour-card {
    flex-direction: column;
  }

  .by-tour-card__img {
    flex: none;
    height: 180px;
  }

  .by-tour-card__body {
    padding: 1.25rem;
  }

  .by-form__row {
    grid-template-columns: 1fr;
  }

  .by-footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .by-footer__bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .by-cookie {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
  }

  .by-hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .by-btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}
