/* ═══════════════════════════════════════════════════════════════════
   Hawk Web Services  –  hws.css
   Pure HTML5 / CSS3  |  No framework dependencies  |  2026
═══════════════════════════════════════════════════════════════════ */

/* ── Custom Properties ──────────────────────────────────────────── */
:root {
    --font-main:     'Helvetica Neue';
    --accent:        #1a73e8;
    --silver:        #c0c0c0;
    --glass-bg:      rgba(0, 0, 0, 0);
    --glass-border:  rgba(.10, 0, 0, .10);
    --shadow-lg:     0 8px 32px rgba(0, 0, 0, 0.35);
    --shadow-md:     0 4px 18px rgba(0, 0, 0, 0.25);
    --radius:        12px;
    --transition:    0.28s ease;
}

/* ── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── Root / Body ────────────────────────────────────────────────── */
html {
    font-family: var(--font-main);
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    /* All scrolling is handled by .parallax-wrapper so body stays clipped */
    overflow-Y: hidden;
    background: transparent;
}

/* ═══════════════════════════════════════════════════════════════════
   PARALLAX WRAPPER
   The scroll host.  perspective: 1px enables CSS 3D parallax:
   child layers at negative translateZ scroll slower than content.
═══════════════════════════════════════════════════════════════════ */
.parallax-wrapper {
    height: 100vh;	
    overflow-x: hidden;
    overflow-y: hidden;
    perspective: 1px;          /* key: enables 3D depth scrolling   */
    scroll-behavior: smooth;
}

body.content-loaded .parallax-wrapper {
    overflow-y: hidden;
}

/* ═══════════════════════════════════════════════════════════════════
   PARALLAX HERO SECTION
   Full-viewport panel that contains both depth layers + foreground.
═══════════════════════════════════════════════════════════════════ */
.parallax-section {
	margin-top: 0px;
    position: relative;
    height: 100vh;
    transform-style: preserve-3d;  /* children live in the same 3D space */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ── Generic Layer Base ─────────────────────────────────────────── */
/* Both depth layers share this base: absolute, covering the section */
.plx-layer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* ── BASE LAYER  –  intro.mp4 ───────────────────────────────────── */
/*
   translateZ(-2px)  →  pushed deepest into the z-plane
   scale(3)          →  compensates perspective shrink:
                        scale = (perspective − translateZ) / perspective
                             = (1 − (−2)) / 1 = 3
   Result: video scrolls at ⅓ the speed of normal content (parallax)
*/
.plx-base {
    transform: translateZ(-2px) scale(3);
    z-index: -1;
}

.plx-base video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 60%;
    display: block;
	z-index: 1;
}

/* ── TOP LAYER  –  carvingTheWake.jpg ──────────────────────────── */
/*
   translateZ(-1px)  →  one unit behind foreground
   scale(2)          →  compensates: (1 − (−1)) / 1 = 2
   Result: image scrolls at ½ speed (midground parallax)
*/
.plx-top {
	border: 2px solid black;
    background-image: url('../images/sandNSea.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
	min-height: 150vh;
    opacity: 0%;	
    transform: translateZ(-200px) scale(1);
    z-index: -2;
    pointer-events: none;   /* click-through to video / nav */
}

/* ═══════════════════════════════════════════════════════════════════
   JUMBOTRON HEADER  –  glassmorphism bar with navbar
   Lives in the parallax section foreground (translateZ: 0 implied).
   Position: absolute keeps it at the top of the 100 vh hero panel.
═══════════════════════════════════════════════════════════════════ */
.jumbotron-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transform: translateZ(0);          /* surface to foreground in 3D ctx */

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 2rem;
    height: 80px;

    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
}

/* ── Header logo ────────────────────────────────────────────────── */
.header-logo {
    height: 54px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
    flex-shrink: 0;
}

/* ── Navbar ─────────────────────────────────────────────────────── */
#navbar {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    list-style: none;
}

.nav-link {
    display: inline-block;
    padding: 0.45rem 1.15rem;
    color: #ffffff;
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid transparent;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
    transition: background var(--transition), color var(--transition),
                border-color var(--transition);
}

.nav-link:hover,
.nav-link:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--glass-border);
    color: var(--silver);
    outline: none;
}

