:root {
    --bg-pure: #000000;
    --bg-card: rgba(10, 10, 10, 0.65);
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(255, 255, 255, 0.22);
    --border-highlight: rgba(255, 255, 255, 0.4);
    
    --text-primary: #ffffff;
    --text-secondary: #a0a0a5;
    --text-muted: #555558;
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s ease;

    /* Interactive variables updated dynamically by JS */
    --mouse-x: 0;
    --mouse-y: 0;
    --scroll-y: 0;
}

/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-pure);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.5;
    overflow-x: hidden;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 40px 16px;
}

h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

/* ==========================================================================
   Animated & Interactive Fluid Background
   ========================================================================== */
.bg-gradient-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-color: #030303;
    overflow: hidden;
    pointer-events: none;
}

/* Interactive layer: responds smoothly to mouse and scroll */
.blob-interactive {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    will-change: transform;
    transition: transform 0.4s cubic-bezier(0.1, 0.8, 0.2, 1);
}

/* Different displacement multipliers create depth/parallax */
.blob-1-interactive {
    transform: translate(calc(var(--mouse-x) * 1.5px), calc(var(--scroll-y) * -0.5px));
}

.blob-2-interactive {
    transform: translate(calc(var(--mouse-x) * -1.2px), calc(var(--scroll-y) * 0.4px));
}

.blob-3-interactive {
    transform: translate(calc(var(--mouse-x) * 0.8px), calc(var(--scroll-y) * -0.3px));
}

.bg-blob {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: screen;
    will-change: transform;
    filter: blur(45px);
    opacity: 0.92;
    transition: transform 1s ease-out, background 0.5s ease;
}

/* Faster automatic movements & larger sizes */
.blob-1 {
    top: -10%;
    left: -10%;
    width: 95vw;
    height: 95vw;
    background: radial-gradient(circle, rgba(210, 210, 210, 0.45) 0%, rgba(0, 0, 0, 0) 80%);
    animation: drift-1 8s infinite alternate ease-in-out;
}

.blob-2 {
    bottom: -15%;
    right: -10%;
    width: 105vw;
    height: 105vw;
    background: radial-gradient(circle, rgba(150, 150, 150, 0.5) 0%, rgba(0, 0, 0, 0) 80%);
    animation: drift-2 10s infinite alternate ease-in-out;
}

.blob-3 {
    top: 25%;
    left: 15%;
    width: 85vw;
    height: 85vw;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, rgba(0, 0, 0, 0) 80%);
    animation: drift-3 7s infinite alternate ease-in-out;
}

/* Pulsing effect when the services menu is open */
.bg-gradient-wrapper.menu-open .blob-1 {
    background: radial-gradient(circle, rgba(230, 230, 230, 0.58) 0%, rgba(0, 0, 0, 0) 80%);
    transform: scale(1.15);
}

.bg-gradient-wrapper.menu-open .blob-2 {
    background: radial-gradient(circle, rgba(185, 185, 185, 0.65) 0%, rgba(0, 0, 0, 0) 80%);
    transform: scale(1.15);
}

.bg-gradient-wrapper.menu-open .blob-3 {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, rgba(0, 0, 0, 0) 80%);
    transform: scale(1.2);
}

.bg-blur-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.05) 0%, rgba(3, 3, 3, 0.9) 100%);
}

@keyframes drift-1 {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(45vw, 15vh) scale(1.3) rotate(180deg); }
    100% { transform: translate(-15vw, -10vh) scale(0.9) rotate(360deg); }
}

@keyframes drift-2 {
    0% { transform: translate(0, 0) scale(0.85) rotate(0deg); }
    50% { transform: translate(-40vw, -20vh) scale(1.25) rotate(-180deg); }
    100% { transform: translate(20vw, 15vh) scale(0.95) rotate(-360deg); }
}

@keyframes drift-3 {
    0% { transform: translate(0, 0) scale(1.05) rotate(0deg); }
    50% { transform: translate(30vw, -15vh) scale(0.75) rotate(120deg); }
    100% { transform: translate(-30vw, 25vh) scale(1.05) rotate(240deg); }
}

/* ==========================================================================
   Portal Card Layout
   ========================================================================== */
.portal-container {
    width: 100%;
    max-width: 460px;
    z-index: 10;
    margin: 0 auto;
}

.portal-card {
    background-color: var(--bg-card);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 24px;
    width: 100%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
    text-align: center;
    transition: var(--transition-smooth);
}

.portal-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.85);
}

/* Logo */
.logo-container {
    width: 210px;
    margin: 0 auto 16px auto;
    transition: var(--transition-smooth);
}

.portal-logo {
    width: 100%;
    filter: invert(1);
    transition: var(--transition-smooth);
}

.portal-logo:hover {
    transform: scale(1.04);
}

.portal-subtitle {
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-weight: 500;
}

/* ==========================================================================
   Buttons (WhatsApp and Instagram)
   ========================================================================== */
.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 8px;
    min-height: 48px; /* Tappable interface size standard */
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-pure);
    border: 1px solid var(--text-primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--text-primary);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

/* ==========================================================================
   Collapsible Accordion (Services)
   ========================================================================== */
.accordion-container {
    margin-bottom: 32px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.02);
    overflow: hidden;
    transition: var(--transition-fast);
}

.accordion-container:hover {
    border-color: var(--border-color-hover);
}

.accordion-toggle {
    width: 100%;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    min-height: 50px;
    transition: var(--transition-fast);
}

.accordion-toggle:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.toggle-icon {
    font-size: 11px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-toggle[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.accordion-content.open {
    opacity: 1;
    max-height: 600px; /* Safe upper bound for full content expansion */
}

.services-list {
    padding: 10px 20px 24px 20px;
    text-align: left;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 8px 0;
    font-size: 13.5px;
}

.service-name {
    color: var(--text-secondary);
    font-weight: 400;
}

.service-dots {
    flex-grow: 1;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    margin: 0 8px;
    position: relative;
    top: -4px;
}

.service-price {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
}

/* ==========================================================================
   Business Hours & Section Layouts
   ========================================================================== */
.section-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-title i {
    font-size: 11px;
    color: var(--text-secondary);
}

/* Hours */
.hours-container {
    border-top: 1px solid var(--border-color);
    padding-top: 28px;
    margin-bottom: 32px;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 320px;
    margin: 0 auto;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    color: var(--text-secondary);
}

.hours-day {
    font-weight: 500;
}

.hours-time {
    color: var(--text-primary);
    font-weight: 600;
}

/* ==========================================================================
   Map Area
   ========================================================================== */
.location-container {
    border-top: 1px solid var(--border-color);
    padding-top: 28px;
    margin-bottom: 24px;
}

.map-wrapper {
    border: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.01);
    padding: 6px;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
}

.map-wrapper iframe {
    width: 100%;
    height: 260px;
    border-radius: 4px;
    display: block;
    filter: grayscale(1) invert(0.92) contrast(1.1); /* Silver-metallic custom styling */
    opacity: 0.82;
    transition: var(--transition-smooth);
}

.map-wrapper:hover iframe {
    opacity: 1;
    filter: grayscale(1) invert(0.92) contrast(1.1);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.portal-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: 28px;
}

.portal-footer p {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

/* ==========================================================================
   Media Query adjustments
   ========================================================================== */
@media (max-width: 400px) {
    .portal-card {
        padding: 32px 16px;
    }
    
    .btn {
        padding: 12px 16px;
        font-size: 11px;
    }
    
    .service-item {
        font-size: 12px;
    }
}
