/* Base Styles */
:root {
    --primary-color: #800020; /* Burgundy */
    --secondary-color: #a84d4d; /* Lighter burgundy */
    --accent-color: #d4af37; /* Gold accent */
    --dark-color: #4a0012; /* Darker burgundy */
    --light-color: #FDFFF5; /* Off-white */
    --text-color: #333;
    --light-gray: #f8f9f3; /* Lighter off-white */
    --medium-gray: #e8e9e4; /* Medium off-white */
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--dark-color);
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style-type: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #FDFFF5;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--dark-color);
    color: #FDFFF5;
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: var(--light-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.center {
    text-align: center;
    margin: 30px 0;
}

section {
    padding: 60px 0;
}

/* Header Styles */
header {
    background-color: var(--light-color);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(128, 0, 32, 0.8), rgba(128, 0, 32, 0.8)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-color);
    text-align: center;
    padding: 120px 0;
}

.hero2 {
    background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url('../images/hero2-bg.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 120px 0;
    color: var(--dark-color);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--light-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero2 h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero2 p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Featured Section */
.featured h2, .journal-preview h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.book-card {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.book-card:hover {
    transform: translateY(-10px);
}

.book-cover {
    height: 400px;
    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-info {
    padding: 20px;
}

.book-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.book-info .author {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
}

.book-info .genre {
    background-color: var(--light-gray);
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.book-info p {
    margin-bottom: 20px;
}

.book-info .btn {
    padding: 8px 15px;
    font-size: 0.9rem;
}

/* Journal Preview Section */
.journal-preview {
    background-color: var(--light-gray);
}

.journal-content {
    background-color: var(--light-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.journal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.journal-title {
    flex: 1;
}

.journal-title h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.journal-title .issue {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.journal-cover {
    width: 200px;
    height: 280px;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
}

.journal-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.journal-excerpt {
    margin-bottom: 30px;
}

.featured-articles h4 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.article-list {
    list-style: disc;
    padding-left: 20px;
}

.article-list li {
    margin-bottom: 10px;
}

.article-list li a:hover {
    text-decoration: underline;
}

/* Newsletter Section */
.newsletter {
    background-color: var(--primary-color);
    color: var(--light-color);
    text-align: center;
}

.newsletter h2 {
    color: var(--light-color);
}

.newsletter form {
    display: flex;
    max-width: 600px;
    margin: 30px auto 0;
}

.newsletter input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-size: 1rem;
}

.newsletter .btn {
    border-radius: 0 5px 5px 0;
    background-color: var(--accent-color);
    padding: 0 25px;
}

.newsletter .btn:hover {
    background-color: var(--dark-color);
}

/* Footer Styles */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--light-color);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-section p {
    color: var(--light-color);
    margin-bottom: 15px;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--light-color);
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    color: var(--light-color);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Page Banner */
.page-banner {
    background-color: var(--primary-color);
    color: var(--light-color);
    text-align: center;
    padding: 60px 0;
}

.page-banner h1 {
    color: var(--light-color);
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.page-banner p {
    position: relative;
    z-index: 1;
}

/* Books Section */
.filter-options {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: #FDFFF5;
}

/* Book Detail Styles */
.book-detail {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.book-detail-cover {
    position: relative;
}

.book-detail-cover img {
    width: 100%;
    box-shadow: var(--box-shadow);
    border-radius: 10px;
}

.book-detail-info h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.book-detail-info .author {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.book-meta {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    gap: 20px;
}

.book-meta-item {
    display: flex;
    align-items: center;
}

.book-meta-item i {
    color: var(--primary-color);
    margin-right: 10px;
}

.book-description {
    margin-bottom: 30px;
}

.book-cta {
    display: flex;
    gap: 15px;
}

/* Journal Section */
.journal-section .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.journal-meta {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.journal-info {
    margin: 20px 0;
}

.previous-editions ul li {
    margin-bottom: 10px;
    border-bottom: 1px solid var(--medium-gray);
    padding-bottom: 10px;
}

.previous-editions ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* About Section */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content h2 {
    margin-top: 40px;
    font-size: 1.8rem;
}

.about-content p, .about-content ul {
    margin-bottom: 20px;
}

.about-content ul {
    list-style: disc;
    padding-left: 20px;
}

.about-content ul li {
    margin-bottom: 10px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.team-member {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: center;
    margin-top: 20px;
}

.team-photo {
    height: 250px;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 20px;
}

.team-info h3 {
    margin-bottom: 5px;
}

.team-info .position {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
    display: block;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.team-social a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--dark-color);
    transition: var(--transition);
}

.team-social a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-details {
    margin: 30px 0;
}

.contact-item {
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
    flex-shrink: 0;
}

.contact-item h3 {
    margin-bottom: 5px;
}

.contact-form {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(128, 0, 32, 0.2);
}

.map-section {
    background-color: var(--light-gray);
}

.map-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 1.5rem;
}

.map-container iframe {
    display: block;
}

@media (max-width: 768px) {
    .map-container iframe {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .map-container iframe {
        height: 300px;
    }
}

.authors-intro {
    margin-bottom: 40px;
}

.authors-intro p {
    margin-bottom: 15px;
}

@import url('responsive.css');
.consultation-section {
    padding-bottom: 0;
}

.consultation-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.service-card h3 {
    margin-bottom: 15px;
}

.consultation-process {
    background-color: var(--light-gray);
    padding: 60px 0;
    margin-bottom: 60px;
}

.consultation-process h2 {
    text-align: center;
    margin-bottom: 40px;
}

.process-steps {
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-bottom: 10px;
}

.consultation-cta {
    text-align: center;
    margin-bottom: 60px;
}

.consultation-cta h2 {
    margin-bottom: 15px;
}

.consultation-cta p {
    margin-bottom: 25px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.consultation-form-section {
    background-color: var(--light-gray);
    padding: 60px 0;
}

.consultation-form-section .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.form-container {
    background-color: var(--light-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.form-container h2 {
    margin-bottom: 15px;
}

.form-container > p {
    margin-bottom: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.full-width {
    grid-column: 1 / -1;
}

.form-services {
    margin-bottom: 30px;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
}

.testimonials {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    align-self: start;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 30px;
}

.testimonial {
    padding: 20px;
    border-left: 3px solid var(--primary-color);
    margin-bottom: 30px;
}

.testimonial:last-child {
    margin-bottom: 0;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial .author {
    font-weight: bold;
    color: var(--primary-color);
}

@media screen and (max-width: 992px) {
    .consultation-form-section .container {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
}

/* Author's Guide Page Styles */
.authors-guide-hero {
    background: linear-gradient(rgba(72, 0, 18, 0.85), rgba(72, 0, 18, 0.85)), url('../images/writing-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-color);
    padding: 100px 0;
    text-align: center;
}

.authors-guide-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.authors-guide-hero .tagline {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.authors-guide-content {
    padding: 60px 0;
    background-color: var(--light-color);
}

.authors-guide-content .container {
    max-width: 900px;
}

.guide-intro, .guide-who, .guide-cta {
    margin-bottom: 60px;
    padding: 40px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.guide-intro h2, .guide-who h2, .guide-cta h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.guide-intro h3, .guide-who h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.guide-intro p, .guide-who p, .guide-cta p {
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.quote-box {
    background-color: var(--light-gray);
    padding: 30px;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
    margin: 30px 0;
}

.quote-box ul {
    margin: 15px 0;
    padding-left: 20px;
}

.quote-box li {
    margin-bottom: 10px;
    font-style: italic;
    list-style: none;
    position: relative;
    padding-left: 20px;
}

.quote-box li:before {
    content: "* ";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.checklist {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 30px 0;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.check-item i {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-top: 3px;
}

.check-item p {
    margin: 0;
}

.guide-cta {
    text-align: center;
    background: linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.95)), url('../images/book-cover-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 50px 40px;
}

.download-form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 30px auto 0;
    gap: 15px;
}

.email-input-container {
    position: relative;
    width: 100%;
}

.email-input-container input {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--medium-gray);
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--light-color);
    color: var(--text-color);
}

.email-input-container input:focus {
    border-color: #d4af37;
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.email-input-container input.valid {
    border-color: #4CAF50;
}

.email-input-container input.invalid {
    border-color: #F44336;
}

.email-validation-message {
    position: absolute;
    left: 0;
    bottom: -20px;
    color: #F44336;
    font-size: 0.8rem;
    display: none;
}

.download-btn {
    margin-top: 5px;
    padding: 15px 40px;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    background-color: #d4af37; /* Gold color */
    color: var(--dark-color);
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid #d4af37;
    justify-content: center;
    width: 100%;
}

.download-btn:hover {
    background-color: var(--dark-color);
    color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: var(--dark-color);
}

.download-btn.disabled {
    background-color: var(--medium-gray);
    color: var(--text-color);
    cursor: not-allowed;
    border-color: var(--medium-gray);
    opacity: 0.7;
}

.download-btn.disabled:hover {
    background-color: var(--medium-gray);
    color: var(--text-color);
    transform: none;
    box-shadow: none;
    border-color: var(--medium-gray);
}

.download-note {
    margin-top: 10px;
    color: var(--dark-color);
    font-weight: 500;
    font-style: normal;
}

.consent-text {
    margin-top: 10px;
    color: var(--secondary-color);
    text-align: center;
    font-style: italic;
}

.download-notification {
    margin-top: 15px;
    padding: 12px 15px;
    background-color: #4CAF50;
    color: white;
    border-radius: 5px;
    text-align: center;
    font-size: 0.9rem;
    display: none;
    animation: fadeIn 0.3s ease-in-out;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 400px;
    z-index: 1010;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.download-notification i {
    margin-right: 8px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Media Queries for Author's Guide Page */
@media screen and (max-width: 768px) {
    .authors-guide-hero h1 {
        font-size: 2rem;
    }
    
    .authors-guide-hero .tagline {
        font-size: 1rem;
    }
    
    .guide-intro, .guide-who, .guide-cta {
        padding: 30px 20px;
    }
    
    .guide-intro h2, .guide-who h2, .guide-cta h2 {
        font-size: 1.5rem;
    }
}