
/* =========================================
   GODSPEED APPAREL™
   CUSTOM STUDIO — BLACK & GOLD THEME
========================================= */

:root {
    --custom-black: #111114;
    --custom-dark: #19191F;
    --custom-panel: #202027;
    --custom-input: #292932;
    --custom-gold: #A7A1CC;
    --custom-gold-light: #C8C3E0;
    --custom-white: #f5f5f5;
    --custom-muted: #a5a5a5;
    --custom-border: #3A3A46;
}

/* =========================================
   MAIN PAGE
========================================= */

.custom-page {
    background: var(--custom-black);
    color: var(--custom-white);
    padding-bottom: 80px;
}

.custom-page h1,
.custom-page h2,
.custom-page h3 {
    color: var(--custom-white);
}

.custom-page p {
    color: var(--custom-muted);
}

/* =========================================
   HERO SECTION
========================================= */

.custom-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 45px;
    padding: 70px 6%;
    background: var(--custom-dark);
    overflow: hidden;
}

.custom-hero-copy {
    position: relative;
    z-index: 2;
}

.custom-hero-copy h1 {
    font-size: clamp(36px, 5vw, 65px);
    line-height: 1.05;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.custom-hero-copy p {
    font-size: 15px;
    line-height: 1.8;
    max-width: 520px;
}

.custom-hero-image img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    display: block;
}

/* =========================================
   INTRODUCTION
========================================= */

.custom-intro {
    max-width: 900px;
    margin: 70px auto 30px;
    padding: 0 25px;
    text-align: center;
}

.custom-intro h2 {
    font-size: clamp(25px, 4vw, 38px);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.custom-intro p {
    font-size: 14px;
    line-height: 1.9;
}

/* =========================================
   CATEGORY GRID
========================================= */

.custom-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 45px 0 65px;
}

.custom-category-card {
    position: relative;
    display: block;
    width: 100%;
    min-height: 300px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 8px;
    background: var(--custom-panel);
    cursor: pointer;
    text-align: left;
    transition: .3s ease;
}

.custom-category-card img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform .5s ease;
}

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

.custom-category-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    color: white;
    background: linear-gradient(
        to top,
        rgba(8,8,8,.96),
        rgba(8,8,8,.05)
    );
}

