/* Base Styles */
:root {
    --primary-color: #2c3e50;
    --text-color: #333;
    --background: #f5f6fa;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: #fff;
    color: #2c3e50;
    line-height: 1.6;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

h1 {
    font-size: 55px;
    line-height: 1.4;
}

/* Header */
.site-header {
    padding: 30px 0;
    text-align: center;
    border: none;
}

.site-header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 400;
    color: #000;
}

.main-nav {
    width: 100%;
  }

.main-nav ul {
    display: flex;
    list-style: none;
    justify-content: space-between;
}

.main-nav a {
    text-decoration: none;
    color: #666;
    font-size: 16px;
    transition: color 0.3s;
}

@media (max-width: 768px) {
  .main-nav a {
    font-size: 12px !important;
  }
}

.main-nav a:hover,
.main-nav a.active {
    color: #000;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

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

.hero-content p {
    margin: 20px 0 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 0;
}

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

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

/* Features Section */
.features {
    padding: 80px 0;
    background: #f9f9f9;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.feature-item h3 {
    font-size: 30px;
    margin-bottom: 10px;
}

/* Footer */
.site-footer {
    background: #2c3e50;
    color: #fff;
    padding: 60px 0 20px;
}

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

.footer-links ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 40px;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links ul {
        text-align: center;
    }
} 

header {
    background: #2c3e50;
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.book-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
}

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

.book-cover {
    margin-bottom: 1rem;
}


@media (max-width: 768px) {
  .book-cover {
    margin-bottom: 0;
}
}

.book-cover img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.book-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.book-card p {
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .books-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

.pdf-viewer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
}

.pdf-viewer.active {
    display: block;
}

.pdf-header {
    padding: 1rem;
    text-align: right;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

#pdf-frame {
    width: 100%;
    height: calc(100% - 60px);
    border: none;
}

/* Add these styles before your existing CSS */
.site-header {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 400;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #000;
}

.hero {
    padding: 80px 0;
    background: white;
}

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

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 30px;
    line-height: 1.2;
}

.main-text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
}

@media (max-width: 768px) {
  .main-text {
    font-size: 14px;
  }
}

.secondary-text {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
}


@media (max-width: 768px) {
  .secondary-text {
    font-size: 14px;
  }
}

.read-more {
    display: inline-block;
    background: #2c3e50;
    color: #fff;
    text-decoration: none;
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.read-more:hover {
    background: #333;
}

.book-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.book-image img {
    max-width: 400px;
    height: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);

    @media (max-width: 768px) {
      max-width: 300px;
    }
}

@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h2 {
        font-size: 36px;
    }
}

/* Add these styles */
.books-section {
    padding: 80px 0;
}

@media (max-width: 768px) {
  .books-section {
    padding: 0px 0 40px;
}
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 50px;
    color: #000;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

/* Update existing book card styles */
.book-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

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

.book-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin: 15px 0 10px;
    color: #000;
}

.book-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.buy-button {
    display: inline-block;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    text-decoration: none;
    margin-top: 1rem;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.buy-button:hover {
    background-color: #1e2a37;
}

@media (max-width: 768px) {
    .books-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 15px;
    }

    .book-card {
        display: flex;
        gap: 15px;
        padding: 15px;
        align-items: flex-start;
    }

    .book-cover {
        width: 100px;
        flex-shrink: 0;
    }

    .book-cover img {
        width: 100%;
        height: auto;
        display: block;
    }

    .book-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }

    .book-card h3,
    .book-card h2 {
        font-size: 20px;
        margin: 0;
    }

    .book-card p {
        font-size: 12px;
        margin: 0;
    }

    .buy-button {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
        width: fit-content;
        margin-bottom: 5px;
    }
}

.footer-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-info p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.footer-social ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.footer-social a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: #fff;
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .footer-social ul {
        justify-content: center;
    }
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}
.visit-counter p {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.visit-counter img {
    vertical-align: middle;
}

@media (max-width: 768px) {
    .visit-counter {
        padding: 15px 0;
    }
    .visit-counter p {
        font-size: 16px;
    }
}

.visit-counter {
    margin-top: 15px;
    text-align: center;
}

.visit-counter img {
    height: 20px;
}

@media (max-width: 768px) {
    .visit-counter {
        margin-top: 10px;
    }
}
