:root {
            --grey-80: rgba(0, 0, 0, 0.8);
            --bg-light-blue: #e7f6f6;
            --border-red: rgba(255, 0, 0, 0.5);
            --hover-red: #CB3838;
        }
        
        html { scroll-behavior: smooth; }

        * { box-sizing: border-box; margin: 0; padding: 0; }

        body {
            background-color: var(--bg-light-blue);
            font-family: 'Lato', sans-serif;
            font-size: 16px;
            color: var(--grey-80);
            line-height: 1.6;
        }

h1 {
    font-family: 'Playfair Display', serif;
    color: var(--grey-80);
    text-transform: uppercase;
    letter-spacing: 1px;
}

h2 {
    font-family: 'Caudex', serif; /* Changed from Playfair Display to Caudex */
    color: var(--grey-80);
    text-transform: uppercase;
    letter-spacing: 1px;
}

        /* --- THE HEADER LAYOUT --- */
header {
    background-color: white;
    padding: 10px 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between; /* Spreads the three children out */
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    min-height: 110px;
}

/* These two classes ensure the menu stays perfectly centered */
.header-left, .header-right {
    flex: 1; /* These grow equally, forcing the nav to the center */
    display: flex;
    align-items: center;
}

.header-right {
    justify-content: flex-end; /* Pushes social icons to the far right */
}

/* Logo Size */
.logo img {
    height: 120px;
    width: auto;
    display: block;
}

/* Menu Styling */
.menu-list {
    list-style: none;
    display: flex;
    gap: 25px;
}

.menu-list a {
    text-decoration: none;
    color: var(--grey-80);
    font-weight: 700;
    font-family: 'Caudex', serif; /* Changed to Caudex */
    font-size: 15px;             /* Increased slightly for readability */
    letter-spacing: 0.5px;       /* Adds a touch of elegance */
    transition: color 0.3s ease;
}

.menu-list a:hover {
    color: #CB3838;
}

/* Social Icons Styling */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: rgba(0, 0, 0, 0.8);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #CB3838;
}


/* --- STICKY TOP BUTTON --- */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background-color: white;
            color: var(--grey-80);
            border: 1px solid var(--border-red);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            text-decoration: none;
            z-index: 1001;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }

        .back-to-top:hover {
            background-color: var(--hover-red);
            color: white;
            transform: translateY(-5px);
        }

        /* --- MAIN LAYOUT --- */
        main {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 60px 20px;
            gap: 40px;
        }

        .content-card {
            background-color: white;
            border: 1px solid var(--border-red);
            border-radius: 20px;
            max-width: 1100px;
            width: 100%;
            overflow: hidden;
        }

        /* --- EXCERPT SPECIFIC STYLES --- */
        .excerpt-container { padding: 60px; }
        .excerpt-container h2 { text-align: center; margin-bottom: 30px; font-size: 1.8rem; }
        .excerpt-container p { margin-bottom: 20px; text-align: justify; }
        
        /* Poetry Styling */
        .poetry {
            font-style: italic;
            display: block;
            margin: 25px auto;
            padding-left: 40px;
            line-height: 1.8;
            color: #444;
        }

        .divider {
            text-align: center;
            font-size: 2rem;
            letter-spacing: 10px;
            margin: 40px 0;
            color: var(--grey-80);
        }

        /* --- TOP PANEL --- */
        .hero-flex { display: flex; }
        .hero-left { flex: 1; }
        .hero-left img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .hero-right {
            flex: 1;
            padding: 50px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .hero-right h1 { font-size: 2.8rem; line-height: 1.1; margin: 0; }
        .sub-heading { margin: 10px 0 20px 0; font-style: italic; text-align: center; }

        .book-preview {
            margin: 15px 0;
            padding: 15px 0;
            border-top: 1px solid #f0f0f0;
            border-bottom: 1px solid #f0f0f0;
        }

        .book-preview ul {
            margin-left: 20px;
            margin-top: 8px;
        }

        /* --- ABOUT BOOK SECTION --- */
        .section-title { text-align: center; margin-top: 20px; font-size: 2rem; }
        .about-text-container { padding: 60px; }
        .about-text-container h2 { font-size: 1.5rem; margin-bottom: 25px; text-align: center; }
        .about-text-container p { margin-bottom: 20px; text-align: justify; }

         /* --- EXCERPTS (PROTECTED) --- */
        .excerpt-container { 
            padding: 60px; 
            /* Prevention of text selection */
            -webkit-user-select: none; /* Safari */
            -ms-user-select: none;     /* IE 10 and 11 */
            user-select: none;         /* Standard syntax */
        }
        .excerpt-container h2 { text-align: center; margin-bottom: 30px; font-size: 1.8rem; }
        .excerpt-container p { margin-bottom: 20px; text-align: justify; }
        .poetry { font-style: italic; display: block; margin: 25px auto; padding-left: 40px; line-height: 1.8; color: #444; }
        .divider { text-align: center; font-size: 2rem; letter-spacing: 10px; margin: 40px 0; color: var(--grey-80); }

        /* --- AUTHOR'S CREDO --- */
        .credo-container { padding: 120px 60px; } /* Increased vertical padding */
        .credo-text { font-size: 1.8rem; text-align: center; font-family: 'Playfair Display', serif; font-style: italic; }


       /* GLOBAL BUTTON STYLE */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 35px;
    text-decoration: none;
    border-radius: 25px; /* Your requested 25px rounding */
    font-family: 'Caudex', serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--border-red); /* Consistent border for all */
}

