@import url('https://fonts.googleapis.com/css2?family=Miniver&family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Roboto+Slab:wght@100..900&display=swap');
:root{
    /*colors*/
    --white-color: #fff;
     --dark-color: #252525;
     --primary-color: #3b141c;
     --secondary-color: #f3961c;
     --ligth-pink-color: #faf4f5;
     --medium-gray-color: #ccc;
    /*fonts*/
    --font-size-s: 0.9rem;
     --font-size-n: 1rem;
      --font-size-m: 1.12rem;
       --font-size-l: 1.5rem;
        --font-size-xl: 2rem;
         --font-size-xxl: 2.3rem;
    /*weight*/
       --font-weight-normal: 400;
                --font-weight-medium: 500;
                       --font-weight-semibold: 600;
                              --font-weight-bold: 700;

        
        /*radius*/
        --border-radius-s: 8px;
         --border-radius-m: 30px;
          --border-radius-circle: 50%;
        /*max-width*/
        --site-max-width: 1300px;
}
*{       
    font-family: "poppins", sans-serif;
     margin: 0;
     padding: 0;
     box-sizing: border-box;
         }
      html{
         scroll-behavior: smooth;
      }   
         /*stylings for the whole site*/
         ul{
            list-style: none;
         }
         a{
            text-decoration: none;
         }
         button {
            cursor: pointer;
            border: none;
            background: none;
         }
         img{
            width: 100%;
         }
         .section-content{
            margin: 0 auto;
            padding: 0 20px;
            max-width: var(--site-max-width);
         }
         .section-title{
            text-align: center;
            padding: 60px 0 100px;
            text-transform: uppercase;
            font-size: var(--font-size-xl);

         }
         .section-title::after{
            content: "";
            width: 80px;
            height: 5px;
            display: block;
            margin: 10px auto 0;
            border-radius: var(--border-radius-s);
            background: var(--secondary-color);
         }
         /*navbar styling*/
         header{
          background: var(--primary-color);
          width: 100%;
          z-index: 5;  
          position: fixed;
         }
         header .navbar{
            display: flex;
            padding: 20px;
            align-items: center;
            justify-content: space-between;
         }
         .navbar .nav-logo .logo-text{
            color: var(--white-color);
            font-size: var(--font-size-xl);
            font-weight: var(--font-weight-semibold);
         }
         .navbar .nav-menu {
            display: flex;
            gap: 10px;
         }
         .navbar .nav-menu .nav-link{
            color: var(--white-color);
            padding: 10px 18px;
            border-radius: var(--border-radius-m);
            font-size: var(--font-size-m);
            transition: 0.3s ease;
         }
         .navbar .nav-menu .nav-link:hover{
             background: var(--secondary-color);
             color: var(--primary-color);
         }
         .navbar :where(#menu-close-button, #menu-open-button){
            display: none;
         }
         /*hero section*/
         .welcome-text {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: -10px;
}

.name-text {
    font-family: 'Great Vibes', cursive;
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.profile-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 4px solid white;
    overflow: hidden;
    background-color: #fff;
}

