body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #fff;
    color: #000;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #000;
    color: #fff;
    padding: 15px 30px;
}
header .logo {
    font-size: 1.5em;
    font-weight: bold;
}
/* Default nav links */
header nav a {
    color: #fff; /* white text */
    margin-left: 20px;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 12px;
}

/* Home link special style */
header nav a:first-child {
    background-color: #ccc; /* light gray background */
    color: #1a0202; /* black text */
    border-radius: 5px;
    position: relative;
}

/* Fashion design overlay */
header nav a:first-child::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0.2;
    border-radius: 5px;
    pointer-events: none;
}

/* Hero */
.hero h1{
    color: #fcfafa;
    }
.hero p{
    color: #fbf9f9;
}
.hero {
    text-align: center;
    padding: 150px 30px;
    background-image: url("assets/images/newposter1.jpg"); /* fashion design image */
    background-size: cover;
}
.hero button {
    background: #b2b2c1;
    color: #020a25;
    border: none;
    padding: 12px 25px;
    font-weight: bold;
    cursor: pointer;
}
.hero button:hover {
    background: #fff;
    border: 1px solid #f1ecec;
}

/* Collection */
.collection {
    padding: 50px 20px;
    text-align: center;
}
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.card {
    background: #a8a5a5;
    border: 1px solid #000;
    padding: 20px;
    transition: transform 0.3s;
}
.card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}
.card:hover {
    transform: scale(1.05);
}
.cart-btn {
    background: #ccc;
    color: #000;
    border: none;
    padding: 10px 15px;
    font-weight: bold;
    cursor: pointer;
}
.cart-btn:hover {
    background: #000;
    color: #fff;
    border: 1px solid #ccc;
}

/* About */
.about {
    padding: 50px 20px;
    background: #f4f3ee;
    text-align: center;
}
.about-text {
    font-weight: bold;
    font-size: 1.2em;
    color: #000;
}

/* Contact */
.contact {
    background: linear-gradient(to right, #65676a, #b1b2be);
    color: #fff;
    padding: 50px 20px;
    text-align: center;
}
.contact input, .contact textarea {
    width: 100%;
    margin: 10px 0;
    padding: 12px;
    border: 1px solid #ccc;
}
.contact button {
    background: #ccc;
    color: #000;
    border: none;
    padding: 12px 25px;
    font-weight: bold;
    cursor: pointer;
}
.contact button:hover {
    background: #fff;
    color: #000;
    border: 1px solid #ccc;
}

/* Footer */
footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 15px;
}


/* ===== NEW CART STYLE ===== */
.cart-icon {
    margin-left: 20px;
    font-weight: bold;
    cursor: pointer;
}

#cart-items {
    list-style: none;
    padding: 0;
}

#cart-items li {
    margin: 8px 0;
    font-weight: bold;
}

#cart-items button {
    margin-left: 10px;
    cursor: pointer;
}

/* CART MODAL */
.cart-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.cart-content {
    background: #fff;
    padding: 25px;
    width: 350px;
    border-radius: 10px;
    text-align: center;
}

.close-btn {
    float: right;
    cursor: pointer;
    font-size: 18px;
}

.checkout-btn {
    margin-top: 15px;
    padding: 10px 20px;
    background: black;
    color: white;
    border: none;
    cursor: pointer;
}