* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}


:root {
    --bg: #0a0a0a;
    --bg2: #111111;
    --bg3: #1a1a1a;
    --surface: #1e1e1e;
    --border: #dcdcdc;
    --border2: rgba(211, 211, 211, 0.48);
    --text: #f0ece4;
    --muted: #c5c5c5;
    --accent: #F47EFF;
    --accent2: #7a3c81;
    --red: #6c4ad4;
    --font-display: 'Rubik Mono One', sans-serif;
    --font-serif: 'Rubik Mono One', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

html {
    scroll-behavior: smooth
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 300;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

main {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    height: fit-content;
    padding-top: 80px;
    width: 100%;
    box-sizing: border-box;
}

.rubik-mono-one-regular {
    font-family: "Rubik Mono One", monospace;
    font-weight: 400;
    font-style: normal;
}

h1, h2 {
    font-family: "Rubik Mono One", monospace;
    line-height: normal;
}

h1 {
    font-size: 35px;
    text-wrap: stable;
}

h2 {
    font-size: 30px;
}

.title-header {
    padding: 50px 28px 32px 20px;
}


/* NAV */


nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(12px);
}

.nav-logo a {
    color: inherit;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 15px;
}

.nav-logo a strong {
    color: var(--accent)
}

.nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 72vw;
    max-width: 300px;
    background: var(--bg2);
    border-left: 1px solid var(--border2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 40px;
    gap: 10px;
    transition: right .35s cubic-bezier(.77, 0, .18, 1);
    z-index: 190;
    height: 100vh;
    overflow-y: auto;
    box-sizing: border-box;
    border-bottom-left-radius: 20px;
    border-top-left-radius: 20px;

}

.nav-links.open {
    right: 0;
    top: 0;
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 180;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.nav-overlay.open {
    display: block;
}

.nav-links a {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    cursor: pointer;
    padding: 20px 0;
    transition: color .2s;
    font-family: var(--font-display);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
}


.burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 46px;
    height: 46px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 210;
}

.burger span {
    display: block;
    height: 2px;
    background: var(--text);
    transition: transform .3s, opacity .3s, width .3s;
    transform-origin: center;
    border-radius: 2px;
}

.burger span:nth-child(2) {
    width: 70%;
    margin-left: auto;
}

.burger.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.burger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}


/* ===== PAGE 0: HOME ===== */

.home-grid {
    display: grid;
    grid-auto-columns: 1fr 1fr;
    gap: 30px;
    padding: 50px 30px 30px;
    width: 100%;
    height: fit-content;
}


.home-card.wide {
    grid-column: span 2;
}

.home-card p strong {
    color: var(--accent)
}

.home-card p {
    width: fit-content;
}

.home-card {
    color: white;
    text-decoration: none;
    border-radius: 20px;
    position: relative;
    border: 1px solid white;
    flex-shrink: 0;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: start;
    gap: 10px;
    font-family: var(--font-display);
    height: 155px;
    overflow: hidden;
    background-color: #2b2b2b;
    transition: 0.2s;
}

.home-card::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.home-card::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8) 90%);
    z-index: 2;
}

.home-card:active::before {
    opacity: 0.5;
}

.home-card > * {
    position: relative;
    z-index: 3;
}


.home-card.flash {
    height: 300px;
}

.home-card.flash::before {
    background-image: url("assets/flash.jpg");
}


.home-card.custom {
    height: 200px;
}

.home-card.custom::before {
    background-image: url("assets/custom.jpg");
}


.home-card.portfolio::before {
    background-image: url("assets/star.png");
    background-size: 100px;
    background-repeat: no-repeat;
    background-position: center 30%;
}


.home-card.contact::before {
    background-image: url("assets/bubbles.png");
    background-size: 100px;
    background-repeat: no-repeat;
    background-position: center 30%;
}

.home-card.information::before {
    background-image: url("assets/dino.png");
    background-size: 120px;
    background-repeat: no-repeat;
    background-position: center 30%;
}


/* ===== PAGE 1: FLASH ===== */
#page-home {
    background: var(--bg)
}

.home-hero {
    padding: 60px 28px 40px;
}

.hero-tag {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px
}

.hero-title {

    margin-bottom: 20px
}

.hero-title em {
    font-style: normal;
    color: var(--accent);
    font-size: 35px;
}

.hero-sub {
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 1px;
    max-width: 340px;
    line-height: 1.7
}

.filter-bar {
    display: flex;
    gap: 8px;
    padding: 20px 28px;
    overflow-x: auto;
    scrollbar-width: none;
    border-bottom: 1px solid var(--border)
}

.filter-bar::-webkit-scrollbar {
    display: none
}

.filter-btn {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 7px 16px;
    border: 1px solid var(--border2);
    color: var(--muted);
    cursor: pointer;
    background: transparent;
    white-space: nowrap;
    font-family: var(--font-body);
    transition: all .2s
}

