*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

body {
    background-image: url(../assests/sample\ 2.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 15px 30px;
    width: 100%;
}

/* Center logo */
.logo {
    font-family: 'Cinzel', serif; /* Use a classy serif font */
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    letter-spacing: 2px;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 10;
}

/* Style the “Kitchen” part differently */
.logo span {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: #f79489;
    margin-left: 5px;
}

/* Optional: animate the logo */
@keyframes fadeInLogo {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.logo {
    animation: fadeInLogo 1s ease-out;
}


/* Left & Right Nav Sections */
.nav-left,
.nav-right {
    flex: 1;
}

.nav-bar {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
}

.nav-left .nav-bar {
    justify-content: flex-start;
}

.nav-right .nav-bar {
    justify-content: flex-end;
}

/* Nav Link Style */
.nav-bar li a {
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-bar li a:hover,
.nav-bar .active {
    color: #f79489;
    text-shadow: 0 0 8px #f79489;
}

/* Padding for body to avoid hidden content */
body {
    padding-top: 90px;
}





nav {
    flex: 1;
    text-align: right;
}

.cart-logo {
    width: 30px;
    height: 30px;
    cursor: pointer;
    filter: brightness(1.2);
}



a {
    text-decoration: none;
    color: #fff;
}

p {
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    text-shadow: 0px 0px 10px black;
}

.row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.col-2 {
    flex-basis: 100%;
    min-width: 300px;
    padding: 20px;
    text-align: center;
}
.col-2 h1 {
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 0px 0px 10px black;
    line-height: 60px;
    margin: 50px 0;
}


.btn {
    display: inline-block;
    background-color: #555;
    color: #fff;
    padding: 10px 20px;
    margin: 20px 0;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.5s ease;
}
.btn:hover {
    background-color: #9b4039;
}

a, .btn {
    transition: all 0.3s ease;
}


.categories {
    padding: 80px 20px;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    color: #fff;
    text-shadow: 2px 2px 10px black;
    margin-bottom: 40px;
    animation: fadeSlideIn 1s ease-in-out;
}

.category-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.category-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    width: 300px;
    transition: transform 0.4s, box-shadow 0.4s;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category-info {
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.6);
}

.category-info h3 {
    color: #fff;
    font-size: 1.3rem;
    text-shadow: 1px 1px 4px black;
    margin: 0;
}

/* Optional entrance animation */
@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --------- reviewing Section ---------*/
.rating {
    padding: 80px 20px;
    text-align: center;
}

.rating-header {
    font-size: 2rem;
    color: #fff;
    text-shadow: 0 0 10px black;
    margin-bottom: 60px;
    position: relative;
    animation: fadeSlideIn 1s ease-in-out;
}

.rating-header::after {
    content: "";
    width: 80px;
    height: 4px;
    background-color: #f79489;
    display: block;
    margin: 10px auto 0;
    border-radius: 4px;
}

.reviews-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.review-card {
    background-color: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(4px);
    color: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    max-width: 300px;
    text-align: left;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
}

.review-card h4 {
    font-size: 1.2rem;
    margin: 15px 0 10px;
    color: #f79489;
}

.review-card p {
    font-size: 0.95rem;
    color: #f2f2f2;
    line-height: 1.5;
}

.stars {
    color: gold;
    font-size: 1.1rem;
}

/* --------- footer Section ---------*/
footer {
    background-color: rgba(189, 184, 184, 0.493);
    font-size: 20px;
    padding: 60px 0 20px;

}

.footer-links a:hover{
    color: #9b4039;
}

.footer-social, .footer-links, .footer-copy {
    min-width: 250px;
    flex-basis: 30%;
    text-align: center;
    margin-bottom: 20px;
}


/* ---------  All Products ---------*/
.products {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.row2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 60px auto;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 30px 20px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    animation: fadeInSlideUp 1s ease-in-out;
}


.tagline {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 10px black;
    animation: glowText 2.5s ease-in-out infinite alternate;
}

/* Dropdown styling */
.product-filter select {
    padding: 12px 18px;
    font-size: 1rem;
    border-radius: 6px;
    border: none;
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.product-filter select:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

/* Text animation */
@keyframes glowText {
    0% { text-shadow: 2px 2px 10px #9b4039; }
    100% { text-shadow: 2px 2px 20px #fff; }
}

/* Slide-up animation */
@keyframes fadeInSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}


footer {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
    width: 100%;
    margin-top: auto;
}


select {
    border: 1px solid #9b4039;
    border-radius: 5px;
    padding: 5px;
    background-color: rgba(71, 70, 70, 0.884);
    color: #fff;

}
select:focus {
    outline: none;
}

.col-product {
    background-color: rgba(255, 255, 255, 0.486); /* lighter background for contrast */
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    padding: 15px;
    text-align: center;
    margin: 20px;
    width: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.col-product:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}
.col-product h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 10px 0;
    color: #333;
}

.col-product p {
    font-size: 1rem;
    text-shadow: 0px 0px 10px #000000;
    color: #d3cdcd;
    margin-top: 5px;
}

.stars {
    color: #ffa500; /* orange stars */
    margin: 5px 0;
}

.col-product img {
    width: 100%;
    max-width: 250px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 auto;
    display: block;
}

.add-to-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: #9b4039;
  color: #fff;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.add-to-cart-btn:hover {
  background-color: #7a2f2a;
}



/*----------- About Section ----------*/


.about {
  padding: 80px 20px;
  background-color: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
}

.about-text {
  flex: 1;
  min-width: 300px;
  font-size: 1.1rem;
  line-height: 1.8;
  padding: 10px 20px;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #f79489;
  text-shadow: 0 0 8px #000;
}

.about-img {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.about-img img {
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.about-img img:hover {
  transform: scale(1.02);
}


/*----------- contact us Section ----------*/
.contact {
  padding: 100px 20px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.contact-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h2 {
  color: #f79489;
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.contact-info ul {
  list-style: none;
  padding: 0;
}

.contact-info li {
  font-size: 1rem;
  margin-bottom: 10px;
}

.contact-info i {
  margin-right: 10px;
  color: #f79489;
}

.contact-form {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #ccc;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.2);
}

.contact-form .btn {
  background-color: #f79489;
  color: white;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form .btn:hover {
  background-color: #e06d5d;
}

/* --------- media query ---------*/

@media only screen and (max-width: 800px){
    .header-container {
        flex-direction: column;
        gap: 10px;
    }

    .nav-bar {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .nav-bar li a {
        font-size: 1.1rem;
    }

    .col-2 {
        margin-top: 200px;
    }

    .category-row {
        flex-direction: column;
        align-items: center;
    }

    .col-product {
        width: 90%;
    }

    .row2 {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 50px 20px;
    }

    .tagline {
        font-size: 1.4rem;
        padding: 0 10px;
    }
    .product-filter select {
        width: 80%;
    }

    .about-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .about-text {
    padding: 0;
  }

}
    

