:root {
    --primary-color: #5c1d1d; /* Deep Burgundy */
    --accent-color: #8b2626;
    --bg-color: #fcfaf7; /* Paper/Cream */
    --text-color: #2c2c2c;
    --text-muted: #555;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
}

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

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--primary-color);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.nav-content ul {
    display: flex;
    list-style: none;
}

.nav-content ul li {
    margin-left: 2rem;
}

.nav-content ul li a {
    text-decoration: none;
    color: var(--white);
    font-weight: 400;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.nav-content ul li a:hover {
    opacity: 0.7;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: #000;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('hero.png') no-repeat center center;
    background-size: cover;
    animation: kenBurns 20s infinite alternate;
    opacity: 0.6;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.8)),
                url('pattern.png') repeat;
    background-size: cover, 400px;
    mix-blend-mode: multiply;
    opacity: 0.4;
    z-index: 1;
}

@keyframes kenBurns {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 6rem;
    margin-bottom: 2rem;
    color: var(--white);
    letter-spacing: -2px;
    text-shadow: 0 4px 50px rgba(0,0,0,0.8), 0 2px 10px rgba(0,0,0,0.5);
    z-index: 2;
}

.tagline-bold {
    font-size: 1.8rem;
    font-weight: 300;
    color: #fcfaf7;
    font-family: 'Playfair Display', serif;
    line-height: 1.4;
    max-width: 800px;
    margin: 0 auto 3rem;
    text-shadow: 0 4px 40px rgba(0,0,0,0.9), 0 2px 10px rgba(0,0,0,0.6);
}

.tagline-bold span {
    font-weight: 700;
    color: var(--white);
    display: block;
    margin-top: 0.5rem;
    font-style: italic;
}.hero-cta {
    margin-top: 2rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    padding: 1.2rem 3rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
    display: inline-block;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--white);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--white), transparent);
    margin: 0.5rem auto 0;
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% { transform: translateY(0); opacity: 0; }
    50% { transform: translateY(10px); opacity: 1; }
    100% { transform: translateY(20px); opacity: 0; }
}

/* Animations upgrade */
.fade-in-up {
    animation: fadeInUp 1s ease-out both;
    animation-delay: 0.3s;
}

.fade-in-up-delayed {
    animation: fadeInUp 1s ease-out both;
    animation-delay: 0.8s;
}

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

/* Sections */
section {
    padding: 8rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-title.left {
    text-align: left;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 4rem;
    font-size: 1.1rem;
}

/* Review Grid */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.review-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card-image {
    height: 250px;
    position: relative;
    background: #eee;
}

.placeholder-img {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.genre-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--white);
}

.genre-tag.literary { background: #5a7d7c; }
.genre-tag.thriller { background: #3d3d3d; }
.genre-tag.romance { background: #9b5b6b; }

.card-body {
    padding: 2rem;
    position: relative;
}

.card-body::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: url('pattern.png') repeat-x;
    background-size: 20px;
    opacity: 0.3;
}

.date {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.card-body h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.author {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.rating {
    color: #f1c40f;
    margin-bottom: 1rem;
}

.excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* About Section */
.about-section {
    position: relative;
    background: linear-gradient(rgba(252, 250, 247, 0.96), rgba(252, 250, 247, 0.96)),
                url('pattern.png') repeat;
    background-size: cover, 300px;
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 20px 20px 0 var(--primary-color);
}

.about-text {
    flex: 1.2;
}

.bio-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* Policy Section */
.policy-section {
    background: #f4f1ed;
    position: relative;
    overflow: hidden;
}

.policy-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: url('pattern.png') repeat-y;
    background-size: 200px;
    opacity: 0.05;
    pointer-events: none;
}

.policy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.policy-item {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.policy-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s;
}

.policy-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.policy-item:hover::after {
    opacity: 1;
}

.policy-icon {
    width: 60px;
    height: 60px;
    background: #fdf2f2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.policy-item:hover .policy-icon {
    transform: scale(1.1) rotate(5deg);
}

.policy-item h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
}

.note-box {
    background: var(--white);
    padding: 2.5rem;
    border-left: 5px solid var(--primary-color);
    border-radius: 4px;
    box-shadow: var(--shadow);
}

/* Contact Section */
.contact-section {
    position: relative;
    background: linear-gradient(rgba(252, 250, 247, 0.96), rgba(252, 250, 247, 0.96)),
                url('pattern.png') repeat;
    background-size: cover, 300px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    position: relative;
    z-index: 2;
}

.contact-info p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.info-block p {
    margin-bottom: 0.8rem;
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form-row {
    display: flex;
    gap: 1rem;
}

input, select, textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 100%;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-submit {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.btn-submit:hover {
    background: var(--accent-color);
}

/* Footer */
footer {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--text-color);
    color: var(--white);
}

footer p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-delayed {
    animation: fadeIn 1s ease-out 0.5s both;
}

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

/* Responsive */
@media (max-width: 992px) {
    .about-flex, .contact-container {
        flex-direction: column;
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}
