/* ==========================================================================
   CLAUDE PERRON - PROFESSIONAL AUTHOR WEBSITE STYLESHEET
   A Memoir of Three Million Miles | Design System & Responsive Layout
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-dark: #0a0d14;
    --bg-surface: #121722;
    --bg-card: rgba(20, 26, 38, 0.75);
    --bg-card-hover: rgba(28, 36, 52, 0.9);
    
    --accent-amber: #f59e0b;
    --accent-gold: #d97706;
    --accent-amber-light: #fbbf24;
    --accent-orange: #f97316;
    --accent-chrome: #e2e8f0;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(245, 158, 11, 0.3);
    
    /* Typography – Inter (body/nav) + Playfair Display (headings) */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-sub: 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    
    /* Transitions & Shadows */
    --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-glow: 0 10px 30px -10px rgba(245, 158, 11, 0.3);
    --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Reset & Global */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/* Background Atmosphere Texture */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: 
        radial-gradient(circle at 15% 20%, rgba(245, 158, 11, 0.07) 0%, transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(249, 115, 22, 0.05) 0%, transparent 40%),
        url('../images/Claude Perron bg.png') center/cover no-repeat;
    opacity: 0.25;
    pointer-events: none;
    z-index: -1;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Containers */
.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 6.5rem 0;
}

/* ==========================================================================
   GLOBAL SCROLL TRUCK — Fixed bottom highway strip
   ========================================================================== */

/* Road bar pinned to bottom of viewport */



/* Glassmorphism Panel */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    box-shadow: var(--shadow-card);
}

/* Section Header Typography */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.2rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 50px;
    color: var(--accent-amber-light);
    font-family: var(--font-sub);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.2vw, 3rem);
    font-weight: 900;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 1rem;
}

.section-title span.highlight {
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-amber-light) 50%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    font-size: 1.08rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin-bottom: 2rem;
}

/* Scroll Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-amber), #ffffff);
    width: 0%;
    z-index: 1000;
    transition: width 0.1s ease-out;
}

/* Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem 0;
    z-index: 900;
    transition: all 0.4s var(--transition-smooth);
}

.site-header.scrolled {
    padding: 0.8rem 0;
    background: rgba(10, 13, 20, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-icon {
    font-size: 1.6rem;
    color: var(--accent-amber);
    filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.5));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    color: #ffffff;
    line-height: 1.2;
}

.book-sub {
    font-family: var(--font-sub);
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--accent-amber);
    text-transform: uppercase;
}

/* Nav Menu */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-family: var(--font-sub);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    padding: 0.4rem 0;
}

.nav-link .link-num {
    color: var(--accent-amber);
    font-size: 0.78rem;
    margin-right: 3px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-amber);
    transition: width 0.3s var(--transition-smooth);
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link:hover::after {
    width: 100%;
}

/* Header Buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.btn-get-book {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1.4rem;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-amber) 100%);
    color: #000000;
    font-family: var(--font-sub);
    font-weight: 800;
    font-size: 0.85rem;
    border-radius: 50px;
    box-shadow: var(--shadow-glow);
    cursor: pointer;
    border: none;
    transition: all 0.3s var(--transition-smooth);
    white-space: nowrap;
}

.btn-get-book:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.5);
    color: #000000;
}

.badge-count {
    background: #000000;
    color: var(--accent-amber-light);
    font-size: 0.65rem;
    padding: 0.15rem 0.45rem;
    border-radius: 20px;
    font-weight: 700;
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.hamburger-btn .bar {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ==========================================================================
   HERO SECTION — ENHANCED (LARGER BOOK + EDITORIAL LAYOUT)
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: 8rem;
    padding-bottom: 4rem;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Decorative corner accent lines */
.hero-section::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 0;
    width: 3px;
    height: 200px;
    background: linear-gradient(to bottom, transparent, var(--accent-amber), transparent);
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
}

.hero-glow-overlay {
    position: absolute;
    top: -5%;
    right: -8%;
    width: 750px;
    height: 750px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, rgba(249, 115, 22, 0.08) 40%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* Second ambient glow on the left */
.hero-glow-overlay::before {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -400px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 46fr 54fr;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* About The Book Grid Layout */
.book-grid {
    display: grid;
    grid-template-columns: 55fr 45fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1.1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 50px;
    font-family: var(--font-sub);
    font-size: 0.8rem;
    color: var(--accent-amber-light);
    margin-bottom: 1.2rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.6vw, 2.6rem);
    font-weight: 800;
    line-height: 1.22;
    margin-bottom: 1.2rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.hero-title .title-accent {
    display: block;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-amber-light) 60%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-secondary);
    border-left: 3px solid var(--accent-amber);
    padding-left: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-amber) 100%);
    color: #000000;
    font-family: var(--font-sub);
    font-weight: 800;
    font-size: 0.95rem;
    border-radius: 50px;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s var(--transition-smooth);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.5);
    color: #000000;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: #ffffff;
    font-family: var(--font-sub);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50px;
    transition: all 0.3s var(--transition-smooth);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-amber);
    transform: translateY(-3px);
}

