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

:root {
  --black: #000000;
  --gold: #C5A053;
  --white: #FFFFFF;
  --light-grey: #F0F0F0;
  --dark-grey: #1a1a1a;
  
  --font-primary: 'Montserrat', Arial, sans-serif;
  
  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-out;
}

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

body {
  font-family: var(--font-primary);
  color: var(--black);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; color: var(--black); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1rem; color: #4a4a4a; font-size: 1rem; font-weight: 400; }

@media (min-width: 768px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.5rem; }
  h3 { font-size: 1.75rem; }
  p { font-size: 1.125rem; }
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: padding var(--transition-fast), box-shadow var(--transition-fast);
  padding: 1rem 0;
  border-bottom: 1px solid var(--light-grey);
}

.site-header.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

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

.logo img {
  height: 50px;
  transition: height var(--transition-fast);
}

.site-header.scrolled .logo img {
  height: 40px;
}

.nav-links {
  display: none;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links li a {
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  padding-bottom: 5px;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: width var(--transition-fast);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Menu Button */
.hamburger {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--black);
  margin-bottom: 5px;
  transition: var(--transition-fast);
}

.hamburger span:last-child {
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .hamburger { display: none; }
  .nav-links { display: flex; }
}

/* Off-Canvas Menu */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  z-index: 1001;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100%;
  background-color: var(--white);
  padding: 2rem;
  z-index: 1002;
  transition: right var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .mobile-menu-overlay {
  opacity: 1;
  visibility: visible;
}

body.menu-open .mobile-menu {
  right: 0;
}

.close-menu {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  margin-bottom: 2rem;
  color: var(--black);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.mobile-nav-links a {
  font-size: 1.5rem;
  font-weight: 600;
  display: block;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-align: center;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background-color: #a88847;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(197, 160, 83, 0.4);
}

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

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

.btn-dark {
  background-color: var(--black);
  color: var(--white);
}

.btn-dark:hover {
  background-color: #333;
  color: var(--gold);
}

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

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

section.bg-dark {
  background-color: var(--black);
  color: var(--white);
}

section.bg-dark h2,
section.bg-dark p {
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
}

/* Hero Sections */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding-top: 80px; /* Offset for header */
  background-color: var(--black);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 1.5rem;
  animation: fadeInDown 1s ease-out;
}

.hero h1 {
  color: var(--gold);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero p {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

/* Grid Layouts */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Cards */
.card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  text-align: center;
  border: 1px solid var(--light-grey);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  border-color: var(--gold);
}

.card-icon {
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.card-icon svg {
  width: 60px;
  height: 60px;
  transition: transform var(--transition-fast);
}

.card:hover .card-icon svg {
  transform: translateY(-5px);
}

.card h3 {
  margin-bottom: 1rem;
}

.learn-more {
  display: inline-block;
  margin-top: 1rem;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.learn-more:hover {
  color: var(--black);
}

/* Why Choose Us Icons */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.feature-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background-color: var(--light-grey);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

/* Testimonials */
.testimonial-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  font-style: italic;
  position: relative;
}

.testimonial-card::before {
  content: '""';
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 4rem;
  color: rgba(197, 160, 83, 0.2);
  line-height: 1;
  font-family: serif;
}

.testimonial-text {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-info h4 {
  margin: 0;
  font-size: 1.1rem;
}

.star-rating {
  color: var(--gold);
  display: flex;
  gap: 2px;
}

.star-rating svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Forms */
.contact-form {
  background: var(--white);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

@media (min-width: 768px) {
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .form-full { grid-column: span 2; }
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--black);
}

.form-control {
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 160, 83, 0.2);
}

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

/* About Layout */
.two-col-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .two-col-layout {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.image-wrapper {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Team Cards */
.team-card {
  text-align: center;
  border: none;
  box-shadow: none;
  padding: 0;
  background: transparent;
}

.team-card:hover {
  transform: none;
  box-shadow: none;
}

.team-img-wrapper {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.team-img-wrapper img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.team-card:hover .team-img-wrapper img {
  transform: scale(1.05);
}

.team-card h3 {
  margin-bottom: 0.25rem;
}

.team-role {
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background-color: var(--gold);
  top: 0;
  bottom: 0;
  left: 30px;
  margin-left: -1px;
}

.timeline-step {
  padding: 10px 40px 40px 80px;
  position: relative;
}

.step-marker {
  width: 40px;
  height: 40px;
  position: absolute;
  left: 10px;
  background-color: var(--black);
  border: 4px solid var(--gold);
  border-radius: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: bold;
}

@media (min-width: 768px) {
  .timeline::after {
    left: 50%;
  }
  .timeline-step {
    width: 50%;
    padding: 20px 40px;
  }
  .timeline-step:nth-child(even) {
    left: 50%;
    padding: 20px 40px 20px 40px;
  }
  .timeline-step:nth-child(odd) {
    left: 0;
    text-align: right;
    padding: 20px 40px 20px 0;
  }
  .timeline-step:nth-child(even) .step-marker {
    left: -20px;
  }
  .timeline-step:nth-child(odd) .step-marker {
    left: auto;
    right: -20px;
  }
}

/* Footer */
.site-footer {
  background-color: var(--black);
  color: var(--white);
  padding: 5rem 0 2rem;
}

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

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

.footer-col .logo img {
  height: 40px;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
}

.footer-col h3 {
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-col p, .footer-col ul {
  color: #ccc;
}

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

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

.footer-col ul a {
  transition: color var(--transition-fast);
}

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

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.1);
  color: var(--white);
  transition: all var(--transition-fast);
}

.social-links a:hover {
  background-color: var(--gold);
  transform: translateY(-3px);
}

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

/* Animations & Utilities */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in {
    opacity: 1;
    transform: none;
  }
}

.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-5 { margin-top: 3rem; }
