
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --accent-color: #28a745;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #fff;
    font-family: 'Poppins', sans-serif;
    width: 100%;
}


header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding-top: 1rem;

    /* Code to Change bg on scroll */
    transition: background-color 0.4s ease-in-out;

}

header.scrolled {
    box-shadow: 10px 10px 20px #111;
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
}

.logo{
    display: flex;
    align-items: center;
    justify-content: center;
}



.logo a {
    font-family: 'poppins', sans-serif;
    font-size: 1.8rem;
    text-transform: none;
    color: #44E5E7;
    transition: color 0.4s ease-in-out;
}

.logo img{
    width: 80px
}

/* header.scrolled .logo a {
    color: #ff4500;

} */


nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 15vh;
    width: 100%;
    padding: 1rem;
}


.nav-links ul {
    display: flex;
    gap: 2rem;
    font-size: .8rem;
    transition: .5s;
}

.nav-links li {
    list-style: none;
    cursor: pointer;
}

.nav-links li i {
    margin-right: 1rem;
    color: transparent;
    -webkit-text-stroke: #000 1px ;
}



nav a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: color 0.4s ease-in-out;
    font-size: .8rem;
}

span a {
    font-size: 1.5rem;

}

header.scrolled nav a {
    color: black;
}






/* Side bar design */

.sidebar #desktop-nav {
    position: fixed;
    top: 0;
    /* right: 0; */
    height: 100vh;
    width: 250px;
    z-index: 999;

    background-color: #222;
    backdrop-filter: blur(100px);

    overflow: auto;
    scroll-behavior: smooth;
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 2rem;

    /* transition: 4s ease-out; */
}



.sidebar .nav-links ul {
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
}

.sidebar .nav-links ul i {
    margin-left: .5rem;

}

.sidebar .nav-links li {
    width: 100%;
}

.sidebar .nav-links i {
    color: #fff;
}

.sidebar .nav-links a {
    width: 100%;
    color: #fff;
    font-size: 1rem;
}

.nav-symbols {
    font-size: 1.5rem;
}





/* Hero section design */

#hero {
    padding: 1rem;
    padding-top: 10rem;
    padding-bottom: 5rem;

    background: #5c7aff fixed;


    background-position: right;
    background-repeat: no-repeat;
    background-size: cover;
    
    justify-content: center;
    align-items: center;

    /* height: 100vh; */

}

#hero img {
    max-width: 80vh;
    border-radius: 100%;
    animation: rotate 40s ease-in-out infinite;

}


@keyframes rotate {

    0% {
        rotate: 10deg;
    }

    5% {
        rotate: -10deg;
    }

    10% {
        rotate: 10deg;
    }

    15% {
        rotate: -10deg;
    }

    20% {
        rotate: 10deg;
    }

    25% {
        rotate: -10deg;
    }

    30% {
        rotate: 10deg;
    }

    35% {
        rotate: -10deg;
    }

    40% {
        rotate: 10deg;
    }

    45% {
        rotate: -10deg;
    }

    50% {
        rotate: 10deg;
    }

    55% {
        rotate: -10deg;
    }

    60% {
        rotate: 10deg;
    }

    65% {
        rotate: -10deg;
    }

    70% {
        rotate: 10deg;
    }

    75% {
        rotate: -10deg;
    }

    80% {
        rotate: 10deg;
    }

    95% {
        rotate: -10deg;
    }

    100% {
        rotate: 10deg;
    }



}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 1rem;
}

.hero-section {
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    color: #fff;
}



.hero-section h1 {
    font-size: 3rem;
}

.hero-container button{
    margin: 40px;
    padding: 1rem;
    font-size: 1rem;
    color: #fff;
    border: none;
    border-radius: 0 30px;
    background:linear-gradient(130deg, #20a37c, #0c2e5a, #106c8d );
    cursor: pointer;
}

button a{
    text-decoration: none;
    color: white;
}


.search-cart {
    display: flex;
    align-items: center;
    gap: 10px;
}


.categories button.active {
    background-color: #0056b3;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}


.categories, .featured-products {
    padding: 20px;
    text-align: center;
}

.categories h2, .featured-products h2 {
    margin-bottom: 20px;
}

 .product-list {
    display: flex;
    justify-content: center;
    gap: 20px;
}



.categories {
    text-align: center;
    margin: 20px 0;
}

.categories button {
    margin: 5px;
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.categories button:hover {
    background-color: #0056b3;
}


.product-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 20px;

}

.product {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    max-width: 200px;
    text-align: center;
}

.product img {
    max-width: 70% ;

    height: auto;
}

.product.hidden {
    display: none;
}




    /* Existing styles */
    .search-container {
        display: flex;
        justify-content: center;
        margin: 20px 0;
    }
    #searchInput {
        width: 70%;
        margin: 20px;
        padding: 10px;
        font-size: 16px;
        border: 2px solid #007bff;
        border-radius: 5px;
    }
    .product.hidden {
        display: none;
    }
    .no-results {
        text-align: center;
        color: #666;
        margin-top: 20px;
        display: none;
    }











    #black-friday{
        background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7)), url('images/3d-rendering-optical-illusion.jpg') fixed;
        background-repeat: no-repeat;
  background-size: cover; 

