/*
Theme Name: Global Marine Yacht Sales & Service
Theme URI: https://www.theglobalmarine.com
Author: Global Marine
Author URI: https://www.theglobalmarine.com
Description: Custom luxury yacht brokerage, boat sales, and marine engineering service WordPress theme for Global Marine (Est. 2013).
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: global-marine
*/

:root {
  --navy-deep: #071529;
  --navy-primary: #0b1f3a;
  --ocean-blue: #1a4b84;
  --steel-blue: #2b6cb0;
  --gold-accent: #c89d54;
  --silver-light: #f4f7fb;
  --text-dark: #10243e;
  --text-muted: #52657d;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.6;
}

h1, h2, h3, h4, .serif-title {
  font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.gm-header {
  background: rgba(7, 21, 41, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 14px 0;
}

.gm-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.gm-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #ffffff;
}

.gm-logo-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold-accent);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.gm-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
}

.gm-brand-text strong {
  display: block;
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.gm-brand-text span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-accent);
}

.gm-nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  align-items: center;
}

.gm-nav a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}

.gm-nav a:hover {
  color: var(--gold-accent);
}

.btn-gold {
  display: inline-block;
  background: linear-gradient(135deg, #d4ab63, #b38439);
  color: #071529 !important;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(200, 157, 84, 0.35);
}

.btn-outline {
  display: inline-block;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #ffffff;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 6px;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
}

/* Hero */
.gm-hero {
  background: linear-gradient(125deg, rgba(7, 21, 41, 0.93), rgba(16, 46, 86, 0.86)),
              url('https://images.unsplash.com/photo-1567899378494-47b22a2ae96a?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat;
  color: #ffffff;
  padding: 96px 0 88px;
}

.gm-hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 40px;
  align-items: center;
}

.gm-eyebrow {
  display: inline-block;
  color: var(--gold-accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 14px;
}

.gm-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 20px;
}

.gm-hero p {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 620px;
  margin-bottom: 30px;
}

.gm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.gm-crest-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  backdrop-filter: blur(8px);
}

.gm-crest-card img {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  object-fit: cover;
  transform: scale(1.06);
  border: 3px solid var(--gold-accent);
  margin: 0 auto 16px;
  display: block;
}

/* Sections */
.gm-section {
  padding: 80px 0;
}

.gm-section-alt {
  background: var(--silver-light);
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-heading h2 {
  font-size: 2.15rem;
  color: var(--navy-primary);
  margin-bottom: 12px;
}

/* Yacht Cards */
.yacht-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.yacht-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.06);
  display: flex;
  flex-direction: column;
}

.yacht-thumb {
  position: relative;
  height: 220px;
  background: var(--navy-primary);
}

.yacht-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yacht-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--navy-deep);
  color: var(--gold-accent);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 4px;
  text-transform: uppercase;
}

.yacht-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.yacht-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ocean-blue);
  margin: 6px 0 12px;
}

.yacht-specs {
  display: flex;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid #edf2f7;
  border-bottom: 1px solid #edf2f7;
  padding: 10px 0;
  margin-bottom: 16px;
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: #ffffff;
  padding: 28px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  border-top: 4px solid var(--ocean-blue);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--navy-primary);
}

/* Booking Form */
.booking-box {
  background: #ffffff;
  border-radius: 14px;
  padding: 36px;
  border: 1px solid #dce5f0;
  box-shadow: 0 12px 32px rgba(11, 31, 58, 0.08);
  max-width: 820px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
}

.notice-success {
  background: #ecfdf5;
  border: 1px solid #10b981;
  color: #065f46;
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Footer */
.gm-footer {
  background: var(--navy-deep);
  color: #cbd5e1;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #94a3b8;
}

@media (max-width: 860px) {
  .gm-hero-grid, .footer-grid, .form-grid {
    grid-template-columns: 1fr;
  }
  .gm-nav {
    display: none;
  }
}
