/* css/styles.css */
:root {
  --color-bg: #eceae4; /* earthy beige */
  --color-surface: #f7f6f2; /* lighter beige */
  --color-text: #1a1a1a;
  --color-text-muted: #6b635a;
  --color-accent: #8c7a6b;
  --color-border: #d9d1c7;
  --color-black: #0f0f0f;
  
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;

  --nav-height: 80px;

  --transition-smooth: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-slow: 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
}

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

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

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4rem;
  z-index: 1000;
  transition: var(--transition-smooth);
  background: transparent; /* starts transparent on hero */
  color: #fff; /* white on hero */
}

.navbar.scrolled {
  background: rgba(236, 234, 228, 0.95);
  color: var(--color-text);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

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

/* GLOBAL UTILITIES */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.btn-link {
  display: inline-block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text);
  border-bottom: 2px solid var(--color-text);
  padding-bottom: 5px;
  transition: color 0.3s, border-color 0.3s;
}

.btn-link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* ANIMATIONS */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

.fade-in {
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.fade-in.visible {
  opacity: 1;
}

/* Spacer for non-hero pages */
.page-spacer {
  height: calc(var(--nav-height) + 40px);
}

/* PAGE TRANSITIONS */
body {
  opacity: 0;
  animation: pageFadeIn 0.5s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

body.fade-out {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s cubic-bezier(0.32, 0, 0.67, 0), transform 0.4s cubic-bezier(0.32, 0, 0.67, 0);
}

@keyframes pageFadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  /* Global Spacer & Spacing */
  .container {
    padding: 0 1rem;
  }

  /* Navbar Adjustments */
  .navbar {
    padding: 1rem;
    flex-direction: column;
    height: auto;
    gap: 10px;
    background: rgba(236, 234, 228, 0.98);
    color: var(--color-text);
  }
  .navbar.scrolled {
    padding: 10px 1rem;
  }
  .nav-links {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .page-spacer {
    height: calc(var(--nav-height) + 80px);
  }
}
/* =========================
   FOOTER
========================= */

.site-footer{
    background:#111;
    color:#ddd;
    margin-top:120px;
}

.footer-container{
    max-width:1200px;
    margin:auto;
    padding:80px 40px 60px;

    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:80px;
}

.footer-brand h3{
    font-family:"Playfair Display",serif;
    font-size:36px;
    color:#fff;
    margin-bottom:20px;
}

.footer-brand p{
    color:#aaa;
    line-height:1.8;
    max-width:420px;
}

.footer-links h4,
.footer-contact h4{
    color:#fff;
    margin-bottom:22px;
    font-weight:500;
}

.footer-links,
.footer-contact{
    display:flex;
    flex-direction:column;
}

.footer-links a,
.footer-contact a{
    color:#aaa;
    text-decoration:none;
    margin-bottom:14px;
    transition:.25s;
}

.footer-links a:hover,
.footer-contact a:hover{
    color:#fff;
    transform:translateX(5px);
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.08);
    text-align:center;
    padding:28px;
    color:#777;
    font-size:14px;
}

@media(max-width:768px){

.footer-container{
    grid-template-columns:1fr;
    gap:50px;
    padding:60px 30px;
}

.footer-brand p{
    max-width:none;
}

}
.site-footer{
    background:red !important;
}