/* =========================================================
   MYA CREATES — RESPONSIVE STYLESHEET
   ========================================================= */

/* ---------- RESET ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

:root {
    --primary-color: #E47B00;
    --secondary-color: #FF9933;
    --accent-color: #FFB84D;

    --text-light: #FFF8F0;
    --text-dark: #8B4513;

    --bg-light: #FFF8F0;
    --bg-dark: #CC5500;
    --bg-gray: #FFE5CC;

    --border-color: #FFB84D;

    --shadow-light: 0 2px 10px rgba(228, 123, 0, 0.12);
    --shadow-medium: 0 5px 20px rgba(228, 123, 0, 0.18);
    --shadow-heavy: 0 10px 40px rgba(228, 123, 0, 0.25);

    --transition: all 0.3s ease;

    --nav-height: 82px;
}

body {
    font-family:
        'Gaegu',
        'Inter',
        -apple-system,
        BlinkMacSystemFont,
        'Segoe UI',
        sans-serif;

    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family:
        'Gaegu',
        'Inter',
        -apple-system,
        BlinkMacSystemFont,
        'Segoe UI',
        sans-serif;

    font-weight: 600;
    line-height: 1.15;
}

.hero-title {
    font-weight: 700;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
    opacity: 0.8;
}

.subsection-title {
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-align: center;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: var(--nav-height);

    background: rgba(255, 248, 240, 0.96);
    backdrop-filter: blur(10px);

    z-index: 1000;

    padding: 0.8rem 0;

    box-shadow: var(--shadow-light);
}

.nav-container {
    width: min(1200px, calc(100% - 40px));
    min-height: 65px;

    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 2rem;
}

.nav-logo {
    flex-shrink: 0;
}

.nav-logo h1 {
    font-weight: 700;
    color: var(--primary-color);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;

    list-style: none;

    gap: clamp(1rem, 2.5vw, 2rem);
}

.nav-menu a {
    position: relative;

    text-decoration: none;
    color: var(--text-dark);

    font-weight: 500;
    font-size: clamp(1.1rem, 2vw, 1.5rem);

    white-space: nowrap;

    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.nav-menu a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -5px;

    width: 0;
    height: 2px;

    background: var(--secondary-color);

    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}


/* ---------- HAMBURGER ---------- */

.hamburger {
    display: none;

    flex-direction: column;
    justify-content: center;

    width: 42px;
    height: 42px;

    gap: 5px;

    border: none;
    background: transparent;
}

.hamburger span {
    display: block;

    width: 27px;
    height: 3px;

    background: var(--primary-color);

    border-radius: 3px;

    transition: var(--transition);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    /*
     * The navbar is fixed and overlays the top of the hero, so the
     * hero spans the full viewport height.
     */
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #FFA500 0%,
            #FF8C00 25%,
            #FF6347 50%,
            #FFA500 75%,
            #FFB84D 100%
        );

    /*
     * The hero starts at the top of the viewport (the navbar is
     * fixed and overlays it), so the top padding clears the nav
     * and then leaves the signup's breathing room.
     */
    padding: calc(var(--nav-height) + 22px) 20px 40px;
}

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.20);

    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;

    flex: 1;

    align-content: center;

    width: min(1300px, 100%);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(300px, 0.9fr)
        minmax(400px, 1.3fr);

    align-items: center;

    gap: clamp(2rem, 5vw, 5rem);

    padding: 0 20px;
}

.hero-text {
    min-width: 0;
}

.hero-title {
    color: var(--text-light);

    font-size: clamp(3.5rem, 6vw, 5.5rem);

    line-height: 0.95;

    margin-bottom: 0.75rem;

    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    color: var(--accent-color);

    font-size: clamp(1.4rem, 2.5vw, 1.8rem);

    margin-bottom: 1rem;

    animation: fadeInUp 0.8s ease-out 0.15s both;
}

.hero-description {
    color: var(--text-light);

    font-size: clamp(1.2rem, 2vw, 1.6rem);

    line-height: 1.5;

    max-width: 500px;

    margin-bottom: 2rem;

    opacity: 0.95;

    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 1rem;

    animation: fadeInUp 0.8s ease-out 0.45s both;
}


