/* ============================================================
   CABANAS LAGO — Design System (Bootstrap 5 + Custom)
   Versão acessível — ajustes WCAG AA (contraste ≥ 4.5:1)
   ============================================================ */

/* --- Section 1: DESIGN TOKENS & BASE --- */
:root {
    --primary: #716d54;
    --primary-container: #8b8770;
    --on-primary: #ffffff;
    --secondary: #7a6540;
    /* era #a18963 — ratio 2.9→4.6:1 sobre --background */
    --tertiary: #c9b195;
    --on-tertiary: #ffffff;
    --background: #fdfaf7;
    --surface-variant: #e5e2dd;
    --surface-container: #f0ede9;
    --surface-container-low: #f6f3ee;
    --on-surface: #3b3a30;
    --on-surface-variant: #4a4837;
    /* era #5c5a4d — reforçado para textos pequenos */
    --outline-variant: #dbdbdb;
    --nav-link-color: #5c5a4d;
    /* nova variável — substitui rgba(113,109,84,0.7) */
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--background);
    color: var(--on-surface);
}

/* --- Section 2: TYPOGRAPHY --- */

/* Headlines & Serif */
h1,
h2,
h3,
h4,
h5,
h6,
.font-serif,
.newsreader-tight,
.serif-tight,
.font-headline {
    font-family: 'Newsreader', serif;
}

.newsreader-tight,
.serif-tight,
.font-headline {
    letter-spacing: -0.02em;
}

/* 
  NOTA — Hierarquia de headings (Lighthouse):
  Certifique-se de que no HTML os headings seguem a ordem h1 → h2 → h3 → h4.
*/

/* Labels & Micro Typography */
.manrope-label,
.label-sm {
    font-family: 'Manrope', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    font-size: 0.75rem;
    color: var(--on-surface);
}

.label-micro {
    font-family: 'Manrope', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--on-surface);
}

.letter-spacing-tight {
    letter-spacing: -0.02em;
}

.ls-wide {
    letter-spacing: 3px;
}

/* Text Size Utilities */
.price-large {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--on-surface);
}

/* Custom size overrides provided by user */
@media (max-width: 768px) {

    .fs-5,
    p {
        font-size: 0.8rem !important;
    }

    .display-4 {
        line-height: 1.1 !important;
        font-size: 1.8rem !important;
    }
}

/* --- Section 3: COLOR & BACKGROUND UTILITIES --- */
.text-primary-custom {
    color: var(--primary) !important;
}

.text-tertiary-custom {
    color: var(--tertiary) !important;
}

.text-on-surface-variant {
    color: var(--on-surface-variant);
}

.text-muted {
    color: var(--on-surface-variant) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.bg-surface-low {
    background-color: var(--surface-container-low);
}

.bg-hero-contato {
    background-color: #5d5a45;
}

/* --- Section 4: LAYOUT & SPACING --- */

.section-padding {
    padding: 8rem 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 4rem 0 !important;
    }

    .mb-5,
    .mb-4 {
        margin-bottom: 1rem !important;
    }

    .py-5 {
        padding-top: 1.3rem !important;
        padding-bottom: 1.3rem !important;
    }

    .my-5 {
        margin-top: 1.3rem !important;
        margin-bottom: 1.3rem !important;
    }
}

.divider-accent {
    width: 100px;
    height: 1px;
    background-color: var(--tertiary);
    margin: 0 auto;
}

.py-7 {
    padding-top: 7rem !important;
    padding-bottom: 3rem !important;
}

/* --- Section 5: COMPONENTS - NAVIGATION --- */

.navbar {
    background-color: rgba(252, 249, 244, 0.92) !important;
    backdrop-filter: blur(20px);
    padding: 1.5rem 0;
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.navbar-scrolled {
    padding: 0.75rem 0;
    box-shadow: 0 4px 20px rgba(113, 109, 84, 0.08);
}

.navbar-brand {
    font-family: serif;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--primary) !important;
    font-size: 1.5rem;
}

/* Logo */
.logo-cabanas {
    height: 94px;
    width: auto;
}

.navbar .logo-cabanas {
    height: 94px;
    margin-top: -22px;
    margin-bottom: -22px;
}

@media (max-width: 768px) {
    .logo-cabanas {
        height: 40px;
    }

    .navbar .logo-cabanas {
        height: 60px;
        margin-top: -10px;
        margin-bottom: -10px;
    }
}

/* Nav Link and states */
.nav-link {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--nav-link-color) !important;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    margin: 0 1rem;
    position: relative;
}

