:root {
    --clr-dark: #0e0e0e;
    --clr-light: #fafafa;
    --clr-accent: #007bff;
    --clr-red: #ff4d4d;
    --radius: 0.5rem;
    --shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    --gap: 1rem;
}

/* ─── GLOBAL ───────────────────────────────────────────────────────────────── */

/* enable smooth scrolling for same-page anchors */
html {
    scroll-behavior: smooth;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--clr-dark);
    color: var(--clr-light);
    position: relative;
    z-index: 0;
}

/* ─── NAV ──────────────────────────────────────────────────────────────────── */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--gap) 2rem;
    background: rgba(14, 14, 14, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10;
}

.site-nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.nav-links a {
    color: var(--clr-light);
    text-decoration: none;
    font-weight: 500;
}

.site-nav .logo {
    text-decoration: none;
    /* remove default underline */
    color: var(--clr-light);
    cursor: pointer;
}


/* ─── HERO (with clip-path) ───────────────────────────────────────────────── */
.hero,
.hero-variation {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 80vh;
    height: 100vh;
    padding: 0 2rem;
    background: url('https://static.wixstatic.com/media/c837a6_12191520cc14491e89ef1e75e5bbf40d~mv2.jpg/v1/fill/w_1851,h_1111,al_c,q_90,usm_0.66_1.00_0.01,enc_avif,quality_auto/c837a6_12191520cc14491e89ef1e75e5bbf40d~mv2.jpg') center/cover no-repeat;

    /*background-attachment: fixed;
    background-position: center center;
    background-size: cover;*/

    background-position: center 0;
    background-size: cover;
    background-repeat: no-repeat;

    margin-top: 3.5rem;
    /* account for fixed nav */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    color: var(--clr-light);
    /* ensure all hero text is white */
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-variation::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text .hero-subtitle .hero-variations-subtitle {
    opacity: 1;
    margin-bottom: .5rem;
    color: var(--clr-red);
}

.hero-subtitle .hero-variations-subtitle {
    font-weight: 700;
}

.hero-text .hero-title {
    font-size: 2.5rem;
    margin: 1rem 0rem;
}

.hero-title {
    font-weight: 400;
    font-size: clamp(2.5rem, 8vw, 6rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 0.25em;
}

.hero-desc {
    font-weight: 300;
    font-size: clamp(1.125rem, 3vw, 1rem);
    line-height: 1.3;
    opacity: 0.85;
    margin-bottom: 1.5rem;
}

.hero-btn {
    display: inline-block;
    padding: .75rem 1.5rem;
    background: var(--clr-accent);
    color: var(--clr-dark);
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: bold;
}

.hero-btn:hover {
    color: white;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ─── FILTERS PANEL (angled top) ──────────────────────────────────────────── */
.filters {
    max-width: 1200px;
    margin: 0rem auto 2rem;
    /* tuck under hero */
    padding: 1rem 2rem;
    /*background: var(--clr-light);*/
    border-radius: var(--radius);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 5;
}

.filters::before {
    content: '';
    position: absolute;
    top: -3rem;
    left: 0;
    right: 0;
    height: 3rem;
    /*background: var(--clr-dark);*/
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.filter-btn {
    background: var(--clr-dark);
    color: var(--clr-light);
    border: none;
    padding: .75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background .3s, color .3s;
    white-space: nowrap;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--clr-accent);
    color: var(--clr-light);
}

/* ─── GALLERY HEADER ───────────────────────────────────────────────────── */
.gallery-header {
    max-width: 800px;
    margin: 4rem auto 2rem;
    text-align: center;
    padding: 0 1rem;
}

.gallery-subtitle {
    font-weight: 300;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--clr-accent);
    margin-bottom: 0.5rem;
}

.gallery-variations-subtitle {
    font-weight: 300;
    font-size: 2rem;
    text-transform: uppercase;
    text-align: center;
    margin-top: 5%;
    letter-spacing: 0.1em;
    color: var(--clr-accent);
    margin-bottom: 0.5rem;
}

.gallery-title {
    font-weight: 300;
    font-size: clamp(2rem, 6vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--clr-dark);
    margin: 0;
}


/* ─── GALLERY CARDS (with scroll-into-view animation) ───────────────────── */
.gallery {
    max-width: 1200px;
    margin: 0 auto 4rem;
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.gallery-variations {
    max-width: 1200px;
    margin: 3rem auto 4rem;
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
    background: var(--clr-dark);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease-out, transform .6s ease-out;
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
    border: 1px solid;
    box-shadow: 0px 0px 8px #757a7d;
    transition: transform .2s ease-out;
}

.card.visible:hover {
    transform: scale(1.02);
    box-shadow: 0px 0px 25px var(--clr-accent);
    border: 1px solid var(--clr-accent);
}

.card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.card-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-content h3 {
    margin-bottom: .5rem;
}

.card-content h4 {
    margin-bottom: .5rem;
}

.card-content p {
    flex: 1;
    opacity: .9;
    margin-bottom: .75rem;
}

.card-content .price {
    font-weight: bold;
    margin-bottom: 1rem;
}

.btn {
    text-align: center;
    padding: .6rem;
    text-decoration: none;
    border: 2px solid var(--clr-accent);
    border-radius: var(--radius);
    color: var(--clr-accent);
    font-weight: bold;
    transition: background .2s, color .2s;
    margin-top: auto;
}

.btn:hover {
    background: var(--clr-accent);
    color: var(--clr-dark);
}

/* ─── DESIGNER NOTES FOR IMAGE SIZES ────────────────────────────────────── */
/* HERO IMAGE CONTAINER */
.hero-image img {
    width: 100%;
    height: auto;
    /* 
    • Aspect ratio 16:9 
    • Recommend: ≥1600×900 px (desktop), up to 1920×1080+ for retina 
  */
}

/* GALLERY CARD IMAGE */
.card img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    /*
    • Aspect ratio 4:3 
    • Recommend: 300×225 px (min), 600×450 px (high-DPI), 1200×900 px (retina)
  */
}

/* Scroll-Down button styling */
.scroll-down-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: var(--clr-accent);
    color: var(--clr-dark);
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 500;
    transition: background .3s, transform .2s;
}

.scroll-down-btn:hover {
    background: darken(var(--clr-accent), 10%);
    transform: translateY(-2px);
}

/* ─── SITE FOOTER ──────────────────────────────────────────────────────────── */
.site-footer {
    background: var(--clr-dark);
    color: var(--clr-light);
    padding: 3rem 2rem 1rem;
    font-size: 0.9rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col h4 {
    margin-bottom: .75rem;
    font-weight: 600;
}

.footer-col p,
.footer-col ul,
.footer-col .social-links {
    margin: 0;
    padding: 0;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: .5rem;
}

.footer-col a {
    color: var(--clr-light);
    text-decoration: none;
    transition: color .2s;
}

.footer-col a:hover {
    color: var(--clr-accent);
}

.footer-logo {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: .5rem;
    color: var(--clr-light);
    text-decoration: none;
}

.social-links a {
    display: inline-block;
    margin-right: 1rem;
    font-weight: 500;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    opacity: 0.7;
}

/* ─── Scroll-to-top FAB ─────────────────────────────────────────────────── */
#scrollToTop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: var(--clr-accent);
    color: var(--clr-dark);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
    z-index: 100;
}

#scrollToTop.visible {
    opacity: 1;
    visibility: visible;
}

#scrollToTop:hover {
    transform: translateY(-2px);
}



/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero::before {
        /* increase darkness if you like */
        background: rgba(0, 0, 0, 0.4);

        /* blur whatever’s behind this overlay */
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-btn {
        margin: 0 auto;
    }

    .filter-btn {
        flex: 1 1 calc(50% - 1.5rem);
        text-align: center;
    }

    .card.visible:hover {
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .filter-btn {
        flex: 1 1 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links a {
        margin: 0 .5rem;
    }
}


/* Optional: smaller on mobile */
@media (max-width: 480px) {
    .scroll-down-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}