
:root {
    --gold: #C5A572;
    --brown: #4A332F;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f5f5f5;
    font-family: Arial, sans-serif;
    padding-top: 80px;
    /* Add padding to prevent content from being hidden */

}

/* Navbar Styles */
.navbar {
    background-color: #f5f5f5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    position: fixed;
    /* Change from relative to fixed */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* Ensure it stays on top of other content */
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    /* display: flex;
    justify-content: space-between;
    align-items: center; */
}

.left-icons {
    display: none;
    font-size: 1.5rem;
    color: var(--gold);
    background: none;
    border: none;
    /* cursor: pointer; */
}

.menu-toggle {

    font-size: 1.5rem;
    color: var(--gold);
    background: none;
    border: none;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 2rem;
    margin: 0 2rem;
}

.nav-link {
    color: var(--brown);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.logo {
    height: 60px;
    justify-self: center;
}

.nav-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-icon {
    color: var(--gold);
    font-size: 1.5rem;
    text-decoration: none;
    cursor: pointer;

}

/* Search Bar Styles */
.search-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    display: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-container.active {
    display: block;
}

.search-input {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: block;
    padding: 0.5rem;
    border: 2px solid var(--gold);
    border-radius: 4px;
    font-size: 1rem;
}

/* Breadcrumb Styles */
.breadcrumb {
    max-width: 1200px;
    margin: 1rem auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-item {
    color: var(--brown);
    text-decoration: none;
    font-size: 1.1rem;
}

.breadcrumb-arrow {
    color: var(--gold);
    font-size: 1.1rem;
}

/* Carousel Container */
.carousel-wrapper {
    /* max-width: 800px; */
    max-width: 1000px;
    margin: 40px auto;
    position: relative;
}

#carousel2 {
    margin: 200px auto !important
}

.carousel {
    background-color: white;
    border: 8px solid var(--gold);
    margin: 0 60px;
}

.carousel-inner {
    position: relative;
    overflow: visible;
}

.carousel-item-parent {
    background-color: white;
    padding: 10px;

}

.carousel-item-parent {
    display: none;
    background-color: white;
    padding: 10px;
    position: relative;
}

.carousel-item-parent.active {
    display: block;
}

.carousel-item {
    display: block;
    /* Changed from none to block since we're controlling visibility at parent level */
}

.carousel-item {
    display: none;
    text-align: center;
}

.carousel-item.active {
    display: block;
}

.carousel-item img {
    max-width: 100%;
    height: auto;
}

/* Navigation Buttons */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gold);
    border: none;
    font-size: 2.5rem;
}


.text-box {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    background-color: rgb(74, 51, 47, 0.9);
    color: white;
    padding: 30px;
    text-align: center;
    z-index: 235;
    border: 2px solid var(--gold);
}

.text-box h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--gold);
}

.text-box p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
}

.corner-text {
    position: absolute;
    top: 0;
    left: 10%;
    width: 15%;
    height: 35%;
    background-color: rgba(74, 51, 47, 0.9);
    color: white;
    border: 2px solid var(--gold);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 15px;
    z-index: 20;
    --c: 50%;
    /* التحكم في شدة الانحناء */
    mask: radial-gradient(70% var(--c) at bottom, #0000 calc(100% - 2px), #000);
    -webkit-mask: radial-gradient(70% var(--c) at bottom, #0000 calc(100% - 2px), #000);
}

.corner-text p {
    font-size: 1.6rem;
    margin: 0;
    line-height: 1.4;
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

.carousel-indicators {
    top: 140px;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    position: relative;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    border: none;
}

.indicator.active {
    background-color: var(--gold);
}

.product-description {
    background-color: #5b362e;
}

.product-description {
    text-align: center;
    margin-top: 20px;
    color: var(--brown);
}

.product-description h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.product-description p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}




/* Media Queries ordered from smallest to largest width */
@media (max-width: 344px) {
    .carousel-indicators {
        top: 227px !important;
    }

    #carousel2 {
        margin: 250px auto !important
    }

    .corner-text {
        width: 20%;
        height: 55%;
        left: 5%;
        padding: 10px;
    }

    .corner-text p {
        font-size: 0.8rem;
    }
}

@media (min-width: 345px) and (max-width: 390px) {
    .carousel-indicators {
        top: 205px !important;
    }

    #carousel2 {
        margin: 220px auto !important
    }

    .corner-text {
        width: 20%;
        height: 50%;
        left: 5%;
        padding: 10px;
    }

    .corner-text p {
        font-size: 0.8rem;
    }
}