.custom-category-overlay h3 {
    margin: 0 0 8px;
    font-size: 23px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.custom-category-overlay p {
    margin: 0 0 15px;
    color: #dddddd;
    font-size: 13px;
    line-height: 1.6;
}

.custom-category-overlay span {
    color: var(--custom-gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.custom-category-card:hover,
.custom-category-card.active {
    border-color: var(--custom-gold);
    box-shadow: 0 8px 25px rgba(210,180,124,.15);
}

.custom-category-card:focus-visible {
    outline: 3px solid var(--custom-gold);
    outline-offset: 4px;
}

/* =========================================
   CUSTOMIZATION FORM PANEL
========================================= */

.custom-form-panel {
    scroll-margin-top: 100px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 45px;
    background: var(--custom-panel);
    border: 1px solid var(--custom-border);
    border-radius: 10px;
}

.custom-form-heading {
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--custom-border);
}

.custom-form-heading h2 {
    font-size: 28px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.custom-form-heading p {
    font-size: 14px;
    line-height: 1.7;
}

/* =========================================
   FORM GRID
========================================= */

.custom-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.custom-field {
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-width: 0;
}

.custom-field-full {
    grid-column: 1 / -1;
}

.custom-field[hidden] {
    display: none !important;
}

.custom-field label {
    color: var(--custom-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* =========================================
   INPUTS AND SELECTS
========================================= */

.custom-page .custom-field input,
.custom-page .custom-field select,
.custom-page .custom-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    background: var(--custom-input);
    color: var(--custom-white);
    border: 1px solid var(--custom-border);
    border-radius: 5px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: .25s ease;
}

.custom-page .custom-field input:focus,
.custom-page .custom-field select:focus,
.custom-page .custom-field textarea:focus {
    border-color: var(--custom-gold);
    box-shadow: 0 0 0 2px rgba(210,180,124,.12);
}

.custom-page .custom-field input::placeholder,
.custom-page .custom-field textarea::placeholder {
    color: #777777;
}

.custom-page .custom-field select option {
    background: var(--custom-dark);
    color: var(--custom-white);
}

.custom-page .custom-field textarea {
    min-height: 140px;
    resize: vertical;
}

.custom-page .custom-field input[type="file"] {
    padding: 12px;
    cursor: pointer;
}

.custom-page .custom-field input[type="file"]::file-selector-button {
    padding: 9px 14px;
    margin-right: 12px;
    background: var(--custom-gold);
    color: var(--custom-black);
    border: none;
    border-radius: 3px;
    font-weight: 700;
    cursor: pointer;
}

/* =========================================
   FORM BUTTONS
========================================= */

.custom-page .custom-order-form button,
.custom-page .custom-order-form input[type="submit"] {
    display: inline-block;
    padding: 15px 30px;
    background: var(--custom-gold);
    color: var(--custom-black);
    border: 1px solid var(--custom-gold);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: .3s ease;
}

.custom-page .custom-order-form button:hover,
.custom-page .custom-order-form input[type="submit"]:hover {
    background: var(--custom-gold-light);
    border-color: var(--custom-gold-light);
    transform: translateY(-2px);
}

/* =========================================
   RESPONSIVE — TABLET
========================================= */

@media (max-width: 768px) {
    .custom-hero {
        grid-template-columns: 1fr;
        padding: 45px 6%;
        gap: 25px;
    }

    .custom-hero-image img {
        height: 320px;
    }

    .custom-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .custom-category-card,
    .custom-category-card img {
        min-height: 240px;
        height: 240px;
    }

    .custom-category-overlay {
        padding: 17px;
    }

    .custom-category-overlay h3 {
        font-size: 19px;
    }

    .custom-form-panel {
        padding: 28px;
        margin: 0 15px;
    }
}

/* =========================================
   RESPONSIVE — MOBILE
========================================= */

@media (max-width: 520px) {
    .custom-hero-copy h1 {
        font-size: 36px;
    }

    .custom-category-grid {
        grid-template-columns: 1fr;
    }

    .custom-category-card,
    .custom-category-card img {
        min-height: 280px;
        height: 280px;
    }

    .custom-form-panel {
        padding: 22px 17px;
    }

    .custom-form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .custom-field-full {
        grid-column: auto;
    }

    .custom-form-heading h2 {
        font-size: 23px;
    }

    .custom-page .custom-order-form button,
    .custom-page .custom-order-form input[type="submit"] {
        width: 100%;
    }
}

/* =========================================================
   CUSTOM STUDIO — RESPONSIVE FINISHING LAYER
========================================================= */

.custom-page {
    min-height: 60vh;
    background: #111114;
    color: #F7F7FA;
}

.custom-page *,
.custom-page *::before,
.custom-page *::after {
    box-sizing: border-box;
}

.custom-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 56px);
    padding: clamp(42px, 6vw, 82px) clamp(20px, 6vw, 90px);
}

.custom-hero-image {
    min-width: 0;
    overflow: hidden;
    border-radius: 5px;
}

.custom-hero-image img {
    width: 100%;
    max-height: 520px;
    border-radius: 5px;
}

.custom-intro {
    margin-top: clamp(48px, 6vw, 76px);
}

.custom-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 2vw, 22px);
}

.custom-category-card {
    border-radius: 5px;
}

.custom-category-card img {
    width: 100%;
}

.custom-form-panel {
    width: min(1100px, calc(100% - 36px));
    border-radius: 7px;
    box-shadow: 0 18px 50px rgba(0,0,0,.2);
}

.custom-page .custom-field input,
.custom-page .custom-field select,
.custom-page .custom-field textarea {
    min-height: 48px;
    border-radius: 4px;
}

.custom-page .custom-field textarea {
    min-height: 140px;
}

.custom-page .custom-order-form button,
.custom-page .custom-order-form input[type="submit"] {
    min-height: 49px;
    border-radius: 4px;
}

.custom-page .custom-order-form button:hover,
.custom-page .custom-order-form input[type="submit"]:hover {
    color: #111114;
}

@media (max-width: 768px) {
    .custom-hero {
        grid-template-columns: 1fr;
        padding: 42px 22px;
    }

    .custom-hero-image img {
        height: clamp(240px, 65vw, 360px);
    }

    .custom-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .custom-form-panel {
        width: calc(100% - 30px);
        margin: 0 auto;
        padding: 25px 20px;
    }
}

@media (max-width: 520px) {
    .custom-category-grid {
        grid-template-columns: 1fr;
    }

    .custom-category-card,
    .custom-category-card img {
        height: 270px;
        min-height: 270px;
    }

    .custom-form-grid {
        grid-template-columns: 1fr;
    }

    .custom-field-full {
        grid-column: auto;
    }

    .custom-form-panel {
        padding: 22px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .custom-page *,
    .custom-page *::before,
    .custom-page *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