/* =========================================================
   HERO CAROUSEL
   ========================================================= */

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;

    min-width: 0;
}

.hero-carousel {
    position: relative;

    width: 100%;
    max-width: 750px;

    aspect-ratio: 16 / 9;

    border-radius: 15px;

    overflow: hidden;

    box-shadow: var(--shadow-heavy);

    margin: 0 auto;
}

.carousel-slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: opacity 0.8s ease;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.carousel-slide img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.3s ease;
}

.carousel-slide a {
    display: block;

    width: 100%;
    height: 100%;

    position: absolute;
    inset: 0;

    z-index: 5;

    text-decoration: none;
}

.carousel-slide a:hover img {
    transform: scale(1.02);
}


/* ---------- CAROUSEL BUTTONS ---------- */

.carousel-btn {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 20;

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.85);

    color: var(--primary-color);

    font-size: 1.2rem;

    transition: var(--transition);
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.08);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}


/* ---------- INDICATORS ---------- */

.carousel-indicators {
    position: absolute;

    bottom: 18px;
    left: 50%;

    transform: translateX(-50%);

    z-index: 20;

    display: flex;
    gap: 9px;
}

.indicator {
    width: 11px;
    height: 11px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.5);

    cursor: pointer;

    transition: var(--transition);
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-block;

    padding: 0.9rem 1.8rem;

    border-radius: 50px;

    border: none;

    text-decoration: none;

    font-weight: 600;

    text-align: center;

    font-size: 1rem;

    transition: var(--transition);

    cursor: pointer;
}

.btn-primary {
    background: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-color);

    transform: translateY(-2px);

    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;

    color: white;

    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;

    color: var(--primary-color);

    transform: translateY(-2px);
}

.btn-small {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}


/* Honeypot: off-screen for humans, filled in by bots. */
.hp {
    position: absolute;

    left: -9999px;

    width: 1px;
    height: 1px;

    overflow: hidden;
}


/* =========================================================
   NEEP SIGNUP
   ========================================================= */

/*
 * In the hero's normal flow as its first row, so hero content is
 * pushed below it instead of being overlapped. No hand-tuned
 * padding reservation is needed at any breakpoint.
 */
.neep-signup-section {
    position: relative;

    z-index: 50;

    flex-shrink: 0;

    margin-bottom: 2rem;
}

.neep-signup-content {
    width: fit-content;

    max-width: min(900px, 100%);

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 0.75rem;

    padding: 0.65rem 1.25rem;

    background: rgba(255, 248, 240, 0.96);

    border: 2px solid var(--secondary-color);

    border-radius: 50px;

    box-shadow: var(--shadow-medium);
}

.neep-signup-text {
    flex-shrink: 0;

    font-size: 1rem;

    color: var(--text-dark);

    font-weight: 600;

    white-space: nowrap;

    line-height: 1.25;
}

/* Shown in place of the headline, input and button once submitted. */
.neep-signup-done {
    flex-shrink: 1;

    min-width: 0;

    text-align: center;

    white-space: normal;

    padding: 0.25rem 0;
}

.neep-signup-done[data-state="error"] {
    color: #8B4513;
}

.neep-retry {
    flex-shrink: 0;

    padding: 0.45rem 1rem;

    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;

    background: var(--primary-color);

    color: white;

    border: none;

    border-radius: 25px;

    cursor: pointer;

    transition: var(--transition);

    white-space: nowrap;
}

.neep-retry:hover {
    background: var(--secondary-color);
}

.neep-signup-form {
    display: flex;
    align-items: center;

    gap: 0.5rem;

    position: relative;

    flex-shrink: 1;

    min-width: 0;
}

.neep-signup-form > input,
.neep-signup-form > button {
    flex-shrink: 0;
}

.neep-signup-form input[type="email"] {
    width: 220px;

    padding: 0.55rem 0.8rem;

    font-size: 0.9rem;

    border: 2px solid var(--border-color);

    border-radius: 25px;

    font-family: inherit;

    color: var(--text-dark);

    background: white;
}

