/***** Ian Matthew Z. Zaragoza *****/ 

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Georgia, serif;
}

/* BODY */
body {
    background-color: #F9F5F0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

/* HERO SECTION */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 450px;
    background-image: url("tiramisuheading.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* NAVBAR FLEXBOX */
.navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 15px 40px;
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(2px);
}

/* TIRAVIE LOGO */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-img {
    width: auto;
    height: 45px;
    max-width: 100%;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 24px;
    font-weight: bold;
    color: #67202D;
    letter-spacing: 1px;
}

.brand-tagline {
    margin-top: -2px;
    font-size: 11px;
    color: #67202D;
    font-style: italic;
    text-align: center;
}

/* NAVIGATION BAR */
.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    color: #67202D;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* CATEGORY MENU */
.productPills {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    transform: translateY(25px);
    z-index: 2;
}

.category-pills {
    width: max-content;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 12px 30px;
    background-color: #FFFFFF;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.pill {
    display: inline-block;
    padding: 8px 20px;
    color: #4A1516;
    background-color: #F5EBE6;
    border-radius: 30px;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
    transition: 0.3s;
}

.active {
    color: #FFFFFF;
    background-color: #4A1516;
}

.pill:not(.active):hover,
.pill.active:hover {
    background-color: #4A1516;
    color: #FFFFFF;
}

/* PRODUCTS FLEXBOX */
.Boxes {
    width: 100%;
    max-width: 1200px;
    margin: 70px auto 50px;
    padding: 0 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
}

/* PRODUCT CARD*/
.product-card {
    flex: 1 1 300px;
    width: 100%;
    max-width: 350px;
    min-width: 0;
    padding: 10px;
    background-color: #FFFFFF;
    border: 1px solid #CBA7A7;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}

/* PRODUCT IMAGES */
.product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 0.8;
    padding: 10px;
    background-color: #F1E6D4;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.product-image > img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

/* PRODUCT NAME & DETAILS */
.product-card h2 {
    padding: 0 5px;
    color: #4A1516;
    font-size: 14px;
    text-align: center;
}

.product-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 0 5px 3px;
}

.product-info p {
    color: #741F2E;
    font-size: 17px;
    font-weight: bold;
}

.product-info button {
    padding: 6px 10px;
    border: 1px solid #CBA7A7;
    border-radius: 15px;
    background-color: #F8EDED;
    color: #741F2E;
    font-size: 17px;
    cursor: pointer;
}

.product-info button:hover {
    background-color: #741F2E;
    color: #FFFFFF;
}

/*ADD TO BOX BUTTON*/

.add-to-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 6px;

    padding: 8px 12px;

    border: none;
    border-radius: 7px;

    background-color: #F5EBE6;
    color: #67202D;

    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: bold;

    cursor: pointer;

    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

/* Cube icon */

.cube-icon {
    width: 18px;
    height: 18px;

    object-fit: contain;

    display: block;

    flex-shrink: 0;
}


/* Hover */

.add-to-box:hover {
    background-color: #67202D;
    color: #FFFFFF;
}


/* FOOTER*/

.footer {
    background-color: #67202D;
    color: #FFFFFF;

    padding: 40px 60px 20px;

    margin-top: auto;
}


/*FOOTER CONTAINER */

.footer-container {
    max-width: 1100px;

    margin: 0 auto;

    display: flex;

    justify-content: space-between;

    gap: 40px;
}


/* FOOTER BRAND*/

.footer-brand {
    max-width: 350px;
}


.footer-brand h2 {
    font-size: 20px;

    letter-spacing: 1px;

    margin: 0 0 12px 0;
}


.footer-brand p {
    font-size: 11px;

    line-height: 1.5;

    opacity: 0.8;

    margin: 0 0 20px 0;
}


.copyright {
    display: block;

    font-size: 10px;

    opacity: 0.6;
}


/* FOOTER NAVIGATION */

.footer-navigation {
    display: flex;

    gap: 60px;
}


.footer-column {
    display: flex;

    flex-direction: column;

    gap: 8px;
}


.footer-column h4 {
    font-size: 12px;

    margin: 0 0 6px 0;
}


.footer-column > a {
    color: #FFFFFF;

    text-decoration: none;

    font-size: 11px;

    opacity: 0.8;

    transition: opacity 0.3s ease;
}


.footer-column > a:hover {
    opacity: 1;
}


/*SOCIAL MEDIA*/

.social-column {
    min-width: 190px;
}


/* Instagram + Facebook links */

.social-links {
    display: flex;

    flex-direction: column;

    gap: 8px;
}


/* Icon + account name */

.social-account {
    display: flex;

    align-items: center;

    gap: 8px;

    color: #FFFFFF;

    text-decoration: none;

    font-family: Arial, sans-serif;

    font-size: 13px;

    font-weight: bold;

    line-height: 1;

    transition:
        color 0.3s ease,
        text-shadow 0.3s ease;
}


/* Instagram icon */

.Instagram-logo {
    width: 30px;

    height: 30px;

    object-fit: contain;

    display: block;

    flex-shrink: 0;
}


/* Facebook icon */

.facebook-logo {
    width: 30px;

    height: 30px;

    object-fit: contain;

    display: block;

    flex-shrink: 0;
}


/* Social media hover */

.social-account:hover {
    color: #FFFFFF;

    text-shadow:
        0 0 5px #FFFFFF,
        0 0 10px #FFFFFF,
        0 0 15px #FFFFFF;
}


/* RESPONSIVE FOOTER*/

@media (max-width: 768px) {

    .footer {
        padding: 35px 25px 20px;
    }

    .footer-container {
        flex-direction: column;

        gap: 30px;
    }

    .footer-navigation {
        flex-wrap: wrap;

        gap: 30px;
    }

}


@media (max-width: 480px) {

    .footer-navigation {
        flex-direction: column;

        gap: 25px;
    }

    .social-column {
        min-width: auto;
    }

}