/* File: /css/site.css
   Purpose: MarbellaYacht's own styles, linked after /css/bootstrap-marbella.css (the framework rules the pages use).
   Version: 2.4.0 (2026-10-08: footer filming-location links larger; on phones soft full-width targets, closer together (Steve).)
   Version: 2.3.0 (2026-10-08: a menu button and panel on phones (Steve); the footer's Send Text and Call buttons
     are 44 px tall too.)
   Version: 2.2.0 (2026-10-08: footer links get 44 px tap targets on phones (Steve).)
   Version: 2.1.0 (2026-10-08: the top bar (.mnav), redesigned: wordmark, Gallery, Text and Call; transparent over a
     hero and solid slate when scrolled.)
   Version: 2.0.0 (2026-10-08: was /css/style.css; Montserrat served from /font/montserrat/ (was Google Fonts);
     parallax heroes as CSS, fade-in and tab support for /js/site.js, inline SVG icons (was Font Awesome 4.7).)
   Version: 1.0.0 (as found; versioned 2026-10-07 so its links carry ?v=1.0.0; bump both together) */

/* Montserrat (OFL, /font/montserrat/OFL.txt): the variable font, Latin only. */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/font/montserrat/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

	.logo {font-family: Rancho, cursive; font-size:30px;}
	.header-logo {font-family: Rancho, cursive; font-size:30px;}
	.logo-black {font-family: Rancho, cursive; font-size:30px; color:black}
	.logo-footer {font-family: Rancho, cursive; font-size:60px;}
	.logo-main {font-family: Rancho, cursive; font-size:100px;}

.title-heading {font-family: 'Montserrat', sans-serif;}

.paragraph-space {line-height: 1.6;}

/* Parallax heroes (was MDB's jarallax script): the photo stays put while the page scrolls.
   Phones and tablets get a still photo; fixed backgrounds misbehave there. */
.jarallax { background-attachment: fixed; }
@media (hover: none), (max-width: 991.98px) { .jarallax { background-attachment: scroll; } }

/* In-page links (#contact) scroll smoothly and stop below the fixed navbar. */
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Icons (inline SVG; were Font Awesome 4.7 from a CDN). */
.icon { display: inline-block; width: 1em; height: 1em; vertical-align: -0.125em; fill: currentColor; }
.icon-pin { width: 0.8em; height: 1.15em; vertical-align: -0.15em; }  /* the pin's own shape, as narrow as the old icon */
.btn-floating .icon { display: block; width: 1.25rem; height: 100%; margin: 0 auto; }  /* centred in the round button */

/* ---------- Top bar (/inc/inc-main-nav.asp, /js/site.js) ----------
   Solid slate by default (so it works without JavaScript); site.js adds .is-over-hero on a page that
   opens with a hero photo (transparent over a dark fade) and .is-scrolled once the page moves. */
.mnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1030;
  background: #3e4551; box-shadow: 0 2px 14px rgba(0, 0, 0, .22);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.mnav.is-over-hero { background: linear-gradient(to bottom, rgba(17, 21, 28, .62), rgba(17, 21, 28, 0)); box-shadow: none; }