.nav-link.active {
    color: var(--primary) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--tertiary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* --- Section 6: COMPONENTS - BUTTONS --- */

/* Primary Button */
.btn-primary-custom {
    background-color: var(--primary);
    color: var(--on-primary);
    border: none;
    border-radius: 0.125rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(113, 109, 84, 0.25);
    background-color: var(--primary-container);
    color: var(--on-primary);
}

.btn-primary-custom:active {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(113, 109, 84, 0.15) !important;
    background-color: var(--primary-container) !important;
    color: var(--on-primary) !important;
}

/* Tertiary & Outline Buttons */
.btn-tertiary-custom {
    background-color: var(--tertiary);
    color: #3b3a30;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 0.125rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.btn-outline-subtle {
    border-color: rgba(113, 109, 84, 0.2);
    font-size: 0.65rem;
}

/* Special Purpose Buttons */
.btn-check-availability {
    background: linear-gradient(135deg, #716d54 0%, #7a6540 100%);
    color: white;
    width: 100%;
    padding: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    border-radius: 4px;
    border: none;
    margin-top: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-check-availability:hover,
.btn-check-availability:active {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(113, 109, 84, 0.15);
    color: white !important;
}

.btn-continue {
    background-color: var(--primary);
    color: white;
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-search {
    background-color: #8a6e3e;
    color: white;
    font-family: 'Newsreader', serif;
    border: none;
    width: 100%;
    padding: 0.75rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.btn-newsletter {
    background-color: var(--tertiary);
    color: #3b3a30;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    transition: transform 0.3s;
    font-weight: 700;
}

.btn-newsletter:hover {
    transform: scale(1.05);
}

/* Floating / WhatsApp Buttons */
.btn-whatsapp,
.whatsapp-float {
    background-color: #4a4837;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 40px rgba(113, 109, 84, 0.15);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.btn-whatsapp:hover,
.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

.btn-whatsapp {
    /* override background if needed */
    background: #4a4837;
}

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 100;
}

.floating-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 64px;
    height: 64px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(113, 109, 84, 0.2);
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.floating-btn:hover {
    transform: scale(1.1);
}

/* --- Section 7: COMPONENTS - HERO SECTIONS --- */

.hero-section {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
}

.hero-bg,
.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg {
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(59, 58, 48, 0.35);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 2rem !important;
    color: #ffffff;
    z-index: 1 !important;
    position: sticky;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 9rem !important;
    color: #ffffff;
    z-index: 1 !important;
    position: sticky;
}

@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        justify-content: center;
        height: auto;
        min-height: 100vh;
        padding-bottom: 2rem;
    }

    .hero-subtitle {
        margin-bottom: 2rem !important;
    }
}

/* --- Section 8: COMPONENTS - BOOKING & SEARCH --- */

.booking-bar {
    background: rgba(229, 226, 221, 0.92);
    backdrop-filter: blur(20px);
    border-radius: 0.75rem;
    padding: 1.5rem 2rem;
    box-shadow: 0 12px 40px rgba(113, 109, 84, 0.15);
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    max-width: 1200px;
    z-index: 20;
}

@media (max-width: 1200px) {
    .booking-bar {
        width: 85%;
    }
}

@media (max-width: 992px) {
    .booking-bar {
        width: 92%;
        padding: 1.25rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .booking-bar {
        position: absolute;
        left: auto;
        bottom: 1rem;
        transform: none;
        width: 94%;
        margin: 0 auto;
        padding: 1.25rem 1.25rem;
        border-radius: 0.5rem;
    }

    .booking-bar .row {
        row-gap: 0.25rem !important;
    }

    /* Ocultar campos no mobile por padrão */
    .booking-bar .row>div:not(:last-child) {
        display: none;
    }

    /* Mostrar campos quando a classe de expansão estiver presente */
    .booking-bar.booking-bar-open {
        position: relative;
        bottom: 2rem;
        transform: translateX(-50%);
        left: 50%;
    }

    .booking-bar.booking-bar-open .row>div:not(:last-child) {
        display: block;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .booking-bar {
        width: 96%;
        padding: 1rem 1rem;
    }

    .booking-bar.booking-bar-open {
        transform: none;
        left: auto;
        position: relative;
    }
}

/* Booking Bar Shared Inputs */
.booking-input-group label {
    font-size: 0.6875rem;
    color: var(--on-surface-variant);
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
}

.booking-input-group input,
.booking-input-group select {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(113, 109, 84, 0.4);
    width: 100%;
    padding: 0.5rem 0;
    border-radius: 0;
    color: var(--on-surface);
}

.booking-input-group input:focus,
.booking-input-group select:focus {
    outline: none;
    border-bottom-color: var(--secondary);
    box-shadow: none;
}

/* Reservations Search Container */
.search-container {
    background-color: var(--surface-container-low);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.form-control-custom {
    background: transparent;
    border: none;
    border-bottom: 1px solid #9a9890;
    border-radius: 0;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--on-surface);
}

.form-control-custom:focus {
    box-shadow: none;
    border-bottom-color: var(--secondary);
    background: transparent;
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

.form-label {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #9a9890;
    border-radius: 0;
    padding: 0.75rem 0;
    font-size: 0.875rem;
    color: var(--on-surface);
}

.form-control:focus,
.form-select:focus {
    box-shadow: none;
    border-color: var(--secondary);
    background-color: transparent;
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

/* --- Section 9: COMPONENTS - CARDS & GRIDS --- */

/* Suite Cards (Index) */
.suite-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0.75rem;
    padding: 0.5rem;
}

.suite-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(113, 109, 84, 0.1);
}

.suite-card img {
    border-radius: 0.75rem;
    aspect-ratio: 4/5;
    object-fit: cover;
    transition: transform 0.7s ease;
}

@media (max-width: 767px) {
    .suite-card img {
        aspect-ratio: 9/5;
    }
}

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

.img-wrapper {
    overflow: hidden;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

/* Cabin Cards (Acomodoções / Reservas) */
.cabin-card {
    background-color: var(--surface-container-low);
    border: none;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cabin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(113, 109, 84, 0.15);
}

.cabin-card img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.7s ease;
}

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

.img-container {
    overflow: hidden;
    border-radius: 0.75rem;
    position: relative;
}

.cabin-details-link {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    color: var(--secondary);
    text-decoration: none;
    border-bottom: 1px solid rgba(122, 101, 64, 0.4);
}

/* Experiences Boxes */
.experience-box {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    height: 300px;
}

@media (min-width: 768px) {
    .experience-box {
        height: 600px;
    }
}

.experience-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.experience-box:hover img {
    transform: scale(1.05);
}

.experience-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    color: white;
}

/* Gallery Grid */
.gallery-container {
    background-color: var(--surface-container-low);
    padding: 6rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 400px);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

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

.gallery-item-1 {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item-2 {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item-3 {
    grid-column: span 1;
    grid-row: span 2;
}

.gallery-item-4 {
    grid-column: span 1;
    grid-row: span 1;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        display: flex;
        flex-direction: column;
    }

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

/* --- Section 10: COMPONENTS - FEATURES & AMENITIES --- */

.features-section {
    background-color: var(--surface-container);
    border-radius: 0.75rem;
    padding: 6rem 3rem;
}

.feature-icon {
    color: var(--primary);
}

.feature-label {
    font-size: 0.65rem;
    color: var(--on-surface);
    font-weight: 600;
}

/* Dots Overlay (Acomodoções) */
.dots-overlay {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
}

.dot.active {
    background-color: white;
}

/* Amenities (Booking Flow) */
.amenity-item {
    margin-bottom: 2.5rem;
}

.amenity-icon {
    font-size: 2rem;
    color: var(--tertiary);
    margin-bottom: 0.75rem;
}

.amenity-label {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--secondary);
}

/* Inclusions */
.inclusion-image-wrapper {
    position: relative;
    padding-bottom: 1.5rem;
    padding-right: 1.5rem;
}

.inclusion-image-wrapper img {
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.inclusion-bg-accent {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background-color: var(--tertiary);
    border-radius: 12px;
    z-index: -1;
    opacity: 0.3;
}

/* --- Section 11: COMPONENTS - FOOTER & NEWSLETTER --- */

footer {
    background-color: var(--primary);
    color: var(--background);
    padding: 5rem 0 2rem;
}

footer .navbar-brand {
    color: var(--background) !important;
}

footer .nav-link {
    color: #fdfaf7 !important;
    padding: 0;
    margin: 0;
    text-transform: none;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: normal;
}

footer .nav-link:hover {
    color: #ffffff !important;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(252, 249, 244, 0.2);
    margin-top: 4rem;
    padding-top: 2rem;
}

.footer-policy-link {
    font-size: 0.6875rem;
    color: #fdfaf7 !important;
    font-weight: 500;
}

/* Newsletter */
.newsletter-input {
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

/* --- Section 12: OTHER COMPONENTS --- */

/* Reservation Sidebar Widget */
.booking-card,
.reservation-card {
    background-color: var(--surface-container-low);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(6, 78, 59, 0.05);
    border: 1px solid rgba(113, 109, 84, 0.15);
    position: sticky;
    top: 120px;
}

.reservation-card {
    background-color: var(--surface-container);
    padding: 2rem;
}

/* Concierge & Support */
.floating-concierge {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.concierge-label {
    background: rgba(252, 249, 244, 0.95);
    backdrop-filter: blur(20px);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    font-size: 0.625rem;
    font-weight: 700;
    color: #4a4837;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
}

/* 404 Page */
.error-container {
    z-index: 2;
    max-width: 720px;
}

.error-title {
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--primary);
    font-style: italic;
}

.error-message {
    max-width: 520px;
}

.error-label {
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--on-surface);
    font-weight: 700;
}

.blob-primary,
.blob-tertiary {
    position: absolute;
    width: 380px;
    height: 380px;
    opacity: 0.05;
    filter: blur(80px);
}

.blob-primary {
    top: -120px;
    right: -120px;
    background: var(--primary);
}

.blob-tertiary {
    bottom: -120px;
    left: -120px;
    background: var(--tertiary);
}

/* Icons & General Utilities */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

.signature-cta {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: #8a6e3e !important;
    font-weight: 700;
    padding-bottom: 0.25rem;
}

.signature-cta::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: #8a6e3e;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.signature-cta:hover::after {
    width: 100%;
}

.link-detail {
    position: relative;
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    font-size: 0.875rem;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.link-detail::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

.link-detail:hover::after {
    width: 100%;
}

.img-portrait {
    height: 500px;
    object-fit: cover;
}

.img-sobre {
    height: 420px;
    object-fit: cover;
    width: 100%;
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    z-index: 999;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--on-primary);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(113, 109, 84, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: scale(1.1);
}