/*
Theme Name: Haiku Association of Sri Lanka
Theme URI: https://srilankahaiku.lk
Author: Haiku Association of Sri Lanka
Author URI: https://srilankahaiku.lk
Description: A beautiful WordPress theme for Haiku Association of Sri Lanka featuring Japanese minimalism and Sri Lankan vibrant aesthetics
Version: 1.2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: srilanka-haiku
Tags: blog, poetry, cultural, one-column, two-columns, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
    /* Japanese-inspired colors */
    --sakura-pink: #FFB7C5;
    --matcha-green: #88B04B;
    --ivory: #F5F5DC;
    --sumi-ink: #2C2C2C;
    --gold-accent: #D4AF37;
    
    /* Sri Lankan-inspired colors */
    --cinnamon: #8B4513;
    --sapphire-blue: #0F52BA;
    --temple-gold: #FFD700;
    --lotus-pink: #FF1493;
    --tea-green: #7CB342;
    --sunset-orange: #FF6B35;
    
    /* Neutral palette */
    --white: #FFFFFF;
    --off-white: #FAF9F6;
    --light-gray: #E8E8E8;
    --medium-gray: #9E9E9E;
    --dark-gray: #424242;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--sumi-ink);
    background: var(--off-white);
    overflow-x: hidden;
}

/* Decorative Elements */
.pattern-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 183, 197, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(136, 176, 75, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 3rem;
}

.logo {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--sumi-ink);
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    text-decoration: none;
}

.logo-en {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.logo-jp {
    font-size: 0.75rem;
    color: var(--medium-gray);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--sakura-pink), var(--tea-green));
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--cinnamon);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--ivory) 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="bamboo" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><line x1="20" y1="0" x2="20" y2="40" stroke="%23000" stroke-width="2"/><circle cx="20" cy="10" r="3" fill="%23000"/><circle cx="20" cy="30" r="3" fill="%23000"/></pattern></defs><rect width="200" height="200" fill="url(%23bamboo)"/></svg>');
    background-size: 80px 80px;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--cinnamon), var(--sapphire-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
}

.hero-subtitle {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.8rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
    letter-spacing: 8px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--cinnamon), var(--sunset-orange));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(139, 69, 19, 0.4);
}

/* Section Styling */
section {
    position: relative;
    padding: 6rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--sumi-ink);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--sakura-pink), var(--tea-green));
}

.section-subtitle {
    font-family: 'Noto Serif JP', serif;
    font-size: 1rem;
    color: var(--medium-gray);
    letter-spacing: 3px;
    margin-top: 1.5rem;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--dark-gray);
}

.about-text p {
    margin-bottom: 1.5rem;
}

.quote-box {
    background: linear-gradient(135deg, rgba(255, 183, 197, 0.1), rgba(136, 176, 75, 0.1));
    padding: 2.5rem;
    border-left: 4px solid var(--gold-accent);
    border-radius: 8px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--cinnamon);
}

.quote-author {
    display: block;
    margin-top: 1rem;
    text-align: right;
    font-size: 1rem;
    font-style: normal;
    color: var(--medium-gray);
}

/* History Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--sakura-pink), var(--tea-green));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.timeline-year {
    font-family: 'Noto Serif JP', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--cinnamon);
    margin-bottom: 0.5rem;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--gold-accent);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
}

/* Haiku Cards */
.haiku-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.haiku-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.haiku-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 6rem;
    color: rgba(255, 183, 197, 0.2);
    font-family: 'Cormorant Garamond', serif;
}

.haiku-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.haiku-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    line-height: 2;
    color: var(--sumi-ink);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.haiku-author {
    text-align: center;
    font-size: 0.9rem;
    color: var(--medium-gray);
    font-style: italic;
}

/* Anthology Section */
.anthology-showcase {
    display: flex;
    gap: 3rem;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 183, 197, 0.05), rgba(136, 176, 75, 0.05));
    padding: 3rem;
    border-radius: 16px;
}

/* Events Section */
.events-section {
    padding: 6rem 3rem;
    background: linear-gradient(135deg, rgba(15, 82, 186, 0.03), rgba(255, 183, 197, 0.03));
}

.event-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 3rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.event-featured {
    border: 3px solid var(--gold-accent);
    position: relative;
}

.event-featured::before {
    content: '✨ FEATURED EVENT';
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--temple-gold), var(--gold-accent));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 10;
}

.event-header {
    background: linear-gradient(135deg, var(--sapphire-blue), var(--cinnamon));
    color: white;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.event-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="30" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/></svg>');
    background-size: 80px 80px;
}

.event-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.event-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 1rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-meta-item svg,
.event-meta-item::before {
    font-size: 1.2rem;
}

