/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header Styles */
.header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-lines {
    display: flex;
    gap: 3px;
    align-items: flex-end;
}

.logo-lines .line {
    background-color: #000;
    width: 4px;
}

.logo-lines .line:nth-child(1) { height: 30px; }
.logo-lines .line:nth-child(2) { height: 40px; }
.logo-lines .line:nth-child(3) { height: 35px; }
.logo-lines .line:nth-child(4) { height: 45px; }
.logo-lines .line:nth-child(5) { height: 25px; }

.nav-menu {
    display: flex;
    gap: 30px;
    flex: 1;
    justify-content: center;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    font-weight: 400;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #4a90e2;
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.newsletter-btn {
    background-color: #4caf50;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.newsletter-btn:hover {
    background-color: #45a049;
}

.search-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #333;
    padding: 8px;
    transition: color 0.3s;
}

.search-btn:hover {
    color: #4a90e2;
}

/* Hero Section */
.hero-section {
    position: relative;
    margin-bottom: 60px;
}

.hero-carousel {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    display: none;
    padding: 60px 0;
}

.hero-slide.active {
    display: block;
}

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

.hero-image {
    position: relative;
}

.hero-image-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 20px;
    position: relative;
}

.image-label {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #000;
}

.hero-text p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-button {
    background-color: #4caf50;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #45a049;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    z-index: 10;
}

.carousel-btn:hover {
    background-color: rgba(0,0,0,0.7);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #000;
}

.view-all-link {
    color: #4a90e2;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.view-all-link:hover {
    text-decoration: underline;
}

/* New Releases Section */
.new-releases-section {
    padding: 60px 0;
    background-color: #fafafa;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 30px;
}

.book-card {
    cursor: pointer;
    transition: transform 0.3s;
}

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

.book-cover {
    width: 100%;
    height: 270px;
    border-radius: 4px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.book-title-small {
    font-size: 12px;
    font-weight: 700;
    color: #333;
    text-align: center;
    padding: 10px;
}

.book-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #000;
}

.book-author {
    font-size: 14px;
    color: #666;
}

/* Reader Section */
.reader-section {
    padding: 60px 0;
    background-color: #fafafa;
}

.reader-articles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.reader-article h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #000;
    line-height: 1.3;
}

.reader-article p {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.article-author {
    font-size: 14px;
    color: #999;
    font-style: italic;
}

/* News Section */
.news-section {
    padding: 60px 0;
}

.news-item {
    background-color: #ff6b35;
    color: #fff;
    padding: 40px;
    border-radius: 8px;
    max-width: 600px;
}

.news-badge {
    display: inline-block;
    background-color: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}

.news-item h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.news-item p {
    font-size: 16px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.news-date {
    font-size: 14px;
    opacity: 0.8;
}

/* Instagram Section */
.instagram-section {
    padding: 60px 0;
    background-color: #fafafa;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.instagram-item {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.instagram-item:hover {
    transform: scale(1.05);
}

.instagram-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.load-more-btn {
    background-color: #666;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.load-more-btn:hover {
    background-color: #555;
}

.follow-btn {
    background-color: #E4405F;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s;
}

.follow-btn:hover {
    background-color: #C13584;
}

/* Newsletter Section */
.newsletter-section {
    padding: 60px 0;
    text-align: center;
}

.newsletter-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
}

.newsletter-section p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.newsletter-form input {
    padding: 12px 15px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #4a90e2;
}

.submit-btn {
    width: 100%;
    background-color: #4caf50;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #45a049;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.footer-logo .logo-lines .line {
    background-color: #fff;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-top: 40px;
    border-top: 1px solid #333;
    margin-bottom: 30px;
}

.footer-bottom-left {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-address h4,
.footer-contact h4,
.footer-bottom-right h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.footer-address p {
    font-size: 14px;
    color: #ccc;
    line-height: 1.8;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #ccc;
    font-size: 20px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #fff;
}

.footer-copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
}

.footer-copyright p {
    font-size: 14px;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }

    .nav-menu {
        order: 3;
        width: 100%;
        margin-top: 15px;
        flex-wrap: wrap;
        gap: 15px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-image-placeholder {
        height: 300px;
    }

    .books-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 20px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
    }

    .footer-bottom-left {
        grid-template-columns: 1fr;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }
}

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

    .hero-text h1 {
        font-size: 24px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .books-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Contact Page Styles */
.contact-hero {
    background-color: #fafafa;
    padding: 80px 0 60px;
    text-align: center;
}

.contact-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
}

