
:root{
    --primary: #af8947;
    --secondary: #dac989;
    --background:#dac989;
    --text:#E5E5E5;
    --s:#B76E79;
    --color: #fff;
    --colour:#5D737E;
    --conservative:#333333;
    --gold: #fde230;
}
* {
    box-sizing: border-box;
}


body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background);
  }
  
  .container {
    border: 0.1rem solid var(--conservative);
    margin: 0.5rem;
    padding: 0.5rem;
    box-shadow: 0.1rem 0.1rem 0.1rem var(--colour);
  }
  
  header {
    background-color: var(--primary);
    color: var(--conservative);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    overflow: hidden;
    margin: 0.1 0 rem;
    padding: 0.5rem;
  }
  
  h1 {
    color: var(--color);
    font-size: 3.5rem;
    font-weight: bold;
    text-align: center;
    margin: auto;
    padding-left: 5%;
  }
  
  h1 span {
    font-size: 2.5rem;
    font-style: italic;
    color: var(--conservative);
  }
  
  .logo {
    height: 3rem;
    transition: transform 0.3s ease-in-out;
    padding-left: 40%;
    z-index: 2000;
    /* margin: auto; */
  }
  
  .logo:hover {
    z-index: 2;
    transform: scale(1.5) rotate(1deg);
  }
  
  nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 0;
    padding: 0;
    background-color: var(--primary);
    box-shadow: 0.2rem 0.1rem 0.1rem -0.5rem var(--text);
    height: 1.5rem;
  }
  
  nav a {
    color: var(--conservative);
    text-decoration: none;
    margin: 3rem;
    padding: .2rem;
    font-size: 1.1rem;
  }
  
  nav a:hover {
    box-shadow: 0.1rem 0.25rem 0.25rem 0.1rem var(--text);
    cursor: pointer;
    color: var(--color);
    border-radius: 10%;
    background-color: var(--primary);
  }
  
  .menu-icon {
    display: none;
    font-size: 2rem;
    cursor: pointer;
  }
  
  nav .openMenu {
    font-size: 2rem;
    margin: 0.5rem;
    display: none;
    cursor: pointer;
    color: var(--color);
  }
  nav .openMenu {
    font-size: 2rem;
    margin: .5rem;
    display: none;
    cursor: pointer;
    color: var(--color);
  }
  nav .mainMenu .closeMenu , .icons i {
    font-size: 2rem;
    display: none;
    cursor: pointer;
  }
 
  .hidden {
    display: none;
    font-size: 1.1rem;
    padding: .4rem;
    column-gap: .1rem;
  }

  .shopping-cart {
    color: var(--color);
  }
  
  @media screen and (max-width: 768px) {
    nav a {
        padding: 0.1rem;
        margin: .2em;
      }
      [type="socials"] {
        margin: .2rem;
      }
      .bxl-facebook, .bxl-telegram, .fa-tiktok, .fa-twitter {
        margin: .2rem;
      }
      :hover{
        color:var(--conservative)
      }
    .hidden {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }
  
    .hidden ul {
      display: flex;
      align-items: center;
      list-style: none;
      margin: 0;
      padding: 0;
    }
  
    .hidden li {
      margin: 0 0.5rem;
    }
  
    .openMenu {
      display: block;
    }
  
    .mainMenu {
      display: none;
    }
    
  }
  
  @media screen and (min-width: 769px) {
    .hidden {
      display: none;
    }
  
    .mainMenu {
      display: flex;
      gap: 1rem;
      align-items: center;
    }
    
  }
  
  .bxl-facebook:hover, .bxl-telegram:hover {
    color: rgb(21, 21, 226);
  }
  .fa-tiktok:hover, .fa-twitter:hover:hover{
    color:var(--conservative)
  }
  
/* Back to the Top button */
#backToTopBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 3rem; /* Place the button at the bottom of the page */
    right: 2rem; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: .1rem solid var(--gold); /* Remove borders */
    outline: none; /* Remove outline */
    background-color: var(--primary); /* Set a background color */
    color: var(--color); /* Set a text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: .1rem; /* Some padding */
    border-radius: 50%; /* Rounded corners */
    font-size: 2rem; /* Increase font size */
 }
 
 #backToTopBtn:hover {
    background-color: var(--background); /* Add a dark-grey background on hover */
    color: var(--color);
    box-shadow: 1rem solid var(--conservative) ;
 
 }
  
  /* Dropdown styling */
