/* ============================================
   THE FAMILY TOOLBOX - Main Stylesheet
   Book & App Launch Website
   ============================================ */

/* CSS Variables - Color Scheme */
:root {
    --primary-dark: #2C1810;
    --primary-burgundy: #6B2737;
    --primary-wine: #8B2635;
    --accent-gold: #C9A227;
    --accent-amber: #D4A574;
    --cream: #FDF8F0;
    --warm-white: #FFFCF8;
    --text-dark: #2C1810;
    --text-medium: #5C4033;
    --text-light: #8B7355;
    --border-light: #E8D5C4;
    --shadow-soft: rgba(44, 24, 16, 0.08);
    --shadow-medium: rgba(44, 24, 16, 0.15);
    --gradient-warm: linear-gradient(135deg, var(--primary-burgundy) 0%, var(--primary-wine) 100%);
    --gradient-gold: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-amber) 100%);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: var(--warm-white);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 0;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 248, 240, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px var(--shadow-soft);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-warm);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.logo-text {
    font-family: Georgia, serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--primary-wine);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-medium);
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-burgundy);
}

.nav-cta {
    background: var(--gradient-warm);
    color: white !important;
    padding: 10px 24px !important;
    border-radius: 50px;
    font-weight: 600 !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(107, 39, 55, 0.3);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--primary-dark);
    transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--cream);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(107, 39, 55, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 162, 39, 0.15);
    color: var(--primary-burgundy);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(201, 162, 39, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
    line-height: 1.1;
}

.hero-title .highlight {
    color: var(--primary-wine);
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(201, 162, 39, 0.3);
    z-index: -1;
    border-radius: 4px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-warm);
    color: white;
    box-shadow: 0 4px 15px rgba(107, 39, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(107, 39, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-burgundy);
    border: 2px solid var(--primary-burgundy);
}

.btn-secondary:hover {
    background: var(--primary-burgundy);
    color: white;
    transform: translateY(-3px);
}

.hero-visual {
    position: relative;
    animation: fadeInRight 1s ease 0.3s both;
}

.book-showcase {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.book-mockup {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--gradient-warm);
    border-radius: 8px 16px 16px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-shadow: 
        0 25px 50px rgba(44, 24, 16, 0.2),
        0 10px 20px rgba(44, 24, 16, 0.1),
        inset 0 0 0 1px rgba(255,255,255,0.1);
    position: relative;
    color: white;
    text-align: center;
}

.book-mockup::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 12px;
    background: linear-gradient(to right, rgba(0,0,0,0.2), rgba(0,0,0,0.05));
    border-radius: 8px 0 0 8px;
}

.book-mockup::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(to right, rgba(255,255,255,0.1), rgba(255,255,255,0.3));
    border-radius: 0 16px 16px 0;
}

.book-mockup h2 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 8px;
    line-height: 1.2;
}

.book-mockup .author-name {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    font-style: italic;
}

.book-mockup .toolbox-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.book-mockup .tagline {
    font-size: 0.85rem;
    opacity: 0.8;
    max-width: 200px;
    line-height: 1.5;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.float-item {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow-soft);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-burgundy);
    animation: float 3s ease-in-out infinite;
}

.float-item:nth-child(1) {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.float-item:nth-child(2) {
    bottom: 20%;
    left: -30px;
    animation-delay: 1s;
}

.float-item:nth-child(3) {
    top: 50%;
    right: -40px;
    animation-delay: 2s;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-block;
    background: rgba(201, 162, 39, 0.15);
    color: var(--primary-burgundy);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* ============================================
   FEATURES / CHAPTERS SECTION
   ============================================ */
.features-section {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--warm-white);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow-soft);
    border-color: transparent;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(107, 39, 55, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-burgundy);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--gradient-warm);
    color: white;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   ABOUT BOOK SECTION
   ============================================ */
