/* ==========================================================================
   Base Design System - Vista Cenit
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  /* Color Palette */
  --color-bg: #FCFCFC;
  /* Crisp, whiter tone */
  --color-text: #051A36;
  /* Very Deep Blue */
  --color-accent: #E5D9C5;
  /* Sand / Beige */
  --color-white: #FFFFFF;
  --color-dark: #1A1A1A;

  /* Typography */
  --font-primary: 'Montserrat', BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;

  /* Spacing (Base 8px) */
  --space-xs: 0.5rem;
  /* 8px */
  --space-sm: 1rem;
  /* 16px */
  --space-md: 2rem;
  /* 32px */
  --space-lg: 4rem;
  /* 64px */
  --space-xl: 8rem;
  /* 128px */
  --space-xxl: 12rem;
  /* 192px */

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-medium: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-primary);
  font-weight: var(--fw-light);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography elements */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: var(--fw-medium);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

a:hover {
  opacity: 0.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* ==========================================================================
   Layout & Utility Classes
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.main-content {
  flex: 1;
}

.text-center {
  text-align: center;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--space-sm) 0;
  z-index: 100;
  color: var(--color-text);
  background-color: rgba(246, 246, 246, 0.95);
  /* Slightly darker neutral grey */
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(11, 27, 61, 0.05);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.nav-icon {
  display: flex;
  align-items: center;
}

.nav-icon svg {
  width: 18px;
  height: 18px;
}

.nav-links a {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: var(--fw-medium);
}

.logo {
  display: flex;
  align-items: center;
}

.logo:hover {
  opacity: 1 !important;
}

.nav-logo-img {
  height: 35px;
  /* Reduced from 50px */
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* Forms */
.form-group {
  margin-bottom: var(--space-md);
}

.form-control {
  width: 100%;
  padding: var(--space-sm);
  background: transparent;
  border: 1px solid rgba(11, 27, 61, 0.2);
  border-radius: 0;
  color: var(--color-text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-text);
}

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  background-color: var(--color-text);
  color: var(--color-bg);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all var(--transition-fast);
}

.btn:hover {
  background-color: var(--color-accent);
  color: var(--color-text);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn var(--transition-slow) forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}