/* Mac Galleon Professional Website
   Dark elegant + gold aesthetic
   Clean, corporate-ready, distinctive */

:root {
  --bg-dark: #0a0a0b;
  --bg-card: #141416;
  --bg-elevated: #1c1c1f;
  --gold: #c9a227;
  --gold-light: #e0c15a;
  --gold-dark: #a07d1a;
  --text-primary: #f5f5f5;
  --text-secondary: #b0b0b5;
  --text-muted: #7a7a80;
  --border: #2a2a2e;
  --accent-red: #8b1e3f;
  --radius: 12px;
  --shadow: 0 20px 40px rgba(0,0,0,0.4);
  --transition: 0.25s ease;
  --font-heading: 'Georgia', 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold-light);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }

.gold { color: var(--gold); }
.lead {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 640px;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-card);
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

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

.nav-cta {
  background: var(--gold);
  color: #0a0a0b !important;
  padding: 0.6rem 1.3rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
}

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.6rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  padding: 6rem 0 5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(201, 162, 39, 0.15);
  color: var(--gold);
  border: 1px solid rgba(201, 162, 39, 0.35);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

.hero h1 {
  margin-bottom: 1.2rem;
}

.hero .lead {
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: #0a0a0b;
}

.btn-primary:hover {
  background: var(--gold-light);
  color: #0a0a0b;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: rgba(201, 162, 39, 0.12);
  color: var(--gold-light);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.stat {
  text-align: left;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--gold);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-image-wrap {
  position: relative;
}

.hero-image {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  object-fit: cover;
  width: 100%;
  max-height: 520px;
}

.hero-image-accent {
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.4;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
}

.card:hover {
  border-color: rgba(201, 162, 39, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.card-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.card h3 {
  color: var(--text-primary);
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.card-link {
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* About / Content blocks */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.content-grid.reverse {
  direction: rtl;
}

.content-grid.reverse > * {
  direction: ltr;
}

.content-image {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.feature-list {
  list-style: none;
  margin-top: 1.5rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.7rem;
  color: var(--text-secondary);
}

.feature-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.7rem;
  top: 0.3rem;
}

/* Testimonials */
.testimonial {
  background: var(--bg-elevated);
  border-left: 3px solid var(--gold);
  padding: 1.8rem 2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 1.5rem;
}

.testimonial p {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--gold);
  font-size: 0.9rem;
}

/* Page Header */
.page-header {
  padding: 4.5rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(201,162,39,0.06) 0%, transparent 100%);
}

.page-header h1 {
  margin-bottom: 0.8rem;
}

.page-header .lead {
  margin: 0 auto;
}

/* Services detail */
.service-block {
  margin-bottom: 3.5rem;
}

.service-block h3 {
  color: var(--gold);
  margin-bottom: 0.8rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info h3 {
  margin-bottom: 1rem;
}

.contact-info p,
.contact-info a {
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
  display: block;
}

.contact-form {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition);
}

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

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

/* Footer */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.8rem;
  max-width: 280px;
}

.footer-links h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.5rem;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.socials {
  display: flex;
  gap: 1.2rem;
}

.socials a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Utility */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-2 { margin-top: 2rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .content-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .content-grid.reverse {
    direction: ltr;
  }

  .hero-image-wrap {
    order: -1;
    max-width: 380px;
    margin: 0 auto;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .nav-cta {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 3.5rem 0 3rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero-stats {
    gap: 1.5rem;
  }
}
