/* ==========================================================================
   GEO AQUATIC (geoaquatic.com) — Modern Coming Soon Stylesheet
   Directly Engineered from the Provided Reference Design:
   - Soft Ice-Blue left pane (#E9F4F6) with direct transparent logo
   - Sans-serif modern headline: "Rooted in the sea." / "Built on expertise."
   - Eyebrow category: "SEAFOOD PROCESSING & PRODUCTION"
   - Subtle status: "— OUR NEW WEBSITE IS COMING SOON"
   - Solid oceanic teal CTA button: "Get in touch ✉" (#065A76)
   - Left footer with copyright & ahammed@geoaquatic.com
   - Right pane: Full-bleed coastal boats photograph with angled divider
   - Right caption: "| A HERITAGE SHAPED BY THE OCEAN"
   - Fully responsive for mobile, tablet, and desktop
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Variables & Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Colors Sampled Directly from the Reference */
  --color-bg-ice: #E9F4F6;
  --color-text-dark: #011722;
  --color-text-cyan: #00a2d9;
  --color-text-eyebrow: #00a2d9;
  --color-text-body: #4c5d6e;
  --color-text-muted: #8696a4;
  --color-btn-teal: #065A76;
  --color-btn-hover: #044459;
  --color-border-subtle: #d6e7ea;

  /* Typography */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Global Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-dark);
  background-color: var(--color-bg-ice);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
}

body {
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  overflow-x: hidden;
  background-color: var(--color-bg-ice);
  display: flex;
  flex-direction: column;
}

/* Eliminate unnecessary scrollbars and spaces on desktop */
@media (min-width: 861px) {
  html, body {
    height: 100vh;
    overflow: hidden;
  }
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* --------------------------------------------------------------------------
   3. Viewport Split Layout
   -------------------------------------------------------------------------- */
.split-viewport {
  display: flex;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  position: relative;
  background-color: var(--color-bg-ice);
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   4. Left Content Panel
   -------------------------------------------------------------------------- */
.left-content-panel {
  flex: 0 0 52%;
  width: 52%;
  height: 100%;
  background-color: var(--color-bg-ice);
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  scrollbar-width: none;
}

.left-content-panel::-webkit-scrollbar {
  display: none;
}

.panel-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
  padding: clamp(2rem, 4vh, 3.75rem) clamp(2.5rem, 5vw, 4.75rem);
  width: 100%;
  margin: 0;
  /* Maximum width removed on desktop per request */
}

/* Logo Header */
.logo-header {
  padding-bottom: 20px;
}

.logo-link {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.logo-link:hover {
  transform: translateY(-1px);
}

.site-logo {
  height: 90px;
  width: auto;
  object-fit: contain;
}

/* Main Narrative Content */
.main-narrative {
  margin: auto 0;
  padding: 1rem 0 2rem 0;
}

.eyebrow-tag {
  font-size: clamp(0.78rem, 1.2vw, 0.88rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-eyebrow);
  margin-bottom: 1.25rem;
}

.headline-primary {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.headline-primary span {
  display: block;
}

.hl-dark {
  color: var(--color-text-dark);
}

.hl-cyan {
  color: var(--color-text-cyan);
}

.body-description {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-text-body);
  max-width: 500px;
  margin-bottom: 2rem;
}

/* Coming Soon Status Marker */
.coming-soon-status {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 2.25rem;
}

.status-dash {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-cyan);
  line-height: 1;
}

.status-text {
  font-size: clamp(0.76rem, 1.1vw, 0.85rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-cyan);
}

/* Call to Action Button */
.cta-action-area {
  margin-top: 0.5rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--color-btn-teal);
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.65rem;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(6, 90, 118, 0.22);
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.cta-button:hover {
  background-color: var(--color-btn-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(6, 90, 118, 0.35);
}

.cta-button:active {
  transform: translateY(0);
}

.cta-icon {
  width: 17px;
  height: 17px;
  color: #FFFFFF;
}

/* Panel Footer */
.panel-footer {
  padding-top: clamp(2rem, 3.5vw, 3rem);
  border-top: 1px solid var(--color-border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright-label {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.footer-email-link {
  font-size: 0.85rem;
  color: var(--color-btn-teal);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer-email-link:hover {
  color: var(--color-text-cyan);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   5. Right Image Panel (Full-Bleed Coastal Boats with Angled Cut)
   -------------------------------------------------------------------------- */
.right-image-panel {
  flex: 0 0 calc(48% + 24px);
  width: calc(48% + 24px);
  height: 100vh;
  height: 100dvh;
  position: relative;
  overflow: hidden;
  background-color: #0b1a2b;
  /* Diagonal edge from 52% at top to 54.5% at bottom without leaving any right-side gap */
  clip-path: polygon(24px 0, 100% 0, 100% 100%, 0 100%);
  margin-left: -24px;
  z-index: 1;
}

.image-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.coastal-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  filter: saturate(1.08) contrast(1.04);
}

.image-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 40%, rgba(3, 14, 25, 0.55) 100%);
  pointer-events: none;
}

/* Heritage Caption at Bottom Left of Photo */
.heritage-caption {
  position: absolute;
  bottom: clamp(1.75rem, 3.5vw, 3rem);
  left: clamp(2rem, 4vw, 3.5rem);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #FFFFFF;
  z-index: 5;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}

.caption-bar {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  opacity: 0.9;
}

.caption-text {
  font-size: clamp(0.75rem, 1.1vw, 0.85rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   6. Contact & Direct Inquiries Modal
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 15, 25, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  width: 100%;
  max-width: 520px;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 2.25rem;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.modal-backdrop.is-active .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-bg-ice);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-text-body);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.modal-close-btn:hover {
  background-color: #d2e8ec;
  color: var(--color-text-dark);
}

.modal-heading {
  text-align: center;
  margin-bottom: 1.5rem;
}

.modal-badge-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem auto;
  border-radius: 50%;
  background: var(--color-bg-ice);
  color: var(--color-btn-teal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-badge-icon svg {
  width: 22px;
  height: 22px;
}

.modal-heading h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-text-dark);
  margin-bottom: 0.4rem;
}

.modal-heading p {
  font-size: 0.9rem;
  color: var(--color-text-body);
  line-height: 1.5;
}

.modal-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-bg-ice);
  padding: 0.8rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--color-border-subtle);
}

