@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Tenor+Sans&display=swap');

:root {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8F8F7;
  --text-primary: #111111;
  --text-secondary: #6B6B66;
  --accent-wood: #8D7145;
  --accent-hover: #E8E8E6;
  --border-color: #E2E2DF;
  --font-heading: 'Tenor Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --container-width: 1280px;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Base Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-right: auto;
  margin-left: auto;
  padding-right: 2rem;
  padding-left: 2rem;
}

.section-padding {
  padding-top: 6.5rem;
  padding-bottom: 6.5rem;
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }
}

/* Super Slim Minimalist Header Section */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 52px; /* Super slim luxury height */
}

.logo {
  font-family: var(--font-heading);
  font-size: 0.95rem; /* Reduced for ultra-premium look */
  letter-spacing: 0.25em;
  font-weight: 400;
}

.logo span {
  color: var(--accent-wood);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem; /* Balanced slim layout */
  align-items: center;
}

nav a {
  font-size: 0.65rem; /* Muted aesthetic scale */
  font-weight: 500;
  letter-spacing: 0.16em; /* Elegant track spacing */
  text-transform: uppercase;
  color: var(--text-primary);
  position: relative;
  padding: 0.25rem 0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-wood);
  transition: var(--transition-smooth);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.cta-button {
  display: inline-block;
  background-color: var(--text-primary);
  color: var(--bg-primary);
  padding: 0.45rem 1.1rem; /* Highly compact padding */
  font-size: 0.65rem; /* Clean text scaling */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transition: var(--transition-smooth);
  border: 1px solid var(--text-primary);
  cursor: pointer;
  border-radius: 1px;
}

.cta-button:hover {
  background-color: var(--accent-wood);
  border-color: var(--accent-wood);
  color: #fff;
}

.cta-button.secondary {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--text-primary);
}

.cta-button.secondary:hover {
  background-color: var(--text-primary);
  color: var(--bg-primary);
}

/* Mobile Nav Styles */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  background-color: var(--text-primary);
  margin: 4px 0;
  transition: var(--transition-smooth);
}

.mobile-nav {
  position: fixed;
  top: 52px; /* Precision top alignment matching the slimmer header */
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--bg-primary);
  overflow: hidden;
  transition: var(--transition-smooth);
  border-bottom: 0px solid var(--border-color);
  z-index: 99;
}

.mobile-nav.open {
  height: calc(100vh - 52px);
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem;
  gap: 1.5rem;
  list-style: none;
}

.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 1024px) {
  nav, .header-container .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Modern Layout Systems */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem;
  align-items: center;
}

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

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

@media (max-width: 968px) {
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 576px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Rich Media and Image Handling Classes */
.responsive-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.premium-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 2px;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.premium-card:hover {
  transform: translateY(-4px);
  border-color: var(--text-primary);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.premium-card:hover .responsive-img {
  transform: scale(1.03);
}

.premium-card .card-image-wrapper {
  position: relative;
  background-color: var(--bg-secondary);
  overflow: hidden;
  aspect-ratio: 16/11; /* Wide cinematic layout ratio */
  display: flex;
  align-items: center;
  justify-content: center;
}

.premium-card .card-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.premium-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.premium-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.premium-card .card-action {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-wood);
  border-bottom: 1px solid var(--accent-wood);
  padding-bottom: 2px;
  align-self: flex-start;
  margin-top: auto;
}

/* Material Showcase Grid */
.material-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.material-item {
  border: 1px solid var(--border-color);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.material-item:hover {
  border-color: var(--text-primary);
  background-color: var(--bg-secondary);
}

.material-item .wood-preview {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin: 0 auto 1.5rem auto;
  border: 1px solid rgba(0,0,0,0.05);
}

/* Technical Specification Tables */
.spec-table-wrapper {
  overflow-x: auto;
  margin-top: 3rem;
  border: 1px solid var(--border-color);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.spec-table th, .spec-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.spec-table th {
  background-color: var(--bg-secondary);
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  font-weight: 400;
  color: var(--text-primary);
}

.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table td strong {
  color: var(--text-primary);
}

/* Global Footer */
footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 2.5rem 0;
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 968px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand h4 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.1em;
}

.footer-brand p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

.footer-contact-info p {
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.footer-contact-info span {
  color: var(--text-secondary);
}

.footer-col h5 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  color: var(--accent-wood);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.6rem;
}

.footer-col a {
  color: var(--text-secondary);
}

.footer-col a:hover {
  color: var(--text-primary);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.75rem;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

/* Floating Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  padding: 1.5rem;
  max-width: 400px;
  z-index: 1000;
  display: none;
  opacity: 1;
  transition: var(--transition-smooth);
}

@media (max-width: 480px) {
  .cookie-banner {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: none;
  }
}

.cookie-banner-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.cookie-banner-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-banner-actions button {
  padding: 0.6rem 1.2rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.cookie-btn-accept {
  background-color: var(--text-primary);
  color: var(--bg-primary);
}

.cookie-btn-accept:hover {
  background-color: var(--accent-wood);
}

.cookie-btn-necessary {
  background-color: transparent;
  border-color: var(--border-color);
  color: var(--text-primary);
}

.cookie-btn-necessary:hover {
  border-color: var(--text-primary);
}

.cookie-banner-link {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-decoration: underline;
  align-self: center;
  margin-left: auto;
}

/* Decorative SVGs and Components */
.line-art {
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.line-art svg {
  width: 80%;
  height: auto;
  max-height: 100%;
}

/* Common Page Title / Hero Style */
.page-hero {
  background-color: var(--bg-secondary);
  padding: 4.5rem 0; /* Tightened layout */
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.page-hero h1 {
  font-size: 2.5rem; /* Balanced hierarchy scale */
  margin-bottom: 0.75rem;
}

.page-hero p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .page-hero {
    padding: 3.5rem 0;
  }
  .page-hero h1 {
    font-size: 1.9rem;
  }
}