/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif;
    color: #242424;
    background: #f8f6f1;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================================
   VARIABLES
========================================================= */

:root {
    --dark: #1d211e;
    --cream: #f8f6f1;
    --gold: #b08d57;
    --light-gold: #d7bd91;
    --white: #ffffff;
    --gray: #6e6e6e;
}

/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(1180px, 90%);
    margin: auto;
}

/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    padding: 22px 0;

    background: rgba(29, 33, 30, 0.85);

    backdrop-filter: blur(12px);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-family: "Cormorant Garamond", serif;

    font-size: 30px;
    font-weight: 700;

    letter-spacing: 5px;

    color: var(--white);
}

.logo-sub {
    font-size: 9px;

    letter-spacing: 6px;

    color: var(--light-gold);

    margin-top: 5px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: var(--white);

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 1px;

    transition: 0.3s;
}

.nav-menu a:hover {
    color: var(--light-gold);
}

.nav-button {
    padding: 12px 20px;

    background: var(--gold);

    color: var(--white);

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1px;

    transition: 0.3s;
}

.nav-button:hover {
    background: #967442;
}

.mobile-menu-btn {
    display: none;

    background: none;

    border: none;

    color: white;

    font-size: 28px;

    cursor: pointer;
}

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

.hero {
    min-height: 100vh;

    position: relative;

    display: flex;

    align-items: center;

    background:
        linear-gradient(rgba(20, 24, 21, 0.65), rgba(20, 24, 21, 0.55)),
        url("../images/hotel-night.webp");

    background-size: cover;

    background-position: center;
}

.hero-content {
    position: relative;

    z-index: 2;

    color: white;

    max-width: 750px;
}

.hero-small {
    font-size: 13px;

    letter-spacing: 5px;

    color: var(--light-gold);

    margin-bottom: 15px;
}

.hero h1 {
    font-family: "Cormorant Garamond", serif;

    font-size: clamp(65px, 9vw, 120px);

    font-weight: 500;

    line-height: 0.9;

    margin-bottom: 15px;
}

.hero-location {
    font-family: "Cormorant Garamond", serif;

    font-size: 25px;

    margin-bottom: 20px;
}

.hero-description {
    max-width: 550px;

    font-size: 16px;

    color: #eeeeee;
}

.hero-buttons {
    display: flex;

    gap: 15px;

    margin-top: 35px;
}

.scroll-indicator {
    position: absolute;

    bottom: 30px;

    left: 50%;

    transform: translateX(-50%);

    z-index: 2;

    color: white;

    text-align: center;
}

.scroll-indicator span:first-child {
    display: block;

    font-size: 9px;

    letter-spacing: 3px;

    margin-bottom: 10px;
}

.scroll-line {
    display: block;

    width: 1px;

    height: 40px;

    background: var(--light-gold);

    margin: auto;
}

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

.btn {
    display: inline-block;

    padding: 14px 28px;

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 1.5px;

    transition: 0.3s;
}

.btn-primary {
    background: var(--gold);

    color: white;
}

.btn-primary:hover {
    background: #967442;

    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.7);

    color: white;
}

.btn-outline:hover {
    background: white;

    color: var(--dark);
}

/* =========================================================
   SECTIONS
========================================================= */

.section {
    padding: 110px 0;
}

.section-heading {
    margin-bottom: 55px;
}

.section-heading.center {
    text-align: center;
}

.section-label {
    color: var(--gold);

    font-size: 11px;

    letter-spacing: 4px;

    font-weight: 600;

    margin-bottom: 12px;
}

.section-heading h2,
.about-content h2,
.location-content h2,
.booking-box h2 {
    font-family: "Cormorant Garamond", serif;

    font-size: clamp(42px, 5vw, 65px);

    font-weight: 500;

    line-height: 1.1;
}

/* =========================================================
   ABOUT
========================================================= */

.about {
    background: var(--cream);
}

.section-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}

.about-image {
    overflow: hidden;
}

.about-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;
}