.section-dropdown {
    display: none;
    position: absolute;
    background-color: var(--conservative);
    list-style: none;
    padding: 10px;
    margin: 0;
    border-radius: 5px;
    top: 100%;
    left: 0;
}

.dropdown li {
    margin: 0;
}

.dropdown a {
    display: block;
    padding: 5px 15px;
    color: var(--color);
    text-decoration: none;
}

.selection-dropdown a:hover {
    background-color: var(--conservative);
}

/* Show dropdown on hover */
.menu-item:hover .selection-dropdown {
    display: block;
}

.team-page {
    /* display: relative; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    overflow: hidden;
    max-width: 98%;
    margin: 2rem auto;
    padding: 20px;
    background-color: var(--color);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.team {
    border-radius: 5%;
    max-width: 15rem;
    width: 98%;
    /* max-height:20rem; */
    height: 98%;
    margin:auto;
    padding: .2rem;
 }

 .team:hover{
    z-index: 2;
    transform: scale(1.2); /* Adjust zoom level */
    margin-left: calc(50vw - (max-content + 20px)); /* Center based on viewport width */
    justify-items: center;
 }

 @media screen and (max-width: 768px) {
    .team {
        border-radius: 5%;
        max-width: 28rem;
        width: 98%;
        max-height:20rem;
        height: 98%;
        margin:auto;
        padding: .2rem;
     }
    
 }
 /* Style the video container */
 #video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-height: 80%;
    max-width: 800px;
    margin: 20px auto;
    border: 1px solid var(--primary);
    box-shadow: .1rem solid var(--colour);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: var(--color);
}
/* Video Container inside the modal */
#video-container {
    /* position: relative; */
    width: 90%;
    height: 90%;
    max-width: 800px;
    background: var(--background);
    border-radius: 8px;
    /* overflow: hidden; */
}
/* Style the video */
/* Button Style */
#watch-video-btn {
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    color: var(--color);
    background-color:var(--primary);
    border: .1rem solid var(--conservative);
    border-radius: 5px;
    margin: 0 60% 0 40%;
    text-shadow: var(--colour);
}
#watch-video-btn:hover{
    color: var(--primary);
    background-color: transparent;
    border: .1rem solid  var(--color);
}
/* Modal Background Overlay */
#video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: var(--); */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}


/* Close Button */
#close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    color: var(--text);
    font-size: 24px;
    background: var(--primary);
    padding: 5px;
    border-radius: 50%;
}

/* Video Style */
video {
    width: 100%;
    height: 450px;
}

/* Style the iframe video container */
#iframe-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    max-width: 800px;
    margin: 20px auto;
    border: 2px solid var(--conservative);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: var(--color);
}
/* iFrame Style */
iframe {
    width: 100%;
    height: 450px;
}

.container h2{
    font-size: 2.5rem;
    color: var(--conservative);
    padding-left: 1rem;
}
h3{
    font-size: 1rem;
    color: var(--primary);
    padding: auto;
}
h2, h3 :hover{
    cursor: pointer;
    font-size: large;
    color: var(--secondary);
}
.container p{
    font-size: 1rem;
    color: var(--conservative);
    padding-left: 1.2rem;
    padding-right: 1.2rem;
}
.content-area{
    padding: 20px; 
    background-color: var(--color); 
    margin-top: 10px;
   
}
.section{
    display: none;
}
/* Hide dropdown initially */
#section-dropdown {
    display: none;
    list-style-type: none;
    padding: 0;

}
.values li{
    color: var(--conservative);
    font-size: 1rem;
    font-style: italic;
    padding: auto;
    margin: auto;
}

/* products */

/* Filters and Sorting */
#filters label, #filters select {
    margin: 0 10px;
}
#filters {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}
forms{
    box-shadow: 0 0 2px var(--colour); 
    /* background: rgba(255, 255, 255, 0.1); */
    background-color: var(--color);
    border-radius: 10px;
    max-width: 600px;
    /* margin: 1rem auto; */
}

@media screen and(max-width:768px) {
    forms{
       /* background-color: #af8947; */
    }
    
}
/* Section Styling */
 #product-listing {
    max-width: 2500px;
    width:97%;
    padding: 10px;
    margin: auto;
    background-color: var(--color);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px;
}
@media screen and (max-width: 768px) {
    #product-listing {
        width: 90%;
      }
    }
/* /* Title */
 #product-listing h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
} 