.neep-signup-form input[type="email"]:focus {
    outline: none;

    border-color: var(--primary-color);
}

.neep-signup-form button {
    padding: 0.55rem 1.25rem;

    font-size: 0.9rem;

    font-weight: 600;

    background: var(--primary-color);

    color: white;

    border: none;

    border-radius: 25px;

    cursor: pointer;

    transition: var(--transition);

    white-space: nowrap;
}

.neep-signup-form button:hover:not(:disabled) {
    background: var(--secondary-color);

    transform: translateY(-2px);
}

.neep-signup-form button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.neep-signup-form .hp {
    position: absolute;

    left: -9999px;

    width: 1px;
    height: 1px;

    overflow: hidden;
}

/*
 * Pulled out of the flex row so it can't add a gap after the button
 * or resize the pill when a message appears. Floats under the form.
 */
.neep-status-wrapper {
    position: absolute;

    top: calc(100% + 0.45rem);

    left: 50%;
    transform: translateX(-50%);

    width: max-content;
    max-width: 100%;

    text-align: center;
}

#neep-status {
    position: relative;

    left: 0;
    bottom: 0;

    font-size: 0.8rem;

    text-align: center;
}

#neep-status[data-state="error"] {
    color: #8B4513;
}

#neep-status[data-state="ok"] {
    color: var(--primary-color);
}


/* =========================================================
   FILMS
   ========================================================= */

.films-section {
    padding: 5rem 0;

    background: var(--bg-light);

    text-align: center;
}

.films-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(min(350px, 100%), 1fr));

    gap: 3rem;

    margin-top: 2rem;
}

.film-item {
    background: var(--bg-light);

    border-radius: 15px;

    overflow: hidden;

    display: flex;
    flex-direction: column;

    transition: var(--transition);
}

.film-item:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow-heavy);
}

.film-thumbnail {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    cursor: pointer;
}

.film-thumbnail img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.play-button {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.9);

    border-radius: 50%;

    transition: var(--transition);

    z-index: 10;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button i {
    color: var(--primary-color);
    font-size: 1.5rem;

    margin-left: 3px;
}

.film-info {
    padding: 1.5rem;

    border: 2px solid var(--border-color);
    border-top: none;

    border-radius: 0 0 15px 15px;

    flex-grow: 1;

    display: flex;
    flex-direction: column;

    min-height: 180px;
}

.film-title {
    font-size: 1.3rem;

    margin-bottom: 0.5rem;

    color: var(--primary-color);
}

.film-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.film-description {
    color: var(--text-dark);

    opacity: 0.8;

    margin-bottom: 1rem;
}

.film-meta {
    display: flex;

    gap: 1rem;

    font-size: 0.9rem;

    color: var(--text-dark);

    opacity: 0.7;

    margin-top: auto;
}


/* =========================================================
   BEHIND THE SCENES
   ========================================================= */

.behind-the-scenes {
    margin-top: 5rem;

    padding-top: 2rem;

    border-top: 2px solid var(--border-color);
}

.subsection-subtitle {
    font-size: 1.1rem;

    color: var(--text-light);

    margin-bottom: 3rem;

    text-align: center;
}

.bts-grid {
    display: grid;

    grid-template-columns: 1fr;

    gap: 2rem;

    margin-top: 2rem;
}

.bts-item {
    display: grid;

    grid-template-columns: minmax(280px, 1fr) minmax(400px, 1.5fr);

    gap: 0;

    background: white;

    border-radius: 12px;

    overflow: hidden;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);

    transition: var(--transition);

    align-items: stretch;
}

