/*styles.css*/
.checkout-btn-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
    width: 100%;
}

#checkout-btn {
    padding: 12px 25px;
    background: linear-gradient(270deg, #ff994f, #fa6d86);
    color: white;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#checkout-btn:hover {
    background: linear-gradient(270deg, #fa6d86, #ff994f);
    transform: scale(1.05);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .checkout-btn-container {
        justify-content: center;
    }
    #checkout-btn {
        width: 80%;
        font-size: 18px;
        padding: 14px;
    }
}

/* === Checkout Page Styles === */

/* Wrapper */
.checkout-container {
    max-width: 1100px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ===== ORDER SUMMARY ===== */
.order-summary {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.order-summary h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #002244;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
}

.checkout-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.checkout-item:last-child {
    border-bottom: none;
}

.checkout-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 15px;
}

.checkout-item span {
    font-size: 1rem;
    color: #333;
}

.checkout-item .item-qty-price {
    margin-left: auto;
    font-weight: 500;
    color: #444;
}

.checkout-total {
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: right;
    color: #111;
}

/* ===== PAYMENT FORM ===== */
.payment-section {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.payment-section h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #002244;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
}

.payment-section form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-section label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
}

.payment-section input,
.payment-section select {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
    outline: none;
    transition: border 0.2s ease;
}

.payment-section input:focus,
.payment-section select:focus {
    border-color: #002244;
}

.place-order-btn {
    background: #002244;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.place-order-btn:hover {
    background: #003366;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .checkout-container {
        grid-template-columns: 1fr;
        padding: 15px;
        margin: 10px;
    }

    .checkout-item img {
        width: 60px;
        height: 60px;
    }

    .checkout-item span {
        font-size: 0.95rem;
    }

    .checkout-total {
        font-size: 1rem;
    }
}

.checkout-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap; /* Helps buttons stack if space is tight */
}

.back-to-cart-btn {
    padding: 0.8rem 1rem;
    background: #bdc3c7;
    color: #2c3e50;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.2s ease-in-out;
}

.back-to-cart-btn:hover {
    background: #a0a4a8;
}

.place-order-btn {
    flex: 1;
}

/* On small screens, buttons go full width */
@media (max-width: 768px) {
    .back-to-cart-btn, 
    .place-order-btn {
        text-align: center;
        font-size: 0.8rem;
        padding: 8px;
    }
}


/* Gallery Section */
.gallery-section {
  padding: 50px 20px;
  background-color: #f5f5f5;
  text-align: center;
}

.gallery-section h2 {
  color: #a363aa;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.gallery-section p {
  color: #555;
  max-width: 600px;
  font-size: 20px;
  margin: 0 auto 30px;
}

/* Modern responsive grid */
.gallery-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* default for large screens */
  gap: 20px;
}

.gallery {
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.3s ease;
}

.gallery:hover {
  border-color: #777;
}

.gallery img {
  width: 100%;
  height: auto;
  display: block;
}

.desc {
  padding: 15px;
  text-align: center;
  font-size: 0.95rem;
  color: #333;
}