.event-body {
    padding: 3rem;
}

.event-description {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.event-agenda {
    background: linear-gradient(135deg, rgba(255, 183, 197, 0.05), rgba(136, 176, 75, 0.05));
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--tea-green);
}

.event-agenda h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: var(--cinnamon);
    margin-bottom: 1.5rem;
}

.agenda-item {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.agenda-item:last-child {
    border-bottom: none;
}

.agenda-time {
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    color: var(--sapphire-blue);
    min-width: 120px;
    flex-shrink: 0;
}

.agenda-details {
    flex: 1;
    color: var(--dark-gray);
    line-height: 1.7;
}

.event-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-box {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--sakura-pink);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.highlight-box h4 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--cinnamon);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.highlight-box p {
    color: var(--dark-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.event-cta {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--light-gray);
}

.event-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--sapphire-blue), var(--lotus-pink));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(15, 82, 186, 0.3);
}

.event-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(15, 82, 186, 0.4);
}

.anniversary-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--temple-gold), var(--gold-accent));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.anthology-image {
    flex: 1;
    max-width: 400px;
}

.book-cover {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--cinnamon), var(--sapphire-blue));
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.book-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="30" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/></svg>');
    background-size: 100px 100px;
}

.book-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.book-subtitle {
    font-family: 'Noto Serif JP', serif;
    font-size: 1rem;
    letter-spacing: 3px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.anthology-info {
    flex: 1;
}

.anthology-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--cinnamon);
}

.anthology-info p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.launch-details {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    border-left: 4px solid var(--tea-green);
}

/* Contact Section */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--tea-green);
}

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

.submit-button {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--cinnamon), var(--sunset-orange));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(139, 69, 19, 0.3);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--sumi-ink), var(--dark-gray));
    color: white;
    padding: 4rem 3rem 2rem;
    margin-top: 6rem;
}

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

.footer-section h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--sakura-pink);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 1.8;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--sakura-pink);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 2rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        letter-spacing: 4px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row !important;
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 60px;
    }

    .timeline-dot {
        left: 30px;
    }

    .anthology-showcase {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Decorative elements */
.cherry-blossom {
    position: absolute;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, var(--sakura-pink), transparent);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 20s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(100px, -100px) rotate(120deg);
    }
    66% {
        transform: translate(-50px, -150px) rotate(240deg);
    }
}

.cherry-blossom:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.cherry-blossom:nth-child(2) { top: 60%; right: 15%; animation-delay: 5s; }
.cherry-blossom:nth-child(3) { top: 30%; left: 70%; animation-delay: 10s; }

/* Book Showcase Section */
.books-section {
    padding: 6rem 3rem;
    background: linear-gradient(135deg, rgba(15, 82, 186, 0.03), rgba(255, 183, 197, 0.03));
    overflow: hidden;
}

.books-showcase {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.books-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 2rem 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.books-slider::-webkit-scrollbar {
    display: none;
}

.book-item {
    flex: 0 0 300px;
    scroll-snap-align: center;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.book-item:nth-child(1) { animation-delay: 0.1s; }
.book-item:nth-child(2) { animation-delay: 0.2s; }
.book-item:nth-child(3) { animation-delay: 0.3s; }
.book-item:nth-child(4) { animation-delay: 0.4s; }
.book-item:nth-child(5) { animation-delay: 0.5s; }

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

.book-cover-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    cursor: pointer;
}

.book-cover-wrapper:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.book-cover-wrapper img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.book-cover-wrapper:hover img {
    transform: scale(1.1);
}

.book-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.book-cover-wrapper:hover .book-overlay {
    transform: translateY(0);
}

.book-title {
    color: white;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.book-author {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.book-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--sakura-pink), var(--lotus-pink));
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.books-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.book-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--light-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.book-dot:hover,
.book-dot.active {
    background: var(--cinnamon);
    transform: scale(1.3);
}

@keyframes float-book {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.book-item:nth-child(odd) .book-cover-wrapper {
    animation: float-book 6s ease-in-out infinite;
}

.book-item:nth-child(even) .book-cover-wrapper {
    animation: float-book 6s ease-in-out infinite;
    animation-delay: 3s;
}

.book-cover-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.7s ease;
    z-index: 1;
}

.book-cover-wrapper:hover::before {
    left: 100%;
}

.books-cta {
    text-align: center;
    margin-top: 3rem;
}

.books-cta p {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
}

.launch-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--temple-gold), var(--sunset-orange));
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 30px rgba(255, 107, 53, 0.5);
    }
}

@media (max-width: 768px) {
    .book-item {
        flex: 0 0 250px;
    }
    
    .book-cover-wrapper img {
        height: 380px;
    }
}
