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

body {
    font-family: 'Crimson Text', serif;
    line-height: 1.6;
    color: #e8e8e8;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #d4a574;
    text-shadow: 0 0 10px rgba(212, 165, 116, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #e8e8e8;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #d4a574;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #d4a574;
    transition: width 0.3s ease;
}

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

.nav-link.active {
    color: #d4a574;
}

.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #e8e8e8;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23000"/><stop offset="100%" stop-color="%231a1a1a"/></radialGradient></defs><rect width="100%" height="100%" fill="url(%23a)"/><circle cx="200" cy="200" r="50" fill="%23d4af37" opacity="0.15"/><circle cx="1000" cy="600" r="80" fill="%23d4af37" opacity="0.15"/><circle cx="800" cy="300" r="30" fill="%23d4af37" opacity="0.15"/></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Crimson Text', serif;
    font-size: 3rem;
    font-weight: 600;
    color: #d4a574;
    text-shadow: 0 0 20px rgba(212, 165, 116, 0.5);
    margin-bottom: 1rem;
    animation: glow 2s ease-in-out infinite alternate;
    text-transform: lowercase;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #e8e8e8;
    font-weight: 400;
    text-shadow: 0 0 10px rgba(232, 232, 232, 0.3);
    letter-spacing: 2px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(212, 165, 116, 0.1);
    border: 2px solid rgba(212, 165, 116, 0.3);
    border-radius: 50%;
    color: #d4a574;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.scroll-btn:hover {
    background: rgba(212, 165, 116, 0.2);
    border-color: #d4a574;
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(212, 165, 116, 0.3);
}

.scroll-btn i {
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.7;
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(212, 165, 116, 0.5);
    }
    to {
        text-shadow: 0 0 30px rgba(212, 165, 116, 0.8), 0 0 40px rgba(212, 165, 116, 0.3);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%);
        opacity: 0;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        transform: translateX(100%) translateY(100%);
        opacity: 0;
    }
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

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

.about-image {
    text-align: center;
}

.author-photo {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border: 2px solid #d4a574;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.author-photo:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(212, 165, 116, 0.3);
}

.about-text h2 {
    font-family: 'Crimson Text', serif;
    font-size: 2.5rem;
    color: #d4a574;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(212, 165, 116, 0.3);
    text-transform: lowercase;
    letter-spacing: 1px;
}

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

/* Books Section */
.books {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    position: relative;
}

.books::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"><defs><pattern id="books-pattern" x="0" y="0" width="25" height="25" patternUnits="userSpaceOnUse"><circle cx="12.5" cy="12.5" r="1" fill="%23d4a574" opacity="0.25"/></pattern></defs><rect width="100%" height="100%" fill="url(%23books-pattern)"/></svg>');
    opacity: 0.15;
}

.books-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.books-header h2 {
    font-family: 'Crimson Text', serif;
    font-size: 2.5rem;
    color: #d4a574;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(212, 165, 116, 0.3);
    text-transform: lowercase;
    letter-spacing: 1px;
}