.bts-item:hover {
    transform: translateY(-5px);

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.bts-content {
    padding: 2rem;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bts-content h4 {
    font-size: 1.5rem;

    color: var(--text-dark);

    margin-bottom: 1rem;
}

.bts-content p {
    font-size: 1rem;

    line-height: 1.7;

    color: var(--text-dark);
}

.bts-images {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 0.5rem;

    min-height: 260px;
}

.bts-images img {
    width: 100%;
    height: 100%;

    min-height: 0;

    object-fit: cover;

    cursor: pointer;

    transition: transform 0.3s ease;
}

.bts-images img:hover {
    transform: scale(1.03);
}

.alphabet-soup .bts-images {
    grid-template-columns: 1fr 1fr;
}


/* =========================================================
   ART GALLERY
   ========================================================= */

.art-section {
    padding: 5rem 0;

    background: var(--bg-gray);
}

.art-filters {
    display: flex;

    justify-content: center;

    gap: 1rem;

    margin-bottom: 3rem;

    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;

    background: var(--bg-light);

    border: 2px solid var(--border-color);

    border-radius: 50px;

    cursor: pointer;

    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);

    color: white;

    border-color: var(--primary-color);
}

.art-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(min(400px, 100%), 1fr));

    gap: 2rem;
}

.art-item {
    background: var(--bg-light);

    border-radius: 15px;

    overflow: hidden;

    box-shadow: var(--shadow-light);

    transition: var(--transition);

    cursor: pointer;

    display: flex;
    flex-direction: column;
}

.art-item:hover {
    transform: translateY(-8px);

    box-shadow: var(--shadow-heavy);
}

.art-image {
    position: relative;

    width: 100%;

    height: 500px;

    overflow: hidden;

    background:
        linear-gradient(
            45deg,
            #FFB84D 0%,
            #FF9933 100%
        );
}

.art-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;
}

.art-item[data-id="2"] .art-image {
    height: 550px;
}

.art-item[data-id="2"] .art-image img,
.art-item[data-id="3"] .art-image img {
    object-fit: contain;
}

.art-item[data-id="2"] .art-image img {
    transform: scale(1.05);
}

.art-item[data-id="3"] .art-image img {
    transform: scale(1.05) rotate(-0.5deg) translateX(2%);
}

.art-info {
    padding: 1rem;

    display: flex;
    flex-direction: column;

    flex-grow: 1;
}

.art-title {
    font-size: 1.3rem;

    margin-bottom: 0.3rem;

    color: var(--primary-color);
}

.art-description {
    color: var(--text-dark);

    opacity: 0.8;

    margin-bottom: 0.8rem;

    flex-grow: 1;
}

.art-price {
    font-size: 1.5rem;

    font-weight: 700;

    color: var(--secondary-color);

    margin-bottom: 1rem;
}

.art-actions {
    display: flex;

    gap: 1rem;

    opacity: 1;
    visibility: visible;
}

.add-to-cart-btn,
.purchase-btn {
    border: 2px solid #FF8C00 !important;

    color: #FF8C00 !important;

    opacity: 1 !important;

    visibility: visible !important;
}

.art-modal-content .add-to-cart-btn {
    background: #FF8C00 !important;

    color: white !important;

    border: none !important;
}


/* ---------- Neep the Worm section ---------- */

.neep-section {
    padding: 5rem 0;

    background: var(--bg-gray);
}

.puppet-grid {
    display: grid;

    grid-template-columns: minmax(0, 1fr);

    max-width: 1000px;

    margin: 0 auto;
}

.nav-neep {
    font-weight: 600;
}

/* ---------- Neep the Worm: featured tile ---------- */

.art-item-featured {
    border: 3px solid var(--accent-color);
    box-shadow: var(--shadow-medium);
}

.art-item-featured .art-image img {
    object-fit: contain;
    padding: 1.5rem;
}

.art-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: var(--shadow-light);
}

@media (min-width: 1025px) {
    .art-item-featured {
        flex-direction: row;
    }
    .art-item-featured .art-image {
        flex: 1.2;
        height: auto;
        min-height: 500px;
    }
    /* Keep the tall photo from stretching the tile */
    .art-item-featured .art-image img {
        position: absolute;
        inset: 0;
    }
    .art-item-featured .art-info {
        flex: 1;
        justify-content: center;
        padding: 2rem;
    }
    .art-item-featured .art-title {
        font-size: 2rem;
    }
    .art-item-featured .art-description {
        flex-grow: 0;
        font-size: 1.1rem;
    }
}

/* Modal photo gallery */
.art-thumbs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.art-thumbs:empty {
    display: none;
}

