@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #000000;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    border-bottom: 1px solid #eeeeee;
}

.logo img {
    height: 40px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #777777;
}

.cart a {
    text-decoration: none;
    color: #000000;
    display: flex;
    align-items: center;
}

.cart .feather-shopping-cart {
    transition: transform 0.3s ease;
}

.cart a:hover .feather-shopping-cart {
    transform: scale(1.1);
}

.cart-count {
    background-color: #000000;
    color: #ffffff;
    border-radius: 50%;
    padding: 0.1rem 0.4rem;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

main {
    padding: 2rem;
}

.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    border: 1px solid #eeeeee;
    border-radius: 5px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-card img {
    max-width: 100%;
    height: auto;
    display: block;
}

.product-card h3 {
    font-size: 1.2rem;
    margin: 1rem 0;
}

.product-card .price {
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-card button {
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s ease;
    width: 100%;
}

.product-card button:hover {
    background-color: #333333;
}

footer {
    text-align: center;
    padding: 1.5rem;
    border-top: 1px solid #eeeeee;
    margin-top: 2rem;
}

.welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000000ee;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.5s;
}

.welcome-content {
    background: rgba(255,255,255,0.05);
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    max-width: 400px;
}

.welcome-content h1 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
}

.welcome-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.welcome-content .tagline {
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #fff;
    letter-spacing: 2px;
}

#welcome-overlay button, .welcome-content button {
    background: #fff;
    color: #000;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: background 0.3s, color 0.3s, transform 0.2s;
}

#welcome-overlay button:hover, .welcome-content button:hover {
    background: #000;
    color: #fff;
    border: 1px solid #fff;
    transform: scale(1.05);
}

#welcome-overlay.hide {
    opacity: 0;
    pointer-events: none;
}

.about-section {
    background: #fafafa;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: center;
}
.about-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.about-section p {
    font-size: 1.1rem;
}

.contact-section {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.contact-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}
#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
#contact-form label {
    font-weight: 500;
    margin-bottom: 0.2rem;
    text-align: left;
}
#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea {
    padding: 0.7rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}
#contact-form input[type="file"] {
    font-size: 1rem;
}
#contact-form button[type="submit"] {
    background: #000;
    color: #fff;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, color 0.3s, transform 0.2s;
}
#contact-form button[type="submit"]:hover {
    background: #333;
    color: #fff;
    transform: scale(1.04);
}
#form-success {
    text-align: center;
    font-size: 1.1rem;
}

/* Cart Modal Styles */
.cart-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.cart-modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 2rem;
    border: 1px solid #888;
    border-radius: 8px;
    width: 80%;
    max-width: 600px;
    position: relative;
    animation: slideIn 0.4s;
}

@keyframes slideIn {
    from {top: -100px; opacity: 0}
    to {top: 0; opacity: 1}
}

.close-cart-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-cart-modal:hover,
.close-cart-modal:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#cart-items .cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
}

#cart-items .cart-item:last-child {
    border-bottom: none;
}

#cart-items .item-details {
    flex-grow: 1;
    margin-left: 1rem;
}

#cart-items .item-quantity {
    margin: 0 1rem;
}

.cart-total {
    text-align: right;
    font-size: 1.2rem;
    margin-top: 1rem;
}

#order-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
}

#order-form input,
#order-form textarea {
    padding: 0.7rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

#order-form button {
    background: #000;
    color: #fff;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

#order-form button:hover {
    background: #333;
} 