@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;600&family=Libre+Baskerville:wght@400;700&display=swap");

/* VARIABLES */
:root {
  --primary: #111;
  --secondary: #444;
  --accent: #a6713c;
  --light: #f9f9f9;
  --dark: #0a0a0a;
  --font-serif: 'Libre Baskerville', serif;
  --font-garamond: 'EB Garamond', serif;
  --font-base: 'Libre Baskerville', serif;
  --transition: 0.3s ease-in-out;
}

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

/* BASE */
body {
  font-family: var(--font-base);
  background-color: var(--light);
  color: var(--primary);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  padding-top: 70px; /* offset for fixed header */
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--secondary);
}

/* CLAYMORE HEADER */
.cc-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid rgba(166, 113, 60, 0.2);
  z-index: 2000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  height: 70px;
}

.cc-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

.cc-logo {
  font-family: var(--font-garamond);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.cc-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cc-lang {
  border: 1px solid #ddd;
  background: transparent;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--primary);
}

.cc-login {
  background: #000;
  color: #fff;
  border: none;
  padding: 6px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.cc-hamburger {
  font-size: 26px;
  background: none;
  border: none;
  color: #000;
  cursor: pointer;
}

/* Drawer Menu */
.cc-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 2500;
}
.cc-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.cc-drawer {
  position: fixed;
  top: 0;
  left: -280px;
  width: 240px;
  height: 100vh;
  background: #fff;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.1);
  padding: 60px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: left 0.3s ease;
  z-index: 3000;
}
.cc-drawer.show {
  left: 0;
}

.cc-drawer a {
  font-size: 16px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}
.cc-drawer a:hover {
  color: var(--accent);
}
.cc-drawer .divider {
  border: none;
  height: 1px;
  background: #ddd;
  margin: 10px 0;
}

/* HERO */
.hero,
.hero-section {
  text-align: center;
  padding: 120px 20px 80px;
  max-width: 900px;
  margin: 0 auto;
}
.hero img,
.hero-section img {
  max-width: 340px;
  width: 80%;
  margin: 0 auto 40px;
  display: block;
}
.hero h1,
.hero-section h1 {
  font-family: var(--font-garamond);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary);
}
.hero p,
.hero-section p {
  font-size: 1.1rem;
  color: #555;
  max-width: 680px;
  margin: 0 auto 2rem;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.hero-buttons a {
  padding: 12px 26px;
  border-radius: 32px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}
.hero-buttons a:first-child {
  background: #000;
  color: #fff;
}
.hero-buttons a:last-child {
  border: 1px solid #000;
  color: #000;
}
.hero-buttons a:hover {
  opacity: 0.85;
}

/* SECTION */
section {
  padding: 4rem 2rem;
}
.section-title {
  font-family: var(--font-garamond);
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

/* CARD GRID */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 2rem;
  transition: var(--transition);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.card h3 {
  font-family: var(--font-garamond);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.card p {
  color: var(--secondary);
}

/* FOOTER */
footer {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
}
footer a {
  color: var(--accent);
}

/* FOOTER SOCIALS */
.footer-socials {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 1.5rem 0;
}
.footer-socials a {
  color: var(--accent);
  font-size: 1.4rem;
  transition: color 0.3s ease;
}
.footer-socials a:hover {
  color: var(--primary);
}

/* SCROLL-UP BUTTON */
.scroll-up-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--accent);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  font-size: 1.25rem;
  cursor: pointer;
  display: none;
  z-index: 1000;
}
.scroll-up-btn.show {
  display: block;
}

/* UTILITIES */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.rounded { border-radius: 10px; }
.shadow { box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.opacity-80 { opacity: 0.8; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .cc-nav {
    padding: 0.75rem 1.25rem;
  }
  .cc-logo {
    font-size: 1.4rem;
  }
  .cc-actions {
    gap: 0.6rem;
  }
  .cc-lang {
    padding: 4px 8px;
    font-size: 12px;
  }
  .cc-login {
    padding: 5px 12px;
    font-size: 13px;
  }
  .cc-hamburger {
    font-size: 24px;
  }
  .hero-section {
    padding-top: 2rem;
  }
}

@media (max-width: 600px) {
  .hero h1,
  .hero-section h1 {
    font-size: 1.6rem;
  }
  .hero p,
  .hero-section p {
    font-size: 1rem;
  }
}