/* Hero Section */
main {
    background-color: #ede8e2;
}

.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: auto;
    min-height: auto;
    /* Mobile height */
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background-color: #ede8e2;
    /* Matches next section bg */
    z-index: 10;
}

.hero .image-container {
    width: 100%;
    height: auto;
    aspect-ratio: 1920 / 500;
}

@media (min-width: 1024px) {
    .hero {
        display: block;
        height: auto;
        min-height: auto;
        background-color: var(--background);
        /* Matching image background */
        border-radius: 0;
        position: relative;
    }

    .hero .image-container {
        width: 100%;
        max-width: 100%;
        margin: 0;
        aspect-ratio: 3168 / 1344;
    }
}

.hero .image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

@media (min-width: 1024px) {
    .hero .image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

@media (max-width: 1023px) {
    .hero .overlay {
        display: none;
    }
}


@media (min-width: 1024px) {
    .hero .overlay {
        display: none;
    }
}

.hero .content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 65%;
    padding: 0 1rem;
    text-align: left;
    z-index: 20;
    line-height: 1.1;
}

@media (min-width: 1024px) {
    .hero .content {
        position: absolute;
        width: 60%;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        padding: 0 5%;
        display: block;
        text-align: left;
        z-index: 20;
    }

    .hero .content .container {
        max-width: none;
        padding: 0;
    }
}

@media (min-width: 640px) {
    .hero .content {
        padding: 2rem;
    }
}

.hero h1 {
    font-size: 0.9rem;
    line-height: 1.2;
    color: var(--foreground);
    font-weight: 800;
    /* Matching desktop weight */
    margin-bottom: 0;
    padding: 0;
    text-shadow: none;
    -webkit-text-stroke: 0.5px rgba(255, 255, 255, 0.4);
    /* Subtle white outline for safety if background varies */
    background: none;
    border-radius: 0;
    backdrop-filter: none;
    display: inline-block;
}

@media (min-width: 640px) {
    .hero h1 {
        font-size: 1.875rem;
    }
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        color: var(--foreground);
        text-shadow: none;
        max-width: 700px;
        background: none;
        padding: 0;
        backdrop-filter: none;
        display: block;
    }
}

.hero h1 .accent {
    color: var(--accent);
}

.hero p {
    display: none;
}

@media (min-width: 1024px) {
    .hero p {
        display: block;
        margin-top: 1rem;
        max-width: 700px;
        font-size: 1.125rem;
        color: var(--muted-foreground);
        text-shadow: none;
    }
}

/* Grids and Sections */
.catalog-section {
    padding: 1.25rem 0;
}

@media (min-width: 640px) {
    .catalog-section {
        padding: 2rem 0;
    }
}

.bg-secondary-light {
    background-color: #ede8e2;
}

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

@media (min-width: 640px) {
    .grid-2 {
        gap: 1.25rem;
    }
}

@media (min-width: 640px) {
    .grid-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.max-w-lg {
    max-width: 32rem;
    margin-inline: auto;
}

.max-w-3xl {
    max-width: 48rem;
    margin-inline: auto;
}

.section-title {
    margin-bottom: 0.25rem;
    text-align: center;
    font-size: 1.5rem;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 1.875rem;
    }
}

.section-subtitle {
    margin-bottom: 1.25rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    background-color: rgba(0, 0, 0, 0.03);
    padding: 1.5rem 0;
}