/* ============================================================
   Halil Şahin V2 — Odrin-inspired Dark Elegant Theme
   FIXED VERSION — Clean formatting
   ============================================================ */

/* Variables */
:root {
  --bg-dark: #1a1a2e;
  --bg-darker: #12121f;
  --bg-card: #222240;
  --bg-card-hover: #2a2a4a;
  --bg-light: #f8f6f2;
  --bg-cream: #faf8f4;
  --gold: #c9a84c;
  --gold-light: #dfc06e;
  --gold-dark: #a17d1a;
  --gold-glow: rgba(201, 168, 76, 0.15);
  --text-white: #f0ece4;
  --text-light: #b8b4ac;
  --text-muted: #7a7772;
  --text-dark: #2c2824;
  --text-body: #555555;
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-light: #e8e2d8;
  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', 'Noto Sans', system-ui, sans-serif;
  --radius: 6px;
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.3);
  --transition: 0.3s ease;
}

/* Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  line-height: 1.7;
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

::selection {
  background: var(--gold);
  color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 60px;
  transition: var(--transition);
}

.navbar.transparent {
  background: transparent;
}

.navbar.scrolled {
  background: rgba(18, 18, 31, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.2);
}

.navbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
}

.nav-logo-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
}

.nav-logo-sub {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.nav-links a.active {
  background: rgba(255, 255, 255, 0.08);
}

.nav-cart {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--gold);
  color: #ffffff;
  font-size: 0.65rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: #1a1a2e;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(18,18,31,0.95) 0%, rgba(18,18,31,0.7) 50%, rgba(18,18,31,0.85) 100%);
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 1;
}

.hero-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.3;
  animation: float-up 8s linear infinite;
}

@keyframes float-up {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  20% { opacity: 0.6; }
  80% { opacity: 0.3; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 60px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero-label::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-size: 4rem;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.1;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-dark);
}

.hero-stat-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}

.hero-stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-books {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  justify-content: center;
}

.hero-book-cover {
  width: 180px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s ease;
  display: block;
}

.hero-book-cover:hover {
  transform: translateY(-12px);
}

.hero-book-cover.large {
  width: 220px;
}

.hero-book-cover img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
}

.hero-book-placeholder {
  width: 100%;
  aspect-ratio: 2/3;
  background: linear-gradient(135deg, #222240, #12121f);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  gap: 8px;
}

.hero-book-placeholder span {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: #f0ece4;
  font-weight: 600;
}

.hero-book-placeholder small {
  font-size: 0.7rem;
  color: var(--gold);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
}

.btn-gold {
  background-color: #c9a84c;
  color: #ffffff;
}

.btn-gold:hover {
  background-color: #a17d1a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.3);
}

.btn-outline-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.btn-outline-light:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

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

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

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

.btn-outline-gold:hover {
  background-color: var(--gold);
  color: #ffffff;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.8rem;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 100px 60px;
}

.section-dark {
  background-color: #1a1a2e;
  color: #f0ece4;
}

.section-cream {
  background-color: #faf8f4;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 600;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-dark .section-title {
  color: #ffffff;
}

.section-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 6px;
}

.section-ornament::before,
.section-ornament::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.section-dark .section-subtitle {
  color: var(--text-light);
}

/* ============================================================
   FEATURED BOOK
   ============================================================ */
.featured-book-section {
  background-color: #f5f0e8;
  padding: 100px 60px;
  position: relative;
  overflow: hidden;
}

.featured-book-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.05));
}

.featured-book-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.featured-book-cover {
  display: flex;
  justify-content: center;
}

.featured-book-cover-img {
  width: 300px;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 80px rgba(201,168,76,0.1);
  transition: transform 0.5s ease;
}

.featured-book-cover-img:hover {
  transform: scale(1.02) rotate(-1deg);
}

