@import url('https://fonts.googleapis.com/css2?family=Passions+Conflict&display=swap');

:root {
    --primary: #3a8b9b;
    --primary-light: #5ba9b8;
    --primary-dark: #2a6b7b;
    --accent: #ff6b6b;
    --accent-dark: #dc5858;
    --secondary: #f0f5f6;
    --text: #333;
    --text-light: #666;
    --white: #fff;
    --max-width: 1200px;
}

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

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

h1, h2, h3, h4 {
    font-family: 'Lora', serif;
    font-weight: 600;
    line-height: 1.3;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Tag */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 0.75rem;
    padding: 0.35rem 1rem;
    background: rgba(58, 139, 155, 0.1);
    border-radius: 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.25rem;
    color: var(--text);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text);
}

/* Hero Section */
 .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    gap: 4rem;
    background: fixed;
    padding: 8rem 2rem 4rem;
    margin: 0 auto;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('images/herobg.jpg');
  background-size: cover;
  background-position: center;
  justify-content: center;
} 

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(58, 139, 155, 0.1);
    border-radius: 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero p {
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    position: relative;
    width: 320px;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-card:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-card img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(58, 139, 155, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.btn-small {
    padding: 0.625rem 1.25rem;
    font-size: 0.75rem;
}

.btn-hero {
    padding: 1rem 2rem;
}

/* Featured Section */
.featured {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--secondary) 0%, #e8f0f1 100%);
}

.featured-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    align-items: center;
}

.featured-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.featured-content h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.featured-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    font-size: 0.95rem;
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.audience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tag {
    padding: 0.375rem 0.875rem;
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Books Section */
.books {
    padding: 6rem 0;
    background: var(--white);
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.book-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.book-image {
    position: relative;
    height: 350px;
    overflow: hidden;
    background: var(--secondary);
}

.book-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.book-card:hover .book-image img {
    transform: scale(1.05);
}

.book-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(58, 139, 155, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.book-card:hover .book-overlay {
    opacity: 1;
}

.coming-soon-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: var(--accent);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
}

.book-info {
    padding: 1.5rem;
}

.book-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.book-info > p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.book-meta {
    margin-bottom: 1.25rem;
}

.book-subtitle {
    font-size: 0.8rem;
    color: var(--primary);
    font-style: italic;
}

.book-actions {
    display: flex;
    gap: 0.75rem;
}

.book-actions .btn {
    padding: 0.625rem 1rem;
    font-size: 0.75rem;
}

.status-text {
    font-style: italic;
    color: var(--text-light);
}

/* Testimonial Section */
.testimonial {
    padding: 6rem 0;
    background: var(--primary);
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
}

.quote-icon {
    font-family: 'Lora', serif;
    font-size: 6rem;
    line-height: 1;
    opacity: 0.3;
    margin-bottom: -2rem;
}

.testimonial-card blockquote {
    font-family: 'Lora', serif;
    font-size: 1.75rem;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.testimonial-card cite {
    font-size: 0.95rem;
    opacity: 0.8;
    font-style: normal;
}

/* Reviews Section */
.reviews {
    padding: 6rem 0;
    background: var(--secondary);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
}

.reviewer-info strong {
    font-size: 0.95rem;
}

.reviewer-info span {
    font-size: 0.8rem;
    color: var(--text-light);
}

.review-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--white);
}

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

.about-image-wrapper {
    position: relative;
}

.about-image {
    position: relative;
    z-index: 2;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.about-decoration {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background: var(--primary);
    opacity: 0.1;
    border-radius: 12px;
    z-index: 1;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    color: var(--text);
}

.about-content p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

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

.service-card-highlight {
    border-color: var(--primary);
    position: relative;
}

.service-card-highlight::before {
    content: 'Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 0.75rem;
    background: var(--primary);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(58, 139, 155, 0.1);
    border-radius: 50%;
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-btn {
    width: 100%;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
}

.footer-brand p {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a:hover {
    color: var(--white);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    padding: 2rem;
    overflow-y: auto;
}

.modal-content {
    position: relative;
    background: var(--white);
    margin: 2rem auto;
    padding: 2.5rem;
    width: 100%;
    max-width: 480px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.close-modal {
    position: absolute;
    right: 1.25rem;
    top: 1rem;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--text);
}

.modal-form .form-group {
    margin-bottom: 1rem;
}

.modal-form input,
.modal-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #eee;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

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

.modal-form textarea {
    resize: vertical;
    min-height: 100px;
}

.modal-form .btn {
    width: 100%;
    margin-top: 0.5rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(51, 51, 51, 0.98);
    color: var(--white);
    padding: 1.25rem 2rem;
    z-index: 1500;
    backdrop-filter: blur(10px);
}

.cookie-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-content p {
    font-size: 0.9rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.btn-cookie {
    background: var(--white);
    color: var(--text);
    white-space: nowrap;
}

.btn-cookie:hover {
    background: var(--secondary);
    color: var(--text);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 7rem;
        min-height: auto;
    }

    .hero-content {
        order: 2;
    }

    .hero-visual {
        order: 1;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-card {
        transform: none;
        width: 260px;
    }

    .featured-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .featured-image {
        max-width: 350px;
        margin: 0 auto;
    }

    .feature-list li {
        justify-content: center;
    }

    .audience-tags {
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image-wrapper {
        max-width: 300px;
        margin: 0 auto;
    }

    .about-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        text-align: center;
        padding: 0.75rem 0;
    }

    .mobile-menu-btn {
        display: block;
    }

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

    .books-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 1rem 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .testimonial-card blockquote {
        font-size: 1.35rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }
}