/* Stats Counter Bar */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1.2rem 1.4rem;
    background: rgba(18, 23, 34, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-sub);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-amber-light);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Book Showcase — Large Prominent Image */
.hero-book-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

/* Outer ring decoration */
.hero-book-wrapper::before {
    content: '';
    position: absolute;
    inset: -30px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    pointer-events: none;
    animation: pulseGlow 5s ease-in-out infinite;
}

.hero-book-card {
    position: relative;
    width: 100%;
    max-width: 720px;   /* Extra large display */
}

.book-cover-frame {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.9), 0 0 40px rgba(245, 158, 11, 0.3);
    border: 2px solid var(--border-glow);
    background: #000;
}

.book-cover-frame img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    display: block;
    transition: transform 0.5s ease;
}

.book-cover-frame:hover img {
    transform: scale(1.02);
}

/* About The Book — Single Image Styling */
.book-single-image-frame {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    width: 100%;
}

.book-single-img {
    width: 100%;
    max-width: 820px;
    height: auto;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 30px rgba(245, 158, 11, 0.2));
    display: block;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.4s ease;
}

.book-single-img:hover {
    transform: translateY(-8px) scale(1.02);
    filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.88)) drop-shadow(0 0 45px rgba(245, 158, 11, 0.35));
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--bg-surface);
    border: 1px solid var(--border-glow);
    padding: 0.9rem 1.4rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    box-shadow: var(--shadow-card);
    z-index: 10;
}

.floating-badge .badge-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-amber));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.floating-badge .badge-text h5 {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    color: #ffffff;
    margin-bottom: 2px;
}

.floating-badge .badge-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==========================================================================
   INTERACTIVE TRUCK SCROLLING BANNER
   ========================================================================== */
.truck-banner-section {
    position: relative;
    padding: 3rem 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0d121c 50%, var(--bg-dark) 100%);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    overflow: hidden;
    width: 100%;
}

.highway-container {
    position: relative;
    width: 100%;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.highway-road {
    position: relative;
    width: 100%;
    height: 140px;
    background: rgba(15, 20, 30, 0.9);
    display: flex;
    align-items: center;
    overflow: hidden;
    border-top: 2px solid rgba(245, 158, 11, 0.4);
    border-bottom: 2px solid rgba(245, 158, 11, 0.4);
}

.highway-lines {
    position: absolute;
    top: 50%;
    left: 0;
    width: 200%;
    height: 4px;
    background: repeating-linear-gradient(90deg, var(--accent-amber) 0px, var(--accent-amber) 40px, transparent 40px, transparent 80px);
    transform: translateY(-50%);
    animation: moveHighway 2s linear infinite;
}

@keyframes moveHighway {
    0% { transform: translate(0, -50%); }
    100% { transform: translate(-80px, -50%); }
}

.truck-animated-element {
    position: absolute;
    left: -400px;
    bottom: 5px;
    width: 320px;
    max-height: 130px;
    z-index: 10;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.8));
}

.truck-animated-element img {
    width: 100%;
    height: auto;
    max-height: 130px;
    object-fit: contain;
    display: block;
}

.truck-smoke {
    position: absolute;
    left: -15px;
    top: 20px;
    width: 25px;
    height: 25px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    filter: blur(6px);
    animation: puff 1.5s infinite ease-out;
}

@keyframes puff {
    0% { transform: scale(0.5); opacity: 0.8; }
    100% { transform: scale(2.5) translate(-40px, -30px); opacity: 0; }
}

.highway-overlay-text {
    position: absolute;
    top: 15px;
    width: 100%;
    text-align: center;
    font-family: var(--font-sub);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
    pointer-events: none;
    z-index: 2;
}

/* ==========================================================================
   ABOUT THE BOOK SECTION (ENHANCED IMAGE SHOWCASE)
   ========================================================================== */
.about-book-section {
    position: relative;
}

.book-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