.mnav.is-over-hero.is-scrolled { background: #3e4551; box-shadow: 0 2px 14px rgba(0, 0, 0, .22); }
.mnav-inner {
  max-width: 1140px; margin: 0 auto; padding: .7rem 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  transition: padding .3s ease;
}
.mnav.is-scrolled .mnav-inner { padding-top: .4rem; padding-bottom: .4rem; }

.mnav-brand { display: flex; flex-direction: column; min-width: 0; color: #fff; text-decoration: none; line-height: 1; }
.mnav-brand:hover, .mnav-brand:focus { color: #fff; text-decoration: none; }
.mnav-word { font-family: 'Pablo LET', 'Brush Script MT', cursive; font-weight: 100; font-size: 2.5rem; letter-spacing: .01em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .25); }
.mnav-tag { margin-top: .2rem; font-family: 'Montserrat', sans-serif; font-size: .62rem; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .82); white-space: nowrap; }

.mnav-links { display: flex; align-items: center; gap: .4rem; }
.mnav-link {
  position: relative; padding: .6rem .8rem; color: #fff; text-decoration: none;
  font-family: 'Montserrat', sans-serif; font-size: .8rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
}
.mnav-link::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .35rem; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.mnav-link:hover, .mnav-link:focus { color: #fff; text-decoration: none; }
.mnav-link:hover::after, .mnav-link:focus-visible::after, .mnav-link[aria-current="page"]::after { transform: scaleX(1); }

.mnav-btn {
  display: inline-flex; align-items: center; gap: .45rem; height: 2.4rem; padding: 0 1.05rem; border-radius: 999px;
  background: #fff; color: #3e4551; text-decoration: none;
  font-family: 'Montserrat', sans-serif; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  transition: background-color .2s ease, color .2s ease;
}
.mnav-btn:hover, .mnav-btn:focus { background: #e9ecf1; color: #3e4551; text-decoration: none; }
.mnav-btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .75); }
.mnav-btn-ghost:hover, .mnav-btn-ghost:focus { background: rgba(255, 255, 255, .14); color: #fff; }
.mnav-btn .icon { width: 1.05rem; height: 1.05rem; }
.mnav a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* The menu button and the quick Call button appear on phones only. */
.mnav-toggle, .mnav-quick-call { display: none; }
@media (max-width: 575.98px) {
  .mnav-inner { padding: .55rem .75rem; gap: .5rem; }
  .mnav-word { font-size: 1.9rem; }
  .mnav-tag { font-size: .55rem; letter-spacing: .16em; }
  .mnav-brand { margin-right: auto; }
  /* Without JavaScript (no .has-js) the links stay in the bar, Text and Call as round icon buttons. */
  .mnav:not(.has-js) .mnav-link { padding: .55rem .5rem; font-size: .72rem; letter-spacing: .14em; }
  .mnav:not(.has-js) .mnav-btn { width: 2.5rem; height: 2.5rem; padding: 0; justify-content: center; }
  .mnav:not(.has-js) .mnav-btn-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  /* With JavaScript: a quick Call button and the menu button; the links open as a panel. */
  .has-js .mnav-quick-call { display: inline-flex; width: 2.75rem; height: 2.75rem; padding: 0; justify-content: center; }
  .has-js .mnav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; padding: 0;
    border: 0; border-radius: 999px; background: transparent; color: #fff; cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .75);
  }
  .mnav-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
  .mnav-toggle-bars, .mnav-toggle-bars::before, .mnav-toggle-bars::after {
    display: block; width: 1.15rem; height: 2px; border-radius: 2px; background: currentColor;
    transition: transform .25s ease, background-color .2s ease;
  }
  .mnav-toggle-bars { position: relative; }
  .mnav-toggle-bars::before, .mnav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .mnav-toggle-bars::before { top: -6px; }
  .mnav-toggle-bars::after { top: 6px; }
  .mnav.is-open .mnav-toggle-bars { background: transparent; }
  .mnav.is-open .mnav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .mnav.is-open .mnav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  .has-js .mnav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: .25rem 1rem 1.1rem;
    background: #3e4551; box-shadow: 0 14px 24px rgba(0, 0, 0, .25);
  }
  .mnav.is-open { background: #3e4551; box-shadow: 0 2px 14px rgba(0, 0, 0, .22); }
  .mnav.is-open .mnav-links { display: flex; }
  .has-js .mnav-link {
    min-height: 3rem; display: flex; align-items: center; padding: .75rem .25rem;
    border-bottom: 1px solid rgba(255, 255, 255, .14); font-size: .85rem;
  }
  .has-js .mnav-link::after { display: none; }
  .has-js .mnav-link[aria-current="page"] { box-shadow: inset 3px 0 0 #fff; padding-left: .85rem; }
  .has-js .mnav-links .mnav-btn { height: 3rem; justify-content: center; margin-top: .75rem; font-size: .8rem; }
}
@media (max-width: 479.98px) { .mnav-tag-place { display: none; } }  /* a phone shows "108' Monte Fino" only */
@media (max-width: 339.98px) { .mnav-tag { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .mnav, .mnav-inner, .mnav-link::after, .mnav-btn,
  .mnav-toggle-bars, .mnav-toggle-bars::before, .mnav-toggle-bars::after { transition: none; }
}

/* ---------- Footer tap targets on phones (Steve, 2026-10-08) ----------
   Every footer link is at least 44 px tall and padded sideways, so a fingertip lands on it:
   the filming-location list, the phone number, the About/Gallery menu and the Instagram links. */
@media (max-width: 767.98px) {
  .page-footer a:not(.btn):not(.btn-floating) { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .75rem; }
  .page-footer .list-unstyled li { margin: .15rem 0; }
  .page-footer .btn-floating.btn-sm { width: 44px; height: 44px; }
  .page-footer .btn { min-height: 44px; display: inline-flex; align-items: center; }
}

/* ---------- Footer: associated filming locations (Steve, 2026-10-08) ---------- */
.page-footer .filming-links a:not(.btn) { font-size: 1.1rem; }
@media (max-width: 767.98px) {
  .page-footer .filming-links { display: flex; flex-direction: column; gap: .4rem; max-width: 22rem; margin: .5rem auto 1rem; }
  .page-footer .filming-links li { margin: 0; }
  .page-footer .filming-links a:not(.btn) {
    display: flex; justify-content: center; align-items: center; min-height: 44px; padding: .5rem 1rem;
    border-radius: 10px; background: rgba(255, 255, 255, .08); text-decoration: none;
    transition: background-color .2s ease;
  }
  .page-footer .filming-links a:not(.btn):hover,
  .page-footer .filming-links a:not(.btn):focus-visible { background: rgba(255, 255, 255, .16); }
}
@media (prefers-reduced-motion: reduce) { .page-footer .filming-links a { transition: none; } }
