/* kohSametNonGinDuem – high contrast, readable on all devices */

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 72px;
  color: #1e293b; /* dark slate – high contrast on light bg */
  background-color: #fdf8f3;
}

/* Strong readable text helpers */
.text-body { color: #334155 !important; }
.text-muted { color: #475569 !important; }
.text-heading { color: #0c4a6e !important; }

.hero-bg {
  background: linear-gradient(135deg, rgba(7,89,133,0.85) 0%, rgba(3,105,161,0.75) 45%, rgba(180,100,40,0.45) 100%),
              url('https://images.unsplash.com/photo-1559128010-7c1ad6e1b6a5?auto=format&fit=crop&w=1600&q=75') center/cover no-repeat;
  background-attachment: scroll;
  min-height: 100vh;
  min-height: 100dvh;
}

/* White text on hero – with shadow so it never blends */
.hero-bg,
.hero-bg h1,
.hero-bg p,
.hero-bg a {
  text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}

.card-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card-hover:hover,
.card-hover:active {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -10px rgba(7,89,133,0.25);
}

.logo-text {
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.02em;
  color: #0c4a6e;
  font-weight: 700;
}

.gallery-item img {
  transition: transform 0.4s ease;
}
.gallery-item:hover img,
.gallery-item:active img {
  transform: scale(1.04);
}

a, button, [role="button"] {
  min-height: 44px;
  min-width: 44px;
}

nav a, nav button {
  min-height: 40px;
}

/* Sticky contact bar – high contrast */
.sticky-contact {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: #0c4a6e;
  color: #ffffff;
  display: flex;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.sticky-contact a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 6px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff !important;
  text-decoration: none;
  border-right: 1px solid rgba(255,255,255,0.2);
  min-height: 58px;
}
.sticky-contact a:last-child { border-right: none; }
.sticky-contact a:active { background: rgba(255,255,255,0.12); }
.sticky-contact .icon { font-size: 18px; margin-bottom: 2px; }

/* Dark sections – ensure light text */
.bg-ocean-900, .bg-ocean-800, .bg-ocean-950 {
  color: #f8fafc;
}
.bg-ocean-900 p, .bg-ocean-800 p,
.bg-ocean-900 h2, .bg-ocean-800 h2,
.bg-ocean-900 h3, .bg-ocean-800 h3 {
  color: #f8fafc !important;
}

/* Card body text darker */
.card-hover p,
section p {
  color: #334155;
}

/* Footer high contrast */
footer {
  color: #e0f2fe !important;
}
footer a {
  color: #bae6fd !important;
}
footer a:hover {
  color: #ffffff !important;
}

/* Form labels readable */
label {
  color: #1e293b !important;
  font-weight: 600;
}

input, select, textarea {
  font-size: 16px !important;
  color: #1e293b !important;
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .hero-bg { min-height: 80vh; }
  h1 { font-size: clamp(2.2rem, 5vw, 3.4rem) !important; }
}

@supports (padding: max(0px)) {
  body {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card-hover, .gallery-item img { transition: none; }
}

.nav-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}
@media (min-width: 768px) {
  .nav-logo-img { height: 40px; }
}
