@font-face {
    font-family: 'Jost';
    src: url('../Assets/Jost/Jost-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'Jost';
    src: url('../Assets/Jost/Jost-Italic-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: italic;
}

:root {
    --primary-color: #333;
    --secondary-color: #f4f4f4;
    --text-color: #333;
    --accent-color: #d4af37; /* Gold-ish */
}

body {
    font-family: 'Jost', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: var(--text-color);
}

*, *::before, *::after {
    box-sizing: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    display: block;
}

/* Header Styles */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 40px; /* Adjust as needed */
}

.header-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.icon-link img {
    height: 24px;
    width: auto;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent-color);
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #333;
}

/* Main Content Styles */
main {
    width: 100%;
}

section {
    margin-bottom: 2rem;
}

.hero-banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.categories-grid {
    display: grid;
    gap: 1.5rem;
    padding: 0 2rem;
}

.categories-3-col {
    grid-template-columns: repeat(3, 1fr);
}

.categories-2-col {
    grid-template-columns: repeat(2, 1fr);
}

.category-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.category-card img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    padding: 1rem;
    text-align: center;
}

.category-overlay h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 500;
}

.full-width-banner img {
    width: 100%;
    height: auto;
}

/* Products Section */
.products-section {
    padding: 0 2rem;
    text-align: center;
}

.products-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.product-card {
    text-align: center;
}

.product-card img {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.product-card h3 {
    font-size: 1.1rem;
    margin: 0.5rem 0;
    font-weight: 500;
}

.product-card .price {
    color: var(--accent-color);
    font-weight: 600;
    margin: 0;
}

/* Features Section */
.features-section {
    display: flex;
    justify-content: space-around;
    padding: 3rem 2rem;
    background-color: var(--secondary-color);
    text-align: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.feature-item {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-item img {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
}

.feature-item h4 {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.feature-item p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

/* Instagram Feed */
.instagram-feed {
    padding: 0 2rem 2rem;
    text-align: center;
}

.instagram-feed h2 {
    margin-bottom: 2rem;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.instagram-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
}

/* Footer Styles */
.main-footer {
    background-color: #333;
    color: #fff;
    padding: 4rem 2rem 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 50px;
    width: auto;
    filter: invert(1); /* Invert logo color if it's black and needs to be white on dark bg */
}

.footer-links {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.link-column h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.link-column ul li {
    margin-bottom: 0.5rem;
}

.link-column ul li a {
    color: #ccc;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.link-column ul li a:hover {
    color: #fff;
}

.footer-social h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons img {
    width: 24px;
    height: 24px;
    filter: invert(1); /* Make social icons white */
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1rem;
    text-align: center;
    color: #888;
    font-size: 0.8rem;
}


/* Mobile Styles */
@media (max-width: 1024px) {
    .categories-3-col, .categories-2-col {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 1rem;
    }

    .header-icons {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-icons.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .categories-3-col, .categories-2-col {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-section {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        gap: 2rem;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .instagram-grid {
        grid-template-columns: 1fr;
    }

    .products-section h2 {
        font-size: 1.5rem;
    }

    .feature-item h4 {
        font-size: 1rem;
    }
}
