/* ===== VARIABLES & GLOBAL SETUP ===== */
:root {
    --color-burgundy: #4A0D29;
    --color-beige: #F3E8E2;
    --color-blush: #E4B7B2;
    --color-charcoal: #2C2C2C;
    --color-white: #FFFFFF;
}


/* reset */
/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} */

/* 
html,
body {
    margin: 0;
    height: 100%;
} */

/* page layout */
body {
    display: flex;
    flex-direction: column;
    background: var(--color-beige);
    color: var(--color-charcoal);
    line-height: 1.6;
    font-family: "Lato", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

h1 {
    color: #4A0D29;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: clamp(2.5rem, 5vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    text-align: center
}
section h1,
article h1,
nav h1,
aside h1 {
    font-size: clamp(2rem, 5vw, 2.6rem);
}

h2 {
    color: var(--color-burgundy);
    text-align: center;
    margin-bottom: 1rem;
}

h2,
h3,
h4,
h5,
h6 {
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
}

h2 {
    font-size: 1.75rem;
    line-height: 1.25;
}

h3 {
    font-size: 1.25rem;
    line-height: 1.3;
}

h4 {
    font-size: 1.125rem;
    line-height: 1.35;
}

h5 {
    font-size: 1rem;
    line-height: 1.4;
}

h6 {
    font-size: 0.875rem;
    line-height: 1.4;
}

header {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 1200px;
    background: var(--color-burgundy);
    border-radius: 2rem;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--color-white);
    text-decoration: none;
}


main {
    flex: 1;
    padding-top: 5rem;
}

.hero {
    padding: 2rem 1rem;
    text-align: center;
}

.hero-image {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 24px solid rgba(241, 241, 239, 0.6);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: block;
}



@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/...woff2) format('woff2');
}

/* headings */


/* explicit h1 size inside sectioning elements */


/* ------------------------------------- */

.gal-title {
    font-size: clamp(2.25rem, 5vw, 3rem);
}

/* hero helpers */
.hero-image-container {
    display: grid;
    place-items: center;
}

.hero-text {
    text-align: center;
}


/* ===== HEADER & NAVIGATION ===== */

/* .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--color-white);
    text-decoration: none;
} */

.logo-img {
    height: 2rem;
    width: auto;
}

/* NAV base */
#site-nav.nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

#site-nav[hidden] {
    display: none;
}

#menu-toggle {
    all: unset;
    position: relative;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-white);
    -webkit-tap-highlight-color: transparent;
}


:where(#menu-toggle, .nav-links a):focus {
    outline: none;
    box-shadow: none;
}

:where(#menu-toggle, .nav-links a):focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}

:where(#menu-toggle, .nav-links a, .socials a):focus-visible {
    outline: 2px solid rgba(255, 255, 255, .7);
    outline-offset: 3px;
    border-radius: 8px;
    box-shadow: none;
}


#menu-toggle::-moz-focus-inner {
    border: 0;
    padding: 0;
}

#menu-toggle .bar {
    position: absolute;
    left: 10px;
    right: 10px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transform-origin: 50% 50%;
    transition: transform .2s ease, opacity .2s ease;
}

#menu-toggle .bar:nth-child(1) {
    top: 14px;
}

#menu-toggle .bar:nth-child(2) {
    top: 21px;
}

#menu-toggle .bar:nth-child(3) {
    top: 28px;
}

#menu-toggle.open .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

#menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

#menu-toggle.open .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-links a {
    display: inline-block;
    padding: 12px 16px;
    min-width: 44px;
    min-height: 44px;
    line-height: 1.2;
    color: var(--color-white);
    text-decoration: none;
    border-radius: 1rem;
}

.nav-links a:hover {
    background: var(--color-blush);
    color: var(--color-burgundy);
}

.nav-links .cta {
    background: var(--color-blush);
    color: var(--color-burgundy);
    font-weight: bold;
}

.nav-links .cta:hover {
    background: var(--color-charcoal);
    color: var(--color-white);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    #site-nav.nav-links {
        position: absolute;
        top: 60px;
        right: 16px;
        flex-direction: column;
        background: var(--color-burgundy);
        padding: 12px;
        border-radius: 8px;
        box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.2);
        z-index: 1000;
    }

    #menu-toggle {
        display: inline-flex;
    }
}