/* Single Large Book Image Frame */
.book-single-image-frame {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-single-img {
    width: 100%;
    max-width: 560px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
    filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 40px rgba(245, 158, 11, 0.25));
    transition: transform 0.5s ease, filter 0.5s ease;
}

.book-single-img:hover {
    transform: scale(1.03) translateY(-6px);
    filter: drop-shadow(0 50px 70px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 50px rgba(245, 158, 11, 0.4));
}

.book-glow-ring {
    position: absolute;
    inset: -30px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}



/* Enhanced Book Showcase Container */
.enhanced-book-showcase {
    position: relative;
    padding: 1.8rem;
    border-radius: 24px;
    border: 1px solid rgba(245, 158, 11, 0.25);
    background: linear-gradient(145deg, rgba(20, 26, 38, 0.9) 0%, rgba(10, 13, 20, 0.95) 100%);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(245, 158, 11, 0.05);
}

.showcase-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border-subtle);
}

.showcase-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.showcase-dot.red { background: #ef4444; }
.showcase-dot.yellow { background: #f59e0b; }
.showcase-dot.green { background: #10b981; }

.showcase-label {
    margin-left: auto;
    font-family: var(--font-sub);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-amber-light);
    letter-spacing: 1.5px;
}

.book-preview-tabs {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.55rem 1.1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    border-radius: 50px;
    font-family: var(--font-sub);
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active, .tab-btn:hover {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-amber));
    border-color: var(--accent-amber);
    color: #000000;
    font-weight: 800;
}

.book-interactive-display {
    position: relative;
    min-height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    border: 1px solid var(--border-subtle);
}

.display-view {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    width: 100%;
    max-width: 480px;
}

.display-view.active {
    display: block;
    opacity: 1;
}

.display-view img {
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    width: 100%;
    max-height: 520px;
    object-fit: contain;
}

.book-highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin-top: 2rem;
}

.highlight-item {
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    border-color: var(--accent-amber);
    background: rgba(245, 158, 11, 0.05);
    transform: translateY(-3px);
}

.highlight-icon {
    font-size: 1.4rem;
    color: var(--accent-amber);
    margin-bottom: 0.5rem;
}

.highlight-item h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 0.4rem;
}

.highlight-item p {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   ABOUT THE AUTHOR SECTION
   ========================================================================== */
.about-author-section {
    position: relative;
    background: rgba(14, 18, 26, 0.5);
}

.author-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4.5rem;
    align-items: center;
}

.author-photo-wrapper {
    position: relative;
}

.author-img-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--border-glow);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
}

.author-img-frame img {
    width: 100%;
    filter: contrast(1.05) brightness(0.95);
    transition: transform 0.6s var(--transition-smooth);
}

.author-img-frame:hover img {
    transform: scale(1.04);
}

.author-quote-card {
    margin-top: 2rem;
    padding: 1.5rem 1.8rem;
    background: rgba(245, 158, 11, 0.08);
    border-left: 4px solid var(--accent-amber);
    border-radius: 0 16px 16px 0;
}

.author-quote-card p {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-style: italic;
    color: #ffffff;
    margin-bottom: 0.6rem;
}

.author-quote-card cite {
    font-family: var(--font-sub);
    font-size: 0.85rem;
    color: var(--accent-amber-light);
    font-style: normal;
    font-weight: 700;
}

/* ==========================================================================
   ABOUT JOURNEY SECTION (EXACTLY 4 CARDS - SMOOTH SCROLL NO STUTTER)
   ========================================================================== */
.about-journey-section {
    position: relative;
}

.journey-cards-grid.four-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.journey-card {
    position: relative;
    padding: 2.2rem 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    background: var(--bg-card);
}

.journey-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-amber);
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.2);
}

.journey-card.featured {
    border-color: var(--accent-amber);
    background: rgba(245, 158, 11, 0.09);
}

.journey-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.4rem;
}

.mile-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-sub);
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--accent-amber-light);
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 0.35rem 0.85rem;
    border-radius: 30px;
}

.mile-badge.gold {
    background: var(--accent-amber);
    color: #000000;
}

.mile-badge.special {
    background: var(--accent-orange);
    color: #ffffff;
}

.journey-year {
    font-family: var(--font-sub);
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 700;
}

.journey-icon {
    font-size: 2.2rem;
    color: var(--accent-amber);
    margin-bottom: 1rem;
}

.journey-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 0.8rem;
}