.contact-hero p {
    font-size: 18px;
    color: #666;
}

.contact-section {
    padding: 60px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2,
.contact-form-wrapper h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #000;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: #4caf50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-text h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #000;
}

.contact-text p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

.contact-text a {
    color: #4a90e2;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-text a:hover {
    color: #357abd;
    text-decoration: underline;
}

.contact-hours {
    padding: 25px;
    background-color: #f5f5f5;
    border-radius: 8px;
    margin-bottom: 30px;
}

.contact-hours h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #000;
}

.contact-hours p {
    font-size: 15px;
    color: #666;
}

.social-contact h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #000;
}

.social-icons-contact {
    display: flex;
    gap: 15px;
}

.social-icons-contact a {
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: background-color 0.3s, transform 0.3s;
}

.social-icons-contact a:hover {
    background-color: #4a90e2;
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background-color: #fafafa;
    padding: 40px;
    border-radius: 8px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    font-size: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a90e2;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit-btn {
    background-color: #4caf50;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.contact-submit-btn:hover {
    background-color: #45a049;
}

/* Contact Page Responsive */
@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 36px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }
}

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

    .contact-hero h1 {
        font-size: 28px;
    }

    .contact-info h2,
    .contact-form-wrapper h2 {
        font-size: 24px;
    }

    .contact-item {
        flex-direction: column;
        gap: 15px;
    }
}

/* About Page Styles */
.about-hero {
    background-color: #fafafa;
    padding: 80px 0 60px;
    text-align: center;
}

.about-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
}

.hero-subtitle {
    font-size: 20px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.about-content-section {
    padding: 60px 0;
}

.about-intro {
    margin-bottom: 60px;
    text-align: center;
}

.about-intro h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
}

.intro-text {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

.about-section {
    margin-bottom: 80px;
}

.about-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #000;
}

.about-section p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.key-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.key-area-card {
    background-color: #fafafa;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.key-area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.key-area-icon {
    width: 60px;
    height: 60px;
    background-color: #4caf50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 24px;
}

.key-area-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #000;
}

.key-area-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

.history-timeline {
    margin-top: 40px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e0e0e0;
}

.timeline-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.timeline-year {
    font-size: 24px;
    font-weight: 700;
    color: #4caf50;
}

.timeline-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #000;
}

.timeline-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

.timeline-content em {
    font-style: italic;
    color: #333;
}

.about-stats {
    background-color: #fafafa;
    padding: 60px 40px;
    border-radius: 8px;
    margin: 60px 0;
    text-align: center;
}

.about-stats h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #000;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #4caf50;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.leadership-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.leadership-link {
    display: inline-block;
    padding: 12px 24px;
    background-color: #4caf50;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.leadership-link:hover {
    background-color: #45a049;
}

.about-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 60px 40px;
    border-radius: 8px;
    text-align: center;
    margin-top: 60px;
}

.about-cta h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.about-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.about-cta .cta-button {
    background-color: #fff;
    color: #667eea;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.about-cta .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* About Page Responsive */
@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .about-intro h2 {
        font-size: 28px;
    }

    .about-section h2 {
        font-size: 28px;
    }

    .key-areas-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .timeline-year {
        font-size: 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-number {
        font-size: 36px;
    }

    .leadership-links {
        flex-direction: column;
    }

    .about-cta {
        padding: 40px 20px;
    }
}

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

    .about-hero h1 {
        font-size: 28px;
    }

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

    .about-cta h2 {
        font-size: 24px;
    }
}