/* ===== HERO ===== */
/* .hero {
    padding: 2rem 1rem;
    text-align: center;
} */

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3rem);
}

/* .hero-image {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 24px solid rgba(241, 241, 239, 0.6);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: block;
} */

/* ===== CARDS / HIGHLIGHTS ===== */
.highlights {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    flex-wrap: wrap;
}

/* shared card frame */
:is(.card, .thumb) {
    border-radius: .5rem;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background: var(--color-beige, #f4f4f4);
}

.card {
    position: relative;
    width: 400px;
    height: 440px;
    background: #eee;
}

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


.thumb-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}


:is(.card, .thumb-media)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40%;
    background: linear-gradient(to top, var(--color-beige) 0%, transparent 100%);
    z-index: 1;
}


.thumb-media::after {
    pointer-events: none;
}

/* ===== FEATURED GALLERY BUTTON LOOK ===== */
.gallery h2 {
    font-size: clamp(2.0rem, 5vw, 2.45rem);
}

.gallery h2 a {
    color: inherit;
    text-decoration: none;
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border: 2px solid transparent;
    border-radius: 1.2rem;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.gallery h2 a:hover,
.gallery h2 a:focus-visible {
    background: var(--color-burgundy);
    color: var(--color-white);
    border-color: var(--color-burgundy);
    outline: none;
}

/* ===== STATS ===== */
.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
    padding: 2rem 1rem;
    font-size: 1.95rem;
}

/* ===== GALLERY ===== */
.gallery {
    padding: 2rem 1rem;
    text-align: center;
}

.grid[aria-busy="true"] {
    visibility: hidden;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.gallery .grid {
    min-height: 720px;
}


@media (min-width: 769px) {
    .gallery .grid {
        min-height: 900px;
    }
}

/* gallery item */
.thumb {
    position: relative;
}

.thumb-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}



.thumb-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.thumb-media img:hover {
    transform: scale(1.05);
}

.thumb :is(.title, .description, .category) {
    position: relative;
    z-index: 2;
    text-align: center;
}

.thumb .title {
    margin: 0.5rem 0 0.25rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-charcoal);
}

.thumb .description {
    margin: 0 0 0.75rem;
    font-size: 0.875rem;
    color: rgba(20, 20, 20, 0.8);
    line-height: 1.3;
}

.thumb .category {
    margin: 0 0 1rem;
    font-size: 0.875rem;
    font-style: italic;
    color: var(--color-burgundy);
}

.gal-title {
    font-size: clamp(2.25rem, 5vw, 3rem);
    line-height: 1.2;
}

/* CTA button */
.cta-button {
    text-align: center;
    margin: 2rem 0;
}

.cta-button button,
button.form-submit,
.review-container .return-home a {
    background: var(--color-blush);
    color: var(--color-charcoal);
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s ease, color 0.2s ease;
}

.cta-button button:hover,
.review-container .return-home a:hover {
    background: var(--color-burgundy);
    color: var(--color-white);
}

/* filters */
.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.filters button {
    background: var(--color-white);
    color: var(--color-charcoal);
    border: 2px solid var(--color-charcoal);
    padding: 0.5rem 1rem;
    font-family: "Lato", sans-serif;
    font-size: 0.9rem;
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filters button:hover {
    background: var(--color-blush);
    color: var(--color-burgundy);
    border-color: var(--color-blush);
}

.filters button.active {
    background: var(--color-charcoal);
    color: var(--color-white);
    border-color: var(--color-charcoal);
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    flex-direction: column;
    padding: 1rem;
}

.lightbox.active {
    display: flex;
}

.lightbox__img {
    display: block;
    width: auto;
    height: auto;
    max-width: 80vw;
    max-height: 80vh;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
}

.lightbox__caption {
    color: var(--color-white);
    font-size: 1rem;
    text-align: center;
}

.lightbox__close {
    all: unset;
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: var(--color-white);
    cursor: pointer;
    line-height: 1;
    border-radius: 8px;
}

.lightbox__close:hover {
    background: rgba(255, 255, 255, .1);
}

.lightbox__close:focus-visible {
    outline: 2px solid rgba(255, 255, 255, .8);
    outline-offset: 2px;
    border-radius: 8px;
}

.lightbox__close svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ===== CONTACT FORM ===== */
.contact {
    max-width: 600px;
    margin: 2rem auto;
    padding: 0 1rem;
    text-align: center;
}

.contact .intro {
    font-size: 0.95rem;
}

form#contact-form {
    display: grid;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group input,
.form-group textarea {
    padding: 0.5rem;
    border: 2px solid var(--color-charcoal);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-burgundy);
}

