:root {
  --color-bg: #0a1628;
  --color-bg-light: #111d32;
  --color-bg-card: #152238;
  --color-gold: #c9a227;
  --color-gold-light: #e0bc4a;
  --color-white: #f5f5f5;
  --color-text: #d4d4d4;
  --color-text-muted: #8a95a5;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
  --header-height: 72px;
  --transition: 0.3s ease;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-white);
  line-height: 1.3;
  font-weight: 600;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

p { margin-bottom: 1rem; }

ul, ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-white);
  font-weight: 600;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-gold);
  margin: 5px 0;
  transition: var(--transition);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  padding: 0;
  margin: 0;
}

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

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

/* Main content */
main {
  flex: 1;
  padding-top: var(--header-height);
}

/* Hero */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(10, 22, 40, 0.92) 0%, rgba(13, 31, 60, 0.78) 50%, rgba(10, 22, 40, 0.88) 100%),
    url('../images/hero-bg.jpg') center center / cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(201, 162, 39, 0.12) 0%, transparent 60%);
}

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

.hero-label {
  display: inline-block;
  color: var(--color-gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

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

.hero p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 2px solid var(--color-gold);
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-bg);
}

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

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

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

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-header p {
  color: var(--color-text-muted);
  margin-top: 0.75rem;
}

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

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

.card {
  background: var(--color-bg-card);
  border: 1px solid rgba(201, 162, 39, 0.12);
  border-radius: 8px;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 39, 0.3);
}

.card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

.card-body h3 {
  margin-bottom: 0.75rem;
}

.card-body p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-item {
  text-align: center;
  padding: 2rem 1.5rem;
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  color: var(--color-gold);
  font-size: 1.5rem;
}

.feature-item h3 {
  margin-bottom: 0.75rem;
}

.feature-item p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Contact info */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.contact-item {
  text-align: center;
  padding: 1.5rem;
}

.contact-item h3 {
  font-size: 1rem;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-item p,
.contact-item a {
  color: var(--color-text);
  font-size: 1rem;
}

/* Map */
.map-container {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, 0.2);
  aspect-ratio: 16/9;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, #152238 0%, #0d1f3c 100%);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: 8px;
  padding: 3rem 2rem;
  text-align: center;
  margin: 2rem 0;
}

.cta-banner h2 {
  margin-bottom: 1rem;
}

.cta-banner p {
  color: var(--color-text-muted);
  max-width: 550px;
  margin: 0 auto 1.5rem;
}

/* Page header */
.page-header {
  padding: 4rem 0 3rem;
  text-align: center;
  background: linear-gradient(180deg, var(--color-bg-light) 0%, var(--color-bg) 100%);
}

.page-header p {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 1rem auto 0;
}

/* Content page */
.content-page {
  padding: 3rem 0 5rem;
}

.content-page .container {
  max-width: 800px;
}

.content-page h2 {
  margin: 2.5rem 0 1rem;
  font-size: 1.5rem;
}

.content-page h3 {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.2rem;
}

.content-page p,
.content-page li {
  color: var(--color-text-muted);
}

.content-page ul {
  margin-bottom: 1.5rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--color-bg-card);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: 4px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition);
}

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

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

/* Accordion */
.accordion {
  border: 1px solid rgba(201, 162, 39, 0.15);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.accordion-header {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: var(--color-bg-card);
  border: none;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}

.accordion-header:hover {
  background: var(--color-bg-light);
}

.accordion-header::after {
  content: '+';
  color: var(--color-gold);
  font-size: 1.4rem;
  transition: transform var(--transition);
}

.accordion.active .accordion-header::after {
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-body-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--color-text-muted);
}

.accordion.active .accordion-body {
  max-height: 500px;
}

/* Job listings */
.job-card {
  background: var(--color-bg-card);
  border: 1px solid rgba(201, 162, 39, 0.12);
  border-radius: 8px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.job-card h3 {
  margin-bottom: 0.5rem;
}

.job-meta {
  color: var(--color-gold);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

/* Footer */
.site-footer {
  background: var(--color-bg-light);
  border-top: 1px solid rgba(201, 162, 39, 0.12);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  font-size: 1rem;
  color: var(--color-gold);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(201, 162, 39, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

.age-notice {
  color: var(--color-gold);
  font-weight: 600;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--color-bg-card);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 8px;
  padding: 2.5rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  transform: scale(0.9);
  transition: transform var(--transition);
}

.modal-overlay.active .modal {
  transform: scale(1);
}

.modal-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.modal h2 {
  margin-bottom: 1rem;
}

.modal p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.modal-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

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

.modal-close:hover {
  color: var(--color-gold);
}

.offer-modal .modal {
  position: relative;
  max-width: 520px;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-bg-card);
  border-top: 1px solid rgba(201, 162, 39, 0.2);
  padding: 1.25rem;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform var(--transition);
}

.cookie-banner.active {
  transform: translateY(0);
}

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-inner p {
  flex: 1;
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  min-width: 250px;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-buttons .btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.98);
    padding: 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    border-bottom: 1px solid rgba(201, 162, 39, 0.15);
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav li {
    border-bottom: 1px solid rgba(201, 162, 39, 0.08);
  }

  .main-nav a {
    display: block;
    padding: 1rem 0;
  }

  .hero {
    min-height: 70vh;
    text-align: center;
  }

  .btn-group {
    justify-content: center;
  }

  .section {
    padding: 3.5rem 0;
  }

  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
