:root {
    --dark-bg: #1a1a1a;
    --darker-bg: #121212;
    --accent: #ecbad0;
    --text: #ecbad0;
}

*{
    margin:0;
    padding:0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    background: var(--darker-bg);
    color: var(--text);
}

/*Navigation*/
.navbar{
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    background: rgba(26,26,26,0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo{
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover{
    transform: scale(1.05);
    color: var(--accent);
}

.nav-links{
    display: flex;
    gap: 2.5rem;
}

.nav-links a{
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after{
    width: 100%;
}

/* Search Bar Styles */
.search-container {
     width: 100%;
     max-height: 30px;
     max-width: 500px;
     margin-bottom: 30px;
}

.search-input {
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 25px;
    outline: none;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.search-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
}

/*Banner*/

.banner {
    margin-top: 100px;
    padding: 8rem 5%;
    background: linear-gradient(45deg,#2d3436,#1a1a1a);
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

    .banner h1 {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
        animation: fadeIn 1s ease-out;
        background: linear-gradient(to right,#dc82a3, #ff8e8e);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

/*Product Section*/

.products{
    padding: 5rem 5%;
}

.product-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.product-card{
    background: var(--dark-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
    max-width: 350px;
    max-height: 450px;
    max-height: 470px;
}

.product-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(255,207,207,0.2);
}

.product-image{
    width: 90%;
    height: 75%;
    object-fit: cover;
    transition: transform 0.3s ease;
    filter: grayscale(20%);
}

.product-card:hover .product-image{
    transform: scale(1.05);
    filter: grayscale(0%);
}

.product-info{
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.product-title{
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.product-price{
    color: var(--accent);
    font-weight: 700;
    font-size:1.3rem;
}

/* Footer */
.footer{
    background: var(--dark-bg);
    padding: 4rem 5%;
    margin-top: 5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 3rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text);
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: scale(1.1);
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-icons a{
    color: var(--text);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-icons a:hover{
    transform: translateY(-5px);
    color: white;
}

@keyframes fadeIn{
    from { opacity:0; transform: translateY(20px);}
    to { opacity: 1; transform: translateY(0)}
}

@media (max-width: 768px){
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}