.featured-book-placeholder {
  width: 300px;
  aspect-ratio: 2/3;
  background: linear-gradient(135deg, #2a2a4a, #1a1a2e);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.featured-book-placeholder h3 {
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.featured-book-placeholder p {
  font-size: 0.8rem;
  color: var(--gold);
}

.featured-book-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold-dark);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.featured-book-title {
  font-size: 2.4rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.featured-book-meta {
  display: flex;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.featured-book-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.featured-book-desc {
  color: var(--text-body);
  line-height: 1.9;
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.featured-book-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.featured-book-price {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}

/* ============================================================
   BOOKS GRID
   ============================================================ */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.book-card {
  background-color: #222240;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.book-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.book-cover {
  position: relative;
  overflow: hidden;
}

.book-cover img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.book-card:hover .book-cover img {
  transform: scale(1.05);
}

.book-cover-fallback {
  width: 100%;
  aspect-ratio: 2/3;
  background: linear-gradient(135deg, #2a2a4a, #1e1e36);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.book-cover-fallback span {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: #f0ece4;
  font-weight: 600;
  line-height: 1.3;
}

.book-cover-fallback small {
  font-size: 0.7rem;
  color: var(--gold);
  margin-top: 8px;
}

.book-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--gold);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.book-info {
  padding: 20px;
}

.book-info h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.3;
}

.book-info h4 a {
  color: #ffffff;
}

.book-info h4 a:hover {
  color: var(--gold);
}

.book-publisher {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.book-info p {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.6;
}

.book-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-dark);
}

.book-price {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}

.btn-cart {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  font-family: var(--font-sans);
}

.btn-cart:hover {
  background-color: var(--gold);
  color: #ffffff;
}

/* Light book grid variant */
.books-grid-light .book-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
}

.books-grid-light .book-card:hover {
  box-shadow: var(--shadow);
}

.books-grid-light .book-cover-fallback {
  background: linear-gradient(135deg, #e8e2d8, #f0ece4);
}

.books-grid-light .book-cover-fallback span {
  color: var(--text-dark);
}

.books-grid-light .book-info h4,
.books-grid-light .book-info h4 a {
  color: var(--text-dark);
}

.books-grid-light .book-info p {
  color: var(--text-body);
}

.books-grid-light .book-footer {
  border-top-color: var(--border-light);
}

/* ============================================================
   AUTHOR
   ============================================================ */
.author-section {
  padding: 100px 60px;
  background-color: #faf8f4;
}

.author-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 60px;
  align-items: center;
}

.author-image {
  position: relative;
}

.author-image-frame {
  width: 350px;
  height: 450px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}

.author-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e, #2a2a4a);
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-placeholder span {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--gold);
  font-weight: 700;
}

.author-image-tag {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--gold);
  color: #ffffff;
  padding: 8px 24px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.author-info .section-label {
  text-align: left;
}

.author-info h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.author-info p {
  color: var(--text-body);
  margin-bottom: 16px;
  line-height: 1.9;
  font-size: 0.95rem;
}

.author-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}

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

.author-stat-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
}

.author-stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============================================================
   QUOTE
   ============================================================ */
.quote-section {
  background-color: #1a1a2e;
  padding: 80px 60px;
  text-align: center;
  position: relative;
}

.quote-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.05), transparent 70%);
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 6rem;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.quote-text {
  max-width: 700px;
  margin: 0 auto;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: #f0ece4;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.quote-author {
  color: var(--gold);
  margin-top: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.blog-card-image {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-image-icon {
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e, #2a2a4a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.blog-card-category {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--gold);
  color: #ffffff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-card-content {
  padding: 24px;
}

.blog-card-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.blog-card-content h4 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-card-content h4 a {
  color: var(--text-dark);
}

.blog-card-content h4 a:hover {
  color: var(--gold);
}

.blog-card-content p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 16px;
}

.blog-read-more {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.blog-read-more:hover {
  color: var(--gold-dark);
}

/* Blog Detail */
.blog-detail {
  padding: 60px;
  max-width: 800px;
  margin: 0 auto;
}

.blog-detail-category {
  display: inline-block;
  background-color: var(--gold);
  color: #ffffff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.blog-detail-title {
  font-size: 2.5rem;
  margin-bottom: 12px;
  line-height: 1.3;
}

.blog-detail-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.blog-detail-image {
  width: 100%;
  border-radius: 10px;
  margin: 40px 0;
  max-height: 450px;
  object-fit: cover;
}

.blog-detail-content {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 2;
}

.blog-detail-content p {
  margin-bottom: 20px;
}

.blog-detail-content h2,
.blog-detail-content h3 {
  color: var(--text-dark);
  margin: 32px 0 16px;
}

.blog-detail-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 16px 24px;
  margin: 24px 0;
  font-style: italic;
  background-color: #faf8f4;
  border-radius: 0 6px 6px 0;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.contact-info-item {
  margin-bottom: 28px;
}

.contact-info-item label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 6px;
  font-weight: 600;
}

.contact-info-item p {
  font-size: 1rem;
  color: var(--text-dark);
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
}

.social-icon:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-dark);
  background-color: #ffffff;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero {
  background-color: #1a1a2e;
  padding: 160px 60px 80px;
  text-align: center;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at top center, rgba(201,168,76,0.08), transparent 60%);
}