.art-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}

.art-thumb:hover,
.art-thumb.active {
    opacity: 1;
    border-color: var(--primary-color);
}

/* Hero bar once Neep is live */
.neep-shop-btn {
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-section {
    padding: 5rem 0;

    background: var(--bg-gray);
}

.about-content {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 4rem;

    align-items: center;
}

.about-text h2 {
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 1.5rem;

    font-size: 1.1rem;

    line-height: 1.8;
}

.about-stats {
    display: flex;

    gap: 3rem;

    margin-top: 2rem;

    justify-content: flex-start;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;

    color: var(--secondary-color);

    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-dark);

    opacity: 0.8;
}

.about-image img {
    width: 100%;

    height: 400px;

    object-fit: cover;

    object-position: center 70%;

    border-radius: 15px;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
    padding: 5rem 0;

    background: var(--bg-light);
}

.contact-content {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 4rem;
}

.contact-info h3 {
    margin-bottom: 2rem;

    color: var(--primary-color);
}

.contact-item {
    display: flex;

    align-items: center;

    gap: 1rem;

    margin-bottom: 1.5rem;
}

.contact-item i {
    width: 24px;

    font-size: 1.2rem;

    color: var(--secondary-color);

    text-align: center;
}

.social-links {
    display: flex;

    gap: 1rem;

    margin-top: 2rem;
}

.social-links a {
    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--primary-color);

    color: white;

    border-radius: 50%;

    text-decoration: none;

    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);

    transform: translateY(-3px);
}

.contact-form {
    background: var(--bg-gray);

    padding: 2rem;

    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 1rem;

    border: 2px solid var(--border-color);

    border-radius: 10px;

    font-size: 1rem;

    transition: var(--transition);

    background: var(--bg-light);

    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;

    border-color: var(--secondary-color);
}

.form-group textarea {
    resize: vertical;

    min-height: 120px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    background: var(--bg-dark);

    color: var(--text-light);

    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;

    grid-template-columns: 1fr 2fr;

    gap: 3rem;

    margin-bottom: 2rem;
}

.footer-logo h3 {
    color: white;

    margin-bottom: 0.5rem;
}

.footer-logo p {
    opacity: 0.8;
}

.footer-links {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(150px, 1fr));

    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;

    color: var(--accent-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: white;

    text-decoration: none;

    opacity: 0.8;

    transition: var(--transition);
}

.footer-column ul li a:hover {
    opacity: 1;

    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;

    padding-top: 2rem;

    border-top: 1px solid rgba(255, 255, 255, 0.1);

    opacity: 0.8;
}


/* =========================================================
   MODALS
   ========================================================= */

.modal {
    display: none;

    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.8);

    z-index: 2000;

    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    position: relative;

    width: min(90%, 800px);

    max-height: 90vh;

    overflow-y: auto;

    margin: 5vh auto;

    padding: 2rem;

    background: var(--bg-light);

    border-radius: 15px;

    animation: slideIn 0.3s ease-out;
}

.art-modal-content {
    max-width: 1000px;
}

.close {
    position: absolute;

    top: 1rem;
    right: 1.25rem;

    z-index: 100;

    font-size: 2rem;

    cursor: pointer;

    color: var(--text-dark);

    transition: var(--transition);
}

.close:hover {
    color: var(--secondary-color);
}

.art-detail {
    display: flex;

    flex-direction: column;

    gap: 1.5rem;

    width: 100%;

    max-width: 700px;

    margin: 0 auto;
}

.art-detail-image {
    text-align: center;
}

.art-detail-image img {
    width: auto;

    max-width: 100%;

    max-height: 45vh;

    margin: 0 auto;

    object-fit: contain;

    border-radius: 10px;
}

.art-detail-puppet .art-detail-image img {
    max-height: 30vh;
}

.art-detail-info h2 {
    margin-bottom: 1rem;

    color: var(--primary-color);
}

.art-details {
    margin: 1.5rem 0;
}

.art-details p {
    margin-bottom: 0.5rem;
}

.art-details strong {
    padding-right: 0.5rem;
}

.art-price {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 1rem;
}

