/* ==========================================================================
   ZOYA THANEWALA | Author & Debut Novel Portfolio
   Design System: Editorial Luxury • Beige & Cream • Subtle Muted Gold
   ========================================================================== */

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

:root {
    /* Color Palette */
    --bg-primary: #FDFBF7;
    --bg-secondary: #F7F3EC;
    --bg-card: #FFFFFF;
    --bg-card-alt: #FAF7F1;
    --bg-dark: #0F0E0D;
    --bg-dark-surface: #1E1C1A;
    
    --text-primary: #1A1816;
    --text-secondary: #5C564F;
    --text-muted: #877F75;
    --text-light: #FDFBF7;
    
    /* Muted Subtle Gold Accents */
    --gold-primary: #C5A059;
    --gold-light: #E0C58C;
    --gold-dark: #9E7D39;
    --gold-subtle: rgba(197, 160, 89, 0.15);
    --gold-border: rgba(197, 160, 89, 0.35);
    --gold-gradient: linear-gradient(135deg, #DFCA97 0%, #C5A059 50%, #9E7D39 100%);
    
    /* Typography */
    --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Shadows & Radii */
    --shadow-sm: 0 2px 8px rgba(26, 24, 22, 0.04);
    --shadow-md: 0 8px 24px rgba(26, 24, 22, 0.08);
    --shadow-lg: 0 16px 40px rgba(26, 24, 22, 0.12);
    --shadow-gold: 0 8px 30px rgba(197, 160, 89, 0.25);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 50px;
    
    /* Transitions */
    --transition-smooth: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

section, header, footer, aside, .hero-section, .page-hero-banner {
    max-width: 100%;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.25;
    font-weight: 600;
}

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

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

::selection {
    background: var(--gold-subtle);
    color: var(--gold-dark);
}

/* Utilities */
.text-gold {
    color: var(--gold-primary) !important;
}

.text-gold-light {
    color: var(--gold-light) !important;
}

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

.bg-cream-alt {
    background-color: var(--bg-secondary);
}

.bg-dark-luxury {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.border-gold {
    border-color: var(--gold-border) !important;
}

.gold-divider {
    width: 60px;
    height: 2px;
    background: var(--gold-gradient);
    margin: 1.2rem auto;
    border-radius: 2px;
}

.gold-divider-start {
    margin-left: 0;
}

.badge-gold {
    background: var(--gold-subtle);
    color: var(--gold-dark);
    border: 1px solid var(--gold-border);
    padding: 0.35rem 1rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    display: inline-block;
}

/* Star Motif Twinkle Animation */
@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(0.85); }
    50% { opacity: 1; transform: scale(1.15); }
}

.star-icon {
    display: inline-block;
    color: var(--gold-primary);
    animation: twinkle 3s infinite ease-in-out;
}

/* ==========================================================================
   Celestial Star Preloader Opening Animation
   ========================================================================== */
#site-preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: radial-gradient(circle at center, #242220 0%, #0A0908 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.75s;
}

#site-preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    text-align: center;
    position: relative;
    padding: 20px;
}

.celestial-star-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.star-orbit {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px dashed rgba(197, 160, 89, 0.6);
    animation: rotateOrbit 12s linear infinite;
}

.star-orbit-inner {
    position: absolute;
    inset: 16px;
    border-radius: 50%;
    border: 1px solid rgba(224, 197, 140, 0.4);
    animation: rotateOrbitReverse 8s linear infinite;
}

@keyframes rotateOrbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateOrbitReverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

.celestial-core-star {
    font-size: 2.8rem;
    color: var(--gold-light);
    filter: drop-shadow(0 0 20px rgba(224, 197, 140, 0.9));
    animation: starPulse 2.2s ease-in-out infinite;
}

@keyframes starPulse {
    0%, 100% { transform: scale(0.9); opacity: 0.85; filter: drop-shadow(0 0 15px rgba(197, 160, 89, 0.7)); }
    50% { transform: scale(1.18); opacity: 1; filter: drop-shadow(0 0 35px rgba(224, 197, 140, 1)); }
}

.sparkle {
    position: absolute;
    color: var(--gold-light);
    font-size: 0.9rem;
    animation: sparkleBlink 2s infinite ease-in-out;
}

