:root {
    --primary-color: #1a3a52;
    --secondary-color: #2c5f7f;
    --primary-accent: #c9975b; /* Rich gold */
    --accent-warm: #e8b67a;
    --text-color: #2d2d2d;
    --text-light: #5a5a5a;
    --bg-light: #f8f6f0; /* Warm paper */
    --bg-cream: #faf8f3;
    --bg-white: #ffffff;
    --bg-gradient-1: linear-gradient(135deg, #1a3a52 0%, #2c5f7f 100%);
    --bg-gradient-2: linear-gradient(135deg, #faf8f3 0%, #ede8db 100%);
    --border-color: #d8d3c7;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: var(--font-serif);
    color: var(--primary-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

.container.narrow {
    max-width: 800px;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-primary {
    background-color: var(--primary-color);
}

.text-white {
    color: white;
}

.text-white .section-title {
    color: white;
}

.center {
    text-align: center;
}

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    backdrop-filter: blur(10px);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
    color: var(--primary-color);
    transition: var(--transition);
    z-index: 1001;
}

.logo:hover {
    color: var(--primary-accent);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary-accent);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-accent);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero-section {
    padding: 180px 0 100px;
    background: var(--bg-gradient-2);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 151, 91, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(44, 95, 127, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 500px;
}

.eyebrow {
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-accent);
    margin-bottom: 15px;
}

.main-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    font-family: var(--font-serif);
    font-style: italic;
}

/* Book Cover Placeholder */
.book-placeholder {
    width: 350px;
    height: 500px;
    background: var(--bg-gradient-1);
    margin: 0 auto;
    border-radius: 4px 10px 10px 4px;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.25), 0 10px 30px rgba(201, 151, 91, 0.2);
    position: relative;
    display: flex;
    perspective: 1000px;
    transition: var(--transition);
}

.book-placeholder:hover {
    transform: rotateY(-5deg) translateX(10px);
    box-shadow: 25px 25px 70px rgba(0,0,0,0.3), 0 15px 40px rgba(201, 151, 91, 0.3);
}

.book-spine {
    width: 30px;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.2) 100%);
    border-right: 1px solid rgba(255,255,255,0.1);
}

.book-front {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    color: white;
    text-align: center;
    border-left: 2px solid rgba(255,255,255,0.05);
    background: linear-gradient(135deg, rgba(201, 151, 91, 0.1) 0%, transparent 100%);
}

.book-title-small {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.book-author-small {
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.9;
    color: var(--accent-warm);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--bg-gradient-1);
    color: white;
    border: 1px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(26, 58, 82, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #c9975b 0%, #e8b67a 100%);
    border-color: var(--primary-accent);
    box-shadow: 0 6px 20px rgba(201, 151, 91, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Section Styling */
.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 15px;
}

.accent-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-accent) 0%, var(--accent-warm) 100%);
    margin-bottom: 30px;
}

.center .accent-line {
    margin-left: auto;
    margin-right: auto;
}

.lead {
    font-size: 1.4rem;
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.book-summary p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Author Section */
.author-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.author-photo-placeholder {
    width: 100%;
    padding-top: 125%; /* 4:5 Aspect Ratio */
    background: linear-gradient(135deg, #e8e6db 0%, #d4d0c4 100%);
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.author-photo-placeholder span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #9a9486;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.author-bio .section-title {
    font-size: 3.5rem;
    margin-bottom: 30px;
}

.author-bio p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Contact CTA Section */
.contact-cta {
    background: var(--bg-gradient-1);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 151, 91, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-cta .section-title {
    color: white;
}

.contact-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Footer */
.site-footer {
    padding: 80px 0 40px;
    background: linear-gradient(180deg, #f8f6f0 0%, #ede8db 100%);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-accent);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    color: #999;
    font-size: 0.85rem;
}

/* Form Input Focus States */
.modern-form input:focus,
.modern-form textarea:focus {
    outline: none;
    border-color: var(--primary-accent) !important;
    box-shadow: 0 0 0 3px rgba(201, 151, 91, 0.15);
}

.form-message.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 15px;
    border-radius: 4px;
}

.form-message.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 15px;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid, .author-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    
    .hero-text, .author-bio {
        margin: 0 auto;
    }
    
    .hero-actions {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .main-title {
        font-size: 3.5rem;
    }
    
    .book-placeholder {
        width: 300px;
        height: 430px;
    }
    
    .accent-line {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }
    
    .main-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .nav-container {
        padding: 20px 25px;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    /* Mobile Menu */
    .mobile-menu-toggle {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--primary-color);
        transition: right 0.3s ease;
        padding-top: 100px;
    }
    
    nav.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 30px;
        width: 100%;
        padding: 0 40px;
    }
    
    .nav-menu a {
        color: white;
        font-size: 1.2rem;
        display: block;
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-menu a:hover, .nav-menu a.active {
        color: var(--primary-accent);
    }
    
    .nav-menu a.active::after {
        display: none;
    }
    
    .hero-section {
        padding: 140px 0 70px;
    }
    
    .book-placeholder {
        width: 280px;
        height: 400px;
    }
    
    .book-title-small {
        font-size: 2rem;
    }
    
    .btn-secondary {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .main-title {
        font-size: 2.2rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
    }
    
    .book-placeholder {
        width: 240px;
        height: 340px;
    }
    
    .book-title-small {
        font-size: 1.6rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .author-bio .section-title {
        font-size: 2.5rem;
    }
    
    .contact-form-container {
        padding: 30px !important;
    }
    
    .form-row {
        grid-template-columns: 1fr !important;
    }
}