.art-price h3 {
    color: var(--secondary-color);

    margin: 0;
}

.modal-buttons {
    display: flex;

    gap: 1rem;

    width: 100%;
}

.modal-buttons button {
    flex: 1;

    padding: 0.8rem 1.5rem;
}


/* =========================================================
   BTS MODAL
   ========================================================= */

.bts-modal-image {
    text-align: center;

    margin-bottom: 0.75rem;
}

.bts-modal-image img {
    max-width: 100%;

    max-height: 500px;

    margin: 0 auto;

    border-radius: 8px;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.bts-modal-info {
    text-align: center;

    max-width: 700px;

    margin: 0 auto;
}

.bts-modal-info h3 {
    font-size: 1.5rem;

    color: var(--text-dark);
}

.bts-modal-info h3.project-title {
    display: none;
}

.bts-modal-info p {
    font-size: 1.2rem;

    line-height: 1.6;

    color: var(--text-dark);
}


/* =========================================================
   SHOPPING CART
   ========================================================= */

.cart-icon {
    position: fixed;

    bottom: 2rem;
    right: 2rem;

    width: 60px;
    height: 60px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--secondary-color);

    color: white;

    border-radius: 50%;

    cursor: pointer;

    box-shadow: var(--shadow-heavy);

    transition: var(--transition);

    z-index: 999;
}

.cart-icon:hover {
    transform: scale(1.1);

    background: var(--accent-color);
}

.cart-count {
    position: absolute;

    top: -5px;
    right: -5px;

    width: 25px;
    height: 25px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--accent-color);

    color: white;

    border-radius: 50%;

    font-size: 0.8rem;

    font-weight: 700;
}

.cart-header {
    display: grid;

    grid-template-columns: 30px 2fr 1fr;

    padding: 1rem;

    border-bottom: 2px solid var(--border-color);

    color: var(--text-dark);
}

.cart-item {
    display: grid;

    grid-template-columns: 30px 2fr 1fr;

    align-items: center;

    padding: 1rem;

    border-bottom: 1px solid var(--border-color);
}

.cart-item .item-info {
    display: flex;

    flex-direction: column;
}

.cart-item .price-info {
    display: flex;

    justify-content: flex-end;

    text-align: right;
}

.cart-item .action-info {
    display: flex;

    justify-content: center;
}

.remove-from-cart {
    width: 25px;
    height: 25px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border: none;

    border-radius: 50%;

    background: #8B4513;

    color: white;

    cursor: pointer;

    transition: var(--transition);
}

.remove-from-cart:hover {
    background: #A0522D;

    transform: scale(1.1);
}

.cart-total {
    text-align: right;

    font-size: 1.2rem;

    font-weight: 600;

    color: var(--primary-color);

    margin-top: 2rem;
}

.checkout-btn {
    width: 100%;

    margin-top: 1rem;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 1400px) {

    /*
     * Keep the hero compact on very large/maximized displays.
     * This prevents huge empty areas above and below the content.
     */
    .hero {
        min-height: 100vh;

        padding-top: calc(var(--nav-height) + 18px);
        padding-bottom: 30px;
    }

    .hero-content {
        max-width: 1350px;

        gap: clamp(2.5rem, 4vw, 4rem);
    }

    .hero-carousel {
        max-width: 720px;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

    :root {
        --nav-height: 70px;
    }

    /* Navigation */

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;

        top: var(--nav-height);
        left: 0;

        width: 100%;

        flex-direction: column;

        gap: 1.25rem;

        padding: 2rem;

        background: var(--bg-light);

        box-shadow: var(--shadow-medium);

        transform: translateY(-120%);

        opacity: 0;

        pointer-events: none;

        transition:
            transform 0.3s ease,
            opacity 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);

        opacity: 1;

        pointer-events: auto;
    }

    .nav-menu a {
        font-size: 1.5rem;
    }


    /* Hero */

    .hero {
        min-height: auto;

        padding-top: calc(var(--nav-height) + 42px);

        padding-bottom: 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;

        text-align: center;

        max-width: 800px;

        gap: 2.5rem;
    }

    .hero-title {
        font-size: clamp(3.5rem, 9vw, 5rem);
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-carousel {
        max-width: 700px;
    }


    /* Signup */

    .neep-signup-content {
        max-width: 700px;

        border-radius: 30px;

        gap: 0.9rem;
    }

    /*
     * At this width the headline + input + button no longer fit on one
     * line inside a 700px pill, so let the headline wrap and shrink
     * rather than pushing the form past the rounded edge.
     */
    .neep-signup-text {
        white-space: normal;

        flex-shrink: 1;

        min-width: 0;

        font-size: 0.95rem;

        text-align: left;
    }

    .neep-signup-form input[type="email"] {
        width: 180px;
    }


    /* About / Contact */

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;

        gap: 3rem;
    }

    .about-image {
        max-width: 600px;

        margin: 0 auto;

        width: 100%;
    }


    /* BTS */

    .bts-item {
        grid-template-columns: 1fr;
    }

    .bts-content {
        padding: 2rem;
    }

    .bts-images {
        min-height: 260px;
    }


    /* Art */

    .art-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   MOBILE — 768px
   ========================================================= */