.sparkle.sp-1 { top: 5px; left: 20px; animation-delay: 0.2s; }
.sparkle.sp-2 { top: 15px; right: 15px; animation-delay: 0.6s; }
.sparkle.sp-3 { bottom: 10px; left: 15px; animation-delay: 1s; }
.sparkle.sp-4 { bottom: 18px; right: 22px; animation-delay: 1.4s; }

@keyframes sparkleBlink {
    0%, 100% { opacity: 0.2; transform: scale(0.7); }
    50% { opacity: 1; transform: scale(1.3); }
}

.preloader-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    letter-spacing: 5px;
    color: #FAF7F2;
    margin-bottom: 0.4rem;
    animation: letterGlow 2s ease-in-out infinite alternate;
}

@keyframes letterGlow {
    from { text-shadow: 0 0 8px rgba(197, 160, 89, 0.3); }
    to { text-shadow: 0 0 20px rgba(224, 197, 140, 0.8); }
}

.preloader-divider {
    width: 60px;
    height: 2px;
    background: var(--gold-gradient);
    margin: 0.6rem auto;
}

.preloader-author {
    color: var(--gold-light);
    font-size: 0.95rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.preloader-sub {
    color: #C2BBB0;
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ==========================================================================
   Topbar (High-Contrast & Visible)
   ========================================================================== */
.site-topbar {
    background: #0E0D0C;
    color: #FFFFFF !important;
    font-size: 0.88rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(197, 160, 89, 0.35);
}

.site-topbar a {
    color: #FFFFFF !important;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.site-topbar a:hover {
    color: var(--gold-light) !important;
}

.topbar-tagline {
    color: #F8F5F0 !important;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.site-navbar {
    background: rgba(253, 251, 247, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.25);
    padding: 0.9rem 0;
    transition: var(--transition-smooth);
    z-index: 1030;
}

.site-navbar.scrolled {
    padding: 0.65rem 0;
    box-shadow: var(--shadow-md);
    background: rgba(253, 251, 247, 0.98);
}

.brand-monogram {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #141312;
    border: 1px solid var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
}

.navbar-brand-wrapper {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-primary);
    line-height: 1;
}

.brand-subtitle {
    font-size: 0.68rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-primary);
    font-weight: 600;
    margin-top: 3px;
}

.nav-link {
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--text-primary) !important;
    padding: 0.5rem 0.8rem !important;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transition: var(--transition-smooth);
}

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

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

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-gold {
    background: var(--gold-gradient);
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-pill);
    border: none;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.35);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #E6D4A5 0%, #CFA960 50%, #B38E46 100%);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.45);
}

.btn-outline-gold {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--gold-primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-pill);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline-gold:hover {
    background: var(--gold-primary);
    color: #FFFFFF;
    border-color: var(--gold-primary);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #FFFFFF;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: var(--radius-pill);
    padding: 0.75rem 1.6rem;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: var(--transition-smooth);
}

.btn-whatsapp:hover {
    background-color: #1EBE5D;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* ==========================================================================
   Hero Section & Uniform Book Carousel
   ========================================================================== */
/* ==========================================================================
   Hero Section & Uniform Book Carousel
   ========================================================================== */
.hero-section {
    padding: 5.5rem 0 6rem;
    position: relative;
    background: 
        radial-gradient(ellipse at 80% 40%, rgba(224, 197, 140, 0.22) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 70%, rgba(197, 160, 89, 0.15) 0%, transparent 50%),
        linear-gradient(135deg, rgba(253, 251, 247, 0.76) 0%, rgba(247, 243, 236, 0.70) 50%, rgba(242, 235, 224, 0.80) 100%),
        url('../img/hero-bg.jpg') center/cover no-repeat;
    border-bottom: 2px solid rgba(197, 160, 89, 0.35);
    box-shadow: inset 0 0 100px rgba(197, 160, 89, 0.12);
}

.hero-author-tag {
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-primary);
    font-weight: 600;
    margin-bottom: 0.8rem;
    display: block;
}