.contact button.form-submit {
    background: var(--color-burgundy);
    color: var(--color-white);
}

/* toggles */
.toggle-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0.5rem 30px;
}

.toggle-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.toggle-label input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch {
    position: relative;
    width: 2.5rem;
    height: 1.25rem;
    margin-right: 0.5rem;
    background: var(--color-blush-transparent, #f4e3e3);
    border: 1px solid var(--color-blush);
    border-radius: 1.25rem;
    transition: background 0.2s, border-color 0.2s;
}

.toggle-switch::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(1.25rem - 4px);
    height: calc(1.25rem - 4px);
    background: var(--color-blush);
    border-radius: 50%;
    transition: transform 0.2s;
}

.toggle-label input:checked+.toggle-switch {
    background: var(--color-burgundy);
    border-color: var(--color-burgundy);
}

.toggle-label input:checked+.toggle-switch::after {
    transform: translateX(1.25rem);
}

/* date + validation */
input[type="date"] {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--color-blush);
    border-radius: 0.5rem;
    font-size: 1rem;
}

.contact .required {
    color: rgb(141, 2, 2);
}

input.error,
textarea.error,
input[type="date"].error,
.toggle-group.invalid {
    border: 5px solid rgb(164, 2, 2);
    border-radius: 10px;
}

.toggle-group.invalid {
    padding: 0.5rem 30px;
}

/* ===== REVIEW PAGE ===== */
.review-container {
    background: var(--color-white);
    border-radius: 0.75rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem 1.5rem;
}

.review-container h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--color-burgundy);
}

.review-container .intro {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--color-charcoal);
}

.review-container .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.review-container .form-group label {
    font-weight: bold;
    margin-bottom: 0.25rem;
    color: var(--color-burgundy);
}

.review-container .form-group .value {
    background: var(--color-beige);
    padding: 0.75rem;
    border: 1px solid var(--color-blush);
    border-radius: 0.5rem;
    line-height: 1.4;
    font-size: 0.95rem;
}

/* ===== FOOTER ===== */
footer {
    background: var(--color-burgundy);
    color: var(--color-white);
    text-align: center;
    padding: 1rem 0;
    font-size: 0.85rem;
}

footer #last-updated {
    min-height: 1rem;
}

.footer-link {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
    padding: 12px 16px;
    min-height: 44px;
    min-width: 44px;
    line-height: 1.2;
}

.footer-link:hover {
    color: var(--color-white);
    text-decoration: underline;
}

.footer-video {
    margin-top: 0.5rem;
}

.footer-video a {
    display: inline-block;
    color: var(--color-blush);
    font-weight: bold;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border: 2px solid var(--color-blush);
    border-radius: 0.25rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.footer-video a:is(:hover, :focus) {
    background: var(--color-blush);
    color: var(--color-white);
    outline: none;
}

.socials a:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 4px;
}

.social-icon {
    width: 24px;
    height: 24px;
    margin: 0 0.79rem 0 1rem;
    vertical-align: middle;
    display: inline-block;
}


/* ===== REFERENCES ===== */
.references-page main {
    max-width: 700px;
    margin: 2rem auto;
    text-align: center;
    padding: 0 1rem;
}








/* ===== ABOUT ===== page deletd as it there should only be 3pages */
/* .about-container {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2.5rem 1.5rem;
    background: var(--color-white);
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    color: var(--color-charcoal);
}

.about-container>h1 {
    color: var(--color-burgundy);
    font-size: clamp(2.5rem, 5vw, 3rem);
}

.about-container p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.about-container .services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
    list-style: none;
    padding: 0;
}

.about-container .services li {
    background: var(--color-burgundy);
    color: var(--color-white);
    padding: 1rem 1.75rem;
    border-radius: 0.75rem;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.about-container .services li:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
} */

/* team */
/* .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    padding: 0 1rem;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 100%;
    max-width: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.75rem;
    border: 6px solid var(--color-beige);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.team-member img:hover {
    transform: scale(1.03);
}

.team-member h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: var(--color-burgundy);
}

.team-member p {
    font-size: 1rem;
    color: var(--color-charcoal);
} */