@media (max-width: 768px) {

    .container {
        width: min(100% - 30px, 600px);
    }

    body {
        font-size: 1rem;
    }


    /* Navigation */

    .nav-container {
        width: calc(100% - 30px);
    }

    .nav-logo h1 {
        font-size: 2.3rem;
    }


    /* Signup */

    .neep-signup-section {
        margin-bottom: 1.5rem;
    }

    .neep-signup-content {
        width: 100%;

        max-width: 100%;

        flex-direction: column;

        gap: 0.7rem;

        padding: 1rem;

        border-radius: 20px;
    }

    .neep-signup-text {
        width: 100%;

        white-space: normal;

        text-align: center;

        font-size: 0.95rem;

        line-height: 1.25;

        overflow-wrap: normal;
    }

    .neep-signup-form {
        width: 100%;

        flex-direction: column;

        gap: 0.7rem;
    }

    .neep-signup-form input[type="email"] {
        width: 100%;

        min-width: 0;
    }

    .neep-signup-form button {
        width: 100%;
    }

    /*
     * Stacked layout: the status sits in the flow under the button,
     * inside the box. Hidden while empty so it adds no dead space.
     */
    .neep-status-wrapper {
        position: static;

        transform: none;

        width: 100%;

        max-width: none;
    }

    .neep-signup-form:has(#neep-status:empty) .neep-status-wrapper {
        display: none;
    }

    /* Hero */

    .hero {
        min-height: auto;

        padding:
            calc(var(--nav-height) + 30px)
            15px
            60px;
    }

    .hero-content {
        padding: 0;

        gap: 2rem;
    }

    .hero-title {
        font-size: clamp(3.2rem, 14vw, 4.5rem);

        line-height: 0.95;

        margin-top: 0;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .hero-description {
        font-size: 1.15rem;

        margin-bottom: 1.5rem;
    }

    .hero-carousel {
        width: 100%;

        aspect-ratio: 16 / 9;

        border-radius: 12px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;

        font-size: 1rem;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }

    .carousel-indicators {
        bottom: 10px;
    }


    /* Sections */

    .films-section,
    .art-section,
    .about-section,
    .contact-section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 1.15rem;
    }


    /* Art */

    .art-grid {
        grid-template-columns: 1fr;
    }

    .art-image {
        height: 450px;
    }

    .art-item[data-id="2"] .art-image,
    .art-item[data-id="3"] .art-image {
        height: 500px;
    }


    /* Films */

    .films-grid {
        grid-template-columns: 1fr;

        gap: 2rem;
    }


    /* BTS */

    .behind-the-scenes {
        margin-top: 4rem;
    }

    .bts-item {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .bts-content {
        padding: 1.5rem;
    }

    .bts-content h4 {
        font-size: 1.35rem;
    }

    .bts-content p {
        font-size: 1rem;
    }

    .bts-images {
        grid-template-columns: repeat(3, 1fr);

        min-height: 180px;
    }

    .alphabet-soup .bts-images {
        grid-template-columns: 1fr 1fr;
    }


    /* About */

    .about-content {
        display: flex;

        flex-direction: column;
    }

    .about-image {
        order: -1;
    }

    .about-image::before {
        content: "About Mya";

        display: block;

        text-align: center;

        font-size: 2.5rem;

        color: var(--primary-color);

        margin-bottom: 1rem;
    }

    .about-image img {
        height: 280px;
    }

    .about-text .section-title {
        display: none;
    }

    .about-stats {
        justify-content: center;

        gap: 2.5rem;
    }


    /* Contact */

    .contact-content {
        gap: 2.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }


    /* Footer */

    .footer-content {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }


    /* Modal */

    .modal-content {
        width: 94%;

        margin: 3vh auto;

        padding: 1.25rem;

        max-height: 94vh;
    }

    .art-detail-image img {
        max-height: 35vh;
    }

    .art-detail-puppet .art-detail-image img {
        max-height: 24vh;
    }

    .art-details p {
        font-size: 0.95rem;
    }

    .modal-buttons {
        flex-direction: column;
    }


    /* Cart */

    .cart-icon {
        width: 55px;
        height: 55px;

        bottom: 1rem;
        right: 1rem;
    }
}


/* =========================================================
   SMALL PHONES — 480px
   ========================================================= */

@media (max-width: 480px) {

    .container {
        width: calc(100% - 30px);
    }

    .nav-logo h1 {
        font-size: 2rem;
    }


    /* Signup */

    .neep-signup-section {
        margin-bottom: 1.25rem;
    }

    .neep-signup-content {
        padding: 0.9rem;

        gap: 0.6rem;

        border-radius: 18px;
    }

    .neep-signup-text {
        font-size: 0.85rem;

        line-height: 1.2;

        max-width: 100%;
    }

    .neep-signup-form {
        gap: 0.6rem;
    }

    .neep-signup-form input[type="email"],
    .neep-signup-form button {
        min-height: 42px;
    }


    /* Hero */

    .hero {
        padding:
            calc(var(--nav-height) + 26px)
            12px
            45px;
    }

    .hero-title {
        font-size: 3.4rem;

        line-height: 0.95;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-description {
        font-size: 1.05rem;
    }

    .hero-buttons {
        flex-direction: column;

        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }


    /* Carousel */

    .carousel-btn {
        width: 35px;
        height: 35px;
    }

    .prev-btn {
        left: 6px;
    }

    .next-btn {
        right: 6px;
    }

    .indicator {
        width: 9px;
        height: 9px;
    }


    /* Sections */

    .section-title {
        font-size: 2.2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }


    /* Art */

    .art-image {
        height: 400px;
    }

    .art-item[data-id="2"] .art-image,
    .art-item[data-id="3"] .art-image {
        height: 450px;
    }


    /* BTS */

    .bts-images {
        min-height: 160px;
    }

    .bts-content {
        padding: 1.2rem;
    }

    .bts-content h4 {
        font-size: 1.2rem;
    }

    .bts-content p {
        font-size: 0.9rem;
    }


    /* About */

    .about-image img {
        height: 240px;
    }

    .about-stats {
        gap: 1.5rem;
    }

    .stat h3 {
        font-size: 2rem;
    }


    /* Footer */

    .footer-links {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   VERY SMALL PHONES — 360px
   ========================================================= */

@media (max-width: 360px) {

    .nav-logo h1 {
        font-size: 1.8rem;
    }

    .neep-signup-section {
        margin-bottom: 1rem;
    }

    .neep-signup-content {
        padding: 0.8rem;
    }

    .neep-signup-text {
        font-size: 0.8rem;
    }

    .hero {
        padding-top: calc(var(--nav-height) + 22px);
    }

    .hero-title {
        font-size: 3rem;
    }
}


/* =========================================================
   TOUCH DEVICES
   ========================================================= */

@media (hover: none) and (pointer: coarse) {

    .art-item:hover,
    .film-item:hover,
    .bts-item:hover {
        transform: none;
    }

    .carousel-slide a:hover img,
    .bts-images img:hover {
        transform: none;
    }
}
