/* Style: Byzantine Walnut Marquetry & Gold
   Palette:
   - Primary Dark (Walnut): #451A03
   - Accent Gold: #EAB308
   - Secondary Accent (Imperial Purple): #581C87
   - Light Background (Ivory): #FFFDF9
   - Deep Black / Dark Charcoal: #1C1917
   - Border Gold: #D97706
   Typography: Playfair Display, Lora, serif
*/

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

:root {
  --bg-walnut: #451a03;
  --bg-walnut-dark: #270e02;
  --bg-walnut-light: #5c2306;
  --gold-primary: #eab308;
  --gold-light: #fde047;
  --gold-dark: #b45309;
  --gold-gradient: linear-gradient(135deg, #fef08a 0%, #eab308 50%, #b45309 100%);
  --purple-imperial: #581c87;
  --purple-dark: #3b0764;
  --purple-glow: rgba(88, 28, 135, 0.4);
  --ivory: #fffdf9;
  --ivory-warm: #fefce8;
  --text-dark: #1c1917;
  --text-muted: #6b7280;
  --text-light: #f3f4f6;
  --border-gold: rgba(234, 179, 8, 0.3);
  --glass-bg: rgba(69, 26, 3, 0.85);
  --shadow-gold: 0 10px 30px -5px rgba(234, 179, 8, 0.2);
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.4);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Lora', serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--ivory);
  color: var(--text-dark);
  line-height: 1.8;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
  font-weight: 700;
  color: var(--bg-walnut);
}

.text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold);
  transition: var(--transition-smooth);
}

.navbar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-gradient);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--bg-walnut-dark);
  font-size: 1.4rem;
  box-shadow: 0 0 15px rgba(234, 179, 8, 0.4);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ivory);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.logo-subtitle {
  display: block;
  font-size: 0.65rem;
  color: var(--gold-primary);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: var(--font-body);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.4rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-primary);
}

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

.nav-cta {
  border: 1px solid var(--gold-primary);
  padding: 0.6rem 1.4rem !important;
  border-radius: 2px;
  color: var(--gold-primary) !important;
}

.nav-cta:hover {
  background: var(--gold-gradient);
  color: var(--bg-walnut-dark) !important;
  box-shadow: var(--shadow-gold);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold-primary);
  font-size: 1.8rem;
  cursor: pointer;
}

/* Byzantine Ornament / Motif */
.byzantine-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2.5rem 0;
}

.byzantine-divider::before,
.byzantine-divider::after {
  content: '';
  height: 1px;
  width: 80px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.byzantine-diamond {
  width: 12px;
  height: 12px;
  background: var(--gold-primary);
  transform: rotate(45deg);
  box-shadow: 0 0 8px var(--gold-primary);
}

/* General Layout Elements */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 7rem 0;
}

.bg-walnut-theme {
  background-color: var(--bg-walnut);
  color: var(--ivory);
}

.bg-walnut-theme h1,
.bg-walnut-theme h2,
.bg-walnut-theme h3 {
  color: var(--ivory);
}

.section-title-wrapper {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold-primary);
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.6rem;
  position: relative;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(rgba(39, 14, 2, 0.82), rgba(28, 25, 23, 0.9)),
              url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding-top: 5rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 20%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
}

.hero-content {
  max-width: 900px;
  z-index: 2;
  padding: 0 1.5rem;
}

.hero-tagline {
  font-size: 1rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 4rem;
  color: var(--ivory);
  line-height: 1.15;
  margin-bottom: 1.8rem;
  font-weight: 900;
}

.hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 3rem;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 1.1rem 2.8rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 2px;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.btn-gold {
  background: var(--gold-gradient);
  color: var(--bg-walnut-dark);
  box-shadow: 0 4px 20px rgba(234, 179, 8, 0.3);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(234, 179, 8, 0.5);
  background: linear-gradient(135deg, #ffffff 0%, #eab308 100%);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-primary);
  border: 1px solid var(--gold-primary);
  margin-left: 1rem;
}

.btn-outline-gold:hover {
  background: rgba(234, 179, 8, 0.1);
  color: var(--gold-light);
  transform: translateY(-3px);
}

/* Feature Cards & Marquetry Highlights */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.card-marquetry {
  background: var(--bg-walnut-dark);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-card);
}

.card-marquetry:hover {
  transform: translateY(-10px);
  border-color: var(--gold-primary);
  box-shadow: 0 20px 40px rgba(234, 179, 8, 0.15);
}

