/* Reset + Base */
body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
  background-color: #1c1c1c;
  color: #e0e0e0;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.5em;
}

/* Navigation */
.navbar {
  background-color: #121212;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 2em;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo img {
  height: 150px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger .bar {
  width: 25px;
  height: 3px;
  background-color: #ccc;
}

/* Nav Links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5em;
}

.nav-links li a {
  color: #cccccc;
  font-weight: bold;
}

.nav-links li a:hover {
  color: #ffffff;
}

/* Mobile Nav Styles */
.close-menu {
  display: none;
  font-size: 1.5rem;
  align-self: flex-end;
  padding: 0.5em 1em;
  cursor: pointer;
  color: #e0e0e0;
}



/* Hero Section */
.hero {
  background: url('images/yada.jpg') no-repeat center center/cover;
  height: 100vh;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  padding: 2em;
  position: relative;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.mystic-btn {
  background-color: #444;
  color: white;
  padding: 1em 2em;
  border-radius: 50px;
  font-weight: bold;
  margin-top: 2em;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.mystic-btn:hover {
  background-color: #666;
}

/* Footer */
footer {
  background-color: #111;
  color: #ccc;
  text-align: center;
  padding: 2em 1em;
  margin-top: 4em;
}

.footer-content a {
  color: #999;
  margin: 0 10px;
  text-decoration: none;
}

.footer-content a:hover {
  text-decoration: underline;
  color: #fff;
}

.social-icons {
  margin-top: 1em;
}

.social-icons a {
  font-size: 1.5em;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #fff;
}

/* Book Gallery */
.product-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
  padding: 2em 0;
}

.product-item {
  background-color: #2a2a2a;
  padding: 1.5em;
  border-radius: 10px;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  color: #eee;
}

.product-item img {
  width: 100%;
  max-width: 250px;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1em;
}

.product-item h3 {
  color: #e60000;
  margin: 0.5em 0;
}

.product-item p {
  font-size: 0.95em;
  color: #ccc;
}

.product-item .btn {
  margin-top: 1em;
}

blockquote {
  border-left: 4px solid #e60000;
  margin: 2em 0;
  padding: 1em 1.5em;
  background-color: #2a2a2a;
  color: #eee;
  font-style: italic;
  border-radius: 8px;
}
blockquote footer {
  margin-top: 0.5em;
  text-align: right;
  font-weight: bold;
  color: #aaa;
}

/* Orange Button Styling */
.btn {
  display: inline-block;
  background-color: #ff6600;
  color: white;
  padding: 0.75em 1.5em;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin-top: 1em;
}

.btn:hover {
  background-color: #e65c00;
  color: #fff;
}

.centered-image {
  text-align: center;
  margin: 2em 0;
}

.centered-image img {
  max-width: 100%;
  height: auto;
}

/* Wrapped Image Styling */
.wrap {
  overflow: auto;
  margin: 2em 0;
}

/* Float Left */
.wrap-left {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1em;
  width: 200px;
  height: auto;
  border-radius: 10px;
}

/* Float Right */
.wrap-right {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1em;
  width: 200px;
  height: auto;
  border-radius: 10px;
}

/* Responsive Reset for Floated Images on Desktop */

@media (max-width: 768px) {
  .wrap-left,
  .wrap-right {
    float: none;
    display: block;
    margin: 1em auto;
  }
}

.wrap-left,
.wrap-right {
  max-width: 150px;
  height: auto;
}

/* Responsive Sizes for Floated Images on Desktop */

.img-sm { width: 100px; }
.img-md { width: 150px; }
.img-lg { width: 250px; }

/*Smooth Scroll Targeting*/

html {
  scroll-padding-top: 100px; /* adjust to your nav height */
  scroll-behavior: smooth;
}



/* Hamburger & Nav Mobile */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #121212;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    padding: 2em 1em;
    z-index: 999;
  }

  .nav-links.nav-active {
    display: flex;
  }

  .close-menu {
    display: block;
    font-size: 1.5rem;
    align-self: flex-end;
    padding: 0.5em 1em;
    cursor: pointer;
    color: #e0e0e0;
  }

  .nav-links li {
    margin: 0.5em 0;
  }

  .nav-links li a {
    padding: 0.5em 1em;
    display: block;
    text-align: left;
  }
}