.journey-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.journey-card-footer {
    margin-top: 1.8rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
    font-family: var(--font-sub);
    font-size: 0.78rem;
    color: var(--accent-amber-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    position: relative;
    background: rgba(14, 18, 26, 0.6);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3.5rem;
}

.contact-info-card {
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-top: 1.6rem;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--accent-amber);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.info-text h5 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: #ffffff;
}

.info-text p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.contact-form-card {
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-sub);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 0.9rem 1.1rem;
    background: rgba(10, 13, 20, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: all 0.3s ease;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--accent-amber);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.form-textarea {
    resize: vertical;
    min-height: 130px;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-amber));
    border: none;
    border-radius: 50px;
    color: #000000;
    font-family: var(--font-sub);
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(245, 158, 11, 0.4);
}

/* ==========================================================================
   MODAL PURCHASING SYSTEM
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--transition-smooth);
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    position: relative;
    max-width: 950px;
    width: 100%;
    padding: 3rem 2.5rem 2.5rem;
    transform: scale(0.9);
    transition: transform 0.4s var(--transition-smooth);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-backdrop.active .modal-card {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--accent-amber);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-tag {
    font-family: var(--font-sub);
    font-size: 0.78rem;
    color: var(--accent-amber);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #ffffff;
}

.modal-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.modal-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.option-card {
    position: relative;
    padding: 2rem 1.5rem;
    background: rgba(10, 13, 20, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.option-card:hover {
    border-color: var(--accent-amber);
    transform: translateY(-5px);
}

.option-card.featured {
    border-color: var(--accent-amber);
    background: rgba(245, 158, 11, 0.08);
}

.option-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-subtle);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-family: var(--font-sub);
    font-size: 0.68rem;
    color: #ffffff;
    text-transform: uppercase;
}

.option-badge.gold {
    background: var(--accent-amber);
    color: #000;
    font-weight: 800;
}

.option-badge.special {
    background: var(--accent-orange);
    color: #ffffff;
    font-weight: 800;
}

.option-icon {
    font-size: 2rem;
    color: var(--accent-amber);
    margin-bottom: 0.8rem;
}

.option-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 0.4rem;
}

.option-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
}

.option-price {
    font-family: var(--font-sub);
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.2rem;
}

.option-price span {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 400;
}

.btn-option {
    padding: 0.75rem 1rem;
    border-radius: 50px;
    font-family: var(--font-sub);
    font-weight: 700;
    font-size: 0.82rem;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-option.primary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.btn-option.primary:hover {
    background: #ffffff;
    color: #000000;
}

.btn-option.gold {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-amber));
    color: #000000;
}

.btn-option.gold:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-glow);
}

.btn-option.outline {
    border: 1px solid var(--accent-amber);
    color: var(--accent-amber-light);
}

.btn-option.outline:hover {
    background: rgba(245, 158, 11, 0.15);
}

/* ==========================================================================
   FOOTER STYLES
   ========================================================================== */
.site-footer {
    position: relative;
    background: #06080d;
    padding-top: 4.5rem;
    padding-bottom: 2rem;
    border-top: 1px solid var(--border-subtle);
}

.footer-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3.5rem;
    margin-bottom: 3.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.footer-logo h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: #ffffff;
}

.footer-tagline {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1rem;
    color: var(--accent-amber-light);
    margin-bottom: 0.5rem;
}