.filter-btn.active, .filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent)
}

.flash-grid {
    display: grid;
    grid-template-columns:repeat(2, 1fr);
    gap: 5px;
    border: none;
    background-color: transparent;
}

.flash-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--bg2);
    aspect-ratio: 1;
}


.flash-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .4s
}

.flash-item:hover .flash-placeholder {
    transform: scale(1.04)
}

.flash-svg {
    width: 60%;
    height: 60%;
    opacity: .85
}

.flash-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}

.flash-item:hover .flash-img {
    transform: scale(1.04);
}

.flash-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    transition: background .3s
}

.flash-item:hover .flash-overlay {
    background: rgba(10, 10, 10, 0.75)
}

.flash-info {
    transform: translateY(12px);
    opacity: 0;
    transition: all .3s
}

.flash-item:hover .flash-info {
    transform: translateY(0);
    opacity: 1
}

.flash-name {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 2px;
    margin-bottom: 4px
}

.flash-meta {
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--accent)
}

.flash-avail {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 10px;
    background: rgba(10, 10, 10, 0.8)
}

.avail-yes {
    color: #6db87a;
    border: 1px solid #6db87a44
}

.avail-no {
    color: var(--red);
    border: 1px solid #d4574a44
}

/* DETAIL MODAL */
.modal-bg {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px)
}

.modal-bg.open {
    display: flex;
}

.modal {
    border: 1px solid var(--border2);
    width: 100%;
    border-radius: 30px;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto
}

.modal-img {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg3);
    border-bottom: 1px solid var(--border)
}

.modal-body {
    padding: 28px;
    background: linear-gradient(to bottom, rgb(70, 62, 73) 0%, rgba(48, 48, 48, 1) 100%);
}


.modal-title {
    font-family: var(--font-display);
    font-size: 30px;
    letter-spacing: 2px;
    margin-bottom: 8px
}

.modal-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 20px
}

.modal-btn {
    width: 100%;
    padding: 16px;
    background: #cc70c6;
    background: linear-gradient(to bottom, rgb(189, 112, 184) 0%, rgb(170, 91, 182) 100%);
    color: #431759;
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: 3px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: .2s
}

.modal-btn:hover {
    color: white;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 30px;
    padding: 20px;
    color: var(--accent);
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1
}

/* ===== BOOKING FORM ===== */
.form-page {
    padding: 50px 28px;
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-header {
    margin-bottom: 40px
}

.back-btn {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    cursor: pointer;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    font-family: var(--font-body)
}

.back-btn:hover {
    color: var(--text)
}

.form-title {
    font-family: var(--font-display);
    font-size: 35px;
    letter-spacing: 2px;
    margin-bottom: 8px
}

.form-sub {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7
}

.form-group {
    margin-bottom: 20px
}

.form-group label {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    display: block;
    margin-bottom: 8px
}


.form-group label span{
    color: var(--accent);
    font-size: 13px;
    line-height: 0.5;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    background: var(--surface);
    border: 2px solid var(--border2);
    color: var(--text);
    font-family: var(--font-body);
    border-radius: 15px;
    font-size: 14px;
    font-weight: 300;
    padding: 14px 16px;
    outline: none;
    transition: border-color .2s;
    -webkit-appearance: none
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--accent)
}

.form-group textarea {
    resize: vertical;
    min-height: 100px
}

.form-group select option {
    background: var(--bg2)
}

.payment-toggle {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.pay-opt {
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    cursor: pointer;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    background: transparent;
    border: 2px dashed var(--border2);
    border-radius: 15px;
    font-family: var(--font-body);
    transition: 0.2s;
}

.pay-opt.active {
    background: linear-gradient(0deg, rgb(70, 62, 73) 0%, rgba(48, 48, 48, 1) 100%);
    border: 2px dashed transparent;
    font-weight: 700;
    font-size: 12px;
    line-height: 100%;
    color: white;
}

.barter-section {
    display: none;
    margin-top: 16px
}

.barter-section.visible {
    display: block
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: #cc70c6;
    background: linear-gradient(to bottom, rgb(189, 112, 184) 0%, rgb(170, 91, 182) 100%);
    color: #431759;
    border: none;
    font-family: var(--font-display);
    border-radius: 15px;
    font-size: 20px;
    letter-spacing: 4px;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
}

.submit-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}


.submit-btn:hover {
    background: #cc70c6;
    background: linear-gradient(to bottom, rgb(189, 112, 184) 0%, rgb(170, 91, 182) 100%);
    color: white;
}