.profile-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tagline {
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 5px;
}
         .hero-section{
            width: 100%;
            min-height: 100vh;
            background: var(--primary-color);
            display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
         } 
         .hero-section .section-content{
            display: flex;
            align-items: center;
            min-height: 100vh;
            color: var(--white-color);
            justify-content: space-between;
         }
         .hero-section .hero-details .title{
            font-size: var(--font-size-xxl);
            color: var(--secondary-color);
            font-family: "Miniver", sans-serif;
         }
        .hero-section .hero-details .subtitle{
            margin-top: 8px;
            max-width: 70%;
            font-size: var(--font-size-xl);
            font-weight: var(--font-weight-semibold);
        }
        .hero-section .hero-details .description{
            max-width: 70%;
            margin: 24px 0 40px;
            font-size: var(--font-size-m);
        }
        .hero-section .hero-details .button{
        padding: 10px 26px;
        border: 2px solid transparent;
        color: var(--primary-color);
        border-radius: var(--border-radius-m);
        background: var(--secondary-color);
        font-weight: var(--font-weight-medium);
        transition: 0.3s ease;
        }
        .hero-section .hero-details .button:hover,
        .hero-section .hero-details .contact-us{
            color: var(--white-color);
            border-color: var(--white-color);
            background: transparent;
        }
        .hero-section .hero-details .contact-us:hover{
            color: var(--primary-color);
            border-color: var(--secondary-color);
            background: var(--secondary-color);
        }
        .hero-section .hero-image-wrapper{
          padding-top: 45px;
          max-width: 500px;
            margin-right: 30px;
           margin-top: 45px;
        }
        .hero-image{
         border-radius: var(--border-radius-m);
             
        }
        
        /*about styling*/
        .about-section{
            padding: 120px 0;
            background: var(--ligth-pink-color);
        }
         .about-section .section-content{
            display: flex;
            gap: 50px;
            align-items: center;
            justify-content: space-between;
         }
         .about-section .about-image-wrapper .about-image{
            width: 400px;
            height: 400px;
            object-fit: cover;
            border-radius: var(--border-radius-circle);
         }
         about-section .about-details .section-title{
            padding: 0;
         }
         .about-section .about-details{
            max-width: 50%;
         } 
         .about-section .about-details .text{
            line-height: 30px;
            margin: 50px 0 30px;
            text-align: center;
            font-size: var(--font-size-m);
         }
         .about-section .social-link-list{
            display: flex;
            gap: 25px;
            justify-content: center;
         }
          .about-section .social-link-list .social-link{
            color: var(--primary-color);
            font-size: var(--font-size-l);
            transition: 0.2s ease;
          }
          .about-section .social-link-list .social-link:hover{
            color: var(--secondary-color);
          }
          /*menu*/
          .menu-section{
            color: var(--white-color);
            background: var(--dark-color);
            padding: 50px 0 100px;
          }
          .menu-section .menu-list{
            display: flex;
            flex-wrap: wrap;
            gap: 110px;
            align-items: center;
            justify-content: space-between;
          }
          .menu-section .menu-list .menu-item{
            display: flex;
            align-items: center;
            text-align: center;
            justify-content: space-between;
            flex-direction: column;
            width: calc(100% / 3 - 110px);
          }
          .menu-section .menu-list .menu-item .menu-image{
           max-width: 83%;
           aspect-ratio: 1;
           margin-bottom: 15px;
           object-fit: contain;
          }
          .menu-section .menu-list .menu-item .name{
            margin: 12px 0;
            font-size: var(--font-size-l);
            font-weight: var(--font-weight-semibold);
          }
          .menu-section .menu-list .menu-item .text{
            font-size: var(--font-size-m);
          }
          /*testimonials*/
           .testimonials-section{
            padding: 50px 0 100px;
            background: var(--ligth-pink-color);
           }
            .testimonials-section .slider-wrapper{
               overflow: hidden;
               margin: 0 60px 50px;
            }
            .testimonials-section .testimonial{
               -webkit-user-select:none;
               user-select: none;
               display: flex;
               padding: 35px;
               flex-direction: column;
               align-items: center;
               text-align: center;
            }
            .testimonials-section .testimonial .user-image{
               width: 180px;
               height: 180px;
               object-fit: cover;
               border-radius: var(--border-radius-circle);
               margin-bottom: 50px;
            }
            .testimonials-section .testimonial .name{
               margin-bottom: 16px;
               font-size: var(--font-size-m);
            }
            .testimonials-section .testimonial .feedback{
               line-height : 25px;
            }
              .testimonials-section .swiper-pagination-bullet{
               width: 15px;
               height: 15px;
               opacity: 1;
               background: var(--secondary-color);
              }
              .testimonials-section .swiper-slide-button{
               margin-top: -50px;
               color: var(--secondary-color);
               transition: 0.3s ease;
              }
               .testimonials-section .swiper-slide-button:hover{
                 color: var(--medium-gray-color); 
               }
               /*gallery*/
               .gallery-section{
                  padding: 50px 0 100px;
               }
               .gallery-section .gallery-list{
                  display: flex;
                  flex-wrap: wrap;
                  gap: 32px;
               }
               .gallery-section .gallery-list .gallery-item{
                    overflow: hidden;
                    border-radius: var(--border-radius-s);
                    width: calc(100% / 3 - 32px);
               }
               .gallery-section .gallery-item .gallery-image{
                  width: 100%;   
                  height: 100%;
                  cursor: zoom-in;
                  transition: 0.3s ease;
               } 
               .gallery-section .gallery-item:hover .gallery-image{
                  transform: scale(1.3);
               }
               /*contact us*/
               .contact-section{
                  padding: 50px 0 100px;
                  background: var(--ligth-pink-color);

               }
               .contact-section .section-content{
                  display: flex;
                  gap: 48px;
                  align-items: flex-start;
                  justify-content: space-between;
               }
               .contact-section .contact-info-list .contact-info{
                  display: flex;
                  gap: 20px;
                  margin: 20px 0;
                  align-items: center;
               }
                .contact-section .contact-info-list .contact-info{
                  font-size: var(--font-size-m);
                }
                .contact-section .contact-form .form-input{
                  width: 100%;
                  height: 50px;
                  padding: 0 12px;
                  outline: none;
                  margin-bottom: 16px;
                  background: var(--white-color);
                  border-radius: var(--border-radius-s);
                  border: 1px solid var(--medium-gray-color);
                }
                 .contact-section .contact-form{
                  max-width: 50%;
                 }
                .contact-section .contact-form .form-input:focus{
                  border-color: var(--secondary-color);
                }
                 .contact-section .contact-form textarea.form-input {
                  height: 100px;
                  padding: 12px;
                  resize: vertical;
                 }
                 .contact-section .contact-form .submit-button{
                  padding: 10px 26px;
                  margin-top: 10px;
                  color: var(--white-color);
                  font-size: var(--font-size-m);
                  font-weight: var(--font-weight-medium);
                  background: var(--primary-color);
                  border-radius: var(--border-radius-m);
                  border: 1px solid var(--primary-color);
                  transition: 0.3s ease;
                 }
                 .contact-section .contact-form .submit-button:hover{
                  color: var(--primary-color);
                  background: transparent;
                 }
           /*footer*/
           .footer-section{
            padding: 20px 0;
            background: var(--dark-color);
           } 
           .footer-section .section-content{
            display: flex;
            align-items: center;
            justify-content: space-between;
           }
           .footer-section :where(.copyright-text, .social-link, .policy-link){
            color: var(--white-color);
            transition: 0.2s ease;
           }    
           .footer-section .social-link-list{
            display: flex;
            gap: 25px;
           }
           .footer-section .social-link-list .social-link{
            font-size: var(--font-size-l);
           }
           .footer-section .social-link-list .social-link:hover, .footer-section .policy-text .policy-link:hover {
            color: var(--secondary-color);
           }
           .footer-section .policy-text .separator{
            margin: 0 5px;
            color: var(--white-color);

           }
          /*responsive 1024px*/
          @media screen and (max-width: 1024px) {
            .menu-section .menu-list{
               gap: 60px;
            }
            .menu-section .menu-list .menu-item{
               width: calc(100% / 3 - 60px);
            } 
            
          }

         
        /*responsive to any media screnns 900px*/
        @media screen and (max-width: 900px) {
              :root{
                  --font-size-m: 1rem;
       --font-size-l: 1.3rem;
        --font-size-xl: 1.5rem;
         --font-size-xxl: 1.8rem;
              } 
              body.show-mobile-menu header::before{
                content: "";
                position: fixed;
                left: 0;
                top: 0;
                height: 100%;
                width: 100%;
                -webkit-backdrop-filter : blur(5px);
                backdrop-filter: blur(5px);
                background: rgba(0, 0, 0, 0.2);
              }
          .navbar :where(#menu-close-button, #menu-open-button)   {
            display: block;   
            font-size: var(--font-size-l);
              } 
              .navbar #menu-close-button{
                position: absolute;
                right: 30px;
                top: 30px;
              }     
              .navbar #menu-open-button{
                color: var(--white-color);
              }  
            .navbar .nav-menu{
                display: block;
                position: fixed;
                left: -300px;
                top: 0;
                width: 300px;
                height: 100%;
                display: flex;
                flex-direction: column;
                align-items: center;
                padding-top: 100px;
                background: var(--white-color);
                transition: left 0.2s ease;
            }
            body.show-mobile-menu .navbar .nav-menu{
                left: 0;
            } 
             .navbar .nav-menu .nav-link{
                color: var(--dark-color);
                display: block;
                margin-top: 17px;
                font-size: var(--font-size-l);
             }
             .hero-section .section-content{
                gap: 50px;
                text-align: center;
                flex-direction: column-reverse;
                justify-content: center;
                padding: 30px 20px 20px;
             }
             .hero-section .hero-details :is(.subtitle, .description), .about-section .about-details, .contact-section .contact-form{
                max-width: 100%;
             }
             .hero-section .hero-details .buttons{
                justify-content: center;
             }
             .hero-section .hero-image-wrapper{
                max-width: 270px;
                margin-right: 0;
             }
            .about-section .section-content{
                gap: 70px;
                flex-direction: column;
            }
             
             .about-section .about-image-wrapper .about-image{
                width: 100%;
                height: 100%;
                max-width: 250px;
                aspect-ratio: 1;
             }
              .menu-section .menu-list{
               gap: 30px;
            }
            .menu-section .menu-list .menu-item{
               width: calc(100% / 2 - 30px);
            } 
           
            
            .menu-section .menu-list .menu-item .menu-image{
             max-width: 200px;
            } 
             .gallery-section .gallery-list{
               gap: 30px;
             }
            .gallery-section .gallery-list .gallery-item{
               width: calc(100% / 2 - 30px);
            }
          .contact-section .section-content{
            flex-direction: column-reverse;
            align-items: center;
          }  
        }
        
        /*responsive to any media screnns 640px*/
        @media screen and (max-width: 640px) {
         .menu-section .menu-list{
            gap: 60px;
         }
         .menu-section .menu-list .menu-item,
         .gallery-section .gallery-list .gallery-item{
            width: 100%;
         }
          .testimonials-section .slider-wrapper{
            margin: 0 0 30px;
          }
          .testimonials-section .swiper-slide-button{
            display: none;
          }
          .footer-section .section-content{
            flex-direction: column;
            gap: 20px;
          }
        }
        /*updates*/
        /* --- Books Section Custom Styles --- */
