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

:root {
  --color-bg: #09131a; /* Deep elegant dark navy/slate */
  --color-bg-light: #12212d;
  --color-accent: #a9b4c2; /* Subtle slate silver */
  --color-accent-hover: #c4ced9;
  --color-text: #f0f4f8; /* Off-white */
  --color-text-muted: #aab5bf;
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  background: url('images/logo-bg.png') center/60% no-repeat;
  opacity: 0.03;
  z-index: -1;
  pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 1rem;
}

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

ul {
  list-style: none;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--color-accent);
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: transparent;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

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

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

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

/* Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 100;
  transition: var(--transition);
}

header.scrolled {
  background-color: rgba(9, 19, 26, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
}

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

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--color-text);
  animation: fadeUp 1s ease forwards;
  opacity: 0;
}

.hero-logo {
  max-width: 600px;
  width: 90%;
  height: auto;
  margin: 0 auto 2.5rem;
  display: block;
  animation: fadeUp 1s ease forwards;
  opacity: 0;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  animation: fadeUp 1s 0.3s ease forwards;
  opacity: 0;
}

.hero .btn {
  animation: fadeUp 1s 0.6s ease forwards;
  opacity: 0;
}

/* About Section */
.about {
  background-color: var(--color-bg);
}

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

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

.about-image {
  position: relative;
  padding: 2rem;
}

.about-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-accent);
  z-index: 0;
}

.about-image img {
  width: 100%;
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  transform: translate(-20px, -20px);
}

/* Books Section */
.books {
  background-color: var(--color-bg-light);
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.book-card {
  background-color: var(--color-bg);
  padding: 2rem;
  text-align: center;
  border-radius: 4px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.book-card:hover {
  transform: translateY(-10px);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.book-card img {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 1.5rem;
  border-radius: 2px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.book-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.book-card p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* Services Section */
.services {
  background-color: var(--color-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  padding: 3rem 2rem;
  border: 1px solid rgba(255,255,255,0.05);
  background-color: var(--color-bg-light);
  text-align: center;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--color-accent);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

/* Acclaim Section */
.acclaim {
  background-color: var(--color-bg-light);
}

.acclaim-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.acclaim-card {
  padding: 3rem 2rem;
  border: 1px solid rgba(255,255,255,0.05);
  background-color: var(--color-bg);
  text-align: center;
  transition: var(--transition);
}

.acclaim-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-5px);
}

.stars {
  color: var(--color-accent);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: 5px;
}

.acclaim-card p {
  color: var(--color-text);
  font-style: italic;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.acclaim-card h4 {
  color: var(--color-accent);
  font-family: var(--font-body);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  margin-bottom: 0;
}

/* Contact Section */
.contact {
  background-color: var(--color-bg-light);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.form-control {
  width: 100%;
  padding: 1rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  color: var(--color-text);
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-bottom-color: var(--color-accent);
}

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

/* Footer */
footer {
  background-color: #050a0f;
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .about-grid, .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: var(--color-bg-light);
    flex-direction: column;
    padding: 6rem 2rem;
    transition: var(--transition);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .menu-toggle {
    display: block;
    z-index: 1000;
  }
}
