/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #17253F;
    color: #C5C3C3;
    font-family: Calibri, Arial, sans-serif;
}

/* Typography */
h1 {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 30px;
}

h2 {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 25px;
}

.section-header {
    font-family: Calibri, sans-serif;
    font-size: 20px;
}

.emphasized-body {
    font-family: Calibri, sans-serif;
    font-weight: bold;
    font-size: 16px;
}

.body-text {
    font-family: Calibri, sans-serif;
    font-size: 16px;
}

.alt-body-text {
    font-family: Comfortaa, sans-serif;
    font-size: 15px;
}

.caption {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 11px;
}

/* Color Classes */
.indigo-bg { background-color: #2343BD; }
.aqua-bg { background-color: #91B9D2; }
.lime-bg { background-color: #DEF479; }
.white-bg { background-color: #FCFCFC; }

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

main {
    padding: 2rem 0;
}

/* Navigation */
.mobile-menu {
    display: none;
    padding: 1rem 2rem;
    background: #2343BD;
}

.menu-toggle {
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #C5C3C3;
    margin: 5px 0;
}

nav ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    padding: 1rem 2rem;
    background: #2343BD;
}

.nav-links li {
    margin-left: 2rem;
    display: flex;
    align-items: center;
}

.nav-links a {
    color: #FCFCFC;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 16px;
}

.cart-button {
    background: #DEF479;
    color: #17253F;
    border: none;
    border-radius: 4px;
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 18px;
    font-family: Arial, sans-serif;
    height: 3rem;
    transition: background-color 0.2s;
}

.cart-button:hover {
    background: #e8f7a0;
}

.cart-count {
    background: #17253F;
    color: #FCFCFC;
    border-radius: 50%;
    padding: 0.25rem 0.5rem;
    font-size: 14px;
    min-width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero {
    background: #2343BD;
    padding: 1.5rem 0;
    margin-bottom: 2rem;
    border-radius: 8px;
    text-align: center;
}

.hero-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0 2rem;
    min-height: 50px;
}

.hero-header h1 {
    margin-bottom: 0;
    margin-right: auto;
    transform: translateY(4px);
}

.logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transform: scale(1.4);
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero-links {
    display: flex;
    gap: 2rem;
}

.hero-links a {
    color: #DEF479;
    text-decoration: none;
    font-weight: bold;
}

/* Layout Components */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.promo-item {
    background: #2343BD;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    color: #FCFCFC;
    position: relative;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.promo-item.promo {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 20px;
    line-height: 1.4;
}

.promo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



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

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Forms */
.contact-section {
    margin: 2rem auto;
    width: 100%;
    max-width: 600px;
    text-align: center;
    padding: 2rem;
    background: #2343BD;
    border-radius: 8px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.form-group {
    width: 100%;
    max-width: 400px;
    text-align: left;
}

.signup-form {
    margin: 2rem 0;
}

.signup-form input {
    padding: 0.5rem;
    margin-right: 1rem;
}

/* Gallery Page */
.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem auto;
    width: 60%;
}

.product-card {
    background: #2343BD;
    padding: 0.75rem;
    border-radius: 8px;
    color: #FCFCFC;
}

.product-card button {
    background: #2343BD;
    color: #FCFCFC;
    border: none;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    margin-top: 1rem;
    transition: background-color 0.2s;
}

.product-card button:disabled {
    cursor: default;
}

.product-card button.added {
    background: #17253F;
    color: #DEF479;
}

.product-image {
    width: 100%;
    aspect-ratio: 1;
    background: #91B9D2;
    margin-bottom: 0.75rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 4px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-x {
    position: relative;
    width: 60%;
    height: 60%;
}

.placeholder-x::before,
.placeholder-x::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: #17253F;
}

.placeholder-x::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.placeholder-x::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.add-to-cart {
    width: 100%;
    padding: 0.4rem;
    margin-top: 0.75rem;
    background: #DEF479;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.product-title {
    font-size: 16px;
    margin-bottom: 0.4rem;
}

.product-description {
    font-size: 14px;
    margin-bottom: 0.4rem;
    opacity: 0.9;
}

/* Testimonials Page */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.testimonial-card {
    background: #2343BD;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.star-rating {
    color: #DEF479;
    font-size: 24px;
    margin: 0.5rem 0;
}

.star {
    display: inline-block;
    margin-right: 2px;
}

.star.empty {
    opacity: 0.3;
}

/* About Page */
.contact-form {
    max-width: 600px;
    margin: 2rem 0;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #91B9D2;
    background: #FCFCFC;
    color: #17253F;
}

.form-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
}

.business-hours {
    margin: 2rem 0;
}

.business-hours {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hours-table {
    width: 50%;
    margin: 1rem 0;
    border-collapse: collapse;
    color: #FCFCFC;
    border: 2px solid #DEF479;
    background: #2343BD;
}

.hours-table td {
    padding: 1rem 1.5rem;
    font-family: Calibri, sans-serif;
    font-size: 16px;
    border: 1px solid #DEF479;
}

.hours-table td:first-child {
    font-weight: bold;
    padding-right: 2rem;
    background: rgba(145, 185, 210, 0.1);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.hours-placeholder {
    height: 30px;
    background: #91B9D2;
    border-radius: 4px;
}

.category {
    background: #91B9D2;
    height: 150px;
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 20px;
    line-height: 1.4;
    color: #17253F;
}



.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    padding: 1rem;
}

.category-tags .tag {
    display: inline-block;
    background: #2343BD;
    color: #FCFCFC;
    padding: 1rem 2rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 20px;
    min-width: 180px;
    text-align: center;
}

/* Section Spacing */
section {
    margin-bottom: 3rem;
}

section:last-child {
    margin-bottom: 0;
}

/* Button Styles */
button {
    background: #DEF479;
    color: #17253F;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

button:hover {
    background: #91B9D2;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
    }

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

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

    .form-actions {
        flex-direction: column;
    }
}
