* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Niagara Solid', sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 40;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    display: block;
    width: auto;
    max-height: 56px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #000000;
    text-decoration: none;
    font-size: 1.125rem;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: rgba(0, 0, 0, 0.6);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-btn,
.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s;
    position: relative;
}

.cart-btn:hover,
.mobile-menu-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: #000000;
    color: #ffffff;
    font-size: 0.75rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
}

.cart-count.active {
    display: flex;
}

.mobile-menu-btn {
    display: none;
}

.mobile-menu {
    display: none;
    padding-bottom: 1rem;
}

.mobile-menu.active {
    display: block;
}

.mobile-link {
    display: block;
    padding: 0.5rem 1rem;
    color: #000000;
    text-decoration: none;
    font-size: 1.125rem;
    transition: background-color 0.3s;
}

.mobile-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Hero Section */
.hero {
    min-height: 600px;
    height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url("hero.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
}

.hero-content {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    padding: 0;
}

/* Mobile responsiveness for hero */
@media (max-width: 768px) {
    .hero {
        height: 70vh;
        min-height: 400px;
    }

    .hero-content {
        bottom: 1.5rem;
        left: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 60vh;
        min-height: 300px;
    }

    .hero-content {
        bottom: 1rem;
        left: 1rem;
    }
}

.hero-title {
    font-family: 'Palace Script MT', cursive;
    font-size: 6rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-submit {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1.125rem;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #000000;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #000000;
}

.btn-submit {
    width: 100%;
    background-color: #000000;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.pwa-install-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
    padding: 1rem 1rem 0.75rem;
}

.pwa-install-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.pwa-install-content span {
    flex: 1 1 220px;
    font-size: 0.95rem;
}

.pwa-install-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 0 0 auto;
}

.pwa-install-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 0.25rem;
}

/* Categories Section */
.categories-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

.section-title {
    font-family: 'Palace Script MT', cursive;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    position: relative;
    height: 16rem;
    overflow: hidden;
    border-radius: 4px;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.1);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
    z-index: 10;
}

.category-card:hover .category-overlay {
    background-color: rgba(0, 0, 0, 0.1);
}

.category-name {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.875rem;
    z-index: 20;
}

/* About Preview */
.about-preview {
    background-color: #000000;
    color: #ffffff;
    padding: 5rem 1rem;
}

.about-content {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

/* Shop Page */
.shop-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.page-title {
    font-family: 'Palace Script MT', cursive;
    font-size: 4rem;
    text-align: center;
    margin-bottom: 3rem;
}

.category-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background-color: #ffffff;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #000000;
    color: #ffffff;
    border-color: #000000;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

/* Product Card */
.product-card {
    cursor: pointer;
}

.product-image-container {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 1rem;
}

.product-name {
    color: #ffffff;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.product-price {
    color: #ffffff;
    font-weight: 600;
}

.add-to-cart-btn {
    width: 100%;
    background-color: #000000;
    color: #ffffff;
    padding: 0.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .add-to-cart-btn {
    opacity: 1;
}

/* About Page */
.about-container {
    max-width: 56rem;
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

.about-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-section {
    margin-bottom: 2rem;
}

.about-heading {
    font-family: 'Palace Script MT', cursive;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-paragraph {
    font-size: 1.125rem;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    border-radius: 4px;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-text {
    color: rgba(0, 0, 0, 0.7);
}

.about-closing {
    text-align: center;
    padding-top: 2rem;
}

/* Contact Page */
.contact-container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-subtitle {
    font-size: 1.25rem;
    color: rgba(0, 0, 0, 0.7);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.contact-heading {
    font-family: 'Palace Script MT', cursive;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-intro {
    font-size: 1.125rem;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-item svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-item a {
    color: rgba(0, 0, 0, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #000000;
}

.contact-item p {
    color: rgba(0, 0, 0, 0.7);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    font-family: 'Niagara Solid', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000000;
}

.form-group textarea {
    resize: none;
}

/* Cart Sidebar */
.cart-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 40;
    display: none;
}

.cart-overlay.active {
    display: block;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    max-width: 28rem;
    background-color: #ffffff;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    z-index: 50;
    transform: translateX(100%);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.cart-title {
    font-family: 'Palace Script MT', cursive;
    font-size: 1.5rem;
}

.close-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.close-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.empty-cart {
    text-align: center;
    padding: 3rem 0;
    color: rgba(0, 0, 0, 0.6);
}

.cart-item {
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    font-size: 0.875rem;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 0.5rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.quantity-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.quantity {
    width: 2rem;
    text-align: center;
}

.remove-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    color: #dc2626;
    margin-left: auto;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.remove-btn:hover {
    background-color: #fef2f2;
}

.cart-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.total-price {
    font-size: 1.5rem;
    font-weight: bold;
}

.btn-checkout {
    width: 100%;
    background-color: #000000;
    color: #ffffff;
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-checkout:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .page-title {
        font-size: 3rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cart-sidebar {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 3rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}