@media (min-width: 391px) and (max-width: 430px) {
    .carousel-indicators {
        top: 150px !important;
    }

    #carousel2 {
        margin: 180px auto !important
    }

    .corner-text {
        width: 17%;
        height: 45%;
        left: 5%;
        padding: 10px;
    }

    .corner-text p {
        font-size: 0.8rem;
    }
}

@media (min-width: 431px) and (max-width: 768px) {
    .carousel-indicators {
        top: 123px !important;
    }

    #carousel2 {
        margin: 160px auto !important
    }

    .corner-text {
        width: 14%;
        height: 35%;
        left: 5%;
        padding: 10px;
    }

    .corner-text p {
        font-size: 1.0rem;
    }
}

@media (min-width: 820px) and (max-width: 853px) {
    .carousel-indicators {
        top: 165px;
    }

    #carousel2 {
        margin: 190px auto !important
    }

    .corner-text {
        height: 25%;
        left: 5%;
        padding: 10px;
    }

    .corner-text p {
        font-size: 0.8rem;
    }
}

@media (max-width: 769px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-container {
        grid-template-columns: auto 1fr auto;
        align-items: center;
        justify-content: space-between;
    }

    .logo {
        height: 50px;
    }

    .left-icons {
        display: flex;
        align-items: center;
        gap: 1rem;
    }


    .nav-icon.right-icons {
        display: none;
    }

    .nav-icons {
        display: flex;
        gap: 1rem;
        margin-left: auto;
    }

    .nav-icons.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        justify-content: center;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .carousel {
        margin: 0 40px;
    }

    .text-box {
        width: 90%;
        padding: 20px;
    }

    .text-box h3 {
        font-size: 1.5rem;
    }

    .text-box p {
        font-size: 1rem;
    }

}

/*Contact form*/
svg {
    height: 23rem;
    margin-right: 4rem;
  }
  
  #envelope {
    animation: float 2s ease-in-out infinite;
  }
  
  #star1, #star2, #star3, #star4, #star5, #star6 {
    animation: blink 1s ease-in-out infinite;
  }
  
  #star2 {
    animation-delay: 100ms;
  }
  
  #star3 {
    animation-delay: 500ms;
  }
  
  #star4 {
    animation-delay: 700ms;
  }
  
  #star5 {
    animation-delay: 300ms;
  }
  
  #star6 {
    animation-delay: 200ms;
  }
  
  @keyframes float {
    0% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-20px);
    }
    100% {
      transform: translateY(0px);
    }
  }
  @keyframes blink {
    0% {
      opacity: 0;
    }
    50% {
      opacity: 0.5;
    }
    100% {
      opacity: 1;
    }
  }
  .container {
    height: 100vh;
  }
  
  form {
    min-width: 25rem;
  }
  form .title {
    font-family: "Pacifico", cursive;
    color: #212529;
    font-size: 2.5rem;
  }
  form .form-control {
    background-color: #f2f6f8;
    border-radius: 2rem;
    border: none;
    box-shadow: 0px 7px 5px rgba(0, 0, 0, 0.11);
  }
  form .form-control.thick {
    height: 3.3rem;
    padding: 0.5rem 3.5rem;
  }
  form .form-control:focus {
    background-color: #f2f6f8;
    border: none;
    box-shadow: 0px 7px 5px rgba(0, 0, 0, 0.11);
  }
  form .message .form-control {
    padding: 0.5rem 1.8rem;
  }
  form ::placeholder {
    font-family: "Quicksand", sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #838788;
    position: relative;
    left: 0;
  }
  form input,
  form textarea {
    font-family: "Quicksand", sans-serif;
    color: #212529;
    font-size: 1.1rem;
  }
  form .icon {
    color: #57565c;
    height: 1.3rem;
    position: absolute;
    left: 1.5rem;
    top: 1.1rem;
  }
  
  .btn.btn-primary {
    font-family: "Quicksand", sans-serif;
    font-weight: bold;
    height: 2.5rem;
    line-height: 2.5rem;
    padding: 0 3rem;
    border: 0;
    border-radius: 3rem;
    background-image: linear-gradient(131deg, #ffd340, #ff923c, #ff923c, #ff923c);
    background-size: 300% 100%;
    transition: all 0.3s ease-in-out;
  }
  
  .btn.btn-primary:hover:enabled {
    box-shadow: 0 0.5em 0.5em -0.4em #ff923cba;
    background-size: 100% 100%;
    transform: translateY(-0.15em);
  }