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

:root {
  --bg-primary: #121212;
  --bg-secondary: #161616;
  --bg-card: rgba(255, 255, 255, 0.02);
  --bg-rgb: 18, 18, 18;
  --accent: #C5A059;
  --accent-hover: #b38e4b;
  --text-primary: #EAEAEA;
  --text-secondary: #888888;
  --border: rgba(255, 255, 255, 0.05);
  --border-light: rgba(255, 255, 255, 0.03);
  --header-height: 80px;
  --radius: 8px;
}

html.light-mode {
  --bg-primary: #ffffff;
  --bg-secondary: #f5f5f5;
  --bg-card: #ffffff;
  --bg-rgb: 255, 255, 255;
  --text-primary: #121212;
  --text-secondary: #555555;
  --border: rgba(0, 0, 0, 0.1);
  --border-light: rgba(0, 0, 0, 0.05);
}

html.light-mode .cta-section {
  background: linear-gradient(rgba(245, 245, 245, 0.9), rgba(245, 245, 245, 0.9)), url('https://images.unsplash.com/photo-1503951914875-452162b0f3f1?q=80&w=1600&auto=format&fit=crop') center/cover !important;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  animation: fadeInPage 0.8s ease-out forwards;
}

@keyframes fadeInPage {
  from { opacity: 0; }
  to { opacity: 1; }
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.4s ease;
}

ul {
  list-style: none;
}

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

/* Base Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.section {
  padding: 8rem 0;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 4rem;
  text-align: center;
  position: relative;
  font-weight: 300;
}

.section-title span {
  color: var(--accent);
}

.text-center {
  text-align: center;
}

.accent-text {
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  border-radius: var(--radius);
  transition: all 0.4s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.booksy-btn {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.booksy-btn img {
  width: 18px;
}

.booksy-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(var(--bg-rgb), 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
}

.header.scrolled {
  border-bottom-color: var(--border-light);
  height: 70px;
}

.header .container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 1px;
  position: relative;
  z-index: 1001;
}

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

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

.nav-links a.nav-item {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.nav-links a.nav-item:hover {
  color: var(--text-primary);
}

.nav-links a.nav-item.active {
  color: var(--accent);
}

.theme-toggle {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover {
  color: var(--accent);
  transform: scale(1.1);
}

.menu-toggle {
  display: none;
  font-size: 1.2rem;
  cursor: pointer;
  position: relative;
  z-index: 1001;
  color: var(--text-secondary);
  transition: transform 0.3s ease;
}

.menu-toggle.active {
  transform: rotate(90deg);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-color: var(--bg-primary);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1599351431202-1e0f0137899a?q=80&w=2000&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent, var(--bg-primary) 80%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin-top: var(--header-height);
}

.hero-subtitle {
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  display: block;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.hero-text {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 450px;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Cards Generics */
.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(197, 160, 89, 0.3); /* Subtle gold hover */
}

/* Footer */
.footer {
  background-color: var(--bg-primary);
  padding: 6rem 0 2rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.footer-col p, .footer-col ul li a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: block;
}

.footer-col ul li a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 0.8rem;
}

/* Responsive - Minimalist Tweaks */
@media (max-width: 900px) {
  .hero-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 8%;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(var(--bg-rgb), 0.98);
    backdrop-filter: blur(20px);
    border: none;
    padding: 2rem 8%;
    gap: 2rem;
    clip-path: circle(0px at 90% -10%);
    transition: clip-path 0.5s cubic-bezier(0.86, 0, 0.07, 1);
  }
  
  .nav-links.active {
    clip-path: circle(150% at 90% -10%);
  }

  .nav-links a.nav-item {
    font-size: 1.2rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-text {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  .section {
    padding: 5rem 0;
  }
  
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 3rem;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }

  .hero-btns .btn {
    width: 100%;
  }

  .booksy-btn {
    width: 100%;
    max-width: 300px;
  }

  .footer-grid {
    gap: 3rem;
    text-align: left;
  }
}
