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

:root {
  /* Brand Colors */
  --primary-pink: #D83B72;
  --secondary-pink: #DC0C66;
  --primary-blue: #009fcb;
  --dark-blue: #026F86;
  
  /* Neutral Colors */
  --bg-color: #FAFBFC;
  --surface-color: #FFFFFF;
  --text-main: #2D3748;
  --text-muted: #718096;
  --border-color: #E2E8F0;
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: #1A202C;
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--secondary-pink);
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

/* Header & Navigation */
.header {
  background: var(--surface-color);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow var(--transition-normal);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo img {
  height: 60px;
  transition: transform var(--transition-fast);
}

.logo:hover img {
  transform: scale(1.05);
}

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

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-pink);
  transition: width var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-pink);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text-main);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: url('../images/new/hero_blooming.png') center/cover no-repeat;
  background-position: center 20%;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(216, 59, 114, 0.15), rgba(0, 159, 203, 0.15));
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 800px;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,1);
  animation: fadeUp 1s ease-out forwards;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--primary-pink);
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-main);
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--primary-pink);
  color: white;
  box-shadow: 0 4px 15px rgba(216, 59, 114, 0.3);
}

.btn-primary:hover {
  background: var(--secondary-pink);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(216, 59, 114, 0.4);
}

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

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

/* Cards & Grids */
.grid {
  display: grid;
  gap: 2rem;
}

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

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.card {
  background: var(--surface-color);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(216, 59, 114, 0.2);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: rgba(216, 59, 114, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary-pink);
}

.card-icon img {
  width: 30px;
  border-radius: 50%;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.card p {
  color: var(--text-muted);
  flex-grow: 1;
}

.card-link {
  margin-top: 1.5rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.card-link::after {
  content: '→';
  transition: transform var(--transition-fast);
}

.card:hover .card-link::after {
  transform: translateX(5px);
}

/* Content Pages */
.page-header {
  background: linear-gradient(135deg, var(--primary-pink), var(--secondary-pink));
  padding: 4rem 0;
  color: white;
  text-align: center;
}

.page-header h1 {
  color: white;
  margin-bottom: 0;
  font-size: 3rem;
}

.content-section {
  background: var(--surface-color);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--shadow-md);
  margin-top: -3rem;
  position: relative;
  z-index: 10;
  margin-bottom: 4rem;
}

.content-section p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.content-section ul {
  list-style: none;
  margin-bottom: 2rem;
}

.content-section ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.content-section ul li::before {
  content: '•';
  color: var(--primary-pink);
  font-weight: bold;
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -4px;
}

/* Testimony Styling */
.testimony-card {
  background: var(--bg-color);
  border-left: 4px solid var(--primary-pink);
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 0 16px 16px 0;
  font-style: italic;
  position: relative;
}

.testimony-card::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 5rem;
  color: rgba(216, 59, 114, 0.1);
  position: absolute;
  top: -10px;
  left: 10px;
  line-height: 1;
}

.testimony-author {
  font-weight: bold;
  font-style: normal;
  margin-top: 1rem;
  color: var(--primary-blue);
}

/* Bookstore */
.book-showcase {
  display: flex;
  gap: 3rem;
  align-items: center;
  background: var(--surface-color);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 3rem;
}

.book-image {
  flex: 0 0 300px;
  position: relative;
}

.book-image img {
  border-radius: 8px;
  box-shadow: 10px 10px 30px rgba(0,0,0,0.15);
  transition: transform var(--transition-normal);
}

.book-image:hover img {
  transform: rotateY(-10deg) scale(1.02);
  perspective: 1000px;
}

.book-info {
  flex: 1;
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */
.footer {
  background: #1A202C;
  color: #A0AEC0;
  padding: 4rem 0 2rem;
  margin-top: auto;
}

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

.footer h3 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #A0AEC0;
}

.footer-links a:hover {
  color: var(--primary-pink);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.social-icon:hover {
  background: var(--primary-pink);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface-color);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
  }
  
  .nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .book-showcase {
    flex-direction: column;
    padding: 1.5rem;
  }
  
  .book-image {
    flex: 0 0 auto;
    max-width: 250px;
  }

  .content-section {
    padding: 1.5rem;
  }
}