.books-header p {
    font-size: 1.2rem;
    color: #d0d0d0;
    max-width: 600px;
    margin: 0 auto;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.book-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(212, 165, 116, 0.3);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.book-card:hover {
    transform: translateY(-5px);
    border-color: #d4a574;
    box-shadow: 0 15px 35px rgba(212, 165, 116, 0.2);
}

.book-cover {
    margin-bottom: 1.5rem;
}

.cover-image {
    width: 150px;
    height: auto;
    display: block;
    border: 2px solid #d4a574;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.cover-placeholder {
    width: 150px;
    height: 200px;
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    border: 2px solid #d4a574;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.cover-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 20%, rgba(212, 165, 116, 0.2) 50%, transparent 80%);
    animation: shimmer 4s infinite;
}

.cover-placeholder i {
    font-size: 2.5rem;
    color: #d4a574;
    margin-bottom: 0.5rem;
}

.cover-placeholder p {
    color: #888;
    font-style: italic;
    font-size: 0.9rem;
}

.book-info {
    width: 100%;
    text-align: left;
}

.book-info h3 {
    font-family: 'Crimson Text', serif;
    font-size: 1.8rem;
    color: #d4a574;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(212, 165, 116, 0.3);
    text-transform: lowercase;
    letter-spacing: 1px;
    text-align: center;
}

.book-genre {
    color: #888;
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1rem;
    text-align: center;
}

.book-description {
    color: #d0d0d0;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-align: left;
}

.book-excerpt {
    background: rgba(212, 165, 116, 0.1);
    border-left: 3px solid #d4a574;
    padding: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #e8e8e8;
    line-height: 1.8;
    border-radius: 0 8px 8px 0;
    position: relative;
    font-size: 0.95rem;
}

.book-excerpt::before {
    content: '"';
    font-size: 3rem;
    color: #d4a574;
    position: absolute;
    top: -10px;
    left: 10px;
    font-family: 'Crimson Text', serif;
}

.book-excerpt br {
    margin-bottom: 0.5rem;
}

.book-status {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.status-badge {
    background: linear-gradient(45deg, #d4a574, #b8941f);
    color: #0a0a0a;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Newsletter Signup Section */
.signup {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
}

.signup::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"><defs><pattern id="stars" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.5" fill="%23d4af37" opacity="0.35"/></pattern></defs><rect width="100%" height="100%" fill="url(%23stars)"/></svg>');
    opacity: 0.15;
}

.signup-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.signup-content h2 {
    font-family: 'Crimson Text', serif;
    font-size: 2.5rem;
    color: #d4a574;
    margin-bottom: 1rem;
    text-transform: lowercase;
    letter-spacing: 1px;
}

.signup-content p {
    font-size: 1.2rem;
    color: #d0d0d0;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    color: #e8e8e8;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #d4a574;
    box-shadow: 0 0 15px rgba(212, 165, 116, 0.3);
}

.form-group input::placeholder {
    color: #888;
}

.submit-btn {
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(45deg, #d4a574, #b8941f);
    border: none;
    border-radius: 8px;
    color: #0a0a0a;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 165, 116, 0.4);
}

.form-message {
    margin-top: 1rem;
    padding: 10px;
    border-radius: 5px;
    font-weight: 600;
}

.form-message.success {
    background: rgba(212, 165, 116, 0.1);
    color: #d4a574;
    border: 1px solid #d4a574;
    text-shadow: 0 0 10px rgba(212, 165, 116, 0.3);
}

.form-message.error {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
    border: 1px solid #f44336;
}

/* Connect Section */
.connect {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

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

.connect-content h2 {
    font-family: 'Crimson Text', serif;
    font-size: 2.5rem;
    color: #d4a574;
    margin-bottom: 1rem;
    text-transform: lowercase;
    letter-spacing: 1px;
}

.connect-content p {
    font-size: 1.2rem;
    color: #d0d0d0;
    margin-bottom: 3rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(212, 165, 116, 0.3);
    border-radius: 15px;
    text-decoration: none;
    color: #e8e8e8;
    transition: all 0.3s ease;
    min-width: 150px;
}

.social-link:hover {
    transform: translateY(-5px);
    border-color: #d4a574;
    box-shadow: 0 15px 35px rgba(212, 165, 116, 0.3);
    color: #d4a574;
}

.social-link i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.social-link:hover i {
    transform: scale(1.1);
}

.social-link span {
    font-weight: 600;
    font-size: 1rem;
}

/* Academic Publications Section */
.publications {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

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

.publications-content h2 {
    font-family: 'Crimson Text', serif;
    font-size: 2.5rem;
    color: #d4a574;
    margin-bottom: 3rem;
    text-transform: lowercase;
    letter-spacing: 1px;
}

.publications-list {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.publication-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 165, 116, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.publication-item:hover {
    border-color: #d4a574;
    box-shadow: 0 5px 20px rgba(212, 165, 116, 0.1);
}

.publication-year {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #d4a574;
    min-width: 60px;
    text-align: center;
    padding-top: 0.5rem;
}

.publication-details {
    flex: 1;
}

.publication-status {
    color: #888;
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.publication-authors {
    color: #d0d0d0;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.publication-title {
    color: #e8e8e8;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.publication-title a {
    color: #e8e8e8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.publication-title a:hover {
    color: #d4a574;
    text-decoration: underline;
}

.publication-journal {
    color: #d0d0d0;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.publication-doi a {
    color: #d4a574;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.publication-doi a:hover {
    color: #e8e8e8;
    text-decoration: underline;
}

/* Footer */
.footer {
    padding: 2rem 0;
    background: #0a0a0a;
    text-align: center;
    border-top: 1px solid rgba(212, 165, 116, 0.2);
}

.footer p {
    color: #888;
    font-size: 0.9rem;
}

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

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

    .hero {
        background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                    linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
        background-size: cover;
        background-position: center;
    }

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

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

    .scroll-indicator {
        bottom: 20px;
    }

    .scroll-btn {
        width: 40px;
        height: 40px;
    }

    .scroll-btn i {
        font-size: 1rem;
    }

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

    .author-photo {
        width: 250px;
        height: 350px;
        margin: 0 auto;
    }

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

    .book-card {
        padding: 1.5rem;
    }

    .cover-image {
        width: 120px;
        height: auto;
    }

    .cover-placeholder {
        width: 120px;
        height: 160px;
    }

    .book-excerpt {
        padding: 1rem;
        font-size: 0.9rem;
        background: rgba(212, 165, 116, 0.1);
        border-left: 3px solid #d4a574;
        border-radius: 0 8px 8px 0;
        position: relative;
    }

    .book-excerpt::before {
        content: '"';
        font-size: 2.5rem;
        color: #d4a574;
        position: absolute;
        top: -8px;
        left: 8px;
        font-family: 'Crimson Text', serif;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .publication-item {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .publication-year {
        min-width: auto;
        padding-top: 0;
    }

    .social-link {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .hero {
        background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
                    linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    }

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

    .about-text h2,
    .signup-content h2,
    .connect-content h2 {
        font-size: 2rem;
    }

    .book-excerpt {
        padding: 0.8rem;
        font-size: 0.85rem;
        margin: 1rem 0;
    }

    .book-excerpt::before {
        font-size: 2rem;
        top: -6px;
        left: 6px;
    }

    .container {
        padding: 0 15px;
    }
}

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

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

.about,
.signup,
.connect {
    animation: fadeInUp 0.8s ease-out;
} 

/* Mailchimp Form Overrides */
#mc_embed_signup {
    background: transparent !important;
    clear: left;
    font: inherit;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

#mc_embed_signup h2 {
    display: none;
}

#mc_embed_signup .indicates-required {
    display: none;
}

#mc_embed_signup .mc-field-group {
    margin-bottom: 1.5rem;
}

#mc_embed_signup .mc-field-group label {
    display: none;
}

#mc_embed_signup .mc-field-group input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    color: #e8e8e8;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

#mc_embed_signup .mc-field-group input:focus {
    outline: none;
    border-color: #d4a574;
    box-shadow: 0 0 15px rgba(212, 165, 116, 0.3);
}

#mc_embed_signup .mc-field-group input::placeholder {
    color: #888;
}

#mc_embed_signup .optionalParent {
    margin-top: 1rem;
}

#mc_embed_signup .clear.foot {
    text-align: center;
    display: flex;
    justify-content: center;
}

#mc_embed_signup .button {
    width: 100%;
    max-width: 200px;
    padding: 15px 30px;
    background: linear-gradient(45deg, #d4a574, #b8941f);
    border: none;
    border-radius: 8px;
    color: #0a0a0a;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: inherit;
}

#mc_embed_signup .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 165, 116, 0.4);
}

/* Hide Mailchimp logo and branding */
#mc_embed_signup p[style*="margin: 0px auto"] {
    display: none !important;
}

#mc_embed_signup .refferal_badge {
    display: none !important;
}

#mc_embed_signup a[href*="mailchimp"] {
    display: none !important;
}

/* Hide Mailchimp response messages */
#mc_embed_signup .response {
    display: none !important;
} 