:root {
  --primary: #8B4513;
  --secondary: #F0E68C;
  --bg-color: #ffffff;
  --text-color: #171717;
  --text-muted: #4a4a4a;
  --border-color: #e0e0e0;
  --paper-texture: rgba(245, 245, 220, 0.1);
  --font-serif: "Playfair Display", "Times New Roman", serif;
  --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius: 12px;
}

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

body {
  background-color: var(--bg-color);
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' fill='transparent' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  color: var(--text-color);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header & Navigation */
header {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 3rem;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  justify-content: center;
}

nav a {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  font-weight: 600;
}

/* Dropdown Menu */
nav ul li {
  position: relative;
}

nav ul li ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 0.5rem 0;
  list-style: none;
  min-width: 200px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

nav ul li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

nav ul li ul li a {
  display: block;
  padding: 0.5rem 1rem;
  white-space: nowrap;
}

nav ul li ul li a:hover {
  background: var(--secondary);
  color: var(--primary);
}

/* Bento Grid Layout */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.bento-item {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.bento-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(139, 69, 19, 0.1);
  border-color: var(--secondary);
}

.bento-large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-wide {
  grid-column: span 2;
}

.bento-tall {
  grid-row: span 2;
}

/* Featured Panoramas */
.panorama-hero {
  width: 100%;
  height: 70vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-bottom: 4rem;
  position: relative;
  border-radius: 0 0 40px 40px;
}

.panorama-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.3);
  border-radius: 0 0 40px 40px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-content h1 {
  color: #fff;
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.btn:hover {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: var(--primary);
  transform: scale(1.05);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
}

/* Leather/Organic Accents */
.leather-accent {
  border-left: 4px solid var(--primary);
  padding-left: 1.5rem;
  position: relative;
}

.leather-accent::before {
  content: "◈";
  position: absolute;
  left: -10px;
  top: 0;
  color: var(--primary);
  background: white;
}

/* Traditional Patterns */
.pattern-divider {
  height: 40px;
  width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20L0 0M20 20L40 0M20 20L40 40M20 20L0 40' stroke='%238B4513' stroke-width='1' fill='none' opacity='0.2'/%3E%3C/svg%3E");
  margin: 3rem 0;
}

/* Typography Helpers */
.caps {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

.lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 700px;
}

/* Footer */
footer {
  background-color: var(--text-color);
  color: #f8f8f8;
  padding: 4rem 0;
  margin-top: 5rem;
}

footer h3 {
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

footer a {
  color: #ccc;
}

footer a:hover {
  color: var(--secondary);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 600px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-large, .bento-wide {
    grid-column: span 1;
  }
  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  nav ul li ul {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0;
  }
}