align-items: center;
justify-content: center;

height: 70vh;
  color: #eee;
    }

    .black-content{
        transform: translate(0%, 80%);
    }


    .black-friday h2{
        text-align: center;
        font-size: 3rem;
        text-transform: uppercase;
        color:#20a37c;
    }








    /* Updated style for black friday sales */


.product {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.product:hover {
    transform: scale(1.05);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    position: relative;
}

.modal-product-details {
    display: flex;
    align-items: center;
    gap: 20px;
}

.modal-product-details img {
    max-width: 50%;
    height: auto;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover {
    color: black;
}




    /* iphone design for product detailed page */
    .container {
        width: 80%;
        margin: 100px auto;
        padding: 20px;
        background-color: white;
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
        overflow: hidden;

    }

.container h1{
    text-align: center;
    font-size: 2rem;
}

    .product-detail {
        display: flex;
        gap: 30px;
        padding: 20px;
        align-items: center;
        /* justify-content: center; */
        /* text-align: center; */
    }

    .product-detail h1 {
font-size: 3rem;
    }

    .product-image {
        flex: 1;
        max-width: 50%;
    }

    .product-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 8px;
    }

    .product-info {
        flex: 1;
    }

    .product-title {
        font-size: 2rem;
        margin-bottom: 15px;
        color: var(--primary-color);
    }

    .product-price {
        font-size: 1.5rem;
        color: var(--accent-color);
        margin-bottom: 15px;
        font-weight: bold;
    }

    .product-description {
        margin-bottom: 20px;
        line-height: 1.7;
    }

    .product-details {
        background-color: #f9f9f9;
        padding: 15px;
        border-radius: 5px;
        margin-bottom: 20px;
    }

    .add-to-cart {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .quantity-control {
        display: flex;
        align-items: center;
        border: 1px solid #ddd;
        border-radius: 4px;
    }

    .quantity-control button {
        background: none;
        border: none;
        padding: 10px;
        cursor: pointer;
        font-size: 1.2rem;
    }

    .quantity-control input {
        width: 50px;
        text-align: center;
        border: none;
        padding: 10px;
    }

    .btn-add-cart {
        background-color: var(--primary-color);
        color: white;
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .btn-add-cart:hover {
        background-color: #0056b3;
    }

    .additional-info {
        margin-top: 30px;
        border-top: 1px solid #eee;
        padding-top: 20px;
    }

    .tabs {
        display: flex;
        margin-bottom: 15px;
    }

    .tab {
        padding: 10px 15px;
        cursor: pointer;
        background-color: #f1f1f1;
        border: 1px solid #ddd;
        margin-right: 5px;
    }

    .tab.active {
        background-color: var(--primary-color);
        color: white;
    }

    .tab-content {
        display: none;
        padding: 15px;
        border: 1px solid #ddd;
    }

    .tab-content.active {
        display: block;
    }







    .about-us {
        background-color: #0C2E5A;
        padding: 20px;
        text-align: center;
        color: #fff;
    }

    .about-us h2 {
        margin-bottom: 10px;
    }

    .about-us p {
        margin: 0 auto;
        max-width: 600px;
        line-height: 1.6;
    }







    #newsletter {
        background-color: #000000e6;
        padding: 40px 20px;
        text-align: center;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        max-width: 500px;
        margin: 50px auto;
    }
    
    .newsletter-container h2 {
        font-family: 'bakbak one', sans-serif;
        font-size: 1.8rem;
        color: #007bff;
        margin-bottom: 10px;
    }
    
    .newsletter-container p {
        font-size: 1rem;
        color: #fff;
        margin-bottom: 20px;
        font-family: 'bakbak one', sans-serif;
    
    }
    
    
    .newsletter-container form {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        font-family: 'bakbak one', sans-serif;
    
        justify-content: center;
    }
    
    
    .newsletter-container form ::placeholder {
        color: #fff;
        font-family: 'bakbak one', sans-serif;
    
    }
    
    .newsletter-container input {
        width: 80%;
        padding: 10px 15px;
        font-size: 1rem;
        border: 1px solid #ccc;
        border-radius: 5px;
    
    }
    
    .newsletter-container button {
        padding: 1.2rem;
        font-size: 1rem;
        color: #fff;
        border: none;
        border-radius: 0 30px;
        background:linear-gradient(130deg, #20a37c, #0c2e5a, #106c8d );
        cursor: pointer;
    }
    
    
    









    .footer {
        background-color: #343a40;
        color: white;
        text-align: center;
        padding: 10px 0;
        margin-top: 20px;
    }

    .footer-section {
        background-color: #343a40;
        color: #eee;
        padding: 50px 20px;
      
    }
    
    .footer-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 20px;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .footer-about {
        flex: 1;
        min-width: 250px;
    }
    
    .footer-about .logo a {
        text-decoration: none;
    }
    
    
    
    .footer-about p {
        font-size: 1rem;
        line-height: 1.5;
        padding-top: 1rem;
    }
    
    .footer-links {
        flex: 1;
        min-width: 200px;
    
    }
    
    .footer-links h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .footer-links ul {
        list-style: none;
        padding: 0;
    }
    
    .footer-links li {
        margin-bottom: 10px;
    
    }
    
    .footer-links a {
        color: #eee;
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .footer-links a:hover {
        color: #ff4500;
    }
    
    .footer-contact {
        flex: 1;
        min-width: 250px;
        line-height: 2rem;
    }
    
    .footer-contact h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .footer-contact a {
        color: #eee;
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .footer-contact a:hover {
        color: #ff4500;
    }
    
    .footer-social {
        flex: 1;
        min-width: 200px;
        text-align: center;
    }
    
    .footer-social h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .social-icons {
        display: flex;
        justify-content: center;
        gap: 15px;
    }
    
    .social-icons a {
        font-size: 1.5rem;
        color: #eee;
        transition: color 0.3s ease;
    }
    
    .social-icons a:hover {
        color: #ff4500;
    }
    
    .footer-bottom {
        text-align: center;
        margin-top: 30px;
        border-top: 1px solid #333;
        padding-top: 15px;
        font-size: 0.9rem;
        color: #bbb;
    
    }
    
    .footer-bottom p {
        padding: 1rem;
    }
    
    .footer-bottom a {
        color: orange;
        text-decoration: none;
    }
    
    .footer-bottom a:hover {
        text-decoration: underline;
    }
    
    







    @media (max-width: 768px) {
        .product-detail {
            flex-direction: column;
        }

        .product-image,
        .product-info {
            max-width: 100%;
        }
    }




@media (min-width:1024px) {

    .hideOnMobile {
        display: block;
    }

    #desktop-nav .nav-symbols {
        display: none;
    }

}

@media (max-width:1024px) {

    .hideOnMobile {
        display: none;
    }

    #desktop-nav .nav-symbols {
        display: block;
    }

    nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        /* height: 11vh; */
        width: 100%;
        padding: 1rem;
    }

    .album-content {
        display: flex;
        flex-wrap: wrap;
    }
}





@media (max-width:912px) {
    #desktop-nav .nav-symbols {
        display: block;
    }

    .hideOnMobile {
        display: none;
    }


    .about-container {
        flex-direction: column;
    }


}

@media (max-width:800px) {


    header {
        width: 100%;
    }

    .hideOnMobile {
        display: none;
    }

    .sidebar #desktop-nav {
        width: 100%;
    }

    #desktop-nav .nav-symbols {
        display: block;
    }
}