.footer-subtext {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.footer-title {
    font-family: var(--font-sub);
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 0.7rem;
}

.footer-nav a {
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.footer-nav a:hover {
    color: var(--accent-amber);
}

.footer-social-icons {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: all 0.3s var(--transition-smooth);
}

.social-icon:hover {
    transform: translateY(-4px);
    color: #ffffff;
}

.social-icon.instagram:hover { background: #e1306c; border-color: #e1306c; box-shadow: 0 5px 20px rgba(225, 48, 108, 0.5); }
.social-icon.facebook:hover { background: #1877f2; border-color: #1877f2; box-shadow: 0 5px 20px rgba(24, 119, 242, 0.5); }
.social-icon.tiktok:hover { background: #00f2fe; border-color: #00f2fe; color: #000; box-shadow: 0 5px 20px rgba(0, 242, 254, 0.5); }
.social-icon.twitter:hover { background: #ffffff; border-color: #ffffff; color: #000; box-shadow: 0 5px 20px rgba(255, 255, 255, 0.5); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.8rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-legal a {
    color: var(--text-muted);
    margin: 0 0.5rem;
}

.footer-legal a:hover {
    color: var(--accent-amber);
}

/* ==========================================================================
   RESPONSIVE — TABLET (1024px) & MOBILE (768px / 480px)
   ========================================================================== */

/* ── Tablet ── */
@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .hero-book-card {
        max-width: 580px;
    }

    .book-single-img {
        max-width: 620px;
    }

    .book-grid, .author-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .journey-cards-grid.four-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .modal-options-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Small Tablet / Large Mobile ── */
@media (max-width: 768px) {
    /* Header */
    .nav-menu { display: none; }
    .hamburger-btn { display: flex; }
    .header-actions .btn-get-book { display: none; }

    /* Hero — stack vertically, book on top */
    .hero-section {
        padding-top: 6.5rem;
        padding-bottom: 3.5rem;
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .hero-book-wrapper {
        order: -1;   /* Book above text on mobile for maximum visibility */
        width: 100%;
        padding: 0.5rem 0;
    }

    .hero-book-card {
        max-width: 480px;
        width: 95%;
        margin: 0 auto;
    }

    .hero-badge {
        display: inline-flex;
    }

    .hero-title {
        font-size: clamp(1.4rem, 5.5vw, 2rem);
    }

    .hero-quote {
        font-size: 0.97rem;
        margin: 0 auto 1.8rem;
        border-left: none;
        border-top: 3px solid var(--accent-amber);
        padding-left: 0;
        padding-top: 1rem;
        text-align: center;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
        padding: 1.2rem 1rem;
    }

    .stat-number { font-size: 1.25rem; }

    .floating-badge {
        bottom: -16px;
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        width: auto;
        white-space: nowrap;
    }

    /* About The Book */
    .book-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .book-visual-column {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .book-single-image-frame {
        width: 100%;
        padding: 0.5rem;
    }

    .book-single-img {
        max-width: 540px;
        width: 96%;
        margin: 0 auto;
        display: block;
        border: none !important;
        box-shadow: none !important;
    }

    /* Journey */
    .journey-cards-grid.four-cards {
        grid-template-columns: 1fr;
    }

    /* Author */
    .author-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .author-img-frame { margin: 0 auto; }

    /* Contact */
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

    /* Footer */
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 0.8rem; text-align: center; }

    .truck-animated-element { width: 220px; max-height: 90px; }

    .section-padding { padding: 4rem 0; }
}

/* ── Phone ── */
@media (max-width: 480px) {
    .container { padding: 0 1rem; }

    .hero-section { padding-top: 5.5rem; }

    .hero-title { font-size: clamp(1.25rem, 6.5vw, 1.7rem); }

    .hero-book-card {
        max-width: 380px;
        width: 98%;
        margin: 0 auto;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        text-align: center;
    }

    .stat-number { font-size: 1.5rem; }

    .btn-primary, .btn-secondary {
        padding: 0.8rem 1.4rem;
        font-size: 0.88rem;
        width: 100%;
        justify-content: center;
    }

    .hero-cta-group { flex-direction: column; width: 100%; }

    .journey-cards-grid.four-cards { grid-template-columns: 1fr; }

    .section-title { font-size: clamp(1.5rem, 6vw, 2rem); }

    .book-single-img {
        max-width: 420px;
        width: 98%;
        margin: 0 auto;
        display: block;
        border: none !important;
        box-shadow: none !important;
    }

    .author-img-frame { width: 220px; height: 280px; }

    .contact-info-card, .contact-form-card { padding: 1.5rem; }

    .footer-social-icons { flex-wrap: wrap; justify-content: center; }

    .modal-card { padding: 1.5rem; margin: 1rem; }
    .modal-options-grid { grid-template-columns: 1fr; }
}

/* Mobile Overlay Navigation */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 13, 20, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.8rem;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 2.2rem;
    cursor: pointer;
}

.mobile-nav-content {
    text-align: center;
    padding: 2rem;
    width: 100%;
    max-width: 400px;
}

.mobile-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.mobile-nav-links {
    list-style: none;
    margin: 2rem 0;
}

.mobile-nav-links li {
    margin-bottom: 1.5rem;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: #ffffff;
}

.mobile-link span {
    color: var(--accent-amber);
    font-size: 1rem;
    margin-right: 0.5rem;
}

.mobile-cta-box {
    margin-top: 1.5rem;
}

.mobile-cta-box .btn-get-book.full-width {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    padding: 0.9rem;
    font-size: 0.95rem;
}

.mobile-socials {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 2rem;
    font-size: 1.3rem;
}

.mobile-socials a {
    color: var(--text-secondary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-socials a:hover {
    color: var(--accent-amber);
    border-color: var(--accent-amber);
}