.hero-title {
    font-size: clamp(2.6rem, 5vw, 4.4rem);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.hero-quote {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-style: italic;
    color: var(--text-secondary);
    border-left: 2px solid var(--gold-primary);
    padding-left: 1.2rem;
    margin: 1.5rem 0;
    line-height: 1.4;
    background: rgba(255, 255, 255, 0.5);
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 540px;
}

/* Reader Review Cards */
.review-card {
    background: #FFFFFF;
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition-smooth);
    position: relative;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-primary);
}

.review-stars {
    color: #F5B041;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.review-quote {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.45;
    margin-bottom: 1.2rem;
}

.reviewer-meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.reviewer-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gold-subtle);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    border: 1px solid var(--gold-border);
}

/* Starlight Interactive Quote Card */
.quote-generator-card {
    background: radial-gradient(circle at center, #262422 0%, #121110 100%);
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    color: #FFFFFF;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-gold);
}

.quote-gen-display {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.8vw, 2.1rem);
    font-style: italic;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FAF7F2;
    transition: opacity 0.4s ease;
}

/* Floating Ambience Sound Player */
.ambient-sound-toggle {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 1040;
    background: rgba(18, 17, 16, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(197, 160, 89, 0.4);
    color: #FAF7F2;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.ambient-sound-toggle:hover {
    background: #1A1816;
    border-color: var(--gold-light);
    color: var(--gold-light);
    transform: translateY(-2px);
}

.ambient-sound-toggle.playing {
    border-color: #25D366;
    color: #FFFFFF;
}

.sound-wave {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    height: 14px;
}

.sound-bar {
    width: 3px;
    background: var(--gold-primary);
    border-radius: 2px;
    height: 6px;
}

.ambient-sound-toggle.playing .sound-bar {
    background: #25D366;
    animation: waveBounce 0.8s ease-in-out infinite alternate;
}

.ambient-sound-toggle.playing .sound-bar:nth-child(2) { animation-delay: 0.2s; }
.ambient-sound-toggle.playing .sound-bar:nth-child(3) { animation-delay: 0.4s; }

@keyframes waveBounce {
    0% { height: 4px; }
    100% { height: 14px; }
}

/* Fixed-Size Uniform Carousel with Decorative Luxury Background Backdrop */
.book-showcase-wrapper {
    position: relative;
    perspective: 1200px;
    text-align: center;
    padding: 24px 14px 34px;
}

/* Ambient glowing aura behind hero book */
.hero-book-aura {
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 440px;
    height: 520px;
    max-width: 96%;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(224, 197, 140, 0.45) 0%, rgba(197, 160, 89, 0.22) 40%, rgba(253, 251, 247, 0) 72%);
    filter: blur(28px);
    z-index: 0;
    pointer-events: none;
    animation: auraPulse 5s ease-in-out infinite alternate;
}

/* Decorative luxury framed backdrop plate behind book */
.hero-book-backdrop {
    position: absolute;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-2.5deg);
    width: 375px;
    height: 465px;
    max-width: 92%;
    border-radius: 18px;
    background: 
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.95), rgba(247, 243, 236, 0.88)),
        linear-gradient(135deg, rgba(224, 197, 140, 0.25) 0%, rgba(197, 160, 89, 0.12) 100%);
    border: 1.5px solid rgba(197, 160, 89, 0.45);
    box-shadow: 0 20px 45px rgba(197, 160, 89, 0.22), inset 0 0 35px rgba(224, 197, 140, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 0;
    pointer-events: none;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease;
}

.book-showcase-wrapper:hover .hero-book-backdrop {
    transform: translate(-50%, -50%) rotate(0deg) scale(1.02);
    border-color: var(--gold-primary);
    box-shadow: 0 25px 60px rgba(197, 160, 89, 0.32);
}

@keyframes auraPulse {
    0% { transform: translate(-50%, -50%) scale(0.92); opacity: 0.65; }
    100% { transform: translate(-50%, -50%) scale(1.12); opacity: 1; }
}

.book-showcase-card {
    position: relative;
    z-index: 1;
    width: 360px;
    height: 450px;
    max-width: 100%;
    margin: 0 auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(26, 24, 22, 0.32), 0 0 40px rgba(197, 160, 89, 0.28);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    border: 1px solid rgba(197, 160, 89, 0.45);
    background: #141312;
}

