/* =========================
   MAIN SECTION
========================== */
main {
    min-height: 100vh;
    padding: 2px 0;
    background-color: #f0f2f5;
}

/* ---Page Title--- */
main h2 {
    text-align: center;
    font-weight: bold;
    margin-bottom: 40px;
    color: #222;
    position: relative;
}

main h2::after {
    content: "";
    width: 80px;
    height: 4px;
    background-color: #0d6efd;
    display: block;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* =========================
   PRODUCT CARDS
========================== */
.card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* ---Product Image--- */
.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* ---Card Content--- */
.card-body {
    padding: 20px;
}

.card-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
}

/* ---Price--- */
.card .text-success {
    color: #198754 !important;
}

/* ---Add to Cart Button--- */
.add-to-cart-btn {
    border-radius: 10px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.add-to-cart-btn:hover {
    transform: scale(1.03);
}

/* =========================
   RESPONSIVE
========================== */
@media (max-width: 768px) {

    /* ---Main Section--- */
    main {
        padding: 20px 0;
    }

    main h2 {
        font-size: 1.4rem;
    }

    /* ---Product Image--- */
    .card-img-top {
        height: 180px;
    }

}

/* =========================
   FOOTER
========================== */
footer {
    background-color: #000000;
    color: #ffffff;
}

/* ---Footer Titles--- */
footer h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* ---Footer Links--- */
.footer-link {
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: inline-block;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #ffd700;
    text-decoration: underline;
}

/* ---Footer Container Spacing--- */
footer .container {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* ---Footer Right Columns--- */
footer .col-md-4.text-end {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* ---Social Icons Wrapper--- */
.social-icons-wrapper {
    margin-top: 0.5rem;
}

/* ---Social Icon--- */
.social-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: #ffffff;
    transition: color 0.3s, transform 0.3s;
}

.social-icon:hover {
    color: #ffd700;
    transform: scale(1.2);
}

/* ---Footer Logo--- */
.footer-logo {
    max-width: 150px;
}
