/*
Theme Name: Marrakech Compass
Theme URI: https://marrakechcompass.com
Author: Marrakech Compass
Author URI: https://marrakechcompass.com
Description: A premium transport and chauffeur service theme for Marrakech, featuring a dark elegant design with gold accents.
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: marrakech-compass
Tags: one-page, transport, chauffeur, dark, gold
*/

/* =====================================================
   MARRAKECH COMPASS — MASTER STYLESHEET
   ===================================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-dark:       #1a1a14;
  --bg-card:       #222218;
  --bg-section:    #1e1e18;
  --gold:          #c9a84c;
  --gold-light:    #e0bf72;
  --gold-muted:    #a07830;
  --text-primary:  #f0ead8;
  --text-muted:    #9e9880;
  --text-light:    #ccc8b0;
  --border:        #2e2e22;
  --font-display:  'Cormorant Garamond', Georgia, serif;
  --font-body:     'Inter', 'Helvetica Neue', sans-serif;
  --font-label:    'Inter', monospace;
  --radius:        6px;
  --transition:    0.25s ease;
  --max-w:         1100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.1rem; font-weight: 500; }

.eyebrow {
  font-family: var(--font-label);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
  display: block;
}

/* --- Container --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(26,26,20,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.logo-star {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

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

.nav-cta {
  background: var(--gold);
  color: var(--bg-dark) !important;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  padding: 9px 20px;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}

.nav-cta:hover { background: var(--gold-light) !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  padding: 4px;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
  padding-top: 60px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 80px 0 60px;
}

.hero-eyebrow {
  font-family: var(--font-label);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 32px;
}

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

.btn-primary {
  background: var(--gold);
  color: var(--bg-dark);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 12px 26px;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  display: inline-block;
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 12px 26px;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  display: inline-block;
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--bg-dark);
}

/* Hero compass emblem */
.hero-emblem {
  display: flex;
  align-items: center;
  justify-content: center;
}

.compass-ring {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.compass-ring::before {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.1);
}

.compass-star-svg {
  width: 200px;
  height: 200px;
  opacity: 0.85;
}

/* =====================================================
   SECTIONS — shared
   ===================================================== */
section {
  padding: 80px 0;
}

.section-header {
  margin-bottom: 40px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--text-primary);
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */
.services {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color var(--transition), transform var(--transition);
}

.service-card:hover {
  border-color: var(--gold-muted);
  transform: translateY(-2px);
}

.service-icon {
  font-size: 1.5rem;
  margin-bottom: 14px;
  display: block;
  color: var(--gold);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* =====================================================
   FLEET SECTION
   ===================================================== */
.fleet {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.fleet-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}

.fleet-card:hover {
  border-color: var(--gold-muted);
  transform: translateY(-2px);
}

.fleet-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
  color: var(--gold);
}

.fleet-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
}

/* =====================================================
   HOW IT WORKS SECTION
   ===================================================== */
.how-it-works {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  padding: 8px 0;
}

.step-num {
  font-family: var(--font-label);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
}

.step h3 {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-light);
  line-height: 1.4;
}

/* =====================================================
   QUOTE FORM SECTION
   ===================================================== */
.quote-section {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
}

.quote-section h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 8px;
}

.quote-section .lead {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 32px;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: grid;
  gap: 12px;
}

.form-row-2 { grid-template-columns: 1fr 1fr; }
.form-row-3 { grid-template-columns: 1fr 1fr; }

.form-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="time"],
select,
textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

input::placeholder, textarea::placeholder { color: var(--text-muted); }

input:focus, select:focus, textarea:focus {
  border-color: var(--gold-muted);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a84c' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

textarea { resize: vertical; min-height: 90px; }

.form-divider-label {
  font-family: var(--font-label);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 6px 0 2px;
}

.btn-submit {
  width: 100%;
  background: var(--gold);
  color: var(--bg-dark);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  padding: 15px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  margin-top: 6px;
  transition: background var(--transition);
  font-family: var(--font-body);
}

.btn-submit:hover { background: var(--gold-light); }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 22px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* =====================================================
   MOBILE NAV MENU
   ===================================================== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 60px; left: 0; right: 0; bottom: 0;
  background: rgba(26,26,20,0.98);
  z-index: 998;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--transition);
}

.mobile-menu a:hover { color: var(--gold); }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 900px) {
  .services-grid,
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-emblem { display: none; }
  .hero-desc { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 560px) {
  .services-grid,
  .fleet-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .form-row-2,
  .form-row-3 { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
  .compass-ring { width: 220px; height: 220px; }
  .compass-ring::before { width: 190px; height: 190px; }
  .compass-star-svg { width: 140px; height: 140px; }
}

/* =====================================================
   WP ALIGNMENT HELPERS
   ===================================================== */
.wp-block-image { margin: 0; }
.aligncenter { text-align: center; }
.screen-reader-text { position: absolute; clip: rect(0,0,0,0); }