.book-showcase-card:hover {
    transform: translateY(-6px) rotateY(-3deg);
    box-shadow: 0 35px 60px -15px rgba(26, 24, 22, 0.4), 0 0 50px rgba(197, 160, 89, 0.45);
}

.book-showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.book-badge-floating {
    position: absolute;
    top: 18px;
    right: -10px;
    background: var(--gold-gradient);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.4rem 1.2rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    z-index: 5;
}

/* Floating Delivery Highlight on Hero Book */
.book-badge-delivery {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 14, 13, 0.94);
    border: 1.5px solid var(--gold-primary);
    color: #FAF7F2;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.45rem 1.2rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    backdrop-filter: blur(8px);
}

.book-badge-delivery i {
    color: var(--gold-light);
}

/* ==========================================================================
   Page Hero Banner for Inner Pages (About, Books, Contact)
   ========================================================================== */
.page-hero-banner {
    position: relative;
    background: 
        radial-gradient(circle at 50% 30%, rgba(197, 160, 89, 0.25) 0%, rgba(14, 13, 12, 0.95) 75%),
        url('../img/book-cover-candle.jpg') center/cover no-repeat;
    background-blend-mode: overlay;
    color: #FAF7F2;
    padding: 5.5rem 0 4.5rem;
    text-align: center;
    border-bottom: 2px solid var(--gold-primary);
}

.page-hero-banner h1 {
    color: #FFFFFF;
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
    margin-bottom: 0.6rem;
}

.page-hero-banner p {
    color: #EAE4D9 !important;
    font-size: 1.2rem;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.page-hero-banner .badge-gold {
    background: rgba(197, 160, 89, 0.25);
    color: var(--gold-light);
    border-color: rgba(224, 197, 140, 0.6);
}

/* ==========================================================================
   Sections Common
   ========================================================================== */
.section-padding {
    padding: 5.5rem 0;
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-tag {
    font-size: 0.8rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold-primary);
    font-weight: 600;
    margin-bottom: 0.6rem;
    display: block;
}

.section-title {
    font-size: clamp(2.2rem, 3.6vw, 3.2rem);
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0.5rem auto 0;
}

/* Counters & Stats */
.counter-box {
    background: var(--bg-card);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-md);
    padding: 1.8rem 1.2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.counter-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-primary);
}

.counter-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--gold-primary);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.counter-label {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

/* Editions & Pricing Grid ("Room / Edition" Section) */
.edition-card {
    background: var(--bg-card);
    border: 1px solid rgba(197, 160, 89, 0.25);
    border-radius: var(--radius-lg);
    padding: 2.2rem 1.8rem;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.edition-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-primary);
}

.edition-card.featured-edition {
    background: linear-gradient(180deg, #FFFFFF 0%, #FAF6EE 100%);
    border: 2px solid var(--gold-primary);
    box-shadow: var(--shadow-gold);
}

.edition-ribbon {
    position: absolute;
    top: 14px;
    right: 20px;
    background: var(--gold-gradient);
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.25rem 0.8rem;
    border-radius: var(--radius-pill);
}

.edition-title {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
}

.edition-price {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0.6rem 0;
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.edition-price .price-charge-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--gold-primary);
}

.edition-free-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(197, 160, 89, 0.12);
    color: #8C6A28;
    border: 1px solid rgba(197, 160, 89, 0.35);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-pill);
    margin-bottom: 0.5rem;
    width: fit-content;
}

.edition-features {
    list-style: none;
    margin: 1.2rem 0 2rem;
    padding: 0;
    flex-grow: 1;
}

.edition-features li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 0.45rem 0;
    border-bottom: 1px dashed rgba(197, 160, 89, 0.2);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.edition-features li i {
    color: var(--gold-primary);
    font-size: 0.85rem;
}

/* Why Pick Up This Book (Reader Resonance) */
.resonance-card {
    background: var(--bg-card);
    border-left: 3px solid var(--gold-primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition-smooth);
}

.resonance-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background: #FFFDF9;
}

.resonance-icon {
    font-size: 1.8rem;
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

.resonance-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Character Profiles */
.character-card {
    background: var(--bg-card);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: var(--radius-lg);
    padding: 2.4rem 2rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition-smooth);
}

