/* ================================
   RESET & BASE STYLES
   ================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

/* ================================
   CSS VARIABLES
   ================================ */
:root {
  --primary-navy: #1a1a2e;
  --primary-gold: #c9a961;
  --text-dark: #333;
  --text-gray: #666;
  --bg-light: #f8f8f8;
  --border-color: #e0e0e0;
}

/* ================================
   CONTAINER & LAYOUT
   ================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.main-content {
  min-height: 60vh;
}

section {
  padding: 80px 0;
}

/* ================================
   HEADER & NAVIGATION
   ================================ */
.header {
  background: var(--primary-navy);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo a {
  color: var(--primary-gold);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Georgia', serif;
}

.logo h1 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--primary-gold);
}

/* Desktop Navigation */
.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-gold);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-gold);
}

/* Hamburger Menu Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 30px;
  height: 3px;
  background: var(--primary-gold);
  transition: all 0.3s ease;
  border-radius: 3px;
}

/* Hamburger Animation */
.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ================================
   FOOTER
   ================================ */
.footer {
  background: var(--primary-navy);
  color: white;
  padding: 3rem 0 1.5rem;
  border-top: 4px solid var(--primary-gold);
}

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

.footer-section h3,
.footer-section h4 {
  color: var(--primary-gold);
  margin-bottom: 1rem;
  font-family: 'Georgia', serif;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* ================================
   BUTTONS
   ================================ */
.btn {
  padding: 12px 35px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  cursor: pointer;
}

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

.btn-primary:hover {
  background: var(--primary-navy);
  color: white;
  border-color: var(--primary-navy);
}

.btn-secondary {
  background: transparent;
  color: white;
  border-color: white;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary-navy);
}

/* ================================
   COMMON ELEMENTS
   ================================ */
.page-header {
  background: linear-gradient(rgba(26, 26, 46, 0.85), rgba(26, 26, 46, 0.85)), 
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect fill="%231a1a2e" width="1200" height="400"/></svg>');
  background-size: cover;
  background-position: center;
  padding: 100px 0 80px;
  text-align: center;
  border-bottom: 4px solid var(--primary-gold);
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  font-family: 'Georgia', serif;
  letter-spacing: 1px;
}

.page-header p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-navy);
  text-align: center;
  margin-bottom: 1rem;
  font-family: 'Georgia', serif;
}

.section-subtitle {
  text-align: center;
  color: var(--text-gray);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* ================================
   CONTACT GRID
   ================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  margin-top: 2rem;
}

/* ================================
   TEAM GRID
   ================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.team-card {
  background: white;
  border-radius: 2px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.team-card:hover {
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.team-photo {
  width: 100%;
  height: 350px;
  background: linear-gradient(135deg, var(--primary-navy) 0%, #3a3a5e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  color: var(--primary-gold);
  border-bottom: 3px solid var(--primary-gold);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  padding: 2rem;
}

.team-info h3 {
  font-size: 1.5rem;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-family: 'Georgia', serif;
}

.team-position {
  color: var(--primary-gold);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-info p {
  color: var(--text-gray);
  line-height: 1.7;
  font-size: 0.98rem;
}

/* ================================
   VALUES GRID
   ================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.value-card {
  background: #fafafa;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border-top: 3px solid transparent;
}

.value-card:hover {
  border-top-color: var(--primary-gold);
  background: white;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-5px);
}

.value-card h3 {
  font-size: 1.4rem;
  color: var(--primary-navy);
  margin-bottom: 1rem;
  font-weight: 600;
  font-family: 'Georgia', serif;
}

.value-card p {
  color: var(--text-gray);
  line-height: 1.6;
}

/* ================================
   FORM STYLES
   ================================ */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--border-color);
  background: white;
  font-size: 1rem;
  transition: border-color 0.3s;
  font-family: inherit;
}

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

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

/* ================================
   ALERTS
   ================================ */
.alert {
  padding: 1rem 1.5rem;
  border-radius: 4px;
  margin-bottom: 2rem;
  border-left: 4px solid;
}

.alert-success {
  background: #d4edda;
  border-color: #28a745;
  color: #155724;
}

.alert-error {
  background: #f8d7da;
  border-color: #dc3545;
  color: #721c24;
}

/* ================================
   MOBILE RESPONSIVE
   ================================ */
@media (max-width: 768px) {
  /* Show hamburger menu */
  .mobile-menu-toggle {
    display: flex;
  }

  /* Mobile Navigation Overlay */
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--primary-navy);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 0;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
  }

  .nav.active {
    right: 0;
  }

  .nav-link {
    width: 100%;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
  }

  .nav-link.active::after {
    display: none;
  }

  .nav-link.active {
    background: rgba(201, 169, 97, 0.1);
    padding-left: 1rem;
    border-left: 3px solid var(--primary-gold);
  }

  /* Overlay backdrop */
  .nav::before {
    content: '';
    position: fixed;
    top: 0;
    left: -100vw;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    transition: left 0.3s ease;
    z-index: -1;
  }

  .nav.active::before {
    left: -80%;
  }

  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
  }

  /* Container padding */
  .container {
    padding: 0 1rem;
  }

  /* Page header */
  .page-header {
    padding: 60px 0 50px;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .page-header p {
    font-size: 1rem;
  }

  /* Section padding */
  section {
    padding: 50px 0;
  }

  /* Section titles */
  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

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

  /* Team grid */
  .team-grid {
    grid-template-columns: 1fr;
  }

  /* Values grid */
  .values-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Buttons */
  .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* Small Mobile (< 480px) */
@media (max-width: 480px) {
  .page-header h1 {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .logo h1 {
    font-size: 1.25rem;
  }
}