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

:root {
  /* Core Brand Colors */
  --ci-primary: #0B1F3A; /* Primary navy */
  --ci-accent: #C9A227; /* Premium gold */
  --ci-bg: #F8F5EF; /* Ivory/white background */
  --ci-text: #1F2933; /* Charcoal text */
  --ci-surface: #E5E7EB; /* Soft grey surfaces */
  --ci-success: #1F7A4D; /* Success green */
  --ci-alert: #B7791F; /* Alert amber */

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing & Layout */
  --max-width: 1200px;
  --header-height: 80px;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ci-text);
  background-color: var(--ci-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--ci-primary);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--ci-text);
  max-width: 800px;
  margin-bottom: 3rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: var(--font-body);
}

.btn-primary {
  background-color: var(--ci-accent);
  color: var(--ci-primary);
}

.btn-primary:hover {
  background-color: #d1b145;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201, 162, 39, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--ci-accent);
  border: 2px solid var(--ci-accent);
}

.btn-outline:hover {
  background-color: var(--ci-accent);
  color: var(--ci-primary);
}

/* Header */
.site-header {
  background-color: var(--ci-bg);
  height: var(--header-height);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo-link {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: auto;
}

.brand-logo-long {
  max-width: clamp(150px, 20vw, 230px);
  max-height: 54px;
}

.brand-logo-stacked {
  max-width: min(100%, 260px);
}

.brand-seal {
  display: block;
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 50%;
}

.hero-brand-seal {
  margin-bottom: 1.5rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--ci-text);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--ci-accent);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--ci-accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Footer */
.site-footer {
  background-color: var(--ci-primary);
  color: var(--ci-bg);
  padding: 4rem 0 2rem;
}

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

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

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.5rem;
  background: #fff;
  border-radius: 4px;
}

.footer-brand-logo {
  display: block;
  width: min(100%, 220px);
  height: auto;
}

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

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

.footer-links a {
  color: #a0aab2;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #a0aab2;
  font-size: 0.875rem;
}

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

.social-link {
  color: var(--ci-accent);
  font-size: 1.25rem;
  transition: opacity 0.3s ease;
}

.social-link:hover {
  opacity: 0.8;
}

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

.fade-up.animate {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Reveal scale effect for images */
.reveal-scale {
  overflow: hidden;
}
.reveal-scale img, .reveal-scale .bg-img {
  transform: scale(1.1);
  transition: transform 1.5s ease-out;
}
.reveal-scale.animate img, .reveal-scale.animate .bg-img {
  transform: scale(1);
}

/* Responsive */
@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

  .site-header .container {
    gap: 1rem;
  }

  .brand-logo-long {
    max-width: 160px;
    max-height: 46px;
  }

  .brand-seal {
    width: 72px;
    height: 72px;
  }

  .nav-links {
    display: none; /* Hide for mobile, can add hamburger menu later */
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .site-header .container {
    gap: 0.75rem;
  }

  .brand-logo-long {
    max-width: 142px;
  }

  .site-header .btn {
    padding: 0.45rem 0.7rem !important;
    font-size: 0.9rem;
  }
}