.character-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-primary);
}

.character-role {
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-primary);
    font-weight: 600;
}

.character-name {
    font-size: 2rem;
    margin: 0.3rem 0 0.8rem;
}

.character-quote {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Excerpt Gallery ("A Glimpse Inside") */
.excerpt-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(197, 160, 89, 0.2);
    transition: var(--transition-smooth);
    cursor: pointer;
    height: 100%;
}

.excerpt-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-primary);
}

.excerpt-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.excerpt-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.excerpt-card:hover .excerpt-img-wrap img {
    transform: scale(1.06);
}

.excerpt-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 19, 18, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
    color: #FFFFFF;
    font-size: 1.8rem;
}

.excerpt-card:hover .excerpt-overlay {
    opacity: 1;
}

.excerpt-body {
    padding: 1.4rem;
}

.excerpt-tag {
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--gold-primary);
    text-transform: uppercase;
    font-weight: 600;
}

.excerpt-quote-snippet {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-primary);
    margin-top: 0.4rem;
    line-height: 1.35;
}

/* Scalable Bookshelf ("Books Section") */
.book-shelf-item {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(197, 160, 89, 0.25);
    padding: 2.2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.book-shelf-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-primary);
}

.book-shelf-thumb {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    aspect-ratio: 2/3;
}

.book-shelf-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-shelf-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #242220 0%, #151413 100%);
    border: 2px dashed var(--gold-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    text-align: center;
    padding: 1.5rem;
}

/* Dark Luxury Quote Banner */
.luxury-quote-banner {
    background: radial-gradient(circle at center, #262422 0%, #0E0D0C 100%);
    color: #FDFBF7;
    position: relative;
    padding: 5.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(197, 160, 89, 0.3);
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
}

.luxury-quote-text {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.7rem);
    font-style: italic;
    line-height: 1.4;
    color: #FFFFFF;
    max-width: 860px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Google Map Embed */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gold-border);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}

/* Contact Cards (Fixed Height & Overlap Issue Resolved) */
.contact-info-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    border: 1px solid rgba(197, 160, 89, 0.25);
    box-shadow: var(--shadow-sm);
    height: auto;
    min-height: auto;
    margin-bottom: 1.8rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 1.6rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold-subtle);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Forms */
.custom-input {
    background: #FFFFFF;
    border: 1px solid #D8D2C7;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.custom-input:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2);
    outline: none;
}

/* ==========================================================================
   Footer (High Contrast & Sharp Readability)
   ========================================================================== */
.site-footer {
    background: #0D0C0B;
    color: #E8E3DC;
    padding: 5rem 0 2.5rem;
    border-top: 1px solid rgba(197, 160, 89, 0.3);
}

.footer-description {
    color: #D6D0C7;
    font-size: 0.92rem;
    line-height: 1.65;
}

.footer-brand-title {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    color: #FFFFFF;
    margin-bottom: 0.4rem;
}

.footer-tagline {
    color: var(--gold-light);
    font-size: 0.88rem;
    margin-bottom: 1.2rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    color: #FFFFFF;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--gold-primary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #E2DDD6;
    font-size: 0.92rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: #FFFFFF;
    padding-left: 6px;
    text-shadow: 0 0 10px rgba(197, 160, 89, 0.5);
}

.footer-contact-info li span,
.footer-contact-info li a {
    color: #E8E3DC;
    font-size: 0.92rem;
}

.footer-contact-info li a:hover {
    color: var(--gold-light);
}

.badge-writing {
    background: rgba(197, 160, 89, 0.25);
    color: #E0C58C;
    border: 1px solid rgba(197, 160, 89, 0.5);
    font-size: 0.7rem;
}

.badge-upcoming {
    background: rgba(255, 255, 255, 0.1);
    color: #D1CBC3;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 0.7rem;
}

.footer-copyright-row {
    color: #C0B9AF;
    font-size: 0.88rem;
}

.social-links-list {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.4);
    color: #FAF7F2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.social-btn:hover {
    background: var(--gold-primary);
    color: #FFFFFF;
    transform: translateY(-3px);
}

