/* ============================================
   ALL IN IT DEVELOPMENT - MAIN STYLESHEET
   Color Palette: Navy Blue & Gold (Luxury)
   ============================================ */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  /* Primary Colors */
  --navy-dark: #0a1628;
  --navy: #1a2d4a;
  --navy-light: #2a4165;
  --navy-muted: #3d5a80;
  
  /* Gold Accents */
  --gold: #c9a962;
  --gold-light: #d4bc7d;
  --gold-dark: #a8893f;
  --gold-muted: #b39b5c;
  
  /* Neutrals */
  --white: #ffffff;
  --off-white: #f8f6f3;
  --cream: #f5f1eb;
  --gray-light: #e8e4de;
  --gray: #9a9590;
  --gray-dark: #4a4640;
  --black: #0d0d0d;
  
  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 10rem;
  
  /* Container */
  --container-max: 1400px;
  --container-padding: 2rem;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(10, 22, 40, 0.08);
  --shadow-md: 0 4px 12px rgba(10, 22, 40, 0.12);
  --shadow-lg: 0 8px 30px rgba(10, 22, 40, 0.18);
  --shadow-gold: 0 4px 20px rgba(201, 169, 98, 0.3);
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--gray-dark);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--navy-dark);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 500;
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.8;
}

.lead {
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--gray);
}

/* ============================================
   LINKS
   ============================================ */
a {
  color: var(--gold-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

/* ============================================
   IMAGES
   ============================================ */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: var(--space-2xl) 0;
}

.section--large {
  padding: var(--space-3xl) 0;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all var(--transition-base);
}

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

.btn--primary:hover {
  background-color: var(--gold-light);
  color: var(--navy-dark);
  box-shadow: var(--shadow-gold);
}

.btn--secondary {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

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

.btn--outline {
  background-color: transparent;
  color: var(--navy-dark);
  border: 1px solid var(--navy-dark);
}

.btn--outline:hover {
  background-color: var(--navy-dark);
  color: var(--white);
}

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

.btn--navy:hover {
  background-color: var(--navy-dark);
}

/* ============================================
   DECORATIVE ELEMENTS
   ============================================ */
.gold-line {
  width: 60px;
  height: 2px;
  background-color: var(--gold);
  margin-bottom: var(--space-md);
}

.gold-line--center {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header__subtitle {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
  display: block;
}

.section-header__title {
  margin-bottom: var(--space-md);
}

.section-header__description {
  max-width: 700px;
  margin: 0 auto;
  color: var(--gray);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy-dark); }
.text-white { color: var(--white); }

.bg-navy { background-color: var(--navy-dark); }
.bg-cream { background-color: var(--cream); }
.bg-white { background-color: var(--white); }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all var(--transition-base);
}

.header--scrolled,
.header--solid {
  background-color: var(--navy-dark);
  box-shadow: var(--shadow-md);
  padding: 0.75rem 0;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
  color: var(--white);
}

.header__logo:hover {
  color: var(--white);
}

.header__logo-icon {
  width: 50px;
  height: 30px;
  color: var(--gold);
}

.header__logo-icon svg {
  width: 100%;
  height: 100%;
}

.header__logo-text {
  display: flex;
  flex-direction: column;
}

.header__logo-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1.2;
}

.header__logo-tagline {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
  margin-top: 2px;
}

/* Navigation */
.header__nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.header__nav-link {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--gold);
  transition: width var(--transition-base);
}

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

.header__nav-link:hover::after,
.header__nav-link.active::after {
  width: 100%;
}

.header__nav-link--cta {
  background-color: var(--gold);
  color: var(--navy-dark);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
}

.header__nav-link--cta::after {
  display: none;
}

.header__nav-link--cta:hover {
  background-color: var(--gold-light);
  color: var(--navy-dark);
}

/* Mobile Toggle */
.header__mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.header__mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--white);
  transition: all var(--transition-fast);
}

.header__mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: var(--navy-dark);
  color: var(--white);
}

.footer__main {
  padding: var(--space-2xl) 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 3rem;
}

/* Brand Column */
.footer__brand {
  padding-right: 2rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.5rem;
}

.footer__logo-icon {
  width: 50px;
  height: 30px;
  color: var(--gold);
}

.footer__logo-icon svg {
  width: 100%;
  height: 100%;
}

.footer__logo-text {
  display: flex;
  flex-direction: column;
}

.footer__logo-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1.2;
}

.footer__logo-tagline {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
  margin-top: 2px;
}

.footer__description {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.footer__license {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}

/* Links Columns */
.footer__heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer__nav a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__nav a:hover {
  color: var(--white);
}

/* Contact Column */
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer__contact-item svg {
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 2px;
}

.footer__contact-item a,
.footer__contact-item span {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__contact-item a:hover {
  color: var(--white);
}

/* Bottom Bar */
.footer__bottom {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer__copyright {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.footer__legacy {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
  margin: 0;
}

/* ============================================
   PAGE HERO (Interior Pages)
   ============================================ */
.page-hero {
  position: relative;
  padding: 10rem 0 6rem;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  overflow: hidden;
}

.page-hero__background {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 30% 70%, rgba(201, 169, 98, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(201, 169, 98, 0.08) 0%, transparent 40%);
}

.page-hero__background::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a962' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.page-hero__content {
  position: relative;
  z-index: 2;
}

.page-hero__subtitle {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.page-hero__title {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.page-hero__description {
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0;
}

/* ============================================
   PLACEHOLDER IMAGES
   ============================================ */
.placeholder-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--gold);
}

.placeholder-image span {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.5; }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

/* ============================================
   RESPONSIVE - HEADER
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --container-padding: 1.5rem;
  }
  
  .section {
    padding: var(--space-xl) 0;
  }
  
  .section--large {
    padding: var(--space-2xl) 0;
  }
  
  .header__nav {
    gap: 1.5rem;
  }
  
  .header__nav-link {
    font-size: 0.75rem;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 1.25rem;
  }
  
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.8125rem;
  }
  
  .header {
    background-color: var(--navy-dark);
  }
  
  .header__mobile-toggle {
    display: flex;
  }
  
  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--navy-dark);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 0;
    transition: right var(--transition-base);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
  }
  
  .header__nav.active {
    right: 0;
  }
  
  .header__nav-link {
    width: 100%;
    padding: 1rem 0;
    font-size: 0.9375rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .header__nav-link--cta {
    margin-top: 1.5rem;
    text-align: center;
    border-bottom: none;
  }

  .header__logo-name {
    font-size: 1rem;
  }
  
  .header__logo-tagline {
    font-size: 0.5625rem;
  }
  
  .header__logo-icon {
    width: 40px;
    height: 24px;
  }
  
  .page-hero {
    padding: 8rem 0 4rem;
  }
}

/* ============================================
   RESPONSIVE - FOOTER
   ============================================ */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  
  .footer__brand {
    grid-column: span 2;
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .footer__main {
    padding: var(--space-xl) 0;
  }
  
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer__brand {
    grid-column: span 1;
  }
  
  .footer__bottom-content {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --container-padding: 1rem;
  }
  
  .footer__logo-name {
    font-size: 1.125rem;
  }
}
