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

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #111;
}

/* NAVBAR */
.header {
    position: sticky;
    top: 0;
    background: white;
    border-bottom: 1px solid #eee;
    z-index: 1000;
}

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

#welcome {
    margin-top: 40px; 
}

.nav {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    position: relative;
    text-decoration: none;
    color: #111;
    font-weight: 400;
    transition: color 0.3s ease;
}

/* Hover color */
.nav-links a:hover {
    color: #101ca6;
}


/* Active page (the one you're on) */
nav .nav-links a.active {
    color: #101ca6;
    font-weight: 500;
}

/* Keep underline visible for active */ 

/* Underline animation */
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #111;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
} 


.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

img {
    max-width: 100%;
    height: auto;
} 

/* HERO */
.hero {
    max-width: 1200px;
    margin: auto;
    padding: 80px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
}

.subtitle {
    margin-top: 10px;
    color: #555;
}

.author {
    margin-top: 5px;
    font-size: 0.9rem;
}

.author-story {
    max-width: 900px;
    margin: auto;
    padding: 100px 20px;
    text-align: center;
}

.author-story h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-family: 'Playfair Display', serif;
}

.author-story p {
    line-height: 1.9;
    color: #555;
    margin-bottom: 20px;
} 

.hero-image img {
    width: 100%;
    max-width: 350px;
}

.sidebar {
    display:none;
}

/* BUTTONS */
.btn-primary {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: #111;
    color: white;
    text-decoration: none;
}

.btn-secondary {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    border: 1px solid #111;
    text-decoration: none;
    color: #111;
}


/* FEATURED */
.featured {
    max-width: 1000px;
    margin: auto;
    padding: 60px 20px;
    text-align: center;
}

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

/* FOOTER */
footer {
    margin-top: 50px;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #eee;
}

/* ANIMATIONS */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

.about-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
} 

.about-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin: 15px 0;
}

.about-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.about-content p {
    line-height: 1.9;
    color: #555;
    margin-bottom: 20px;
}

.about-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
} 

/* HIGHLIGHTS */

.highlights {
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.highlight-card {
    background: #fafafa;
    padding: 40px 30px;
    border-radius: 18px;
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

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

.highlight-card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
} 

/* QUOTE */

.quote-section {
    padding: 120px 20px;
    background: #111;
    color: white;
    text-align: center;
}

.quote-section blockquote {
    max-width: 850px;
    margin: auto;
    font-size: 2rem;
    line-height: 1.6;
    font-family: 'Playfair Display', serif;
} 

.about-hero {
    max-width: 1200px;
    margin: auto;
    padding: 100px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    text-align: center; 
} 


/* MOBILE */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    #front {
        margin-bottom: 20px; 
    }

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

    .nav-links {
        display: none;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 70px;
        right: 20px;
        padding: 15px;
        border: 1px solid #eee;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .sidebar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100%;
        background: white;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1001;
    }

    .content {
    text-align: center;  
} 

#welcome {
    margin-bottom: 20px; 
}



/* ABOUT PAGE */

.about-hero {
    max-width: 1200px;
    margin: auto;
    padding: 100px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.small-heading {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: #777;
}

.about-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin: 15px 0;
}

.about-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.about-content p {
    line-height: 1.9;
    color: #555;
    margin-bottom: 20px;
}

.about-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* HIGHLIGHTS */

.highlights {
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.highlight-card {
    background: #fafafa;
    padding: 40px 30px;
    border-radius: 18px;
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

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

.highlight-card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* QUOTE */

.quote-section {
    padding: 120px 20px;
    background: #111;
    color: white;
    text-align: center;
}

.quote-section blockquote {
    max-width: 850px;
    margin: auto;
    font-size: 2rem;
    line-height: 1.6;
    font-family: 'Playfair Display', serif;
}

/* STORY */

.author-story {
    max-width: 900px;
    margin: auto;
    padding: 100px 20px;
    text-align: center;
}

.author-story h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-family: 'Playfair Display', serif;
}

.author-story p {
    line-height: 1.9;
    color: #555;
    margin-bottom: 20px;
}
} 

/* MOBILE */

@media (max-width: 768px) {

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

    

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

    .about-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .quote-section blockquote {
        font-size: 1.5rem;
    }
} 


/* CONTACT PAGE */

.contact-hero {
    max-width: 900px;
    margin: auto;
    padding: 120px 20px 70px;
    text-align: center;
}

.contact-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin: 15px 0;
}

.contact-intro {
    max-width: 700px;
    margin: auto;
    color: #555;
    line-height: 1.9;
    font-size: 1.1rem;
}

/* CONTACT LAYOUT */

.contact-wrapper {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px 100px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: start;
}

/* INFO SIDE */

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-card {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 35px 30px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.05);
}

