﻿body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #fceff9, #e0f7fa);
  color: #333;
}

header {
  text-align: center;
  padding: 2rem 1rem;
  background: linear-gradient(to right, #6a1b9a, #8e24aa);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.tagline {
  font-style: italic;
  color: #ffccf9;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

nav a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: background 0.3s ease;
}

nav a:hover {
  background: linear-gradient(to right, #ff80ab, #ea80fc);
}

section {
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem;
  background: linear-gradient(to bottom right, #ffffff, #fceff9);
  border-left: 6px solid #d48ecb;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

h2 {
  color: #8e24aa;
  margin-bottom: 1rem;
}

button {
  background: linear-gradient(to right, #d48ecb, #ea80fc);
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 0 10px rgba(218, 112, 214, 0.4);
  transition: background 0.3s ease;
}

button:hover {
  background: linear-gradient(to right, #c07bb5, #ce93d8);
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input, textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #f9f0f9;
  font-size: 1rem;
}

footer {
  text-align: center;
  padding: 1rem;
  background: #6a1b9a;
  color: #eee;
  font-size: 0.9rem;
}

.ebook {
  background: #fff0f6;
  border-left: 4px solid #ea80fc;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.ebook h3 {
  margin-top: 0;
  color: #8e24aa;
}

.ebook a {
  display: inline-block;
  margin-top: 0.5rem;
  color: #d48ecb;
  text-decoration: none;
  font-weight: bold;
}

.ebook a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  section {
    margin: 2rem 1rem;
  }
}
/* Base nav styles */
.dropdown-nav {
  position: relative;
  background: #6a1b9a;
  padding: 1rem;
  text-align: center;
}

.menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.menu li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.menu li a:hover {
  background: linear-gradient(to right, #ff80ab, #ea80fc);
}

/* Mobile menu toggle */
.menu-icon {
  display: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

#menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    background: #6a1b9a;
    padding: 1rem 0;
  }

  #menu-toggle:checked + .menu-icon + .menu {
    display: flex;
  }

  .menu-icon {
    display: block;
    text-align: right;
    margin-bottom: 1rem;
  }
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  width: 50px;
  height: auto;
  border-radius: 6px;
}
.contact-info {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.contact-info li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.contact-info a {
  color: #d48ecb;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}
.catalog-button {
  display: inline-block;
  background: linear-gradient(to right, #d48ecb, #ea80fc);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(218, 112, 214, 0.4);
  transition: background 0.3s ease;
}

.catalog-button:hover {
  background: linear-gradient(to right, #c07bb5, #ce93d8);
}