@media (max-width: 768px) {


    .sidebar {
        display: block;
    }

    .hideOnMobile {
        display: none;
    }

    .hero-container {
        flex-direction: column;
    }

}

/* Mobile design begins */

@media (max-width:600px) {

    html {
        font-size: 70%;
    }

    nav {
        height: 10vh;
    }

    .nav-symbols {
        margin-left: -20px;
    }

    header {
        width: 100%;
    }





    .logo a {
        font-family: 'poppins', sans-serif;
        font-size: 1.5rem;
        text-transform: none;
        color: #44E5E7;
        transition: color 0.4s ease-in-out;
    }
    
    .logo img{
        width: 50px
    }



    .hero-container {
        display: flex;
        align-items: center;
        justify-content: space-around;
        gap: 1rem;
        transform: translate(0%, 40%);
    }



    #hero {
        padding: 1rem;
        padding-top: 10rem;
        padding-bottom: 5rem;
    
        background: #5c7aff fixed;
    
    
        background-position: right;
        background-repeat: no-repeat;
        background-size: cover;
        
        justify-content: center;
        align-items: center;
    
        height: 100vh;
    
    }


    .hero-container {
        justify-content: center;
    }




    .hero-section {
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    #hero img {
        max-width: 40vh;
        border-radius: 100%;
        /* visibility: hidden; */

    }


        .product-list {
            flex-wrap: nowrap;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
            scroll-behavior: smooth; /* Smooth scrolling on modern browsers */ 
            scroll-snap-type: x mandatory;        
        }
    

        .product-list::-webkit-scrollbar {
            display: none;
        }



    #hero {
        padding-top: 1rem;
    }



    .about-container {
        flex-direction: column;
    }


    .contact .btn {
        width: 27rem;
    }

    .contact {
        display: block;

    }

    .footer-icons {
        flex-direction: column;
    }

    .footer-icons .logo {
        margin-bottom: 20px;
    }


}

@media (max-width:400px) {
    .sidebar #desktop-nav {
        width: 100%;
    }

    header {
        width: 100%;
    }
}