.image-placeholder {
    height: 100%;

    min-height: 400px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: linear-gradient(135deg, #d6c7ac, #8b806c);

    color: white;

    font-family: "Cormorant Garamond", serif;

    font-size: 35px;

    letter-spacing: 5px;
}

.about-content h2 span {
    color: var(--gold);
}

.about-content p {
    margin-top: 20px;

    color: var(--gray);
}

.text-link {
    display: inline-block;

    margin-top: 25px;

    color: var(--gold);

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 2px;
}

/* =========================================================
   FEATURES
========================================================= */

.features {
    background: var(--dark);

    color: white;
}

.features-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;
}

.feature-card {
    padding: 35px 25px;

    border: 1px solid rgba(255, 255, 255, 0.12);

    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);

    border-color: var(--gold);
}

.feature-icon {
    font-size: 30px;

    color: var(--light-gold);

    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: "Cormorant Garamond", serif;

    font-size: 28px;

    font-weight: 500;
}

.feature-card p {
    color: #bfc1be;

    font-size: 14px;

    margin-top: 10px;
}

/* =========================================================
   ROOMS
========================================================= */

.rooms {
    background: var(--cream);
}

.rooms-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;
}

.room-card {
    background: white;

    transition: 0.3s;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.room-card:hover {
    transform: translateY(-8px);
}

.room-image {
    height: 260px;
}

.room-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;
}

.room-content {
    padding: 28px;
}

.room-content h3 {
    font-family: "Cormorant Garamond", serif;

    font-size: 32px;

    font-weight: 500;
}

.room-content p {
    color: var(--gray);

    font-size: 14px;

    margin: 10px 0 20px;
}

.room-details {
    display: flex;

    gap: 15px;

    flex-wrap: wrap;

    font-size: 12px;

    color: var(--gray);
}

.room-price {
    margin-top: 20px;

    color: var(--gold);

    font-size: 22px;

    font-weight: 600;
}

.room-price small {
    font-size: 12px;

    color: var(--gray);
}

.empty-state {
    grid-column: 1 / -1;

    text-align: center;

    padding: 50px;

    color: var(--gray);
}

/* =========================================================
   FACILITIES
========================================================= */

.facilities {
    background: white;
}

.facilities-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.facility-item {
    padding: 35px 20px;

    text-align: center;

    border: 1px solid #e6e2da;

    transition: 0.3s;
}

.facility-item:hover {
    border-color: var(--gold);

    transform: translateY(-5px);
}

.facility-icon {
    font-size: 28px;

    color: var(--gold);

    margin-bottom: 15px;
}

.facility-item h3 {
    font-family: "Cormorant Garamond", serif;

    font-size: 26px;

    font-weight: 500;
}

.facility-item p {
    font-size: 13px;

    color: var(--gray);

    margin-top: 8px;
}

/* =========================================================
   GALLERY
========================================================= */

.gallery {
    background: var(--cream);
}

.gallery-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;
}

.gallery-item {
    height: 300px;

    overflow: hidden;

    position: relative;
}

.gallery-item img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-placeholder {
    grid-column: 1 / -1;

    min-height: 400px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    background: #ddd4c4;

    color: #6e6556;
}

.gallery-placeholder span {
    font-family: "Cormorant Garamond", serif;

    font-size: 40px;
}

/* =========================================================
   LOCATION
========================================================= */

.location {
    background: white;
}

.location-grid {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 50px;

    align-items: stretch;
}

.location-content address {
    margin: 20px 0;

    font-style: normal;

    color: var(--gray);
}

.contact-details {
    margin-bottom: 25px;
}

.contact-details p {
    margin-bottom: 12px;

    color: var(--gray);
}

.contact-details strong {
    color: var(--dark);
}

.map-container {
    min-height: 450px;
}

.map-container iframe {
    width: 100%;

    height: 100%;

    min-height: 450px;

    border: 0;
}

/* =========================================================
   BOOKING
========================================================= */

.booking {
    background: var(--dark);

    color: white;

    text-align: center;
}

.booking-box {
    max-width: 800px;

    margin: auto;
}

.booking-box p {
    color: #c5c5c5;

    margin-top: 15px;
}

