@import url('https://fonts.googleapis.com/css2?family=Miniver&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900&display=swap');

/* Utility font classes */
.miniver-regular {
    font-family: "Miniver", cursive;
    font-weight: 400;
    font-style: normal;
}

:root {
    --white-color: #ffffff;
    --light-bg: #fef7f0;
    --dark-color: #2d1810;
    --text-primary: #3d2b1f;
    --text-secondary: #6b4f3a;
    --primary-color: #d4af37;
    --secondary-color: #8b4513;
    --accent-color: #cd853f;
    --light-gold: #f4e4bc;
    --medium-gray-color: #d2b48c;
    --border-color: #e6d7c3;
    --shadow-color: rgba(212, 175, 55, 0.15);

    --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;

    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    --border-radius-s: 8px;
    --border-radius-m: 30px;
    --border-radius-circle: 50%;

    --site-max-width: 1300px;

}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

img {
    
    width: 100%;
}

.loader-wrapper {
  position: fixed; /* must be fixed */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* ensures it's on top of all content */
}

.loader {
  width: 48px;
  height: 40px;
  margin-top: 30px;
  display: inline-block;
  position: relative;
  background: var(--primary-color);
  border-radius: 15% 15% 35% 35%;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.loader::after {
  content: '';
  box-sizing: border-box;
  position: absolute;
  left: 45px;
  top: 8px;
  border: 4px solid var(--white-color);
  width: 16px;
  height: 20px;
  border-radius: 0 4px 4px 0;
}

.loader::before {
  content: '';
  position: absolute;
  width: 1px;
  height: 10px;
  color: var(--white-color);
  box-sizing: border-box;
  animation: animloader 1s ease infinite;
}

@keyframes animloader {
  0% {
    box-shadow: 2px 0px rgba(255, 255, 255, 0), 12px 0px rgba(255, 255, 255, 0.3), 20px 0px rgba(255, 255, 255, 0);
  }
  50% {
    box-shadow: 2px -5px rgba(255, 255, 255, 0.5), 12px -3px rgba(255, 255, 255, 0.5), 20px -2px rgba(255, 255, 255, 0.6);
  }
  100% {
    box-shadow: 2px -8px rgba(255, 255, 255, 0), 12px -5px rgba(255, 255, 255, 0), 20px -5px rgba(255, 255, 255, 0);
  }
}

/* Add loading text */
.loader-wrapper::after {
  content: 'Loading Baratie Coffee...';
  position: absolute;
  bottom: 30%;
  color: var(--white-color);
  font-size: var(--font-size-m);
  font-weight: var(--font-weight-medium);
  text-align: center;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}




.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);
}
.section-content {
    max-width: 1300px;                     /* problem*/
    /* padding: 0 20px;
    margin:0 auto; */
}

* {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.section-content {
    margin: 0 auto;
    padding: 0 100px;
    max-width: var(--site-max-width);
}

@media (max-width: 768px) {
    .section-content {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .section-content {
        padding: 0 15px;
    }
}

/*styling for navbar*/
.navbar .nav-menu .nav-link {
    padding: 10px 18px;
    color: var(--text-primary);
    border-radius: var(--border-radius-m);
    font-size: var(--font-size-m);
    transition: 0.3s ease;
}

.navbar .nav-logo .logo-text {
    color: var(--primary-color);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-xl);
}

.navbar .nav-menu .nav-link:hover,
.navbar .nav-menu .nav-link.active {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

header .navbar {
    display: flex;
    align-items: center;
    padding: 10px;
    justify-content: space-between;
}

.navbar .nav-menu {
    display: flex;
    gap: 10px;
}

header {
    position: fixed;
    width: 100%;
    z-index: 5;
    background: var(--white-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#menu-close-button,
#menu-open-button {
    display: none;
}

/*hero section styyling*/

.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--light-gold) 0%, var(--white-color) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, transparent 0%, transparent 2px, rgba(139, 69, 19, 0.1) 2px, rgba(139, 69, 19, 0.1) 3px, transparent 3px),
        radial-gradient(circle at 75% 75%, transparent 0%, transparent 2px, rgba(139, 69, 19, 0.1) 2px, rgba(139, 69, 19, 0.1) 3px, transparent 3px),
        linear-gradient(45deg, transparent 40%, rgba(139, 69, 19, 0.05) 40%, rgba(139, 69, 19, 0.05) 60%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(139, 69, 19, 0.05) 40%, rgba(139, 69, 19, 0.05) 60%, transparent 60%);
    background-size: 50px 50px, 50px 50px, 100px 100px, 100px 100px;
    opacity: 0.3;
    pointer-events: none;
}

.hero-section::after {
    content: '🏴‍☠️';
    position: absolute;
    top: 10%;
    right: 10%;
    font-size: 3rem;
    opacity: 0.1;
    transform: rotate(15deg);
    pointer-events: none;
}