/* 3 columns between 768px and 1024px */
@media (max-width: 1024px) {
  .gallery-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 2 columns between 480px and 768px */
@media (max-width: 768px) {
  .gallery-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 1 column below 480px */
@media (max-width: 480px) {
  .gallery-wrapper {
    grid-template-columns: 1fr;
  }
}


.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

/* Blogs Section */
.blogs-section {
  padding: 50px 20px;
  background-color: white;
  text-align: center;
}

.blogs-section h2 {
  color: #a363aa;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.blogs-section p {
  color: #555;
  max-width: 600px;
  font-size: 20px;
  margin: 0 auto 30px;
}

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

.blog-card {
  background-color: #f5f5f5;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

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

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card h3 {
  color: #333;
  font-size: 1.5rem;
  margin: 15px;
}

.blog-card p {
  color: #555;
  padding: 0 15px 15px;
}

.blog-card a {
  display: inline-block;
  margin: 0 15px 15px;
  padding: 10px 15px;
  background-color: #006400;
  color: white;
  border-radius: 5px;
  text-decoration: none;
}

.blog-card a:hover {
  background-color: #228B22;
}


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(#ffdad5, #fff7f9);
    overflow-x: hidden;
}

header{
    text-decoration:none;
}

/* Navbar Styles */
header nav {
    background: linear-gradient(45deg, #ff994f, #fa6d86);
    padding: 15px 30px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
header nav h2 {
    color: white;
    font-size: 24px;
    font-weight: 700;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}
nav li {
    position: relative;
}
nav li a {
    text-decoration: none;
    color: white;
    font-size: 20px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 30px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.hamburger{
    display: none;
}

/* Logo with image and text */
.logo a{
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 20px;
    color: inherit;
}

.logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 50%;
}

.logo h2 {
  font-size: 1.5rem;
  margin: 0;
}

.logo h2:hover {
  background: linear-gradient(to right, red, yellow, green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent; /* fallback to ensure text color is removed */
}

@media (max-width: 1024px) {
  header nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-top-row {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
  }

  .nav-top-row a{
    border-bottom: 2px solid #f1f1f1;
  }

  nav ul {
    width: 100%;
    display: flex;
    flex-wrap:nowrap;
    justify-content: space-around;
    margin-top: 10px;
  }

  nav ul li {
    flex: 1 1 20%;
    display:flex;
    justify-content: center;
  }

  nav li a {
    font-size: 20px;
    font-weight: 500;
    padding: 8px 11px;
}
}

/* Hover Effects */
nav li a:hover {
    background-color: #fff;
    color: #ff994f;
    transform: scale(1.05);
}
nav li a:active {
    background-color: #ff6f61;
    color: white;
}

/* Cart Icon */
.cart a {
    background-color: royalblue;
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
}
.cart a:hover {
    background-color: #fa6d86;
    color: #fff;
    transform: scale(1.05);
}

.cart a ion-icon {
    font-size: 18px;
}

.container,
.products-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
    padding-bottom: 50px;
}

.image {
    width:45%;
    margin: 10px 12px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 4px;
    background-color: #f9f9f9;
}

.image h3{
    text-align: center;
    padding: 8px;
}

img{
    width:100%;
    height:auto;
    padding: 4px;
    border-radius: 10px;
}

.add-cart {
    position: absolute;
    width: 50%;
    background-color: darkgrey;
    cursor: pointer;
    text-align: center;
    border-radius: 10px;
    bottom: 30%;
    left: 25%;
    padding: 10px;
    font-weight: 600;
    border: none;
    font-family: inherit;
    font-size: 1rem;
    color: black;
    transition: all 0.3s ease;
}

.add-cart:hover {
    background-color: #fa6d86;
    color: white;
    transform: scale(1.05);
}

button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

.section{
    border: 2px solid #fff;
    border-radius: 10px;
    margin: 20px ;
}

.section h2{
    text-align: center;
    font-size: 32px;
    margin: 20px;
    color: #a363aa;
    font-weight: 600;
    text-decoration: underline;
}

/*-------------CARTS STYLES PAGE -------------*/

.products-container {
    max-width: 650px;
    justify-content: space-around;
    margin: 0 auto;
    margin-top: 50px;
}

.products-container ion-icon {
    font-size: 25px;
    color: blue;
    margin-left: 10px;
    margin-right: 10px;
    cursor: pointer;
}

.product-header{
    width: 100%;
    max-width: 650px;
    display: flex;
    text-align: center;
    justify-content: flex-start;
    border-bottom: 3px solid lightgray;
    margin: 0 auto;
}

.product-title{
    width: 45%;
    border-bottom: 1px solid lightgray;
}

.price {
    width: 15%;
    border-bottom: 1px solid lightgray;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.quantity {
    width: 25%;
    border-bottom: 1px solid lightgray;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.total {
    width: 15%;
    border-bottom: 1px solid lightgray;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.product {
    width: 45%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid lightgray;
}

.product ion-icon {
    cursor: pointer;
}

.products {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.products img {
    width: 75px;
}

.basketTotalContainer {
    display: flex;
    justify-content: flex-end;
    width: 95%;
    padding: 10px 0;
}

.basketTotalTitle {
    width: 30%;
}

.basketTotal {
    width: 10%;
}

@media screen and (max-width: 768px) {
  .products-container {
    width: 97%;
    font-size: 15px;
}

.products-container ion-icon {
    margin-left: 6px;
    margin-right: 6px;
}

.product-header{
    width: 100%;
    display: flex;
    text-align: center;
    justify-content: flex-start;
    margin: 0 auto;
}

.product-title{
    width: 35%;
}

.price {
    width: 20%;
    display: flex;
    align-items: center;
    text-align: center;
}

.quantity {
    width: 25%;
    display: flex;
    align-items: center;
}

.total {
    width: 20%;
    display: flex;
    align-items: center;
    text-align: center;
}

.product {
    width: 35%;
    padding: 10px 0;
    justify-content: center;
}

.products {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.products img {
    width: 65px;
}

.basketTotalContainer {
    display: flex;
    justify-content: flex-end;
    width: 90%;
    padding: 10px 0;
    gap: 20px;
}

.basketTotalTitle {
    width: 30%;
}

.basketTotal {
    width: 10%;
}
}


/* About Section */
/* About Section Updated */
.about-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
  border-radius: 10px;
  margin: 20px ;

}

.about-section h2 {
  font-size: 36px;
  margin-bottom: 40px;
  color: #a363aa;
  font-weight: 700;
  text-decoration: underline;
}

.about-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
}

.about-image {
  flex: 1 1 300px;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.about-content {
  flex: 1 1 300px;
  text-align: left;
}

.about-content p {
  font-size: 18px;
  line-height: 1.7;
  color: #555;
}

/* Responsive for screens below 768px */
@media (max-width: 768px) {
  .about-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .about-content {
    text-align: center;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .about-wrapper {
    flex-direction: row;
    gap: 20px;
    padding: 0 20px;
  }

  .about-image,
  .about-content {
    flex: 1 1 45%;
  }

  .about-content p {
    font-size: 16px;
    line-height: 1.6;
  }

  .about-section h2 {
    font-size: 30px;
    margin-bottom: 30px;
  }

  .about-image img {
    border-radius: 15px;
  }
}


/* Responsive for screens below 768px */
@media (max-width: 768px) {
  .about-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .about-content {
    text-align: center;
  }
}


/* Contact Section */
.contact-section {
    border-radius: 10px;
    padding: 40px;
    background-color: #f1f1f1;
    text-align: center;
    margin: 20px;
}

.contact-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #a363aa;
    font-weight: 600;
    text-decoration: underline;
}

.contact-section p {
    font-size: 16px;
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

form label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    align-self: flex-start;
}

form input {
    width: 100%;
    color: #666;
    outline: none;
    font-weight: 500;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 50px;
    font-size: 16px;
}

form input:focus{
    border: 2px solid #ff994f;
}

form textarea{
    height: 200px;
    width: 100%;
    color: #666;
    outline: none;
    font-weight: 500;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 20px;
    font-size: 16px;
}

form textarea:focus{
    border: 2px solid #ff994f;
}

form button {
    display: flex;
    align-items: center;
    padding: 15px 30px;
    background-color: royalblue;
    color: #fff;
    gap: 10px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    background: linear-gradient(270deg, #ff994f, #fa6d86);
    cursor: pointer;
}

form button:hover {
    background-color: darkblue;
}

/* Footer Styles */

.fa {
  padding: 20px;
  font-size: 20px;
  width: 60px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
  border-radius: 50%;
}

.fa:hover {
    opacity: 0.7;
}

.fa-facebook {
  background: #3B5998;
  color: white;
}

.fa-whatsapp {
  background: #25D366;
  color: white;
}

footer {
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    text-align: center;
    font-family: Arial, sans-serif;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.footer-links, .footer-social {
    width: 45%;
}

.footer-links h4, .footer-social h4 {
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-links ul, .footer-social ul {
    flex-direction: row;
    list-style-type: none;
    padding: 0;
}

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

.footer-links a {
    text-decoration: none;
    color: white;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #f39c12;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-content {
      flex-direction: column;
        align-items: center;
    }

    .footer-links, .footer-social {
        width: 100%;
        display: block;
        text-align: center;
        margin-bottom: 20px;
    }

    .footer-social ul {
    display: flex;
    gap: 10px;
    justify-content: center;
}
}

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

  .image {
    width: 90%; /* Adjust width to fit better on small screens */
  }
}



/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;

}

.logo a{
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 4px;
    color: inherit;
}
.logo img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    border-radius: 50%;
}

.logo h2 {
  font-size: 1.2rem;
  margin: 0;
}

.nav-top-row a{
    border-bottom: none;
}


    /* Make logo and hamburger share same row */
  .logo,
  .hamburger {
    display: inline-flex;
    align-items:center;
  }

    .logo {
    width: 70%;
    justify-content: flex-start;
  }

  .hamburger {
    width: 30%;
    justify-content: flex-end;
    font-size: 24px;
    cursor: pointer;
  }

   /* Wrap logo + hamburger in flex container */
  nav > .logo,
  nav > .hamburger {
    order: 1;
  }

  nav > ul {
    order: 2;
    display: none;
    flex-direction: column;
    width: 100%;
  }

  nav > ul.active {
    display: flex;
  }

    nav ul.active {
        display: flex; /* Show menu when 'active' class is added */
    }

    .cart {
        margin-top: 10px; /* Add spacing between cart and menu */
    }

    .hamburger.active {
        color: #fa6d86;
    }
    
}

    /* For screens smaller than 480px (portrait mode) */
@media (max-width: 480px) {
    nav li a {
        font-size: 14px; /* Adjust font size */
        padding: 10px 15px;
    }

    header nav h2 {
        font-size: 20px; /* Reduce heading size */
    }
}

/*CAROUSEL STYLES*/

.mySlides img {
  width: 100%;
  height: 60vh; /* Add this line */
  object-fit: cover; /* Add this line */
}

.mySlides {display: none;}

/* Slideshow container */
.slideshow-container {
  max-width: 100%;
  position: relative;
  margin: auto;
  overflow: hidden;
  border-radius: 10px;
  margin: 20px ;
}

  
  /* Caption text */
  .text {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  width: 80%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fefefe;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  font-size: 1.5rem;
  font-weight: 500;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.6s ease-out;
}
  
  /* Number text (1/3 etc) */
  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }
  
  /* The dots/bullets/indicators */
  .dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }
  
  .active {
    background-color: #717171;
  }
  
  /* Fading animation */
  .fade {
    animation-name: fade;
    animation-duration: 1.5s;
  }
  

  #cart-notification {
  position: fixed;
  top: 30px;
  right: 30px;
  background-color: #4CAF50 ; /* green */
  color: white;
  padding: 15px 25px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  font-weight: 600;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#cart-notification.show {
  opacity: 1;
  transform: translateY(0);
}

  @keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
  }
  
  /* On smaller screens, decrease text size */
  @media only screen and (max-width: 300px) {
    .text {font-size: 11px}
  }

  @keyframes slideUpFadeIn {
  from {
    transform: translate(-50%, 20px);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}