.card-img-wrapper {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.card-marquetry:hover .card-img-wrapper img {
  transform: scale(1.08);
}

.card-body {
  padding: 2.2rem;
  color: var(--ivory);
}

.card-title {
  font-size: 1.5rem;
  color: var(--ivory);
  margin-bottom: 0.8rem;
}

.card-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
}

.card-link {
  color: var(--gold-primary);
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.card-link:hover {
  gap: 0.8rem;
  color: var(--gold-light);
}

/* Category Filter Bar */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border-gold);
  color: var(--bg-walnut);
  padding: 0.7rem 1.8rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
  border-radius: 2px;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--bg-walnut);
  color: var(--gold-primary);
  border-color: var(--bg-walnut);
  box-shadow: 0 4px 15px rgba(69, 26, 3, 0.2);
}

/* Testimonials Carousel / Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-gold);
  padding: 2.5rem;
  border-radius: 4px;
  position: relative;
}

.testimonial-quote {
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-family: var(--font-heading);
  color: var(--gold-primary);
  font-size: 1.1rem;
  font-weight: 600;
}

.testimonial-role {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Form Styles with Floating Labels */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.form-group {
  position: relative;
  margin-bottom: 2rem;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 1.2rem 1rem 0.6rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid #d1d5db;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition-smooth);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.form-input:focus,
.form-input:not(:placeholder-shown),
.form-textarea:focus,
.form-textarea:not(:placeholder-shown) {
  border-color: var(--bg-walnut);
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label,
.form-textarea:focus ~ .form-label,
.form-textarea:not(:placeholder-shown) ~ .form-label {
  top: -0.4rem;
  left: 0.2rem;
  font-size: 0.75rem;
  color: var(--bg-walnut);
  font-weight: 600;
}

/* Custom Marquetry Map Mock */
.marquetry-map {
  background: var(--bg-walnut-dark);
  border: 1px solid var(--gold-primary);
  height: 100%;
  min-height: 420px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.map-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: radial-gradient(var(--gold-primary) 1px, transparent 0);
  background-size: 24px 24px;
}

.map-pin {
  width: 60px;
  height: 60px;
  background: var(--gold-gradient);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px var(--gold-primary);
  margin-bottom: 2rem;
  animation: floatPin 3s ease-in-out infinite;
}

@keyframes floatPin {
  0%, 100% { transform: rotate(-45deg) translateY(0); }
  50% { transform: rotate(-45deg) translateY(-10px); }
}

.map-pin-inner {
  width: 24px;
  height: 24px;
  background: var(--bg-walnut-dark);
  border-radius: 50%;
  transform: rotate(45deg);
}

/* Footer */
footer {
  background: var(--bg-walnut-dark);
  color: rgba(255, 255, 255, 0.75);
  border-top: 1px solid var(--border-gold);
  padding: 5rem 0 2rem;
}

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

.footer-col h4 {
  color: var(--gold-primary);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--gold-primary);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* GDPR Banner Modal */
.gdpr-banner {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-walnut-dark);
  border: 1px solid var(--gold-primary);
  border-radius: 6px;
  padding: 2rem;
  z-index: 9999;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transform: translateY(200%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gdpr-banner.show {
  transform: translateY(0);
}

.gdpr-text h4 {
  color: var(--gold-primary);
  margin-bottom: 0.5rem;
}

.gdpr-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.gdpr-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.gdpr-btn-accept {
  background: var(--gold-gradient);
  color: var(--bg-walnut-dark);
  border: none;
  padding: 0.75rem 1.8rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 2px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gdpr-btn-decline {
  background: transparent;
  color: var(--ivory);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  border-radius: 2px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Legal Pages Styling */
.legal-content {
  background: #ffffff;
  padding: 4rem;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  margin-top: 2rem;
  margin-bottom: 5rem;
  border: 1px solid var(--border-gold);
}

.legal-content h2 {
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
  border-bottom: 1px solid rgba(69, 26, 3, 0.1);
  padding-bottom: 0.5rem;
}

.legal-content p, .legal-content ul {
  margin-bottom: 1.2rem;
  color: #374151;
}

.legal-content ul {
  padding-left: 1.5rem;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gdpr-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    background: var(--bg-walnut-dark);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-150%);
    transition: var(--transition-smooth);
    border-bottom: 1px solid var(--border-gold);
  }
  
  .nav-links.active {
    transform: translateY(0);
  }

  .mobile-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