.about-book {
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.about-book::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-frame {
    background: var(--gradient-warm);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 20px 40px var(--shadow-medium);
    transform: rotate(-2deg);
    transition: transform 0.4s ease;
}

.about-image-frame:hover {
    transform: rotate(0deg);
}

.about-image-inner {
    background: white;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.about-image-inner h3 {
    font-size: 2rem;
    color: var(--primary-wine);
    margin-bottom: 10px;
}

.about-image-inner .subtitle {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 30px;
}

.about-image-inner .verse {
    font-size: 1.1rem;
    color: var(--text-medium);
    font-style: italic;
    border-left: 3px solid var(--accent-gold);
    padding-left: 20px;
    text-align: left;
    margin-top: 20px;
}

.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-content .lead {
    font-size: 1.15rem;
    color: var(--text-medium);
    margin-bottom: 24px;
    line-height: 1.8;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.stats-row {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-wine);
    font-family: Georgia, serif;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ============================================
   APP SECTION
   ============================================ */
.app-section {
    background: var(--primary-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.app-section::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.app-section .section-title,
.app-section .section-subtitle {
    color: white;
}

.app-section .section-label {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-gold);
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.app-content h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.app-content .lead {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    line-height: 1.8;
}

.app-features {
    list-style: none;
    margin-bottom: 40px;
}

.app-features li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
}

.app-features li i {
    width: 36px;
    height: 36px;
    background: rgba(201, 162, 39, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.app-store-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.app-store-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.app-store-btn .icon {
    font-size: 1.5rem;
}

.app-store-btn .text {
    display: flex;
    flex-direction: column;
}

.app-store-btn .small {
    font-size: 0.7rem;
    opacity: 0.7;
}

.app-store-btn .large {
    font-size: 1rem;
    font-weight: 600;
}

.app-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 0 2px rgba(255, 255, 255, 0.1);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--gradient-warm);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    color: white;
}

.phone-screen .app-logo {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.phone-screen h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.phone-screen p {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-bottom: 30px;
}

.phone-screen .app-features-preview {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.phone-screen .preview-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.8rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--warm-white);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-soft);
}

.testimonial-card::before {
    content: '"';
    font-size: 5rem;
    color: var(--accent-gold);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-warm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-info h4 {
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.testimonial-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--gradient-warm);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: white;
    color: var(--primary-burgundy);
}

.btn-white:hover {
    background: var(--cream);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary-burgundy);
    border-color: white;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand .logo-text {
    color: white;
    margin-bottom: 16px;
    display: block;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-gold);
    transform: translateY(-3px);
}

.footer-column h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.9rem;
}

/* ============================================
   PAGE HEADER (for inner pages)
   ============================================ */
.page-header {
    background: var(--cream);
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.08) 0%, transparent 60%);
    border-radius: 50%;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   ABOUT AUTHOR PAGE
   ============================================ */
.author-section {
    background: white;
}

.author-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.author-photo {
    position: sticky;
    top: 100px;
}

.author-photo-frame {
    background: var(--gradient-warm);
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.author-photo-inner {
    background: var(--cream);
    border-radius: 12px;
    aspect-ratio: 3/4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
}

.author-photo-inner .initials {
    width: 120px;
    height: 120px;
    background: var(--gradient-warm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: 700;
    font-family: Georgia, serif;
    margin-bottom: 20px;
}

.author-photo-inner h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.author-photo-inner .role {
    color: var(--text-light);
    font-size: 0.9rem;
}

.author-bio h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.author-bio p {
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.8;
}

.author-credentials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.credential-item {
    background: var(--warm-white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.credential-item i {
    font-size: 1.5rem;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.credential-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.credential-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* ============================================
   BOOK DETAILS PAGE
   ============================================ */
.book-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.book-preview {
    position: sticky;
    top: 100px;
}

.book-large-mockup {
    background: var(--gradient-warm);
    border-radius: 16px;
    padding: 50px 40px;
    text-align: center;
    color: white;
    box-shadow: 0 25px 50px rgba(44, 24, 16, 0.2);
    position: relative;
    overflow: hidden;
}

.book-large-mockup::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.book-large-mockup h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 10px;
    position: relative;
}

.book-large-mockup .author {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    position: relative;
    font-style: italic;
}

.book-large-mockup .divider {
    width: 60px;
    height: 2px;
    background: rgba(255,255,255,0.3);
    margin: 0 auto 30px;
    position: relative;
}

.book-large-mockup .description {
    font-size: 1rem;
    opacity: 0.85;
    max-width: 300px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
}

.book-info h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.book-info .lead {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 30px;
    line-height: 1.8;
}

.chapter-list {
    list-style: none;
    margin-bottom: 40px;
}

.chapter-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.chapter-list li:hover {
    padding-left: 10px;
    color: var(--primary-wine);
}

.chapter-number {
    width: 36px;
    height: 36px;
    background: rgba(107, 39, 55, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary-burgundy);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.chapter-list li:hover .chapter-number {
    background: var(--gradient-warm);
    color: white;
}

.purchase-options {
    background: var(--cream);
    border-radius: 20px;
    padding: 30px;
    margin-top: 30px;
}

.purchase-options h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.purchase-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ============================================
   APP PAGE
   ============================================ */
.app-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.app-feature-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
}

.app-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow-soft);
}

.app-feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-warm);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 24px;
}