.booking-buttons {
    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 15px;

    margin-top: 35px;
}

.booking-button {
    display: inline-block;

    padding: 14px 28px;

    border: 1px solid var(--gold);

    color: var(--gold);

    font-size: 13px;

    font-weight: 600;

    letter-spacing: 1px;

    text-transform: uppercase;

    transition: 0.3s ease;
}

.booking-button:hover {
    background: var(--gold);

    color: var(--white);
}

/* =========================================================
   CONTACT
========================================================= */

.contact {
    background: var(--cream);
}

.contact-form {
    max-width: 800px;

    margin: auto;
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;
}

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

.form-group label {
    display: block;

    margin-bottom: 7px;

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;

    padding: 15px;

    border: 1px solid #ddd6c9;

    background: white;

    font-family: inherit;

    outline: none;
}

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

.form-group textarea {
    resize: vertical;
}

/* =========================================================
   SUCCESS TOAST
========================================================= */

.toast-message {
    position: fixed;

    top: 100px;

    right: 30px;

    z-index: 999999;

    width: 360px;

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 18px 20px;

    background: var(--white);

    border-left: 5px solid var(--gold);

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.18);

    border-radius: 4px;

    animation: toastShow 0.5s ease forwards;
}

.toast-icon {
    width: 35px;

    height: 35px;

    min-width: 35px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--gold);

    color: var(--white);

    border-radius: 50%;

    font-size: 18px;

    font-weight: bold;
}

.toast-content {
    flex: 1;
}

.toast-content strong {
    display: block;

    color: var(--dark);

    font-size: 15px;

    margin-bottom: 3px;
}

.toast-content p {
    margin: 0;

    color: var(--gray);

    font-size: 13px;

    line-height: 1.5;
}

@keyframes toastShow {
    from {
        opacity: 0;

        transform: translateX(120%);
    }

    to {
        opacity: 1;

        transform: translateX(0);
    }
}

/* =========================================================
   SUCCESS MESSAGE - OLD FALLBACK
========================================================= */

.success-message {
    max-width: 800px;

    margin: 0 auto 30px;

    padding: 15px 20px;

    background: #e8f5e9;

    color: #2e7d32;

    text-align: center;
}

/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 900px) {
    /* NAVIGATION */

    .nav-menu,
    .nav-button {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-menu.active {
        display: flex;

        position: absolute;

        top: calc(100% + 8px);

        left: 5%;

        width: 90%;

        padding: 25px;

        flex-direction: column;

        background: var(--dark);

        gap: 20px;
    }

    /* FEATURES */

    .features-grid,
    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* ROOMS */

    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* ABOUT + LOCATION */

    .section-grid,
    .location-grid {
        grid-template-columns: 1fr;
    }

    /* ABOUT IMAGE */

    .about-image {
        min-height: 400px;
    }

    /* LOCATION */

    .map-container {
        min-height: 400px;
    }

    .map-container iframe {
        min-height: 400px;
    }
}

/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 600px) {
    /* GENERAL */

    .section {
        padding: 75px 0;
    }

    /* NAVBAR */

    .navbar {
        padding: 18px 0;
    }

    .logo-main {
        font-size: 24px;

        letter-spacing: 3px;
    }

    .logo-sub {
        font-size: 7px;

        letter-spacing: 4px;
    }

    /* HERO */

    .hero {
        min-height: 90vh;
    }

    .hero h1 {
        font-size: 65px;
    }

    .hero-small {
        font-size: 10px;

        letter-spacing: 3px;
    }

    .hero-location {
        font-size: 22px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: flex-start;
    }

    .scroll-indicator {
        display: none;
    }

    /* GRIDS */

    .features-grid,
    .facilities-grid,
    .rooms-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    /* FORM */

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

    /* ABOUT */

    .about-image {
        min-height: 300px;
    }

    /* ROOMS */

    .room-image {
        height: 230px;
    }

    /* GALLERY */

    .gallery-item {
        height: 260px;
    }

    /* LOCATION */

    .map-container,
    .map-container iframe {
        min-height: 350px;
    }

    /* BOOKING */

    .booking-button {
        width: 100%;

        text-align: center;
    }

    /* TOAST */

    .toast-message {
        top: 90px;

        left: 15px;

        right: 15px;

        width: auto;
    }
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 100px;
}

