/* ============================================
   Luboš Odlas – Bow Maker Website
   Modern, airy, artistic design
   Warm tones: wood, gold, cream
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500&display=swap');

/* --- CSS Variables --- */
:root {
  --color-bg: #faf7f2;
  --color-bg-alt: #f3ece1;
  --color-bg-dark: #2c2418;
  --color-text: #3a3028;
  --color-text-light: #7a6e60;
  --color-text-inverse: #faf7f2;
  --color-gold: #b8923f;
  --color-gold-light: #d4b06a;
  --color-gold-dark: #8a6d2f;
  --color-wood: #6b4c2a;
  --color-wood-light: #a07850;
  --color-cream: #ede4d3;
  --color-accent: #c4985a;
  --color-border: rgba(184, 146, 63, 0.2);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --max-width: 1200px;
  --header-height: 80px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--color-gold-dark);
  text-decoration: none;
  transition: color var(--transition);
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 500;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.2em;
  max-width: 70ch;
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 6rem 0;
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
  background: rgba(250, 247, 242, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.site-header.scrolled {
  box-shadow: 0 1px 30px rgba(0,0,0,0.06);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.02em;
  text-decoration: none;
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.main-nav a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--color-text-light);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  padding: 0.3rem 0;
  transition: color var(--transition);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-text);
}

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

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1.5rem;
  padding-left: 1.5rem;
  border-left: 1px solid var(--color-border);
}

.lang-switcher button {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-text-light);
  cursor: pointer;
  padding: 0.25rem 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition);
  border-radius: 3px;
}

.lang-switcher button:hover {
  color: var(--color-gold-dark);
}

.lang-switcher button.active {
  color: var(--color-gold-dark);
  background: rgba(184, 146, 63, 0.1);
  font-weight: 500;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--color-text);
  position: absolute;
  left: 0;
  transition: all var(--transition);
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-toggle span:nth-child(3) { bottom: 0; }

.menu-toggle.open span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-height);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(184, 146, 63, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(107, 76, 42, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(196, 152, 90, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

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

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-gold);
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--color-gold-dark);
}

.hero-text {
  font-size: 1.15rem;
  color: var(--color-text-light);
  max-width: 550px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.hero-line {
  width: 60px;
  height: 1px;
  background: var(--color-gold);
  margin: 0 auto;
  opacity: 0.6;
}

/* --- Decorative Elements --- */
.gold-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin: 0 auto 2rem;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-gold);
  margin-bottom: 1rem;
  font-weight: 400;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  padding: calc(var(--header-height) + 5rem) 0 5rem;
  text-align: center;
  position: relative;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--color-gold);
  opacity: 0.4;
}

.page-hero h1 {
  margin-bottom: 1rem;
}

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

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

.content-section.alt {
  background: var(--color-bg-alt);
}

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

.content-grid.reverse {
  direction: rtl;
}

.content-grid.reverse > * {
  direction: ltr;
}

.content-image {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.content-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.content-image:hover img {
  transform: scale(1.03);
}

.content-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  pointer-events: none;
}

/* --- Features / Cards --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.feature-card {
  text-align: center;
  padding: 3rem 2rem;
  background: white;
  border-radius: 4px;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
  border-color: var(--color-gold-light);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--color-gold);
  opacity: 0.8;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin: 0 auto;
}

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(44, 36, 24, 0.4) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(44, 36, 24, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.lightbox-close:hover {
  opacity: 1;
}

/* --- Collaboration / Artists --- */
.artists-section {
  text-align: center;
}

.artist-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin: 2rem 0 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.artist-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
}

.artist-name .instrument {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--color-text-light);
  font-family: var(--font-body);
  margin-left: 0.3rem;
}

.ensembles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.ensemble-tag {
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 50px;
  color: var(--color-text-light);
  transition: all var(--transition);
}

.ensemble-tag:hover {
  border-color: var(--color-gold);
  color: var(--color-gold-dark);
  background: rgba(184, 146, 63, 0.05);
}

.world-reach {
  margin-top: 3rem;
  padding: 3rem;
  background: var(--color-bg-alt);
  border-radius: 4px;
  text-align: center;
}

.countries {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* --- Services / Pricing --- */
.service-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.category-card {
  padding: 2.5rem;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  transition: all var(--transition);
}

.category-card:hover {
  box-shadow: 0 15px 50px rgba(0,0,0,0.05);
}

.category-card h3 {
  font-family: var(--font-display);
  color: var(--color-gold-dark);
  margin-bottom: 0.5rem;
}

.category-card .category-desc {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

/* Pricing Tables */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-card {
  padding: 2.5rem 2rem;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  text-align: center;
  transition: all var(--transition);
}

.pricing-card:hover {
  border-color: var(--color-gold-light);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.pricing-card.featured {
  border-color: var(--color-gold);
  position: relative;
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold-light));
}

.pricing-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.pricing-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.pricing-card .price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--color-gold-dark);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.pricing-card .price-note {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* Repair Pricing */
.repair-list {
  margin-top: 2rem;
}

.repair-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

.repair-item:last-child {
  border-bottom: none;
}

.repair-item .service-name {
  font-weight: 400;
  font-size: 0.95rem;
}

.repair-item .service-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-gold-dark);
  font-weight: 500;
  white-space: nowrap;
}

.repair-subitems {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.repair-subitems .repair-item {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* --- Contact Form --- */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: white;
  color: var(--color-text);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
  font-weight: 400;
}

.btn-primary {
  background: var(--color-gold-dark);
  color: white;
}

.btn-primary:hover {
  background: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(184, 146, 63, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--color-gold-dark);
  border: 1px solid var(--color-gold-dark);
}

.btn-outline:hover {
  background: var(--color-gold-dark);
  color: white;
}

/* --- Footer --- */
.site-footer {
  background: var(--color-bg-dark);
  color: var(--color-text-inverse);
  padding: 4rem 0 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  color: var(--color-text-inverse);
  font-size: 1.3rem;
  display: block;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(250, 247, 242, 0.5);
  max-width: 300px;
}

.footer-nav h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  margin-bottom: 1rem;
  font-weight: 400;
}

.footer-nav a {
  display: block;
  font-size: 0.9rem;
  color: rgba(250, 247, 242, 0.6);
  margin-bottom: 0.5rem;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--color-gold-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 247, 242, 0.1);
  font-size: 0.8rem;
  color: rgba(250, 247, 242, 0.3);
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* --- Quote / Motto --- */
.motto {
  text-align: center;
  padding: 5rem 2rem;
  background: var(--color-bg-alt);
}

.motto blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-style: italic;
  color: var(--color-wood);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--color-bg);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    transition: right var(--transition);
    box-shadow: -10px 0 50px rgba(0,0,0,0.1);
  }

  .main-nav.open {
    right: 0;
  }

  .menu-toggle {
    display: block;
  }

  .lang-switcher {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
    justify-content: center;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .content-grid.reverse {
    direction: ltr;
  }

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

  .service-categories {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  section {
    padding: 4rem 0;
  }

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

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  h1 {
    font-size: 2rem;
  }

  .hero {
    min-height: 80vh;
  }
}