.page-hero h1 {
  font-size: 3rem;
  color: #ffffff;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.page-hero p {
  color: var(--text-light);
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.page-hero .breadcrumb {
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

.page-hero .breadcrumb a {
  color: var(--gold);
}

/* ============================================================
   BOOK DETAIL
   ============================================================ */
.book-detail {
  padding: 80px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.book-detail-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: start;
}

.book-detail-cover {
  position: sticky;
  top: 100px;
}

.book-detail-cover img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}

.book-detail-cover-placeholder {
  width: 100%;
  aspect-ratio: 2/3;
  background: linear-gradient(135deg, #1a1a2e, #2a2a4a);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
  border-radius: 10px;
}

.book-detail-cover-placeholder h3 {
  font-size: 1.6rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.book-detail-cover-placeholder p {
  color: var(--gold);
  font-size: 0.85rem;
}

.book-detail-title {
  font-size: 2.2rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.book-detail-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.book-detail-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.book-meta-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.book-meta-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 4px;
  font-weight: 600;
}

.book-meta-value {
  font-size: 0.95rem;
  color: var(--text-dark);
}

.book-detail-desc {
  color: var(--text-body);
  line-height: 2;
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.book-purchase {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
  background-color: #faf8f4;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.book-purchase-price {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
}

.stock-badge {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.stock-badge.in-stock {
  background-color: #e8f5e9;
  color: #2d8a4e;
}

.stock-badge.out-of-stock {
  background-color: #ffebee;
  color: #c62828;
}

.related-books {
  padding: 80px 60px;
  background-color: #faf8f4;
}

/* ============================================================
   CART
   ============================================================ */
.cart-section {
  padding: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.cart-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto auto auto;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}

.cart-item-cover {
  width: 80px;
  height: 110px;
  border-radius: 6px;
  overflow: hidden;
}

.cart-item-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-placeholder {
  width: 100%;
  height: 100%;
  background-color: #faf8f4;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--text-muted);
}

.cart-item h4 {
  font-size: 0.95rem;
}

.cart-item h4 a {
  color: var(--text-dark);
}

.cart-item h4 a:hover {
  color: var(--gold);
}

.cart-item-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cart-item-price {
  font-weight: 600;
  color: var(--text-dark);
}

.cart-item-total {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--gold);
  font-size: 1.05rem;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1rem;
  padding: 4px;
  transition: var(--transition);
}

.cart-item-remove:hover {
  color: #c62828;
}

.cart-summary {
  background-color: #faf8f4;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  padding: 32px;
  position: sticky;
  top: 100px;
}

.cart-summary h3 {
  font-size: 1.3rem;
  margin-bottom: 24px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.cart-summary-total {
  font-size: 1.1rem;
  font-weight: 700;
  border-bottom: none;
  padding-top: 16px;
}

.cart-summary-total span:last-child {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--gold);
}

.cart-empty {
  text-align: center;
  padding: 80px 20px;
}

.cart-empty-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.3;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: #12121f;
  color: var(--text-light);
  padding: 80px 60px 0;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border-dark);
}

.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.footer-brand .sub {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 6px 0;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================================
   FLASH MESSAGES
   ============================================================ */
.flash-message {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  animation: flash-in 0.4s ease;
  max-width: 500px;
}

.flash-success {
  background-color: #2d8a4e;
  color: #ffffff;
}

.flash-error {
  background-color: #c62828;
  color: #ffffff;
}

.flash-info {
  background-color: #1565c0;
  color: #ffffff;
}

@keyframes flash-in {
  from { opacity: 0; transform: translateX(-50%) translateY(-20px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.pagination a {
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  transition: var(--transition);
  border: 1px solid var(--border-light);
  color: var(--text-body);
}

.pagination a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.pagination-info {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================================
   CART INDICATOR
   ============================================================ */
.cart-indicator {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  background-color: var(--gold);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.4);
  z-index: 999;
  transition: var(--transition);
  text-decoration: none;
}

.cart-indicator:hover {
  transform: scale(1.1);
}

.cart-indicator .cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: #1a1a2e;
  font-size: 0.65rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ============================================================
   SHOP PAGE (satis.php)
   ============================================================ */
.nav-shop {
  position: relative;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.shop-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 180px 1fr;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shop-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.shop-card-cover {
  position: relative;
  overflow: hidden;
}

.shop-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 260px;
  transition: transform 0.5s ease;
}

.shop-card:hover .shop-card-cover img {
  transform: scale(1.05);
}

.shop-card-cover .book-cover-fallback {
  min-height: 260px;
}

.shop-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.shop-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  line-height: 1.3;
}

.shop-card-body h3 a {
  color: var(--text-dark);
}

.shop-card-body h3 a:hover {
  color: var(--gold);
}

.shop-card-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.shop-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.shop-card-body p {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 16px;
  flex-grow: 1;
}

.shop-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}

.shop-card-price {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
}

@media (max-width: 768px) {
  .shop-grid { grid-template-columns: 1fr; }
  .shop-card { grid-template-columns: 140px 1fr; }
  .shop-card-cover img { min-height: 220px; }
  .shop-card-body { padding: 16px; }
}

@media (max-width: 480px) {
  .shop-card { grid-template-columns: 1fr; }
  .shop-card-cover img { min-height: 200px; max-height: 280px; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    padding: 140px 40px 60px;
  }
  .hero-title { font-size: 3rem; }
  .hero-subtitle { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-books { display: none; }
  .featured-book-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .author-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .author-image { display: flex; justify-content: center; }
  .author-image-frame { width: 280px; height: 360px; }
  .author-info .section-label { text-align: center; }
  .book-detail-grid { grid-template-columns: 1fr; }
  .book-detail-cover { position: static; max-width: 350px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .cart-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 60px 24px; }
  .navbar { padding: 0 20px; }
  .navbar-inner { height: 64px; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: #12121f;
    flex-direction: column;
    padding: 80px 30px 30px;
    gap: 4px;
    transition: right 0.3s ease;
    z-index: 1001;
  }
  .nav-links.open { right: 0; }
  .nav-links a { padding: 12px 16px; width: 100%; }
  .nav-mobile-toggle { display: flex; z-index: 1002; }
  .hero { min-height: auto; }
  .hero-content { padding: 120px 24px 60px; }
  .hero-title { font-size: 2.2rem; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .section-title { font-size: 2rem; }
  .page-hero { padding: 120px 24px 60px; }
  .page-hero h1 { font-size: 2rem; }
  .books-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .book-detail { padding: 40px 24px; }
  .blog-detail { padding: 40px 24px; }
  .featured-book-section { padding: 60px 24px; }
  .quote-section { padding: 60px 24px; }
  .quote-text { font-size: 1.2rem; }
  .author-section { padding: 60px 24px; }
  .related-books { padding: 60px 24px; }
  .cart-section { padding: 40px 24px; }
  .cart-item { grid-template-columns: 60px 1fr auto; gap: 12px; }
  .site-footer { padding: 60px 24px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .book-meta-table { grid-template-columns: 1fr; }
  .book-purchase { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .books-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .book-info { padding: 12px; }
  .book-info h4 { font-size: 0.85rem; }
  .hero-title { font-size: 1.8rem; }
}