/* Primary style (Solid) */
.btn-primary {
    background-color: #e0e0e0;
    color: var(--grey-80);
}

.btn-primary:hover {
    background-color: var(--hover-red);
    color: white;
    transform: translateY(-2px);
}

/* Secondary style (Hollow/Transparent) */
.btn-outline {
    background-color: transparent;
    color: var(--grey-80);
}

.btn-outline:hover {
    background-color: var(--hover-red);
    color: white;
    transform: translateY(-2px);
}
   

        /* --- UPDATED FOOTER LAYOUT --- */
footer { 
    background-color: white; 
    padding: 30px 40px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    border-top: 1px solid rgba(0,0,0,0.05);
    margin-top: 40px;
}

/* Give the left and right footer sections equal weight to keep the center nav centered */
.footer-left, .footer-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.footer-right {
    justify-content: flex-end; /* Pushes social icons to the far right */
}

/* Ensure footer nav stays in one row */
footer .menu-list {
    flex: 2; /* Gives the middle nav a bit more room */
    justify-content: center;
    margin: 0;
}

/* Copyright font styling */
.copyright {
    font-size: 13px;
    color: var(--grey-80);
    white-space: nowrap; /* Prevents the copyright from breaking into two lines */
}

.social-links { display: flex; gap: 20px; }
.social-links a { color: var(--grey-80); font-size: 1.5rem; transition: color 0.3s; }
.social-links a:hover { color: var(--hover-red); }

@media (max-width: 900px) {
   .hero-flex { flex-direction: column; }
   .excerpt-container, .credo-container { padding: 40px 20px; }
   .footer-top { flex-direction: column; gap: 20px; text-align: center; }
   .menu-list { flex-wrap: wrap; justify-content: center; gap: 15px; }
        }

/* Prevent text selection */
.non-copyable {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none;     /* IE 10 and 11 */
    user-select: none;         /* Standard syntax */
}

/* Center-aligning poetry text - Forced */
.poem-text {
    text-align: center !important; /* The !important ensures it overrides parent containers */
    font-family: 'Caudex', serif;
    line-height: 1.8;
    margin: 0 auto;
    width: 100%;
}

/* Ensure the paragraphs inside the poem-text are also centered */
.poem-text p {
    text-align: center !important;
    margin-bottom: 25px;
}

/* Keep the titles (H2) centered too */
.content-card h2 {
    text-align: center;
    margin-bottom: 30px;
}

/* Optional: Italicizing the Landai source/intro text */
.poem-meta {
    text-align: center;
    font-style: italic;
    color: var(--grey-80);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto 30px auto;
    font-size: 0.95rem;
}

/* Responsive Video Container */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 30px 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Subscribe Form Styling */
.subscribe-form {
    text-align: left; /* Labels look better left-aligned */
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: 'Caudex', serif;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--grey-80);
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #CB3838; /* Uses your signature red on focus */
}