.book-card {
    background: #2a2a2a; /* Slightly lighter than the dark section background */
    padding: 20px;
    border-radius: var(--border-radius-s);
    transition: transform 0.3s ease;
    border: 1px solid #444;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.book-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
}

.publication-year {
    display: inline-block;
    margin-top: 15px;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 0.9rem;
}

/* --- Articles Section Custom Styles --- */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 50px;
}

.article-item {
    display: flex;
    gap: 30px;
    background: var(--white-color);
    padding: 25px;
    border-radius: var(--border-radius-s);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    align-items: center;
    transition: 0.3s ease;
}

.article-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: scale(1.01);
}

.article-date {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    min-width: 80px;
    border-right: 3px solid var(--secondary-color);
}

.article-details h3 {
    color: var(--dark-color);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.article-details p {
    color: #666;
    margin-bottom: 10px;
}

.read-more {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}
/* Container to center the button at the bottom of the list */
.article-btn-container {
    display: flex;
    justify-content: center;
    padding-top: 40px;
    width: 100%;
}

/* Ensure the button matches the Hero button exactly */
.article-btn-container .button.order-now {
    padding: 10px 26px;
    border: 2px solid transparent;
    color: var(--primary-color);
    border-radius: var(--border-radius-m);
    background: var(--secondary-color);
    font-weight: var(--font-weight-medium);
    display: inline-block; /* Essential for link padding */
    transition: 0.3s ease;
    text-transform: none; /* Keeps it matching hero style */
}

.article-btn-container .button.order-now:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: transparent;
    transform: translateY(-3px); /* Optional: adds a slight lift like your other hover effects */
}
/* Responsive adjustments for Articles */
@media screen and (max-width: 768px) {
    .article-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .article-date {
        border-right: none;
        border-bottom: 3px solid var(--secondary-color);
        width: fit-content;
    }
}
/*update 1*/
@media screen and (max-width: 640px) {
    .menu-section .menu-list {
        display: flex;
        flex-direction: column; /* Stack books vertically */
        gap: 40px;
        align-items: center;
    }

    .menu-section .menu-list .menu-item {
        width: 100%; /* Take full width */
        max-width: 400px; /* Prevent them from getting too wide */
    }
}
@media screen and (max-width: 900px) {
    .article-item {
        flex-direction: column; /* Stack date above the text */
        text-align: center;
        padding: 20px;
    }

    .article-date {
        border-right: none;
        border-bottom: 3px solid var(--secondary-color);
        padding-bottom: 10px;
        margin-bottom: 15px;
        width: 100%;
    }
    
    .article-details {
        width: 100%;
    }
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Height of your navbar */
}
@media screen and (max-width: 480px) {
    .name-text {
        font-size: 2.8rem; /* Scaled down for mobile */
    }
    
    .profile-circle {
        width: 110px;
        height: 110px;
    }
}
img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}