/* Product Grid */
#products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 4fr));
    gap: 1rem;
    margin-top: 1rem;
    justify-content: space-between;
    flex-wrap: wrap;
    overflow: hidden;
    max-height: 45rem;
    padding: 20px;
    overflow-y: scroll;
    
}

/* Individual Product Card */
#products .images{
    background-color: var(--color);
    border: 1px solid var(--colour);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 8px var(--colour);
    transition: transform 0.3s;
}

.product .images:hover {
    transform: scale(1.5);
    cursor: pointer;
}
.product {
    border: 1px solid var(--conservative);
    padding: .5rem;
    width: 250px;
    font-size: .6rem;
    text-align: center;
    overflow: hidden;
    overflow-y: scroll;
    justify-content: space-between;
    position: relative;
    max-height: 26rem;
}
.images{
    position: relative;
    justify-content: space-between;
    overflow: hidden;
    /* overflow-y: scroll; */
    height: 15rem;
    width: 12rem;
    margin: auto;
}
.product img {
    max-width: 100%; 
    height: 28rem;
    width: 100%;
    max-height: 100%;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    overflow-x: scroll;
    margin: .3rem;
    border: .1rem solid var(--primary); 
    transition: transform 0.3s;
}

/* * Pagination */ */
#pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin: 20px 0;
}

#pagination button {
    padding: 10px 20px;
    margin: 5px;
}
#pagination button {
    padding: 10px 15px;
    margin: 0 5px;
    font-size: 1rem;
    color: var(--text);
    background-color: var(--primary);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#pagination button:hover {
    background-color: var(--secondary);
    border: .1rem solid var(--primary);
}
#pagination span {
    font-size: 1rem;
    color: var(--conservative);
    margin: 0 10px;
}
/* PROCEED TO CART BTN  */
.pagination{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin: 20px 0;
    padding: 10px 20px;
    font-size: 1rem;
    color: var(--text);
    background-color: var(--primary);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
}
.pagination:hover{
    background-color: var(--secondary);
    border: .1rem solid var(--primary);
    text-decoration: dotted;
}
/* Check out form */
/* Form Styles */
form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
    margin: 2rem auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

form input, form textarea, form button {
    width: 100%;
    padding: 1rem;
    margin: 0.5rem 0;
    border: none;
    border-radius: 5px;
    outline: none;
    font-size: 1rem;
}

@media (max-width:768px) {
    form{
        width: 98%;
    }
    
}
form input, form textarea {
    /* background: rgba(255, 255, 255, 0.2); */
    color: var(--conservative);
}

form button {
    color: var(--conservative);
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}


/* Equipment */
.equipment{
    box-shadow: .1rem solid var(--color);
    border-radius: 1%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    color: var(--gd);
    margin: auto;
    max-height: 840px;
    overflow-y: auto;
    border: .1rem solid var(--primary);
    overflow: hidden;
    overflow-y: scroll;
 }
.equipment p{
    margin: 1rem;
    font-size: large;
    color: var(--conservative);
}
.film-item {
    border-radius: 10%;
    position: relative;
    display: flex;
    flex-wrap: wrap-reverse;
    margin: 1rem;
    margin-right: auto;
    margin-left: auto;
    overflow-wrap: unset;
    transition: transform 0.3s ease-in-out;
    background-color: var(--white);
    border: .1rem solid var(--primary);
    width: 30rem;
 }
 .film-item:hover{
    z-index: 2;
    transform: scale(1.2); /* Adjust zoom level */
    margin-left: calc(50vw - (max-content + 20px)); /* Center based on viewport width */
    justify-items: center;
 }
 .film-item img{
    border-radius: 5%;
    max-width: 28rem;
    width: 98%;
    height:20rem;
    margin:auto;
    padding: .2rem;
 }


/* profile */
/* General styles */
.profile-page {
    max-width: 800px;
    margin: 2rem auto;
    padding: 20px;
    background-color: var(--color);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 20px;
}

.header h1 {
    font-size: 2em;
    color: var(--conservative);
}

#current-time {
    font-size: 1em;
    color: var(--colour);
}

/* Personal Details */
.personal-details {
    border-bottom: 1px solid var(--text);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.personal-details p {
    margin: 5px 0;
}

/* Orders */
.orders {
    margin-bottom: 20px;
}

.order-item {
    background-color: var(--text);
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-item h3 {
    margin: 0;
    font-size: 1em;
}

.order-item p {
    margin: 5px 0;
}

.receive-button {
    background-color: var(--primary);
    color: var(--text);
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.receive-button:hover {
    background-color: var(--s);
}

/* Feedback Form */
.feedback-form h2 {
    margin-top: 0;
}

#feedback-form {
    display: flex;
    flex-direction: column;
}

#feedback {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--text);
    border-radius: 5px;
    margin-bottom: 10px;
    resize: vertical;
}

#feedback:focus {
    border-color: var(--colour);
}

