/* Oceanbridge Shared Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Playfair+Display:wght@500;700&display=swap');

:root {
  --bg: #071428;
  --gold: #C9A16B;
  --muted: #A8BCCF;
  --text: #e9f2f8;
  --glass-alpha: 0.08;
  --max-width: 1150px;
  --header-h: 76px;
}

/* Base */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--header-h);
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 28px auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  background: rgba(7, 20, 40, 0.62);
  backdrop-filter: blur(12px) saturate(120%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.header-row {
  width: 100%;
  max-width: var(--max-width);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.brand-title {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  letter-spacing: 2px;
  color: #fff;
  font-weight: 700;
  line-height: 1;
}

.tagline {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* Navigation */
.nav {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 600;
  transition: color 0.22s ease, background 0.22s ease, transform 0.15s ease;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

.nav a.active {
  color: var(--gold);
  border-bottom: 2px solid rgba(201, 161, 107, 0.14);
}

/* Hamburger button - default (desktop hidden) */
.hamburger {
  display: none;       /* hidden on desktop */
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  margin-left: auto;   /* pushes it to the right */
  color: var(--text);
  z-index: 1001;
  position: relative;
}

/* Hero Logo */
.hero-logo {
  display: block;
  margin: 40px auto 24px;
  max-width: 260px;
  width: 100%;
  height: auto;
}

/* Hero Section */
.hero {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 20px 60px;
  background-image: linear-gradient(rgba(7, 20, 40, 0.45), rgba(7, 20, 40, 0.65)), url('images/background.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin: 0 0 16px;
  line-height: 1.1;
}

.hero p.lead {
  font-size: 18px;
  margin: 0 0 18px;
  font-weight: 300;
  color: var(--text);
}

.hero .coming-soon {
  display: inline-block;
  font-weight: 700;
  font-size: 24px;
  padding: 14px 28px;
  border: 2px solid var(--gold);
  color: var(--gold);
  text-transform: uppercase;
  margin: 24px 0;
}

/* Glass Cards */
.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, var(--glass-alpha)), rgba(0, 0, 0, 0.02));
  border-radius: 14px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow: 0 8px 20px rgba(3, 8, 15, 0.45);
}

/* Sections */
section {
  margin-top: 28px;
}

section.center {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 26px;
  font-weight: 700;
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text);
  background: transparent;
}

.btn-primary {
  background: linear-gradient(90deg, var(--gold), #E0B87A);
  color: #071428;
  border: none;
}

.btn-gold {
  background: var(--gold);
  color: #071428;
  border: none;
}

/* Card Grids */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 14px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #fff;
}

.card p {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
}

/* Feature Blocks */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
  justify-content: center;
}

.feature {
  flex: 1 1 260px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.feature svg {
  width: 32px;
  height: 32px;
  fill: var(--gold);
  flex-shrink: 0;
}

.feature h4 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #fff;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

/* Services Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.service-card {
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.03);
  text-align: center;
}

.service-card h3 {
  margin: 12px 0 6px;
  font-size: 16px;
  color: #fff;
}

.service-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.service-card svg {
  width: 40px;
  height: 40px;
  fill: var(--gold);
  margin-bottom: 12px;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 500px;
  margin: 14px auto;
}

input,
textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: transparent;
  color: var(--text);
  resize: vertical;
  font-family: inherit;
  font-size: 14px;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
  font-family: inherit;
  font-size: 14px;
}

/* Footer */
.footer {
  margin-top: 28px;
  padding: 22px 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 980px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    flex-direction: column;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile Hamburger Menu */
@media (max-width: 600px) {

  /* Show hamburger button */
  .hamburger {
    display: block;
  }

  .hamburger.active {
    color: var(--gold);
  }

  /* Hide nav by default on mobile */
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px) saturate(120%);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border-radius: 0 0 12px 12px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 1000;
  }

  .nav.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* Staggered link animation */
  .nav a {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-size: 16px;
    color: var(--bg); /* dark text for visibility on white background */
  }

  .nav.visible a {
    opacity: 1;
    transform: translateY(0);
  }

  .nav.visible a:nth-child(1) { transition-delay: 0.05s; }
  .nav.visible a:nth-child(2) { transition-delay: 0.1s; }
  .nav.visible a:nth-child(3) { transition-delay: 0.15s; }
  .nav.visible a:nth-child(4) { transition-delay: 0.2s; }

  .nav a:hover {
    color: var(--gold);
  }
}