.contact-card h3 {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.contact-card p {
    color: #555;
    line-height: 1.8;
}

/* FORM */

.contact-form-container {
    background: white;
    border: 1px solid #eee;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

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

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

.form-group label {
    margin-bottom: 10px;
    font-size: 0.95rem;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid #ddd;
    border-radius: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #101ca6;
    background: white;
    box-shadow: 0 0 0 4px rgba(16, 28, 166, 0.08);
}

/* BUTTON */

.contact-form .btn-primary {
    border: none;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.contact-form .btn-primary:hover {
    background: #101ca6;
    transform: translateY(-2px);
}

/* QUOTE */

.contact-quote {
    background: #111;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.contact-quote blockquote {
    max-width: 800px;
    margin: auto;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    line-height: 1.6;
}

/* MOBILE */

@media (max-width: 768px) {

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

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 35px 25px;
    }

    .contact-quote blockquote {
        font-size: 1.4rem;
    }
} 

/* SHOP PAGE */

.shop-hero {
    max-width: 900px;
    margin: auto;
    padding: 120px 20px 70px;
    text-align: center;
}

.shop-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin: 15px 0;
}

.shop-intro {
    max-width: 700px;
    margin: auto;
    color: #555;
    line-height: 1.9;
    font-size: 1.1rem;
}

/* BOOK SECTION */

.shop-book-section {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px 100px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.shop-book-image {
    text-align: center;
}

.shop-book-image img {
    width: 100%;
    max-width: 380px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.shop-book-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin: 15px 0 25px;
}

.shop-book-content p {
    color: #555;
    line-height: 1.9;
    margin-bottom: 20px;
}

/* META */

.book-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.meta-item {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 25px;
}

.meta-item strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1rem;
}

.meta-item span {
    color: #666;
    font-size: 0.95rem;
}

/* STORES */

.stores-section {
    max-width: 1200px;
    margin: auto;
    padding: 20px 20px 100px;
    text-align: center;
}

.stores-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.7rem;
    margin-bottom: 50px;
}

.stores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.store-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 40px 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #111;
}

.store-card:hover {
    transform: translateY(-6px);
    border-color: #101ca6;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.store-card h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.store-card p {
    color: #666;
    line-height: 1.7;
}

/* CTA */

.shop-cta {
    background: #111;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.shop-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.shop-cta p {
    max-width: 700px;
    margin: auto;
    line-height: 1.9;
    color: rgba(255,255,255,0.8);
}

.shop-cta .btn-primary {
    margin-top: 35px;
    background: white;
    color: #111;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.shop-cta .btn-primary:hover {
    background: #101ca6;
    color: white;
}

/* MOBILE */

@media (max-width: 768px) {

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

    .shop-book-section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .shop-book-content h2 {
        font-size: 2.2rem;
    }

    .book-meta {
        grid-template-columns: 1fr;
    }

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

    .stores-section h2 {
        font-size: 2.2rem;
    }

    .shop-cta h2 {
        font-size: 2rem;
    }
} 


/* BOOKS PAGE */

.books-hero {
    max-width: 900px;
    margin: auto;
    padding: 120px 20px 70px;
    text-align: center;
}

.books-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin: 15px 0;
}

.books-intro {
    max-width: 700px;
    margin: auto;
    color: #555;
    line-height: 1.9;
    font-size: 1.1rem;
}

/* FEATURED BOOK */

.featured-book {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px 100px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.featured-book-image {
    text-align: center;
}

.featured-book-image img {
    width: 100%;
    max-width: 380px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.featured-book-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin: 15px 0 10px;
}

.book-subtitle {
    font-size: 1.1rem;
    color: #777;
    margin-bottom: 30px;
    font-style: italic;
}

.featured-book-content p {
    color: #555;
    line-height: 1.9;
    margin-bottom: 20px;
}

.book-actions {
    display: flex;
    gap: 15px;
    margin-top: 35px;
}

/* DETAILS */

.book-details {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px 100px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.detail-card {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.05);
}

.detail-card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.detail-card p {
    color: #555;
    line-height: 1.8;
}

/* FUTURE BOOKS */

.future-books {
    max-width: 850px;
    margin: auto;
    padding: 40px 20px 120px;
    text-align: center;
}

.future-books h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin: 15px 0 25px;
}

.future-books p {
    color: #555;
    line-height: 1.9;
}

/* QUOTE */

.books-quote {
    background: #111;
    color: white;
    text-align: center;
    padding: 110px 20px;
}

.books-quote blockquote {
    max-width: 850px;
    margin: auto;
    font-size: 2rem;
    line-height: 1.6;
    font-family: 'Playfair Display', serif;
}

/* MOBILE */

@media (max-width: 768px) {

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

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

    .featured-book-content h2 {
        font-size: 2.2rem;
    }

    .book-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .book-details {
        grid-template-columns: 1fr;
    }

    .future-books h2 {
        font-size: 2.1rem;
    }

    .books-quote blockquote {
        font-size: 1.5rem;
    }
}

 /* SOCIAL MEDIA ICONS */
.social-icons {
    display: flex;
    gap: 40px; /* More space between icons */
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.social-icons a {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 24px;
    color: white;
    transition: all 0.3s ease;
}

/* Default Brand Colors */
.social-icons a:nth-child(1) {
    background: #1877f2; /* Facebook */
}

.social-icons a:nth-child(2) {
    background: linear-gradient(
        45deg,
        #f58529,
        #feda77,
        #dd2a7b,
        #8134af,
        #515bd4
    );
} /* Instagram */ 

.social-icons a:nth-child(3) {
    background: #ff0000; /* YouTube */
}

/* Hover Effect */
.social-icons a:hover {
    transform: translateY(-5px) scale(1.1);
    opacity: 0.9;
} 


 