/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

/* BODY */
body{
    background:linear-gradient(
        135deg,
        #0f172a,
        #111827,
        #1e293b
    );

    background-size:400% 400%;
    animation:bgMove 10s ease infinite;

    color:white;
    min-height:100vh;
    padding:30px;
}

/* BACKGROUND ANIMATION */
@keyframes bgMove{
    0%{
        background-position:0% 50%;
    }

    50%{
        background-position:100% 50%;
    }

    100%{
        background-position:0% 50%;
    }
}

/* HEADER */
header{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:20px;

    background:rgba(255,255,255,0.08);

    backdrop-filter:blur(10px);

    border-radius:20px;

    margin-bottom:40px;

    box-shadow:0 10px 30px rgba(0,0,0,0.3);
}

/* LOGO */
.logo{
    color:#38bdf8;
    font-size:32px;
    font-weight:bold;
}

/* NAV */
nav a{
    color:white;
    text-decoration:none;
    margin:0 15px;
    transition:0.3s;
    position:relative;
}

nav a:hover{
    color:#38bdf8;
}

/* NAV UNDERLINE */
nav a::after{
    content:"";
    width:0%;
    height:2px;
    background:#38bdf8;

    position:absolute;
    left:0;
    bottom:-5px;

    transition:0.3s;
}

nav a:hover::after{
    width:100%;
}

/* BUTTON */
button{
    padding:12px 24px;
    border:none;
    border-radius:12px;

    background:linear-gradient(
        45deg,
        #0ea5e9,
        #2563eb
    );

    color:white;

    cursor:pointer;

    transition:0.3s;

    margin-top:10px;

    font-weight:bold;
}

/* BUTTON HOVER */
button:hover{
    transform:translateY(-4px);

    box-shadow:0 10px 20px rgba(14,165,233,0.4);
}

/* OUTLINE BUTTON */
.outline-btn{
    background:transparent;
    border:1px solid #38bdf8;
}

/* HERO */
.hero{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;

    align-items:center;

    margin-bottom:80px;
}

/* HERO TEXT */
.hero-text h1{
    font-size:60px;
    margin-bottom:20px;
}

.hero-text p{
    line-height:1.8;
    color:#d1d5db;
    margin-bottom:20px;
}

/* HERO IMAGE */
.hero-image img{
    width:100%;
    border-radius:30px;

    box-shadow:0 10px 40px rgba(0,0,0,0.4);

    transition:0.4s;
}

.hero-image img:hover{
    transform:scale(1.03);
}

/* TITLES */
.section-title,
.page-title{
    margin-bottom:30px;
    font-size:36px;
}

/* GRID */
.feature-grid,
.product-grid{
    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:30px;
}

/* CARD */
.card,
.product-card{
    background:rgba(255,255,255,0.08);

    padding:20px;

    border-radius:20px;

    backdrop-filter:blur(10px);

    transition:0.4s;

    box-shadow:0 10px 30px rgba(0,0,0,0.2);
}

/* CARD HOVER */
.card:hover,
.product-card:hover{
    transform:translateY(-8px);

    box-shadow:0 15px 40px rgba(0,0,0,0.4);
}

/* PRODUCT IMAGE */
.product-card img{
    width:100%;
    height:220px;

    object-fit:cover;

    border-radius:15px;

    margin-bottom:15px;

    transition:0.4s;
}

.product-card img:hover{
    transform:scale(1.04);
}

/* PRODUCT PRICE */
.product-card p{
    color:#38bdf8;

    font-size:22px;

    margin:15px 0;

    font-weight:bold;
}

/* INPUT */
input,
textarea,
select{
    width:100%;

    padding:15px;

    border:none;

    border-radius:12px;

    margin-top:15px;

    background:rgba(255,255,255,0.08);

    color:white;

    outline:none;
}

/* PLACEHOLDER */
input::placeholder,
textarea::placeholder{
    color:#cbd5e1;
}

/* CONTACT + DETAIL */
.contact-section,
.detail-container{
    display:grid;

    grid-template-columns:1fr 1fr;

    gap:40px;
}

/* IMAGE */
.contact-info img,
.detail-image img{
    width:100%;

    margin-top:20px;

    border-radius:20px;

    box-shadow:0 10px 30px rgba(0,0,0,0.3);
}

/* FORM + DETAIL INFO */
.contact-form,
.detail-info{
    background:rgba(255,255,255,0.08);

    padding:30px;

    border-radius:20px;

    backdrop-filter:blur(10px);
}

/* PRICE */
.price{
    color:#38bdf8;
    margin:20px 0;
}

/* RATING */
.rating{
    margin:15px 0;
}

/* SPECS */
.specs{
    margin-top:30px;
}

.specs ul{
    margin-left:20px;
    margin-top:15px;
}

.specs li{
    margin-bottom:10px;
}

/* FOOTER */
footer{
    margin-top:80px;

    text-align:center;

    padding:30px;

    background:rgba(255,255,255,0.08);

    border-radius:20px;

    backdrop-filter:blur(10px);
}

/* ANIMATION */
.card,
.product-card,
.hero-text,
.hero-image,
.contact-form,
.detail-info{
    animation:fadeUp 1s ease;
}

/* FADE */
@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(30px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* RESPONSIVE */
@media(max-width:900px){

    .hero,
    .contact-section,
    .detail-container{
        grid-template-columns:1fr;
    }

    header{
        flex-direction:column;
        gap:20px;
    }

    nav{
        display:flex;
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero-text h1{
        font-size:40px;
    }

    body{
        padding:20px;
    }
}