/* Treasure map compass directions */
.hero-section .compass-north {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: var(--secondary-color);
    opacity: 0.2;
    font-weight: bold;
}

.hero-section .compass-east {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--secondary-color);
    opacity: 0.2;
    font-weight: bold;
}

.hero-section .compass-south {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: var(--secondary-color);
    opacity: 0.2;
    font-weight: bold;
}

.hero-section .compass-west {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--secondary-color);
    opacity: 0.2;
    font-weight: bold;
}

/* X marks the spot */
.hero-section .treasure-x {
    position: absolute;
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.15;
    font-weight: bold;
    pointer-events: none;
}

.hero-section .treasure-x:nth-child(6) {
    top: 20%;
    left: 20%;
    transform: rotate(-15deg);
}

.hero-section .treasure-x:nth-child(7) {
    top: 60%;
    right: 25%;
    transform: rotate(10deg);
}

.hero-section .treasure-x:nth-child(8) {
    bottom: 30%;
    left: 30%;
    transform: rotate(-5deg);
}

.hero-section .section-content {
    display: flex;
    align-items: center;
    min-height: 100vh;
    color: var(--text-primary);
    justify-content: space-between;
}

.hero-section .hero-details .title {
    font-size: var(--font-size-xxl);
    color: var(--primary-color);
    font-family: "Miniver", cursive;
    /* Use Miniver directly */
}

.hero-section .hero-details .subtitle {
    margin-top: 8px;
    max-width: 70%;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--text-secondary);
}