.app-feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.app-feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.app-screenshots {
    background: var(--primary-dark);
    border-radius: 24px;
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.app-screenshots::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.1) 0%, transparent 70%);
}

.app-screenshots h2 {
    color: white;
    margin-bottom: 40px;
    position: relative;
}

.screenshots-row {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.screenshot-item {
    width: 220px;
    height: 440px;
    background: #1a1a1a;
    border-radius: 30px;
    padding: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transition: transform 0.4s ease;
}

.screenshot-item:hover {
    transform: translateY(-10px) scale(1.02);
}

.screenshot-inner {
    width: 100%;
    height: 100%;
    background: var(--gradient-warm);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 20px;
    text-align: center;
}

.screenshot-inner .screen-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.screenshot-inner h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 8px;
}

.screenshot-inner p {
    font-size: 0.8rem;
    opacity: 0.85;
}

/* ============================================
   RESOURCES PAGE
   ============================================ */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.resource-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.resource-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow-soft);
}

.resource-image {
    height: 180px;
    background: var(--gradient-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.resource-content {
    padding: 30px;
}

.resource-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.resource-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.resource-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.resource-type {
    display: inline-block;
    background: rgba(107, 39, 55, 0.08);
    color: var(--primary-burgundy);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.resource-link {
    color: var(--primary-wine);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.resource-link:hover {
    color: var(--accent-gold);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-info .lead {
    color: var(--text-medium);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-method i {
    width: 50px;
    height: 50px;
    background: rgba(107, 39, 55, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-burgundy);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-method h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-method p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-form-wrapper {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-dark);
    background: var(--warm-white);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-burgundy);
    box-shadow: 0 0 0 4px rgba(107, 39, 55, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero-container,
    .about-grid,
    .app-grid,
    .author-grid,
    .book-details-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .app-visual {
        order: -1;
    }
    
    .author-photo {
        position: relative;
        top: 0;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .book-preview {
        position: relative;
        top: 0;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        border-bottom: 1px solid var(--border-light);
        box-shadow: 0 10px 30px var(--shadow-soft);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 24px;
    }
    
    .author-credentials {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .app-store-buttons {
        flex-direction: column;
    }
    
    .purchase-buttons {
        flex-direction: column;
    }
    
    .screenshots-row {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .book-mockup h2 {
        font-size: 1.6rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .page-header {
        padding: 120px 0 60px;
    }
    
    .feature-card,
    .testimonial-card,
    .app-feature-card,
    .resource-card {
        padding: 30px 20px;
    }
}
/* ============================================
   EVENTS PAGE STYLES
   ============================================ */

/* Page Header */
.events-header {
    background: var(--gradient-warm);
    color: white;
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.events-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.15) 0%, transparent 60%);
    border-radius: 50%;
}

.events-header .container {
    position: relative;
    z-index: 1;
}

.events-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: white;
}

.events-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Events Filter */
.events-filter {
    background: var(--cream);
    padding: 25px 0;
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: 0 2px 10px var(--shadow-soft);
    border-bottom: 1px solid var(--border-light);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid var(--border-light);
    background: white;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-medium);
    transition: all 0.3s ease;
    font-family: inherit;
}

.filter-btn:hover {
    border-color: var(--primary-burgundy);
    color: var(--primary-burgundy);
}

.filter-btn.active {
    background: var(--gradient-warm);
    color: white;
    border-color: var(--primary-burgundy);
}

/* Featured Event */
.featured-event {
    padding: 60px 0;
    background: var(--cream);
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-gold);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-medium);
    border: 1px solid var(--border-light);
}

.featured-image {
    position: relative;
    min-height: 400px;
    background: var(--gradient-warm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Date badge */
.event-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: white;
    border-radius: 15px;
    padding: 15px 20px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow-soft);
}

.event-date .day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-wine);
    line-height: 1;
}

.event-date .month {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-medium);
    text-transform: uppercase;
    margin-top: 5px;
}

.featured-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-type {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    width: fit-content;
}

.event-type.conference {
    background: rgba(107, 39, 55, 0.1);
    color: var(--primary-burgundy);
}

.event-type.workshop {
    background: rgba(201, 162, 39, 0.15);
    color: var(--primary-dark);
}

.event-type.webinar {
    background: rgba(139, 38, 53, 0.1);
    color: var(--primary-wine);
}

.event-type.community {
    background: rgba(212, 165, 116, 0.2);
    color: var(--primary-dark);
}

.featured-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.event-desc {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.event-details .detail {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-medium);
}

.event-details .detail i {
    color: var(--accent-gold);
    width: 20px;
}

.event-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 25px;
    border-top: 1px solid var(--border-light);
}

