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

:root {
    --primary-light: #ffffff;
    --secondary-light: #f5f5f5;
    --text-dark: #1a1a1a;
    --text-medium: #2d2d2d;
    --text-light: #666666;
    --accent-pink: #ed86b6;
    --accent-pink-light: #f5a8cd;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--primary-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    font-weight: 300;
    color: var(--text-medium);
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(237, 134, 182, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Force navbar to always be light - override any other styles */
.navbar,
.navbar.scrolled,
nav.navbar {
    background-color: rgba(255, 255, 255, 0.98) !important;
    background: rgba(255, 255, 255, 0.98) !important;
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-pink) !important;
}

/* Ensure logo stays visible at all times */
.navbar .logo,
nav .logo {
    color: var(--accent-pink) !important;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links > a,
.nav-links .dropdown > a {
    font-size: 0.95rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    color: var(--text-dark) !important;
    display: block;
    padding: 0.5rem 0;
}

/* Force nav links to stay dark on all pages */
.navbar .nav-links > a,
.navbar .nav-links .dropdown > a,
nav .nav-links > a,
nav .nav-links .dropdown > a {
    color: var(--text-dark) !important;
}

.nav-links > a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-pink);
    transition: var(--transition);
}

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

.nav-links > a:hover,
.nav-links > a.active {
    color: var(--accent-pink) !important;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown > a {
    cursor: pointer;
}

.dropdown > a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-pink);
    transition: var(--transition);
}

.dropdown:hover > a::after,
.dropdown > a.active::after {
    width: 100%;
}

.dropdown:hover > a,
.dropdown > a.active {
    color: var(--accent-pink) !important;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    margin-top: 0.5rem;
    padding: 0.5rem 0;
    z-index: 1000;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Ensure dropdown links stay dark */
.dropdown-content a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark) !important;
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
}

.dropdown-content a::after {
    display: none !important;
}

.dropdown-content a:hover {
    background: var(--secondary-light);
    color: var(--accent-pink) !important;
    padding-left: 2rem;
}

/* Mobile Menu Toggle */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-dark) !important;
    transition: var(--transition);
}

/* Hero Section */
.hero-banner {
    max-width: 400px;
    width: 80%;
    height: auto;
    margin: 0 auto 2rem;
    display: block;
    animation: fadeInUp 0.8s ease;
}

@media (max-width: 768px) {
    .hero-banner {
        max-width: 280px;
        width: 90%;
    }
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(237, 134, 182, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245, 168, 205, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-pink-light), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
}

.hero-tagline {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-style: italic;
    color: var(--accent-pink);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-pink);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
    transition: var(--transition);
    animation: fadeInUp 1s ease 0.6s backwards;
}

