@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  --color-dark: #1b1f29;
  --color-text: #434856;
  --color-blue: #1c69d4;
  --color-blue-hover: #0653b6;
  --color-purple: #2925f4;
  --color-muted: #80889E;
  --color-light-bg: #F9FAFB;
  --color-border: #d9dee8;
  --container-width: 1510px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 4.5vw, 4.5rem); line-height: 1.4; }
h2 { font-size: clamp(1.5rem, 3vw, 3rem); line-height: 1.3; }
h3 { font-size: clamp(1.2rem, 2vw, 2rem); line-height: 1.3; }
h4 { font-size: clamp(1rem, 1.5vw, 1.5rem); line-height: 1.2; }
h5 { font-size: clamp(0.9rem, 1.25vw, 1.25rem); line-height: 1.2; }
h6 { font-size: 0.875rem; line-height: 1.25; }

a { color: var(--color-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-purple); }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
ul { list-style: disc; padding-left: 1.5em; }
ul li { margin-bottom: 0.5em; }
img { max-width: 100%; }

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================================
   HEADER
============================================================ */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.16);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 2rem;
  max-width: var(--container-width);
  margin: 0 auto;
}

.site-logo img {
  width: 130px;
  height: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
}

.site-nav a {
  font-size: 1.3125rem;
  font-weight: 500;
  color: #ffffff;
  padding: 12px 16px;
  display: block;
  transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
  color: rgba(255,255,255,0.55);
}

.btn-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 15px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: #ffffff;
  background: transparent;
  border: 1px solid #ffffff;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-header:hover {
  color: #424242;
  background: #ffffff;
  border-color: #ffffff;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: #ffffff;
}

.mobile-nav {
  display: none;
  background: #ffffff;
  border-top: 1px solid var(--color-border);
}

.mobile-nav.open { display: block; }

.mobile-nav a {
  display: block;
  padding: 14px 2rem;
  color: var(--color-dark);
  font-size: 1rem;
  font-weight: 600;
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav a:hover { background: var(--color-light-bg); color: var(--color-dark); }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  line-height: 1;
}

.btn::after { content: '→'; font-size: 1.1em; }
.btn-no-arrow::after { content: ''; display: none; }

