@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Source+Sans+3:wght@300;400;600;700&display=swap');

:root {
  --bg-texture: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  --bg-color: #e8e4db; /* Warm stone/parchment base */
  
  --primary-dark: #1a4331; /* Deep forest green */
  --primary-light: #2d6b4f;
  --accent-gold: #b38b4d; /* Rich antique gold/bronze */
  --text-dark: #2a2a2a;
  
  --shadow-dark: rgba(0, 0, 0, 0.4);
  --shadow-light: rgba(255, 255, 255, 0.9);
}

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

body {
  font-family: 'Source Sans 3', sans-serif;
  background-color: var(--bg-color);
  background-image: var(--bg-texture);
  color: var(--text-dark);
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--primary-dark);
}

/* Typography Depth (Letterpress effect) */
.letterpress {
  color: var(--primary-dark);
  text-shadow: 1px 1px 1px rgba(255,255,255,0.8), -1px -1px 1px rgba(0,0,0,0.2);
}

/* =========================================
   SKEUOMORPHIC PANELS
   ========================================= */
.physical-panel {
  background: #fdfcf9;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.8);
  /* Intense exaggerated depth */
  box-shadow: 
    10px 15px 35px var(--shadow-dark),
    -5px -5px 15px var(--shadow-light),
    inset 0px 2px 3px rgba(255,255,255,1),
    inset 0px -2px 3px rgba(0,0,0,0.05);
  position: relative;
  z-index: 1;
}

/* A recessed panel for forms or inner content */
.recessed-panel {
  background: #dfdad0;
  border-radius: 8px;
  box-shadow: 
    inset 6px 6px 12px rgba(0,0,0,0.15),
    inset -6px -6px 12px rgba(255,255,255,0.7),
    0 1px 1px rgba(255,255,255,0.8);
  padding: 2rem;
}

/* =========================================
   BUTTONS (Glossy / Tactile)
   ========================================= */
.tactile-btn {
  display: inline-block;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  text-decoration: none;
  padding: 15px 35px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  
  /* Glossy dome effect */
  background: linear-gradient(to bottom, #3b8263 0%, #1a4331 100%);
  box-shadow: 
    0 8px 15px rgba(0,0,0,0.3),
    inset 0 2px 2px rgba(255,255,255,0.5),
    inset 0 -4px 6px rgba(0,0,0,0.4);
  text-shadow: 0 -1px 1px rgba(0,0,0,0.6);
  transition: all 0.15s ease;
}

.tactile-btn:active {
  transform: translateY(4px);
  box-shadow: 
    0 2px 5px rgba(0,0,0,0.3),
    inset 0 4px 6px rgba(0,0,0,0.6);
}

/* Gold variant */
.tactile-btn.gold {
  color: #332711;
  text-shadow: 0 1px 1px rgba(255,255,255,0.5);
  background: linear-gradient(to bottom, #d6b27a 0%, #9c753b 100%);
  box-shadow: 
    0 8px 15px rgba(0,0,0,0.3),
    inset 0 2px 2px rgba(255,255,255,0.8),
    inset 0 -4px 6px rgba(0,0,0,0.4);
}

/* =========================================
   IMAGES (Framed Photos)
   ========================================= */
.framed-photo {
  border: 12px solid #fff;
  border-bottom-width: 35px; /* Polaroid style */
  background: #fff;
  box-shadow: 
    5px 15px 25px rgba(0,0,0,0.4),
    inset 0 0 4px rgba(0,0,0,0.2);
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
  width: 100%;
}

.framed-photo:hover {
  transform: rotate(0deg) scale(1.02);
}

.framed-photo.right-tilt {
  transform: rotate(3deg);
}

/* =========================================
   LAYOUT
   ========================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  /* Glassy shelf */
  background: rgba(232, 228, 219, 0.85);
  backdrop-filter: blur(15px);
  border-bottom: 2px solid rgba(255,255,255,0.6);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

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

.nav-logo img {
  height: 70px;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.nav-links a {
  text-decoration: none;
  color: var(--primary-dark);
  font-weight: 600;
  margin-left: 2rem;
  font-size: 1.1rem;
  position: relative;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent-gold);
}

/* Hero Section */
.hero {
  padding: 6rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  color: #444;
}

.hero-image-container {
  position: relative;
}

/* Floating Badges */
.badge {
  position: absolute;
  background: linear-gradient(135deg, #1a4331, #0f271c);
  color: white;
  padding: 1rem;
  border-radius: 50%;
  width: 140px;
  height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 1.2;
  box-shadow: 
    0 10px 20px rgba(0,0,0,0.4),
    inset 0 2px 4px rgba(255,255,255,0.3);
  border: 4px solid var(--accent-gold);
  font-family: 'Playfair Display', serif;
  z-index: 10;
}

.badge-10yr {
  bottom: -20px;
  left: -20px;
  transform: rotate(-10deg);
}
.badge-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-gold);
}
.badge-text {
  font-size: 0.9rem;
  letter-spacing: 1px;
}

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

.section-title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 3rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

/* Cards */
.info-card {
  padding: 3rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.info-card i {
  font-size: 3rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  /* Embossed icon */
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2), -1px -1px 2px rgba(255,255,255,0.8);
}

.info-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Feature List */
.feature-list {
  list-style: none;
}

.feature-list li {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
}

.feature-list li i {
  color: var(--accent-gold);
  margin-top: 5px;
  margin-right: 15px;
  font-size: 1.2rem;
  text-shadow: 1px 1px 1px rgba(255,255,255,0.5);
}

/* Footer */
footer {
  background: var(--primary-dark);
  background-image: var(--bg-texture);
  color: #fff;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  /* Intense inner shadow to look recessed */
  box-shadow: inset 0 10px 20px rgba(0,0,0,0.5);
  border-top: 5px solid var(--accent-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.footer-logo {
  width: 150px;
  margin-bottom: 1rem;
  border-radius: 8px;
}

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

/* Utility classes */
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.text-center { text-align: center; }

/* =========================================
   RESPONSIVE DESIGN (MOBILE)
   ========================================= */
html, body {
  overflow-x: hidden; /* Prevent rotated images or margins from stretching the screen */
  width: 100%;
}

@media (max-width: 768px) {
  .nav-bar {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .nav-links {
    display: flex;
    flex-direction: column; /* Stack vertical instead of wrapping weirdly */
    align-items: center;
    gap: 15px;
  }
  
  .nav-links a {
    margin: 0 !important; /* Override any inline margins */
    font-size: 1.1rem;
  }
  
  .tactile-btn {
    margin-left: 0 !important; /* Force button to center */
    width: 100%;
    max-width: 300px;
  }
  
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 0;
    gap: 2.5rem;
  }
  
  .hero-text h1 {
    font-size: 2.2rem !important; /* Override inline */
  }
  
  .hero-text p {
    font-size: 1.1rem !important;
  }
  
  .hero-text div {
    flex-direction: column !important;
    gap: 1rem !important;
  }
  
  .badge {
    width: 100px;
    height: 100px;
    bottom: -10px;
    left: -10px;
  }
  
  .badge-number {
    font-size: 1.8rem;
  }
  
  .badge-text {
    font-size: 0.7rem;
  }
  
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .section-title {
    font-size: 2rem !important;
    margin-bottom: 2rem;
  }
  
  h2.letterpress {
    font-size: 2rem !important; /* Override inline massive fonts */
  }
  
  .physical-panel {
    padding: 1.5rem !important; /* Force smaller padding */
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-logo {
    margin: 0 auto 1rem auto;
  }
}