.cta-button:hover {
    background: var(--accent-pink-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(237, 134, 182, 0.3);
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--secondary-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 350px;
    border-radius: 2px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-text h2 {
    margin-bottom: 1.5rem;
    color: var(--accent-pink);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-medium);
}

.signature {
    max-width: 300px;
    height: auto;
    margin-top: 2rem;
    opacity: 0.7;
}

/* Newsletter Section */
.newsletter {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    text-align: center;
}

.newsletter-content h2 {
    margin-bottom: 1rem;
    color: var(--accent-pink);
}

.newsletter-tagline {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.newsletter-disclaimer {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 2.5rem;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: white;
    border: 1px solid rgba(237, 134, 182, 0.2);
    color: var(--text-dark);
    font-size: 1rem;
    transition: var(--transition);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-pink);
}

.newsletter-form input::placeholder {
    color: var(--text-light);
}

.submit-button {
    padding: 1rem 2rem;
    background: var(--accent-pink);
    color: white;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    background: var(--accent-pink-light);
    transform: translateY(-3px);
}

/* Page Header (for Books & Extras pages) */
.page-header {
    padding: 150px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
}

.page-header h1 {
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-pink-light), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Books Page */
.books-page {
    padding: 80px 0;
    background: var(--primary-light);
}

.series-section {
    margin-bottom: 80px;
}

.series-title {
    color: var(--accent-pink);
    margin-bottom: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(237, 134, 182, 0.2);
}

.series-description {
    font-size: 1rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 2rem;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
}

.book-card {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.book-cover {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.book-card:hover .book-cover img {
    transform: scale(1.05);
}

.book-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.overlay-button {
    padding: 1rem 2rem;
    background: var(--accent-pink);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.overlay-button:hover {
    background: var(--accent-pink-light);
}

.book-info {
    padding: 2rem;
}

.book-title {
    color: var(--accent-pink);
    margin-bottom: 0.5rem;
}

.book-meta {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.book-description {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.book-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    padding: 0.4rem 1rem;
    background: rgba(237, 134, 182, 0.1);
    color: var(--accent-pink);
    font-size: 0.8rem;
    border: 1px solid rgba(237, 134, 182, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.book-reviews {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--secondary-light);
    border-left: 3px solid var(--accent-pink-light);
}

.review-quote {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.reviewer {
    font-size: 0.9rem;
    color: var(--text-light);
}

.buy-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--accent-pink);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.buy-button:hover {
    background: var(--accent-pink-light);
    transform: translateY(-3px);
}

/* Extras Page */
.extras-page {
    padding: 80px 0;
    background: var(--primary-light);
}

.series-extras-header {
    text-align: center;
    margin: 80px 0 60px;
    padding: 30px 0;
    border-top: 2px solid rgba(237, 134, 182, 0.2);
    border-bottom: 2px solid rgba(237, 134, 182, 0.2);
}

.series-extras-header:first-child {
    margin-top: 0;
    border-top: none;
}

.series-extras-title {
    color: var(--accent-pink);
    font-size: 2rem;
}

.extras-book-section {
    margin-bottom: 60px;
    padding-bottom: 40px;
}

.extras-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.extras-book-cover {
    flex-shrink: 0;
}

.extras-book-cover img {
    width: 150px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.extras-book-info h2 {
    color: var(--accent-pink);
    margin-bottom: 0.5rem;
}

.extras-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
}

.extras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.extra-card {
    background: white;
    padding: 2.5rem;
    border-radius: 4px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.extra-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.extra-icon {
    color: var(--accent-pink);
    margin-bottom: 1.5rem;
}

.extra-card h3 {
    color: var(--accent-pink);
    margin-bottom: 1rem;
}

.extra-card p {
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.extra-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--accent-pink);
    border: 2px solid var(--accent-pink);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.extra-button:hover {
    background: var(--accent-pink);
    color: white;
}

/* Newsletter CTA (for Books & Extras pages) */
.newsletter-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-light), var(--primary-light));
    text-align: center;
}

.newsletter-cta h2 {
    color: var(--accent-pink);
    margin-bottom: 1rem;
}

.newsletter-cta p {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.cta-button-alt {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--accent-pink);
    border: 2px solid var(--accent-pink);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.cta-button-alt:hover {
    background: var(--accent-pink);
    color: white;
}

/* Footer */
.footer {
    padding: 60px 0 40px;
    background: var(--secondary-light);
    border-top: 1px solid rgba(237, 134, 182, 0.1);
}

.footer-content {
    text-align: center;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-link {
    color: var(--text-light);
    transition: var(--transition);
}

.social-link:hover {
    color: var(--accent-pink);
    transform: translateY(-3px);
}

.footer-text {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.footer-email a {
    color: var(--accent-pink);
    transition: var(--transition);
}

.footer-email a:hover {
    color: var(--accent-pink-light);
}

/* Links Page */
.links-page {
    padding: 80px 0 100px;
    background: var(--primary-light);
    min-height: 60vh;
}

.links-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.links-profile {
    text-align: center;
    margin-bottom: 3rem;
}

.links-profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.links-profile h2 {
    color: var(--accent-pink);
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.links-tagline {
    font-size: 1.1rem;
    color: var(--text-light);
    font-style: italic;
}

.link-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding: 1.2rem 2rem;
    margin-bottom: 1rem;
    background: white;
    border: 2px solid var(--accent-pink);
    border-radius: 50px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.link-button:hover {
    background: var(--accent-pink);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(237, 134, 182, 0.3);
}

.link-icon {
    font-size: 1.5rem;
}

.link-text {
    flex: 1;
}

.newsletter-special {
    background: linear-gradient(135deg, var(--accent-pink-light), var(--accent-pink));
    border: none;
    color: white;
    font-weight: 600;
}

.newsletter-special:hover {
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-pink-light));
    transform: translateY(-3px) scale(1.02);
}

.links-divider {
    text-align: center;
    margin: 2.5rem 0 1.5rem;
    position: relative;
}

.links-divider span {
    background: var(--primary-light);
    padding: 0 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.links-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(237, 134, 182, 0.2);
    z-index: 0;
}

.social-button {
    background: var(--secondary-light);
    border-color: var(--secondary-light);
}

.social-button:hover {
    background: var(--accent-pink);
    border-color: var(--accent-pink);
    color: white;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98) !important;
        width: 100%;
        padding: 2rem;
        gap: 1.5rem;
        transition: var(--transition);
        align-items: flex-start;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        margin-top: 0.5rem;
        padding-left: 1rem;
        background: transparent;
    }

    .dropdown:hover .dropdown-content {
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

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

    .hero-tagline {
        font-size: 1.3rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image img {
        margin: 0 auto;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .books-grid {
        grid-template-columns: 1fr;
    }

    .extras-header {
        flex-direction: column;
        text-align: center;
    }

    .extras-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .signature {
        max-width: 200px;
        margin-top: 1.5rem;
    }

    .links-profile-image {
        width: 100px;
        height: 100px;
    }

    .link-button {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .cta-button,
    .submit-button,
    .buy-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}