.btn-white { background: #ffffff; color: var(--color-dark); border-color: #ffffff; }
.btn-white:hover { background: transparent; color: #ffffff; border-color: #ffffff; }

.btn-blue { background: var(--color-blue); color: #ffffff; border-color: var(--color-blue); }
.btn-blue:hover { background: var(--color-blue-hover); border-color: var(--color-blue-hover); color: #ffffff; }

.btn-ghost { background: transparent; color: #ffffff; border-color: #ffffff; }
.btn-ghost:hover { background: #ffffff; color: var(--color-dark); }

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  min-height: 80px;
  display: flex;
  align-items: center;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 2rem;
  max-width: var(--container-width);
  margin: 0 auto;
  width: 100%;
}

.footer-copyright { color: var(--color-muted); font-size: 14px; }

.footer-logo {
  display: flex;
  justify-content: flex-end;
}

.footer-logo img { height: 50px; width: auto; }

/* ============================================================
   HERO
============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(27,31,41,0.48) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-content h5 { color: #ffffff; margin-bottom: 0.5rem; }
.hero-content h1 { color: #ffffff; margin-bottom: 1.5rem; }
.hero-content > p { color: #ffffff; margin-bottom: 1.5rem; }
.hero-content h3 { color: #ffffff; font-size: 1.5rem; margin-bottom: 2rem; }

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   FEATURE CARDS (2-col)
============================================================ */
.feature-cards { display: grid; grid-template-columns: 1fr 1fr; }

.feature-card {
  position: relative;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 3rem;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
}

.feature-card-1::before {
  background: linear-gradient(262deg, rgba(255,255,255,0) 0%, rgba(37,40,40,0.57) 100%);
}

.feature-card-2::before {
  background: linear-gradient(254deg, rgba(255,255,255,0) 0%, rgba(0,0,0,0.79) 100%);
}

.feature-card-content {
  position: relative;
  z-index: 1;
  max-width: 480px;
}

.feature-card-content h3 { color: #ffffff; margin-bottom: 1rem; }
.feature-card-content p { color: #ffffff; margin-bottom: 1.5rem; }

/* ============================================================
   SERVICE CARDS (3-col)
============================================================ */
.service-cards-section {
  background: linear-gradient(180deg, rgba(249,250,251,0) 88%, #F9FAFB 88%);
  padding: 4rem 0;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-card h6 {
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
}

.service-card p { color: var(--color-dark); flex: 1; margin-bottom: 0; }

/* ============================================================
   CONTACT BAND
============================================================ */
.contact-band {
  background: var(--color-light-bg);
  padding: 5rem 0;
  text-align: center;
}

.contact-band h2 {
  color: var(--color-dark);
  margin-bottom: 1.5rem;
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  line-height: 1.3;
}

.contact-band p {
  color: var(--color-dark);
  font-weight: 600;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.contact-band .btn {
  background: #ffffff;
  color: var(--color-dark);
  border-color: #ffffff;
}

.contact-band .btn:hover {
  background: transparent;
  color: var(--color-dark);
}

/* ============================================================
   REVIEWS
============================================================ */
.reviews-section {
  background: var(--color-light-bg);
  padding: 5rem 0;
}

.reviews-header {
  text-align: center;
  margin-bottom: 3rem;
}

.reviews-header img { max-width: 300px; height: auto; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.review-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  padding: 1.5rem;
}

.reviewer-name {
  font-weight: 700;
  color: var(--color-dark);
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.25rem;
}

.car-model {
  color: var(--color-muted);
  font-style: italic;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 1rem;
}

.review-card p { color: var(--color-text); font-size: 0.9rem; margin-bottom: 0; }

.reviews-cta { text-align: center; }

/* ============================================================
   PAGE TITLE BAR (inner pages)
============================================================ */
.page-title-bar {
  background: var(--color-dark);
  padding: 140px 0 60px;
}

.page-title-bar h1 { color: #ffffff; }

/* ============================================================
   TWO-COLUMN CONTENT LAYOUT
============================================================ */
.two-col-content { padding: 5rem 0; }

.two-col-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: start;
}

.two-col-grid img { width: 100%; height: auto; display: block; border-radius: 2px; }

.content-col h2 { margin-bottom: 1.5rem; color: var(--color-dark); }
.content-col p { font-weight: 600; color: var(--color-dark); }
.content-col ul { font-weight: 600; color: var(--color-dark); margin-bottom: 2rem; }
.content-col ul li { margin-bottom: 0.75rem; }

.service-price-block { margin-bottom: 2rem; }
.service-price-block h4 { color: var(--color-dark); margin-bottom: 0.5rem; font-size: 1rem; font-weight: 700; }
.service-price-block p { font-weight: 400; color: var(--color-text); margin-bottom: 0; }

/* ============================================================
   FINANCING TABLE
============================================================ */
.financing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.financing-table th {
  background: var(--color-dark);
  color: #ffffff;
  padding: 10px 16px;
  text-align: left;
  font-weight: 600;
}

.financing-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-dark);
  font-weight: 600;
}

.financing-table tr:nth-child(even) td { background: var(--color-light-bg); }

.financing-note {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--color-text);
  font-weight: 600;
  margin: 1rem 0 2rem;
}

/* ============================================================
   MARINE PRICE TABLES
============================================================ */
.marine-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0 1rem;
  font-size: 0.9rem;
}

.marine-table th {
  background: var(--color-dark);
  color: #ffffff;
  padding: 10px 16px;
  text-align: left;
  font-weight: 600;
}

.marine-table td {
  padding: 8px 16px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-dark);
  font-weight: 600;
}

.marine-table tr:nth-child(even) td { background: var(--color-light-bg); }

.marine-engine-type {
  color: var(--color-dark);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 2rem 0 0.5rem;
  font-family: 'Inter', sans-serif;
}

.marine-note {
  font-weight: 600;
  color: var(--color-dark);
  font-size: 0.875rem;
  margin: 0.5rem 0 1.5rem;
  padding: 1rem;
  background: var(--color-light-bg);
  border-left: 3px solid var(--color-blue);
}

.marine-extra { margin-top: 2rem; }
.marine-extra h4 { color: var(--color-dark); margin-bottom: 0.5rem; font-weight: 700; font-size: 1rem; }
.marine-extra p { font-weight: 600; color: var(--color-dark); }

/* ============================================================
   CONTACT PAGE
============================================================ */
.contact-main-section { background: var(--color-dark); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 700px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.contact-info-col {
  padding: 120px 4rem 4rem;
}

.contact-info-col h1 { color: #ffffff; margin-bottom: 1rem; }
.contact-info-col > p { color: #ffffff; margin-bottom: 3rem; font-weight: 600; }

.contact-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--color-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-label {
  color: var(--color-muted);
  font-size: 0.875rem;
  margin-bottom: 0.2rem;
  display: block;
}

.contact-value {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  margin: 0;
}

.contact-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 1rem 0 1.5rem;
}

.contact-photo-map {
  display: flex;
  flex-direction: column;
  min-height: 700px;
  padding-top: 80px;
}

.contact-photo-map img {
  width: 100%;
  flex: 1;
  object-fit: cover;
  display: block;
}

.contact-photo-map iframe {
  width: 100%;
  flex: 1;
  border: none;
  display: block;
  min-height: 350px;
}

/* ============================================================
   MODAL / CONTACT FORM
============================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-overlay.open { display: flex; }

.modal-box {
  background: #ffffff;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 4px;
  padding: 2.5rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--color-text);
  line-height: 1;
}

.modal-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 2rem;
}

.form-section-heading {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 1.5rem 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group input[type="date"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  color: var(--color-text);
  background: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-blue);
}

.form-group textarea { height: 120px; resize: vertical; }

.form-submit { margin-top: 1.5rem; }

.cf-turnstile { margin-bottom: 1rem; }

.form-feedback {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
}
.form-feedback.success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}
.form-feedback.error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 921px) {
  .site-nav { display: none; }
  .btn-header-wrap { display: none; }
  .mobile-menu-toggle { display: flex; }

  .hero-section { min-height: 80vh; padding-bottom: 60px; }
  .feature-cards { grid-template-columns: 1fr; }
  .service-cards { grid-template-columns: 1fr; gap: 1rem; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .two-col-grid { grid-template-columns: 1fr; }
  .two-col-grid .image-col { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-col { padding: 120px 2rem 3rem; }
  .contact-photo-map { display: none; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 1rem; }
  .footer-logo { justify-content: center; }
}

@media (max-width: 544px) {
  .container { padding: 0 1rem; }
  .hero-section { background-position: 15% 0%; }
  .reviews-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .feature-card { padding: 2rem; min-height: 300px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-info-col { padding: 100px 1rem 2rem; }
  .two-col-content { padding: 3rem 0; }
  .service-cards-section { padding: 2rem 0; }
  .contact-band { padding: 3rem 0; }
  .reviews-section { padding: 3rem 0; }
}
