html, body {
    margin: 0;
    padding: 0;
    width: 100%;
}
@font-face {
  font-family: 'Marcellus';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/marcellus/v14/wEO_EBrOk8hQLDvIAF81VvoK.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
    --mud-typography-default-family: 'Marcellus', serif;
}

/* 2. This forces your Hero font on H1 specifically */
.mud-typography-h1 {
    font-family: 'IM Fell French Canon SC', serif !important;
}

/* 3. Global backup */
body {
    font-family: 'Marcellus', serif !important;
}
/* ... keep your IM Fell French Canon SC font-face here ... */

/* 2. Set Marcellus as the global default */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Marcellus', serif !important;
}

/* 3. Ensure MudBlazor components inherit it */
.mud-typography {
    font-family: 'Marcellus', serif !important;
}

/* 4. Keep your special class for the Hero */
.hero-font {
    font-family: 'IM Fell French Canon SC', serif !important;
}
a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}
.page {
    padding: 0 !important;
}
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE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kgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

@font-face {
  font-family: 'IM Fell French Canon SC';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/imfellfrenchcanonsc/v23/FBVmdCru5-ifcor2bgq9V89khWcmQghEURY7H0czWhE.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
.hero-container, .hero-slide {
    /* This tells the phone: "Left/Right is for the carousel, but Up/Down is for the page" */
    touch-action: pan-y; 
}

.mud-carousel-item {
    /* Ensures the individual items don't block the scroll */
    touch-action: pan-y !important;
}
.no-interaction {
    pointer-events: none !important;
    touch-action: auto !important; /* Forces default browser scrolling */
}
.hero-container {
    height: 100vh;
    width: 100%;
}

.hero-slide {
    height: 100vh;
    width: 100%;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Dark tint over images */
.hero-slide::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); 
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
  /* Base styles (Mobile first) */
    background: transparent;
    backdrop-filter: none;
    border: none;
    padding: 20px;
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}

/* Desktop Styles (PC) */
@media (min-width: 960px) {
    .hero-content {
        background: rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 40px 60px;
        border-radius: 2px;
    }
}

/* --- IMAGE SWAPPING LOGIC --- */

/* Desktop (Default) */
.slide-1 { background-image: url('/images/hero.jpg'); }
.slide-2 { background-image: url('/images/hero2.jpeg'); }

/* Mobile (Phone) */
@media (max-width: 600px) {
    .slide-1 { background-image: url('/images/hero-mobile.jpg'); }
    .slide-2 { background-image: url('/images/hero2-mobile.jpg'); }
}
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: white;
    cursor: pointer;
    pointer-events: auto !important; /* This ensures it IS clickable even if the carousel isn't */
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
    40% {transform: translateX(-50%) translateY(-10px);}
    60% {transform: translateX(-50%) translateY(-5px);}
}
/* Ensure the list item hover effect works in both Light and Dark sections */
.mud-list-item:hover {
    background-color: rgba(179, 155, 93, 0.1) !important; /* Very light gold tint background */
    transition: all 0.2s ease-in-out;
}

/* Target the text inside the list item on hover */
.mud-list-item:hover .mud-list-item-text, 
.mud-list-item:hover .mud-typography,
.mud-list-item:hover .mud-icon-root {
    color: #b39b5d !important; /* The gold color */
}

/* If you have specific classes for these sections, use them to be even safer */
.my-content-section .mud-list-item:hover,
.payment-methods-section .mud-list-item:hover {
    cursor: pointer;
}
/* Luxury Gold Accent */
:root {
    --gold: #D4AF37; /* A more metallic, classic gold */
    --deep-black: #121212;
}

/* Elevate the Hover Effect for Lists */
.mud-list-item {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    border-bottom: 1px solid transparent;
    margin-bottom: 8px;
}

.mud-list-item:hover {
    background-color: rgba(212, 175, 55, 0.05) !important; /* Very faint gold glow */
    border-bottom: 1px solid var(--gold);
    transform: translateY(-2px); /* Subtle lift */
}

/* Make the text transform to uppercase for a high-fashion look */
.mud-list-item .mud-typography {
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 300;
}

.mud-list-item:hover .mud-typography {
    color: var(--gold) !important;
    letter-spacing: 3px; /* Text expands slightly on hover */
}



.navbar-transparent {
    background-color: transparent !important;
    color: white !important;
    transition: background-color 0.5s ease, padding 0.5s ease;
    padding: 20px 40px;
}

.navbar-solid {
    background-color: rgba(18, 18, 18, 0.95) !important; /* Deep luxury black */
    backdrop-filter: blur(10px);
    color: #D4AF37 !important; /* Gold text when solid */
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding: 10px 40px;
}

.nav-brand {
    font-family: 'IM Fell French Canon SC', serif;
    letter-spacing: 4px;
}

.nav-link {
    font-family: 'Marcellus', serif;
    letter-spacing: 2px;
    margin-left: 20px;
    text-transform: uppercase;
    font-size: 0.8rem;
}
/* Luxury Typography */
.luxury-header {
    font-family: 'IM Fell French Canon SC', serif !important;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.luxury-text-block .mud-typography {
    font-size: 1.15rem !important;
    line-height: 2 !important;
    font-style: italic;
    font-family: 'Marcellus', serif !important;
    color: #444;
    font-weight: 300;
}

/* Ensure jumps don't land under the navbar */
#about-me, #content, #payments {
    scroll-margin-top: 100px;
}

/* Cleaner List Look */
.luxury-list-item .mud-typography {
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
}
.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 3px;
}

.scroll-indicator:hover {
    color: #D4AF37;
}
.luxury-email-link {
    color: #D4AF37; /* Your gold color */
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.luxury-email-link:hover {
    border-bottom: 1px solid #D4AF37;
    letter-spacing: 3px;
    opacity: 0.8;
}
.luxury-contact-button {
    display: inline-block;
    padding: 15px 45px;
    border: 1px solid #D4AF37; /* Elegant Gold */
    color: #121212; /* Dark text for the white background */
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 4px;
    font-family: 'Marcellus', serif;
    font-size: 0.85rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: transparent;
}

.luxury-contact-button:hover {
    color: #ffffff;
    background-color: #D4AF37; /* Fills with gold on hover */
    letter-spacing: 6px; /* Text expands slightly */
    box-shadow: 0 10px 20px rgba(212, 175, 85, 0.2);
    transform: translateY(-3px);
}