.nav-link:active {
    background: rgba(0, 0, 0, 0.5);
    color: var(--silver);
}

/* ═══════════════════════════════════════════════════════════════════
   HERO TAGLINE  –  fly-in animated headings
═══════════════════════════════════════════════════════════════════ */
.tagline-panel {
    position: relative;
    z-index: 20;
    padding: 0.25rem 1rem 0.5rem;
    text-align: center;
    background: transparent;
}

.hero-tagline {
    position: relative;
    z-index: 10;
    transform: translateZ(0);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0;
    padding: 0 1rem;
    text-align: center;
    pointer-events: none;
}

.hero-tagline h1 {
    font-family: var(--font-main);
    font-size: clamp(2.4rem, 6vw, 5rem);
    line-height: 1.05;
    animation-duration: 1.25s;
    animation-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
    animation-fill-mode: both;
}

/* Outlined / ghost text style */
.outlined-heading {
    color: transparent;
    -webkit-text-stroke: 2px var(--silver);
    text-rendering: geometricPrecision;
}

.tagline-dash {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--silver);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    line-height: 1;
}

/* ── Hero subtitle ──────────────────────────────────────────────── */
.hero-subtitle {
    position: relative;
    z-index: 10;
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
    text-align: center;
    margin-top: 0.5rem;
    letter-spacing: 0.025em;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════════
   FLY-IN KEYFRAME ANIMATIONS
═══════════════════════════════════════════════════════════════════ */
@keyframes flyFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100vw);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes flyFromRight {
    from {
        opacity: 0;
        transform: translateX(100vw);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fly-in-left  { animation-name: flyFromLeft;  }
.fly-in-right { animation-name: flyFromRight; }

/* ═══════════════════════════════════════════════════════════════════
   CONTENT WRAPPER  –  sits below the parallax hero
═══════════════════════════════════════════════════════════════════ */
.content-wrapper {
    position: relative;
    z-index: 20;
    min-height: 420px;
    width: 100vw;
    padding: 3rem 0.75rem 6.25rem;
    background: linear-gradient(160deg, #f0f2f5 0%, #dde1e7 100%);
    background-image: url('../images/sandNSea.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 80%;
	top: 80px;
	position: absolute;
	z-index: -1;
}

/* ── Content Area (dynamic injection target) ────────────────────── */
.content-area {
    margin-top: 0px;
}

/* ── Fade-in for freshly loaded content ─────────────────────────── */
@keyframes contentReveal {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-content {
    animation: contentReveal 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* ── Loading placeholder ────────────────────────────────────────── */
.loading-text {
    font-family: var(--font-main);
    font-style: italic;
    color: #888;
    text-align: center;
    padding: 3rem 1rem;
}

.embedded-page-shell {
    display: flex;
    width: 100%;
    height: auto;
    flex: 1;
}

.embedded-page-frame {
    display: block;
    width: 100%;
    height: auto;
    min-height: 900px;
    border: 0;
    border-radius: 10px;
    background: #ffffff;
}

.load-error {
    color: #b42318;
    background: #fef3f2;
    border: 1px solid #fecdca;
    border-radius: 10px;
    padding: 1rem 1.25rem;
}

/* ═══════════════════════════════════════════════════════════════════
   JUMBOTRON FOOTER  –  glassmorphism bar at page bottom
═══════════════════════════════════════════════════════════════════ */
.jumbotron-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 2.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-top: 1px solid var(--glass-border);
    box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.25);
    font-family: var(--font-main);
    font-size: 1.95rem;
    color: rgba(0, 0, 0, 0.85);
	z-index: -1;
	
	 
    
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
}

.footer-copy,
.footer-host {
    font-size: 1rem;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.jumbotron-footer a {
    color: inherit;
    text-decoration: none;
}

.jumbotron-footer a:hover {
    text-decoration: underline;
}

.footer-accent {
    color: var(--accent);
	z-index: 10;
}

/* ═══════════════════════════════════════════════════════════════════
   ACCESSIBILITY: Reduced Motion
═══════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .plx-base,
    .plx-top {
        transform: none !important;
    }
    .fly-in-left,
    .fly-in-right {
        animation: none !important;
        opacity: 1;
        transform: none;
    }
    .fade-in-content {
        animation: none !important;
        opacity: 1;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE  –  tablet / mobile
═══════════════════════════════════════════════════════════════════ */
@media (max-width: 820px) {
    .jumbotron-header {
        height: auto;
        flex-direction: column;
        padding: 0.7rem 1rem;
        gap: 0.5rem;
    }

    .header-logo {
        height: 42px;
    }

    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.25rem;
    }

    .nav-link {
        font-size: 0.92rem;
        padding: 0.35rem 0.8rem;
    }

    .hero-tagline {
        margin-top: 0;
    }

    .jumbotron-footer {
        flex-direction: column;
        gap: 0.4rem;
        text-align: center;
        padding: 1rem;
    }

    .content-wrapper {
        padding: 2rem 0.5rem 5.5rem;
    }

    .content-area {
        height: 78vh;
        min-height: 700px;
        padding: 1rem;
		width: 100vw;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   CONTACT FORM  –  fully visible over content
═══════════════════════════════════════════════════════════════════ */
.contact-form {
    opacity: 1.0;
    z-index: 1;
}

/* ===== Responsive baseline for main shell ===== */
:root {
  --container-max: 1200px;
  --space-1: clamp(0.25rem, 0.5vw, 0.5rem);
  --space-2: clamp(0.5rem, 1vw, 0.75rem);
  --space-3: clamp(0.75rem, 1.5vw, 1rem);
  --space-4: clamp(1rem, 2vw, 1.5rem);
  --space-5: clamp(1.5rem, 3vw, 2.25rem);
}

.content-wrapper {
  padding: var(--space-5) var(--space-3) var(--space-5);
}

.content-area {
  width: calc(100% - 300px);
  margin-inline: 150px;
  margin-top: 200px;
  min-height: 600px;
  height: auto;
  overflow: visible;
  z-index: 1;
}

.embedded-page-shell {
  width: 100%;
  height: auto;
}

.embedded-page-frame {
  width: 100%;
  height: auto;
  min-height: 900px;
  display: block;
}

/* Tablet */
@media (max-width: 1024px) {
  .jumbotron-header {
    padding: 0 1rem;
  }

  .content-area {
    width: calc(100% - 128px);
    margin-inline: 64px;
    min-height: 75vh;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem;
  }

  .nav-link {
    font-size: 0.92rem;
    padding: 0.35rem 0.75rem;
  }

  .hero-tagline {
    margin-top: 0;
    gap: 0.5rem;
  }

  .content-wrapper {
    padding: 1rem 0.5rem 2rem;
  }

  .content-area {
    width: calc(100% - 32px);
    margin-inline: 16px;
    min-height: 80vh;
    padding: 0.5rem;
  }

  .jumbotron-footer {
    flex-direction: column;
    text-align: center;
    gap: 0.35rem;
    padding: 0.9rem;
  }
}

/* Large screens / TV */
@media (min-width: 1600px) {
  :root {
    --container-max: 1400px;
  }

  .content-area {
    min-height: 72vh;
  }
}

/* ===== Top-anchored layout (tagline + content directly below header) ===== */
.content-wrapper {
  position: fixed;
  top: 120px;
  right: 0;
  bottom: 100px;
  left: 0;
  width: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0.25rem 0.75rem 0.5rem;
  overflow: hidden;
}

.tagline-panel {
  flex: 0 0 auto;
  padding-top: 0.1rem;
  padding-bottom: 0.2rem;
}

.content-area {
  flex: 1 1 auto;
  display: flex;
  align-items: stretch;
  min-height: 0;
  height: auto;
  overflow: auto;
}

@media (max-width: 820px) {
  .content-wrapper {
    top: 132px;
    bottom: 118px;
  }
}

@media (max-width: 768px) {
  .content-wrapper {
    top: 146px;
    right: 0;
    bottom: 128px;
    left: 0;
    padding: 0.4rem 0.5rem 0.5rem;
  }

  .content-area {
    width: calc(100% - 16px);
    margin-inline: 8px;
    min-height: 0;
	max-width: none;
    margin-top: 100px;
    min-height: 500px;
    height: auto;
    padding: 1rem;
    background-color: transparent;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: visible;
    display: flex;
    align-items: center;
    opacity: 1;
	position: relative;
	top: auto;
    z-index: 1;
  }

  .jumbotron-footer {
    bottom: 0px;
  }
}