.hero-section .hero-details .description {
    font-size: var(--font-size-m);
    max-width: 70%;
    margin: 24px 0 40px;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .hero-section .hero-details .title {
        font-size: var(--font-size-xl);
    }
    
    .hero-section .hero-details .subtitle {
        font-size: var(--font-size-l);
        max-width: 100%;
    }
    
    .hero-section .hero-details .description {
        font-size: var(--font-size-n);
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-section .hero-details .title {
        font-size: var(--font-size-l);
    }
    
    .hero-section .hero-details .subtitle {
        font-size: var(--font-size-m);
    }
    
    .hero-section .hero-details .description {
        font-size: var(--font-size-s);
        margin: 20px 0 30px;
    }
}

.hero-section .hero-image-wrapper {
    max-width: 400px;
    max-height: 400px;
    margin-right: 0px;
    margin-left: 30px;
}
.hero-image{
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .hero-section .hero-image-wrapper {
        max-width: 300px;
        max-height: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-section .hero-image-wrapper {
        max-width: 250px;
        max-height: 250px;
    }
}

.hero-section .hero-details .button {
    padding: 10px 26px;
    border: solid transparent;
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: var(--border-radius-m);
    font-weight: var(--font-weight-medium);
    transition: 0.3s ease;
}

.hero-section .hero-details .buttons {
    display: flex;
    gap: 23px;
}

@media (max-width: 480px) {
    .hero-section .hero-details .buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .hero-section .hero-details .button {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
}

.hero-section .hero-details .button:hover,
.hero-section .hero-details .contact-us {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: transparent;
}

.hero-section .hero-details .contact-us:hover {
    color: var(--white-color);
    border-color: var(--secondary-color);
    background: var(--secondary-color);
}


 /* ABOUT SECTION COMPLETE STYLING */
.about-section {
  padding: 100px 0;
  background: var(--white-color);
}

.about-section .section-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 100px;
}

/* About Image Styling */
.about-section .about-image-wrapper .about-image {
  width: 320px;
  height: 320px;
  object-fit: cover;
  border-radius: var(--border-radius-circle);
}

@media (max-width: 768px) {
  .about-section .about-image-wrapper .about-image {
    width: 280px;
    height: 280px;
  }
}

@media (max-width: 480px) {
  .about-section .about-image-wrapper .about-image {
    width: 220px;
    height: 220px;
  }
}

/* About Details Styling */
.about-section .about-details {
  flex: 1;
  text-align: center;
  max-width: 600px;
}

/* Section Title  */
.about-section .about-details .section-title {
  text-transform: uppercase;
  font-size: var(--font-size-xl);
  padding: 0;
  position: relative;
}

/* underline effect  */
.about-section .about-details .section-title::after {
  content: "";
  width: 80px;
  height: 5px;
  display: block;
  margin: 10px auto 0;
  border-radius: var(--border-radius-s);
  background: var(--secondary-color);
}

/* Text */
.about-section .about-details .text {
  font-size: var(--font-size-m);
  line-height: 30px;
  margin: 50px 0 30px;
  color: var(--dark-color);
}
.about-section .about-details{
    max-width: 50%;
}
/* Social links */
.about-section .social-link-list {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.about-section .social-link-list .social-link {
  font-size: var(--font-size-l);
  color: var(--primary-color);
  transition: 0.3s ease;
}

.about-section .social-link-list .social-link:hover {
  color: var(--secondary-color);
}

/*Menu section styling*/
.menu-section {
    color: var(--text-primary);
    background: var(--light-bg);
    padding: 40px 20px;
}

.menu-section .menu-list {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.menu-section .menu-item {
    background: var(--white-color);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    flex: 1 1 calc(33.33% - 40px);
    max-width: calc(33.33% - 40px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.menu-section .menu-item:hover {
    transform: scale(1.03);
}

.menu-section .menu-image {
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    margin-bottom: 12px;
}

.menu-section .name {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.menu-section .text {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 992px) {
    .menu-section .menu-item {
        flex: 1 1 calc(45% - 20px);
        max-width: calc(45% - 20px);
    }
}

@media (max-width: 576px) {
    .menu-section .menu-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
}


/*Testimonials styling*/
.testimonials-section {
  padding: 100px 0;
  background-color: var(--white-color);
  text-align: center;
}

@media (max-width: 768px) {
  .testimonials-section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .testimonials-section {
    padding: 40px 0;
  }
}

.section-title {
  font-size: 2.5rem;
  color: var(--text-primary);
  margin-bottom: 30px;
  font-weight: bold;
}

.testimonial {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 30px 20px;
  max-width: 90%;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 480px) {
  .testimonial {
    padding: 20px 15px;
    max-width: 95%;
  }
}

.user-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid var(--primary-color);
}

@media (max-width: 480px) {
  .user-image {
    width: 80px;
    height: 80px;
    border-width: 2px;
  }
}

.name {
  font-size: 1.3rem;
  margin: 10px 0;
  font-weight: 600;
  color: #333;
}

@media (max-width: 480px) {
  .name {
    font-size: 1.1rem;
    margin: 8px 0;
  }
}

.feedback {
  font-size: 1rem;
  font-style: italic;
  color: #555;
  line-height: 1.6;
  max-width: 500px;
}

@media (max-width: 480px) {
  .feedback {
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 100%;
  }
}

.swiper {
  width: 100%;
  padding-bottom: 40px;
}

@media (max-width: 480px) {
  .swiper {
    padding-bottom: 30px;
  }
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-color);
}

.swiper-pagination-bullet {
  background-color: var(--primary-color);
}

@media (max-width: 768px) {
  .testimonial {
    max-width: 90%;
    margin: 20px auto;
  }

  .swiper-button-prev,
  .swiper-button-next {
    top: 95%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    color: var(--primary-color);
  }

  .swiper-button-prev {
    left: 10px;
  }

  .swiper-button-next {
    right: 10px;
  }

  .swiper-pagination {
    bottom: 15px !important;
  }
}

@media (max-width: 480px) {
  .swiper-button-prev,
  .swiper-button-next {
    width: 25px;
    height: 25px;
    top: 92%;
  }

  .swiper-button-prev {
    left: 5px;
  }

  .swiper-button-next {
    right: 5px;
  }

  .swiper-pagination {
    bottom: 10px !important;
  }
}

/*Gallery style*/
.gallery-section {
  padding: 100px 0;
  background-color: var(--light-bg);
  text-align: center;
}

.gallery-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.gallery-item {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background-color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .gallery-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }

  .gallery-item {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
  }

  .gallery-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
  }
}

/* Contact Section */
#contact {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--light-gold) 0%, var(--white-color) 100%);
}

#contact .section-title {
  color: var(--primary-color);
  margin-bottom: 60px;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  background: var(--white-color);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Contact Info Section */
.contact-info-section {
  padding: 50px 40px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white-color);
}

.contact-subtitle {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  margin-bottom: 15px;
  color: var(--white-color);
}

.contact-description {
  font-size: var(--font-size-m);
  line-height: 1.6;
  margin-bottom: 40px;
  opacity: 0.9;
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}

.contact-info {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.contact-info:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 20px;
  color: var(--white-color);
}

.contact-details h4 {
  font-size: var(--font-size-m);
  font-weight: var(--font-weight-semibold);
  margin-bottom: 5px;
  color: var(--white-color);
}

.contact-details span {
  font-size: var(--font-size-n);
  opacity: 0.9;
  line-height: 1.4;
}

/* Social Links */
.social-links {
  margin-top: 40px;
}

.social-links h4 {
  font-size: var(--font-size-m);
  font-weight: var(--font-weight-semibold);
  margin-bottom: 20px;
  color: var(--white-color);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  font-size: 18px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.social-icon:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  border-color: var(--secondary-color);
}

/* Contact Form Section */
.contact-form-section {
  padding: 50px 40px;
  background: var(--white-color);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: var(--font-size-n);
  font-weight: var(--font-weight-medium);
  color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 15px 20px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: var(--font-size-n);
  font-family: inherit;
  transition: all 0.3s ease;
  background: var(--light-bg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: var(--white-color);
  box-shadow: 0 0 0 3px var(--shadow-color);
}

/* Form focus effects */
.form-group.focused label {
  color: var(--primary-color);
  font-weight: var(--font-weight-semibold);
}

.form-group.focused input,
.form-group.focused select,
.form-group.focused textarea {
  border-color: var(--primary-color);
  background: var(--white-color);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white-color);
  padding: 15px 30px;
  border: none;
  border-radius: 10px;
  font-size: var(--font-size-m);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px var(--shadow-color);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn i {
  font-size: 16px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .contact-info-section,
  .contact-form-section {
    padding: 40px 30px;
  }
}

@media (max-width: 768px) {
  #contact {
    padding: 60px 0;
  }
  
  .contact-container {
    margin: 0 20px;
    border-radius: 15px;
  }
  
  .contact-info-section,
  .contact-form-section {
    padding: 30px 25px;
  }
  
  .contact-info {
    padding: 15px;
    gap: 15px;
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
  }
  
  .contact-icon i {
    font-size: 16px;
  }
  
  .social-icons {
    gap: 12px;
  }
  
  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .contact-container {
    margin: 0 15px;
  }
  
  .contact-info-section,
  .contact-form-section {
    padding: 25px 20px;
  }
  
  .contact-subtitle {
    font-size: var(--font-size-l);
  }
  
  .contact-description {
    font-size: var(--font-size-n);
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 15px;
    font-size: var(--font-size-n);
  }
  
  .submit-btn {
    padding: 12px 25px;
    font-size: var(--font-size-n);
  }
  
  /* Additional mobile optimizations */
  .section-content {
    padding: 0 20px;
  }
  
  .hero-section .hero-details .title {
    font-size: var(--font-size-xl);
  }
  
  .hero-section .hero-details .subtitle {
    font-size: var(--font-size-l);
  }
  
  .about-section .about-image-wrapper .about-image {
    width: 200px;
    height: 200px;
  }
  
  .gallery-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .testimonial {
    padding: 20px 15px;
  }
  
  .user-image {
    width: 80px;
    height: 80px;
  }
}



/*Responsive media query code for max width 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;
        right: 0;
        height: 100%;
        width: 100%;
        backdrop-filter: blur(5px);
        background:rgba(0, 0, 0, 0.2);
        z-index: 4;
    }

    #menu-close-button,
    #menu-open-button {
        display: block;
        font-size: var(--font-size-l);
    }

    .navbar #menu-close-button {
        position: absolute;
        right: 30px;
        top: 30px;
        color: var(--dark-color);
        z-index: 6;
    }

    .navbar #menu-open-button {
        color: var(--dark-color);
    }

    .navbar .nav-menu {
        display: block;
        position: fixed;
        left: -300px;
        top: 0;
        width: 300px;
        height: 100%;
        background: var(--white-color);
        flex-direction: column;
        align-items: center;
        padding-top: 100px;
        transition: left 0.3s ease;
        z-index: 5;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }

    body.show-mobile-menu .navbar .nav-menu {
        left: 0px;
    }

    .navbar .nav-menu .nav-link {
        color: var(--dark-color);
        background-color: var(--white-color);
        display: block;
        margin-top: 17px;
        font-size: var(--font-size-l);
        width: 80%;
        text-align: center;
    }
    
    .hero-section .section-content {
        gap: 50px;
        text-align: center;
        padding: 30px 20px 20px ;
        flex-direction: column-reverse;
        justify-content: center;
    }
    .hero-section .hero-details .buttons{
        justify-content: center;
    }
    .hero-section .hero-details :is(.subtitle, .description){
        max-width: 100%;
    }
    .hero-section .hero-image-wrapper{
        max-width: 270px;
        margin-right: 0;
    }

    .about-section .section-content {
        flex-direction: column;
        padding: 0 30px;
        text-align: center;
    }

    .about-section .about-image-wrapper .about-image {
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }

    .about-section .about-details {
        max-width: 100%;
    }

    .about-section .about-details .text {
        margin: 30px 0 20px;
        font-size: var(--font-size-n);
        line-height: 28px;
    }
}

@media screen and (max-width: 480px) {
    .navbar .nav-menu {
        width: 280px;
        left: -280px;
    }
    
    .navbar #menu-close-button {
        right: 20px;
        top: 25px;
    }
    
    .navbar .nav-menu .nav-link {
        font-size: var(--font-size-m);
        margin-top: 15px;
        width: 85%;
    }
}

/* Scroll to Top Button */
.scroll-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--white-color);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.scroll-to-top-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.scroll-to-top-btn.show {
  display: flex;
}

@media (max-width: 768px) {
  .scroll-to-top-btn {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 16px;
  }
}