.contact-role {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-body);
}

.contact-email, .contact-whatsapp, .contact-info {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-btn-teal);
}

.contact-email:hover {
  color: var(--color-text-cyan);
  text-decoration: underline;
}

.contact-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #128c7e;
}

.contact-whatsapp:hover {
  color: #075e54;
  text-decoration: underline;
}

.wa-icon-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #25d366;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.whatsapp-modal-icon {
  width: 14px;
  height: 14px;
  display: block;
}

/* Modal Form */
.modal-notify-form {
  border-top: 1px solid var(--color-border-subtle);
  padding-top: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-body);
  margin-bottom: 0.5rem;
}

.modal-input-row {
  display: flex;
  gap: 0.5rem;
}

.modal-input {
  flex: 1;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.92rem;
  border: 1px solid #c8dce0;
  border-radius: 4px;
  outline: none;
  background: #FFFFFF;
  color: var(--color-text-dark);
  transition: border-color var(--transition-fast);
}

.modal-input:focus {
  border-color: var(--color-text-cyan);
}

.modal-submit-btn {
  background-color: var(--color-btn-teal);
  color: #FFFFFF;
  padding: 0.75rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 4px;
  white-space: nowrap;
  transition: background-color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-submit-btn:hover {
  background-color: var(--color-btn-hover);
}

.btn-spinner {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.modal-submit-btn.is-loading .btn-text {
  display: none;
}

.modal-submit-btn.is-loading .btn-spinner {
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-feedback {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  min-height: 1.2rem;
  display: none;
  font-weight: 600;
}

.form-feedback.is-error {
  display: block;
  color: #dc2626;
}

.form-feedback.is-success {
  display: block;
  color: #059669;
}

/* --------------------------------------------------------------------------
   7. Toast Notification Shelf
   -------------------------------------------------------------------------- */
.toast-shelf {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 1100;
  pointer-events: none;
}

.toast-item {
  background: #011722;
  color: #FFFFFF;
  padding: 0.85rem 1.35rem;
  border-radius: 4px;
  font-size: 0.88rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
  animation: toastSlide 0.35s ease forwards;
  pointer-events: auto;
  border-left: 4px solid var(--color-text-cyan);
}

@keyframes toastSlide {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   8. Floating WhatsApp Chat Widget
   -------------------------------------------------------------------------- */
.whatsapp-float-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1050;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.42), 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, box-shadow 0.25s ease;
  animation: pulseWhatsApp 3s infinite ease-in-out;
}

@keyframes pulseWhatsApp {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.42), 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55), 0 0 0 10px rgba(37, 211, 102, 0);
  }
}

.whatsapp-float-btn:hover {
  background-color: #20ba59;
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float-icon {
  width: 32px;
  height: 32px;
}

.whatsapp-badge-tooltip {
  position: absolute;
  right: 68px;
  background-color: #011722;
  color: #FFFFFF;
  padding: 0.45rem 0.85rem;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.whatsapp-float-btn:hover .whatsapp-badge-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* --------------------------------------------------------------------------
   9. Responsive Adaptations (Tablet & Mobile)
   -------------------------------------------------------------------------- */

/* Medium Screens / Small Desktops (861px to 1024px) */
@media (max-width: 1024px) and (min-width: 861px) {
  .left-content-panel {
    flex: 0 0 54%;
    width: 54%;
  }

  .right-image-panel {
    flex: 0 0 calc(46% + 20px);
    width: calc(46% + 20px);
    margin-left: -20px;
    clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%);
  }

  .panel-inner {
    padding: 2rem 1.75rem;
  }
}

/* Mobile & Tablet Stacking (≤ 860px) */
@media (max-width: 860px) {
  html, body {
    height: auto;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .split-viewport {
    height: auto;
    max-height: none;
    overflow: visible;
    flex-direction: column-reverse;
  }

  .left-content-panel {
    width: 100%;
    height: auto;
    min-height: auto;
    overflow-y: visible;
  }

  .panel-inner {
    padding: 2.25rem 1.5rem 3rem 1.5rem;
    height: auto;
    min-height: auto;
  }

  .right-image-panel {
    width: 100%;
    min-height: 42vh;
    height: 42vh;
    clip-path: none;
    margin-left: 0;
  }

  .eyebrow-tag {
    font-size: 0.75rem;
    margin-bottom: 0.85rem;
  }

  .headline-primary {
    font-size: 2.45rem;
    margin-bottom: 1.15rem;
  }

  .body-description {
    font-size: 0.98rem;
    margin-bottom: 1.5rem;
  }

  .coming-soon-status {
    margin-bottom: 1.75rem;
  }

  .panel-footer {
    padding-top: 1.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .heritage-caption {
    bottom: 1.25rem;
    left: 1.25rem;
  }

  .caption-text {
    font-size: 0.72rem;
  }

  .modal-input-row {
    flex-direction: column;
  }

  .modal-submit-btn {
    width: 100%;
  }

  .toast-shelf {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .whatsapp-float-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 50px;
    height: 50px;
  }

  .whatsapp-float-icon {
    width: 28px;
    height: 28px;
  }
}