.spots-left {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-wine);
    font-weight: 600;
}

/* Events Grid */
.events-grid-section {
    padding: 80px 0;
    background: white;
}

.events-grid-section .section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: var(--primary-dark);
    position: relative;
    padding-bottom: 15px;
}

.events-grid-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.event-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow-soft);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.event-card .event-image {
    position: relative;
    height: 220px;
    background: var(--gradient-warm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-card .event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-card .event-date {
    top: 15px;
    left: 15px;
    padding: 10px 15px;
}

.event-card .event-date .day {
    font-size: 1.5rem;
}

.event-tag {
    position: absolute;
    bottom: 15px;
    right: 15px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.event-tag.workshop { background: var(--primary-burgundy); }
.event-tag.webinar { background: var(--primary-wine); }
.event-tag.community { background: var(--accent-gold); color: var(--primary-dark); }
.event-tag.conference { background: var(--primary-dark); }

.event-info {
    padding: 25px;
}

.event-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.event-info p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.event-meta i {
    color: var(--accent-gold);
    width: 16px;
}

.event-footer-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid var(--border-light);
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-wine);
}

.price.free {
    color: #4a7c59;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Past Events */
.past-events {
    padding: 60px 0;
    background: var(--cream);
}

.past-events .section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: var(--primary-dark);
    position: relative;
    padding-bottom: 15px;
}

.past-events .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.past-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.past-event-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid var(--accent-gold);
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px var(--shadow-soft);
}

.past-event-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.past-date {
    color: var(--primary-burgundy);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.past-event-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.past-event-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.view-recap {
    color: var(--primary-wine);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.view-recap:hover {
    gap: 12px;
    color: var(--accent-gold);
}

/* Events Newsletter */
.events-newsletter {
    padding: 60px 0;
    background: white;
}

.newsletter-box {
    background: var(--gradient-warm);
    border-radius: 20px;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    color: white;
    position: relative;
    overflow: hidden;
}

.newsletter-box::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.newsletter-content {
    position: relative;
    z-index: 1;
}

.newsletter-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: white;
}

.newsletter-content p {
    opacity: 0.9;
    max-width: 400px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    min-width: 350px;
    position: relative;
    z-index: 1;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    font-family: inherit;
}

.newsletter-form .btn {
    white-space: nowrap;
    background: var(--primary-dark);
    color: white;
}

.newsletter-form .btn:hover {
    background: var(--primary-burgundy);
}

/* Events Responsive */
@media (max-width: 1024px) {
    .featured-card {
        grid-template-columns: 1fr;
    }

    .featured-image {
        min-height: 250px;
    }

    .newsletter-box {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        min-width: 100%;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .events-header {
        padding: 120px 0 60px;
    }

    .events-header h1 {
        font-size: 2rem;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .filter-buttons {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .featured-content {
        padding: 30px;
    }

    .event-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .newsletter-box {
        padding: 30px;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .events-header h1 {
        font-size: 1.8rem;
    }

    .featured-content h2 {
        font-size: 1.6rem;
    }

    .event-card .event-image {
        height: 180px;
    }

    .past-event-item {
        padding: 20px;
    }
}
/* ============================================
   IMAGE PLACEHOLDER STYLES
   ============================================ */

/* Author Photo Image */
.author-photo-frame {
    position: relative;
    overflow: hidden;
}

.author-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

/* Book Cover Image */
.book-large-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    border-radius: 16px;
}

.book-fallback {
    position: relative;
    z-index: 1;
}

/* App Screenshots */
.screenshot-item {
    position: relative;
    overflow: hidden;
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

/* Image loading states */
img {
    transition: opacity 0.3s ease;
}

img[src=""] {
    opacity: 0;
}

/* Responsive image handling */
@media (max-width: 768px) {
    .author-image,
    .book-large-mockup img,
    .screenshot-item img {
        object-position: center top;
    }
}