.option-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.option-group.sizes{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.option-group.sizes .opt-btn{
    width: 100%;
}

.opt-btn {
    color: var(--muted);
    background: transparent;
    border: 2px dashed rgba(90, 90, 90, 0.48);
    padding: 15px 25px;
    border-radius: 15px;
    cursor: pointer;
    font-weight: normal;
    transition: 0.2s;
}

.opt-btn.active {
    background: linear-gradient(0deg, rgb(70, 62, 73) 0%, rgba(48, 48, 48, 1) 100%);
    border: 2px solid transparent;
    color: white;
    transition: 0.2s;
}


/* ===== PAGE 2: CUSTOM ===== */
#page-custom .form-page {
    max-width: 600px
}

.upload-zone {
    border: 2px dashed rgba(90, 90, 90, 0.48);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s;
    background: var(--surface);

}

.upload-zone:hover {
    border-color: var(--accent)
}

.upload-icon {
    font-size: 28px;
    margin-bottom: 12px;
    opacity: .5
}

.upload-text {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 1px
}

.upload-sub {
    font-size: 11px;
    color: var(--border2);
    margin-top: 6px
}

/* uploading images and previewing them */
.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.preview-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 0.5px solid #e0e0e0;
    aspect-ratio: 1;
    background: #f5f5f5;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.delete-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.delete-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.filename {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 10px;
    padding: 4px 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* time of day/week */

.day-grid {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 6px;
}

.day-chip, .chip {
    color: var(--muted);
    background: transparent;
    border: 2px dashed rgba(90, 90, 90, 0.48);
    padding: 15px 20px;
    border-radius: 15px;
    cursor: pointer;
    font-weight: normal;
    font-size: 16px;
    transition: 0.2s;
}



.day-chip.active, .chip.active {
    background: linear-gradient(0deg, rgb(70, 62, 73) 0%, rgba(48, 48, 48, 1) 100%);
    border: 2px solid transparent;
    color: white;
    transition: 0.2s;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}


/* body part selector */

.bp-card {
    height: 150px;
    width: 150px;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid transparent;
    position: relative;
    cursor: pointer;
    transition: border-color .15s;
    transition: 0.2s;
}

.bp-card.active{
    border: 2px solid var(--accent);
}

.bp-card.active p{
    color: var(--accent);
}

/*.bp-card.active img{*/
/*    filter: saturate(1);*/
/*}*/

.bp-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background-color: black;

}

.bp-card p {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 40px 10px 8px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.75));
    color: #e4e4e4;
    font-size: 16px;
    font-weight: 500;
    transition: 0.2s;
}

.body-part-swiper {
    height: 100%;
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
}

/* sets the fixed size */
.body-part-swiper .swiper-slide,
.body-part-swiper .bp-card {
    width: 160px;
    height: 240px;
}

/* propagates it down */


/* ===== PAGE 3: PORTFOLIO ===== */
#page-portfolio {
    background: var(--bg)
}


.portfolio-grid {
    display: grid;
    grid-template-columns:repeat(2, 1fr);
    gap: 5px;
    background: none;
}


.port-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s;
}

.port-item:hover .port-img {
    transform: scale(1.06);
}

.port-item {
    background: var(--bg2);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer
}


.port-item .flash-placeholder {
    transition: transform .5s
}

.port-item:hover .flash-placeholder {
    transform: scale(1.06)
}

/* ===== PAGE 4: ABOUT ===== */
#page-about {
    background: var(--bg)
}

.about-wrap {
    max-width: 680px;
    width: 100%;
    padding: 60px 28px;
    box-sizing: border-box;
}

.about-eyebrow {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px
}

.about-name {
    font-family: var(--font-display);
    font-size: clamp(48px, 10vw, 80px);
    letter-spacing: 2px;
    line-height: .95;
    margin-bottom: 32px
}

.about-name em {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--muted)
}

.about-body {
    font-size: 15px;
    line-height: 1.9;
    color: #c0bab0;
    margin-bottom: 40px
}

.about-body p {
    margin-bottom: 20px
}

.info-blocks {
    display: grid;
    grid-template-columns:1fr;
    background: linear-gradient(to bottom, rgb(44, 39, 46) 0%, rgb(23, 22, 25) 100%);
    margin-top: 48px;
    border-radius: 30px;
    overflow: hidden;
}

.info-block {
    border-top: 5px solid var(--bg);
    padding: 24px
}

.info-block h2 {
    font-size: 13px;
    font-family: var(--font-display);
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px
}

.info-block p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.8
}

/* ===== PAGE 5: CONTACT ===== */
#page-contact .form-page {
    max-width: 560px
}

.contact-header {
    padding: 100px 28px 32px 0;
}

/* THANK YOU STATE */
.thankyou {
    text-align: center;
    padding: 80px 28px;

    display: flex;
    flex-direction: column;
    gap: 30px;
}

.ty-icon {
    font-size: 48px;
    margin-bottom: 24px;
    opacity: 0.5;
}

.ty-title {
    font-family: var(--font-display);
    font-size: 52px;
    letter-spacing: 3px;
    margin-bottom: 12px;
    color: var(--accent)
}

.ty-sub {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
    max-width: 320px;
    margin: 0 auto 32px
}
