/* Import Proxima Nova approximation */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap');

/* CSS Variables */
:root {
    --color-bg: #ffffff;
    --color-text: #000000;
    --color-gray: #888888;
    --color-light-gray: #cccccc;
    --color-pink: #ff0080;
    --font-serif: 'EB Garamond', serif;
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-serif);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* Sticky Header */
.sticky-header {
    position: sticky;
    top: 0;
    background-color: var(--color-bg);
    border-bottom: 1px solid #f0f0f0;
    padding: 1.5rem 0;
    z-index: 1000;
}

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

.logo-icon {
    flex-shrink: 0;
    cursor: pointer;
}

.logo-triangle {
    height: 40px;
    width: auto;
}

.logo-text {
    flex-grow: 1;
    text-align: center;
    cursor: pointer;
}

.logo-text-img {
    height: 45px;
    width: auto;
}

.hamburger-menu {
    position: relative;
    flex-shrink: 0;
}

.hamburger-icon {
    width: 30px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger-icon span {
    display: block;
    height: 2px;
    background-color: var(--color-text);
    transition: all 0.3s ease;
}

.menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--color-bg);
    border: 1px solid #e0e0e0;
    padding: 1rem 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.hamburger-menu:hover .menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-dropdown a {
    display: block;
    padding: 0.5rem 1.5rem;
    color: var(--color-text);
    text-decoration: none;
    font-family: var(--font-serif);
    font-size: 1rem;
    transition: background-color 0.2s ease;
    line-height: 1.2;
}

.menu-dropdown a:hover {
    background-color: #f5f5f5;
}

/* Books Carousel Section (NOW LANDING) */
.books-carousel-section {
    background-color: #888888; /* Default: Tinseltown gray */
    padding: 4rem 0 5rem 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    transition: background-color 0.6s ease;
}

.carousel-container {
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-wrapper {
    overflow: hidden;
    margin-bottom: 3rem;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.book-slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 2rem;
}

.book-image-wrapper {
    margin-bottom: 2rem;
}

.book-image-wrapper img {
    max-width: 240px;
    width: 100%;
    height: auto;
    display: block;
}

.book-tagline {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    text-align: center;
    font-family: var(--font-serif);
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ffffff;
    opacity: 0.5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    opacity: 0.7;
}

.dot.active {
    opacity: 1;
    width: 24px;
    border-radius: 5px;
}

/* DIY Section (moved below carousel) */
.diy-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 0;
    cursor: pointer;
}

.diy-section.empty {
    cursor: pointer;
}

.diy-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    transition: opacity 0.5s ease;
}

.diy-section.empty .diy-content {
    pointer-events: none;
}

.diy-content.hidden {
    opacity: 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem auto;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    pointer-events: auto;
}

/* Buttons */
.btn-outline {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.63rem 1.8rem;
    background-color: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-text);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    pointer-events: auto;
}

.btn-outline:hover {
    background-color: var(--color-text);
    color: var(--color-bg);
}

.btn-solid {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.63rem 1.8rem;
    background-color: var(--color-text);
    color: var(--color-bg);
    border: 2px solid var(--color-text);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-solid:hover {
    background-color: transparent;
    color: var(--color-text);
}

.btn-white {
    color: var(--color-bg);
    border-color: var(--color-bg);
}

.btn-white:hover {
    background-color: var(--color-bg);
    color: var(--color-pink);
}

/* About Overlay Panel (slides in from right) */
.about-overlay {
    position: fixed;
    top: 0;
    right: -50%;
    width: 50%;
    height: 100vh;
    background-color: var(--color-pink);
    color: var(--color-bg);
    z-index: 2000;
    padding: 6rem 4rem;
    overflow-y: auto;
    transition: right 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.about-overlay.active {
    right: 0;
}

.about-overlay-content {
    max-width: 600px;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.about-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-overlay-content .btn-outline {
    margin-top: 2rem;
}

/* Me Section */
.me-section {
    padding: 8rem 0;
}

.me-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.me-title {
    font-size: 2.8rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.me-description {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.me-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
}

/* Footer */
.site-footer {
    padding: 6rem 0 3rem 0;
    text-align: center;
}

.footer-quote {
    font-size: 2.2rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 3rem;
    line-height: 1.2;
}

.footer-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    font-size: 0.95rem;
}

.claude-link {
    color: var(--color-text);
    text-decoration: underline;
}

.instagram-link {
    color: var(--color-text);
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.instagram-link:hover {
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .about-overlay {
        width: 60%;
        right: -60%;
    }
}

@media (max-width: 968px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .about-overlay {
        width: 70%;
        right: -70%;
        padding: 4rem 2.5rem;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .me-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .me-image img {
        max-width: 350px;
        margin: 0 auto;
    }
    
    .footer-quote {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 2rem;
    }
    
    .header-container {
        padding: 0 2rem;
    }
    
    .logo-text-img {
        height: 35px;
    }
    
    .logo-triangle {
        height: 30px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .book-tagline {
        font-size: 1.2rem;
    }
    
    .book-image-wrapper img {
        max-width: 280px;
    }
    
    .about-overlay {
        width: 85%;
        right: -85%;
        padding: 3rem 2rem;
    }
    
    .about-title {
        font-size: 1.8rem;
    }
    
    .me-title {
        font-size: 2.2rem;
    }
    
    .footer-quote {
        font-size: 1.5rem;
    }
}