/* Bottom Powered Bar */
.bottom-powered-bar {
    background: #070606;
    border-top: 1px solid rgba(197, 160, 89, 0.25);
    padding: 1.1rem 0;
    font-size: 0.86rem;
    color: #D1CBC3;
}

.bottom-powered-bar a {
    color: var(--gold-light);
    font-weight: 600;
}

.bottom-powered-bar a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1040;
}

.floating-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.4rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: var(--transition-smooth);
}

.floating-btn:hover {
    transform: scale(1.1);
    color: #FFFFFF;
}

.floating-btn.btn-float-wa {
    background-color: #25D366;
}

.floating-btn.btn-float-call {
    background-color: var(--gold-primary);
}

/* Responsive Adjustments & Mobile-Friendly Optimization */
@media (max-width: 991px) {
    .site-navbar {
        padding: 0.7rem 0;
    }
    .hero-section {
        padding: 3rem 0 4rem;
        text-align: center;
    }
    .hero-quote {
        margin: 1.5rem auto;
        max-width: 500px;
    }
    .hero-description {
        margin: 0 auto 2rem;
    }
    .book-showcase-card {
        margin-top: 1.5rem;
    }
    .gold-divider-start {
        margin: 1.2rem auto;
    }
    /* Prevent AOS horizontal translation from causing page overflow */
    [data-aos="fade-left"],
    [data-aos="fade-right"] {
        transform: none !important;
        opacity: 1 !important;
    }
}

@media (max-width: 768px) {
    .site-topbar {
        font-size: 0.78rem;
        padding: 0.4rem 0;
    }
    .topbar-tagline {
        display: none !important;
    }
    .topbar-contacts {
        width: 100%;
        justify-content: center !important;
        gap: 1.2rem !important;
    }
}

@media (max-width: 576px) {
    .site-topbar {
        font-size: 0.75rem;
        padding: 0.35rem 0;
    }
    .topbar-contacts {
        gap: 0.9rem !important;
    }
    .brand-title {
        font-size: 1.22rem;
        letter-spacing: 0.5px;
    }
    .brand-subtitle {
        font-size: 0.58rem;
        letter-spacing: 0.8px;
    }
    .brand-monogram {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
    }
    .navbar-brand {
        max-width: calc(100% - 50px);
    }
    .hero-title {
        font-size: 2.15rem;
        line-height: 1.15;
    }
    .hero-quote {
        font-size: 1.1rem;
        padding: 0.4rem 0.75rem;
    }
    .hero-description {
        font-size: 0.92rem;
    }
    .btn-gold, .btn-outline-gold {
        padding: 0.65rem 1.2rem;
        font-size: 0.78rem;
    }

    /* Mobile Book Showcase Sizing: Clamped cleanly to viewport width */
    .book-showcase-wrapper {
        padding: 12px 0 24px;
        max-width: 100%;
    }
    .book-showcase-card {
        width: 270px;
        height: 355px;
        max-width: 86vw;
        margin: 0 auto;
    }
    .hero-book-backdrop {
        width: 270px;
        height: 355px;
        max-width: 88vw;
        transform: translate(-50%, -50%) rotate(-1.5deg);
    }
    .hero-book-aura {
        width: 295px;
        height: 355px;
        max-width: 92vw;
        filter: blur(14px);
    }
    .book-badge-floating {
        right: 4px;
        top: 10px;
        font-size: 0.66rem;
        padding: 0.3rem 0.75rem;
    }
    .book-badge-delivery {
        font-size: 0.72rem;
        padding: 0.35rem 0.8rem;
        max-width: 92%;
        white-space: normal;
        text-align: center;
        bottom: 4px;
    }

    .section-padding {
        padding: 3.2rem 0;
    }
    .counter-box {
        padding: 1rem 0.5rem;
    }
    .counter-number {
        font-size: 2.1rem;
    }
    .edition-card {
        padding: 1.6rem 1.15rem;
    }
    .review-card {
        padding: 1.5rem 1.1rem;
    }
    .character-card {
        padding: 1.6rem 1.15rem;
    }
    .floating-btn {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
        bottom: 18px;
    }
    .floating-whatsapp {
        right: 18px;
    }
    .floating-call {
        right: 70px;
    }
}