button[type="submit"] {
    background-color: var(--primary);
    color: var(--color);
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: var(--color);
    color: var(--primary);
    border: .1rem solid var(--primary);
}

/* Footer General Styling */
footer {
    background-color: var(--colour);
    color: var(--text);
    padding: 20px;
    text-align: center;
}

footer h1 span{
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--gold);
}

footer .footer_ {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 20px;
}

footer .footer_ div {
    flex: 1;
    margin: 10px;
    text-align: center;
}

footer h2 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--gold);
}

/* Social Links Styling */
.footer_ .social-links img {
    width: 20px;
    vertical-align: middle;
    margin-right: 8px;
}

.footer_ .social-links a {
    color: var(--text);
    margin: 0 5px;
    text-decoration: none;
}

.footer_ .social-links a:hover {
    color: var(--gold);
}

/* Horizontal line for separating socials */
 .footer_ hr {
    border: 0;
    border-top: 1px solid var(--color);
    width: 80%;
    margin: 20px auto;
    
}


/* Align socials at bottom */
.footer_ .social-links:last-child {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--conservative);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Adjustments */

/* 
.social-links a{
    color: var(--text);
    text-decoration: none;
}
.social-links a:hover{
    cursor: pointer;
    text-decoration: overline;
    color: var(--conservative);
} */

@media (max-width: 768px){
    header{
        width: 100%;
        
    }
    h1{
        font-size: 200%;
    }
    nav{
        white-space: .1rem;
    }
    nav ul, li {
        font-size: 90%; 
        border-top: .1rem solid var(--background);       
    }
    nav a{
        color: var(--color);
        font-size: 90%; 
    }
    h2, h3{
        font-size: 1rem;
    }
    .container p{
        font-size: 90%;
    }
    .container h2{
        font-size: 100%;
    }
    .values{
        font-size: 100%;
    }
    h1 span{
        font-size: 100%;
    }
    nav .mainMenu{
        height: 100vh;
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 10;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: var(--primary);
        transition: top 1s ease;
        display: none;
        color:var(--color);
        /* font-size: .9rem; */
     }
     nav .mainMenu a{
        color: var(--color);
     }
     nav .mainMenu .closeMenu {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
     }
     nav .openMenu{
        display: block;
     }
     
     .icons i {
        display: inline-block;
        padding: 12px;
     }
     header nav .self {
        display: inline-block;
        margin-left: 2%;
        transition: transform 0.3s ease-in-out;
        
      }
      header nav .self:hover{
          z-index: 2;
          transform: scale(1.5); /* Adjust zoom level */
       }   
    #filters {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        margin: 1rem;
        gap: .1rem;
        /* width: 50%; */
    }
    
    #filters label, #filters select, #filters input {
        font-size: 1rem;
        margin-right: 10px;
        color: var(--conservative);
    }
    
    #filters select, #filters input {
        padding: 8px;
        border-radius: 5px;
        border: 1px solid var(--primary);
        background-color: var(--text);
        /* width: calc(20% - 10px); */
    }
    
    #filters select:focus, #filters input:focus {
        outline: none;
        border-color: var(--conservative);
        box-shadow: 0 0 5px rgba(0, 123, 255, 0.2);
    }
    
    #filters {
            flex-direction: column;
        }
    #filters select, #filters input {
            width: 70%;
            margin-left: 10%;
        }
    
    #products {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 4fr));
            gap: 1rem;
            margin-top: 1rem;
            justify-content: space-between;
            flex-wrap: wrap;
            overflow: hidden;
            max-height: 45rem;
            padding: 20px;
            overflow-y: scroll;
                    
        }
    .product{
            width: 20rem;
            font-size: .6rem;
            text-align: center;
            overflow: hidden;
            overflow-y: scroll;
            max-height: 30rem;
    }
    .product-card {
            /* max-height: 40%; */
            max-width: 100%;
        }
    .product img {
        height: 100%;
        width: 100%;
            /* max-height: fit-content; */
        }
    
    .profile-page {
            max-width: 96%;
            margin: 1rem;  
        }
     
    .footer_ {
            flex-direction: column;
            align-items: center;   
        }
              
    }