/* =========================================================
   MOBILE REFINEMENTS
========================================================= */

html {
    -webkit-text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
}

/* Mobile-only "Book Your Stay" link inside the menu */
.nav-menu-cta {
    display: none;
}

@supports (height: 100svh) {
    .hero {
        min-height: 100svh;
    }
}

/* ---------- Tablet and below ---------- */
@media (max-width: 900px) {
    .mobile-menu-btn {
        min-width: 44px;
        min-height: 44px;
        line-height: 1;
        padding: 0;
    }

    .nav-menu.active {
        max-height: calc(100vh - 110px);
        overflow-y: auto;
        gap: 0;
        padding: 10px 24px 24px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    }

    .nav-menu.active a {
        display: block;
        padding: 14px 0;
        font-size: 13px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active .nav-menu-cta {
        display: block;
        margin-top: 18px;
        padding: 14px 20px;
        text-align: center;
        background: var(--gold);
        border-bottom: 0;
    }

    .nav-menu.active .nav-menu-cta:hover {
        color: var(--white);
        background: #967442;
    }

    .section-grid {
        gap: 40px;
    }

    .location-grid {
        gap: 30px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- Phones ---------- */
@media (max-width: 600px) {
    .section-heading {
        margin-bottom: 35px;
    }

    .hero-buttons {
        align-items: stretch;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .feature-card {
        padding: 26px 20px;
    }

    .room-content {
        padding: 22px;
    }

    .room-content h3 {
        font-size: 28px;
    }

    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .facility-item {
        padding: 24px 12px;
    }

    .facility-item h3 {
        font-size: 22px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gallery-item {
        height: 180px;
    }

    .gallery-grid .album-overlay {
        padding: 30px 12px 12px;
    }

    .gallery-grid .album-overlay strong {
        font-size: 15px;
    }

    .gallery-grid .album-overlay small {
        font-size: 11px;
    }

    /* 16px stops iPhones from zooming into the field */
    .form-group input,
    .form-group textarea {
        font-size: 16px;
    }

    .contact-form .btn,
    .contact-form button {
        width: 100%;
    }
}

/* ---------- Small phones ---------- */
@media (max-width: 400px) {
    .logo-main {
        font-size: 22px;
        letter-spacing: 3px;
    }

    .hero h1 {
        font-size: 54px;
    }

    .hero-location {
        font-size: 20px;
    }

    .section-heading h2,
    .about-content h2,
    .location-content h2,
    .booking-box h2 {
        font-size: 36px;
    }

    .gallery-item {
        height: 150px;
    }
}

@media (max-width: 340px) {
    .facilities-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   ENQUIRY FORM, CONTACT STRIP, FOOTER, POLICY PAGE
========================================================= */

/* Hidden spam-trap field (real visitors never see it) */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.req {
    color: #b3261e;
}

.field-error {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.5;
    color: #b3261e;
}

.field-error:empty {
    display: none;
}

.field-hint,
.field-count {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #777;
}

.field-count {
    text-align: right;
}

.form-group input.input-invalid,
.form-group textarea.input-invalid {
    border-color: #b3261e;
}

.form-alert {
    margin-bottom: 22px;
    padding: 14px 18px;
    background: #fdecea;
    border-left: 4px solid #b3261e;
    color: #7a1912;
    font-size: 14px;
}

.contact-form .btn[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Call / email boxes above the enquiry form */
.contact-quick {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 920px;
    margin: 0 auto 45px;
}

.contact-quick-item {
    flex: 1 1 220px;
    max-width: 320px;
    padding: 18px 20px;
    text-align: center;
    background: var(--white);
    border: 1px solid #ece6da;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.contact-quick-item span {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
}

.contact-quick-item strong {
    font-size: 16px;
    color: var(--dark);
    word-break: break-word;
}

.contact-quick-item:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}

.contact-details a:hover {
    color: var(--gold);
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--dark);
    color: #d9d5cc;
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.4fr;
    gap: 50px;
    padding-bottom: 55px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 10px;
    font-family: "Cormorant Garamond", serif;
    font-size: 30px;
    line-height: 1.2;
    color: var(--white);
}

.footer-brand p {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--light-gold);
}

.footer-col h3 {
    margin-bottom: 18px;
    font-family: "Cormorant Garamond", serif;
    font-size: 24px;
    color: var(--white);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.7;
}

.footer-col a,
.footer-bottom a {
    transition: color 0.3s ease;
}

.footer-col a:hover,
.footer-bottom a:hover {
    color: var(--light-gold);
}

.footer-bottom {
    padding: 20px 0;
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* ---------- Privacy policy page ---------- */
.policy-page {
    padding: 150px 0 90px;
}

.policy-container {
    max-width: 820px;
}

.policy-page h1 {
    margin-bottom: 6px;
    font-family: "Cormorant Garamond", serif;
    font-size: 48px;
    line-height: 1.2;
    color: var(--dark);
}

.policy-updated {
    margin-bottom: 30px;
    font-size: 14px;
    color: #777;
}

.policy-page h2 {
    margin: 30px 0 8px;
    font-family: "Cormorant Garamond", serif;
    font-size: 26px;
    color: var(--dark);
}

.policy-page p {
    font-size: 15px;
    color: #444;
}

.policy-page a {
    color: var(--gold);
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .site-footer {
        padding-top: 55px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 40px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .policy-page {
        padding: 120px 0 60px;
    }

    .policy-page h1 {
        font-size: 36px;
    }

    .contact-quick {
        margin-bottom: 35px;
    }

    .contact-quick-item {
        max-width: none;
    }
}


/* =========================================================
   GALLERY ALBUMS + IMAGE VIEWER
========================================================= */

.album-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.album-card img {
    transition: transform 0.4s ease;
}

.album-card:hover img {
    transform: scale(1.05);
}

.album-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 40px 18px 16px;
    color: #fff;
    background: linear-gradient(transparent, rgba(20, 24, 21, 0.85));
}

.album-overlay strong {
    font-size: 18px;
    font-weight: 600;
}

.album-overlay small {
    font-size: 12px;
    opacity: 0.85;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 12, 11, 0.94);
    padding: 20px;
}

.lightbox[hidden] {
    display: none;
}

.lightbox-figure {
    margin: 0;
    max-width: min(1000px, 86vw);
    text-align: center;
    color: #fff;
}

.lightbox-figure img {
    max-width: 100%;
    max-height: 76vh;
    object-fit: contain;
    border-radius: 4px;
    margin: 0 auto;
}

.lightbox-figure figcaption {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 14px;
    margin-top: 14px;
    font-size: 14px;
}

.lightbox-figure figcaption small {
    opacity: 0.7;
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    line-height: 1;
    transition: background 0.2s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: #b08d57;
}

.lightbox-close {
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 28px;
}

.lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    font-size: 36px;
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

.lightbox-nav[hidden] {
    display: none;
}

@media (max-width: 600px) {
    .lightbox-nav {
        width: 42px;
        height: 42px;
        font-size: 28px;
    }

    .lightbox-nav.prev {
        left: 8px;
    }

    .lightbox-nav.next {
        right: 8px;
    }
}


/* =========================================================
   SUCCESS MESSAGE (TOAST) + HIDDEN ALERT
========================================================= */

.toast {
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 999999;
    background: #ffffff;
    color: #1d211e;
    padding: 20px 25px;
    border-left: 5px solid #b08d57;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.20);
    border-radius: 5px;
    font-size: 15px;
    width: min(360px, calc(100vw - 40px));
}

.toast[hidden],
.form-alert[hidden] {
    display: none;
}

.toast strong {
    display: block;
    margin-bottom: 5px;
}

@media (max-width: 600px) {
    .toast {
        top: 80px;
        right: 20px;
        left: 20px;
        width: auto;
    }
}
