* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary-gold: #FFC107;
    --color-accent-orange: #f39c12;
    --color-accent-orange-hover: #e67e22;
    --color-dark-blue-rgb: 26, 58, 96;
    --color-card-bg-rgb: 50, 50, 50;
    --color-text-dark: #333;
    --color-text-light: #fff;
    --color-body-bg: #f4f4f4;
    --color-footer-bg: #333;
    --color-black: black;
}

body {
    font-family: 'Georgia', Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-body-bg);
    overflow-x: hidden;
}

#fixed-hero-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
}

#fixed-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('imagenes/GoldeNova (5).jpg') no-repeat center center, #1A3A60;
    background-size: cover;
    background-position: center center;
    filter: blur(0px);
    -webkit-filter: blur(0px);
    transition: filter 0.8s ease-out;
}

#fixed-hero-layer.blurred-bg #fixed-background {
    filter: blur(8px);
    -webkit-filter: blur(8px);
}

#scrolling-content {
    position: relative;
    z-index: 1;
    background-color: transparent;
}

.placeholder-hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    color: var(--color-primary-gold);
    text-align: center;
    padding-bottom: 20px; /* Reduced padding to position content closer to bottom */
}

.placeholder-hero .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.placeholder-hero .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.placeholder-hero .cta-button {
    display: inline-block;
    padding: 8px 16px; /* Reduced padding for smaller button */
    background-color: var(--color-accent-orange);
    color: var(--color-text-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem; /* Smaller font size */
    font-weight: bold;
    text-shadow:
        -0.5px -0.5px 0 var(--color-black),
        0.5px -0.5px 0 var(--color-black),
        -0.5px 0.5px 0 var(--color-black),
        0.5px 0.5px 0 var(--color-black);
}

.placeholder-hero .cta-button:hover {
    background-color: var(--color-accent-orange-hover);
}

#main-nav-scrolling {
    width: 100%;
    max-width: 1200px;
    padding: 1rem 20px;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    opacity: 0;
    z-index: 100;
    min-height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(var(--color-dark-blue-rgb), 0.85);
    background: rgba(var(--color-dark-blue-rgb), 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: transform 0.5s ease-out, opacity 0.5s ease-out, background-color 0.5s ease-out, box-shadow 0.5s ease-out;
    pointer-events: none;
}

#main-nav-scrolling.nav-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.burger {
    display: none;
    cursor: pointer;
    z-index: 101;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--color-primary-gold);
    margin: 5px;
    transition: all 0.3s ease;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0;
    margin: 0;
    background-color: transparent;
    box-shadow: none;
    height: auto;
    overflow: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.nav-links li {
    text-align: center;
    margin: 0 20px;
    opacity: 1;
    animation: none;
}

.nav-links li a {
    text-decoration: none;
    color: var(--color-text-light);
    padding: 12px 0px;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
    font-weight: normal;
    text-shadow:
        -0.5px -0.5px 0 var(--color-black),
        0.5px -0.5px 0 var(--color-black),
        -0.5px 0.5px 0 var(--color-black),
        0.5px 0.5px 0 var(--color-black);
    font-size: 1.1rem;
}

.nav-links li a:hover {
    color: var(--color-primary-gold);
    background-color: transparent;
}

.nav-links li a i {
    margin-right: 8px;
    color: var(--color-primary-gold);
    font-size: 1em;
}

.section-padded {
    padding: 80px 20px;
    text-align: center;
    background-color: transparent;
    position: relative;
    z-index: 1;
}

.section-padded h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-shadow:
        -0.8px -0.8px 0 var(--color-black),
        0.8px -0.8px 0 var(--color-black),
        -0.8px 0.8px 0 var(--color-black),
        0.8px 0.8px 0 var(--color-black);
    color: var(--color-primary-gold);
}

#services p, #how-it-works p, #contact p, #contact address, .step p {
    color: var(--color-primary-gold);
    text-shadow:
        -0.3px -0.3px 0 var(--color-black),
        0.3px -0.3px 0 var(--color-black),
        -0.3px 0.3px 0 var(--color-black),
        0.3px 0.3px 0 var(--color-black);
}

.services-grid-container {
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin: 50px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
}

.service-card {
    flex: 1 1 320px;
    max-width: 380px;
    min-width: 280px;
    background-color: rgba(var(--color-card-bg-rgb), 0.2);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transition: box-shadow 0.3s ease, transform 0.2s ease, background-color 0.3s ease;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
}

.service-card:hover::before {
    background-color: rgba(0, 0, 0, 0.3);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: var(--color-primary-gold);
    text-shadow:
        -0.5px -0.5px 0 var(--color-black),
        0.5px -0.5px 0 var(--color-black),
        -0.5px 0.5px 0 var(--color-black),
        0.5px 0.5px 0 var(--color-black);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.service-card ul.service-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 10px 0;
    text-align: center;
    width: 100%;
    color: var(--color-primary-gold);
    text-shadow:
        -0.2px -0.2px 0 var(--color-black),
        0.2px -0.2px 0 var(--color-black),
        -0.2px 0.2px 0 var(--color-black),
        0.2px 0.2px 0 var(--color-black);
    flex-grow: 1;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.service-card ul.service-list li {
    margin-bottom: 5px;
    font-size: 0.95rem;
    position: relative;
    padding-left: 15px;
}

.service-card ul.service-list li::before {
    content: '\2022';
    color: var(--color-primary-gold);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
    left: 0;
    top: 0;
    text-shadow: none;
}

.vitamin-shots-card {
    background-image: url('imagenes/shot image.jpg');
    background-color: rgba(var(--color-card-bg-rgb), 0.2);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.iv-therapy-card {
    background-image: url('imagenes/fondo de iv therapy (1) (1).jpg');
    background-color: rgba(var(--color-card-bg-rgb), 0.2);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.fat-burners-card {
    background-image: url('imagenes/fat burn.jpg');
    background-color: rgba(var(--color-card-bg-rgb), 0.2);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.weight-loss-card {
    background-image: url('imagenes/weight loss (1).jpg');
    background-color: rgba(var(--color-card-bg-rgb), 0.2);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.nad-plus-card {
    background-image: url('imagenes/NAD+.jpg');
    background-color: rgba(var(--color-card-bg-rgb), 0.2);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    background-color: rgba(var(--color-dark-blue-rgb), 0.7);
    background: rgba(var(--color-dark-blue-rgb), 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--color-primary-gold);
    flex: 1 1 300px;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    background-color: rgba(var(--color-dark-blue-rgb), 0.85);
}

.step-icon {
    display: inline-block;
    background-color: var(--color-primary-gold);
    color: #1A3A60;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--color-primary-gold);
}

footer {
    background-color: var(--color-footer-bg);
    color: var(--color-text-light);
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.social-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: var(--color-primary-gold);
    font-size: 2.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
    text-shadow:
        -1px -1px 0 var(--color-black),
        1px -1px 0 var(--color-black),
        -1px 1px 0 var(--color-black),
        1px 1px 0 var(--color-black);
}

.social-links a:hover {
    transform: translateY(-5px);
    color: var(--color-accent-orange);
}

#contact address a {
    color: var(--color-text-light);
    text-decoration: none;
    text-shadow:
        -0.5px -0.5px 0 var(--color-black),
        0.5px -0.5px 0 var(--color-black),
        -0.5px 0.5px 0 var(--color-black),
        0.5px 0.5px 0 var(--color-black);
}

#contact address a:hover {
    color: var(--color-primary-gold);
}

@media (max-width: 768px) {
    #main-nav-scrolling {
        justify-content: flex-end;
        padding: 0.8rem 20px;
        transform: translateX(-50%) translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .burger {
        display: block;
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 60%;
        height: 100%;
        background-color: rgba(var(--color-dark-blue-rgb), 0.95);
        background: rgba(var(--color-dark-blue-rgb), 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
        transform: translateX(100%);
        transition: transform 0.5s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
        pointer-events: none;
    }

    .nav-links.nav-active {
        transform: translateX(0%);
        pointer-events: auto;
    }

    .nav-links li {
        opacity: 0;
        margin: 20px 0;
    }

    .nav-links li a {
        font-size: 1.3rem;
        padding: 10px 20px;
        width: 100%;
        display: block;
        text-shadow:
            -0.3px -0.3px 0 var(--color-black),
            0.3px -0.3px 0 var(--color-black),
            -0.3px 0.3px 0 var(--color-black),
            0.3px 0.3px 0 var(--color-black);
    }

    .burger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .burger.toggle .line2 {
        opacity: 0;
    }
    .burger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    @keyframes navLinkFade {
        from { opacity: 0; transform: translateX(50px); }
        to { opacity: 1; transform: translateX(0px); }
    }

    .nav-links.nav-active li {
        animation: navLinkFade 0.5s ease forwards;
    }

    .placeholder-hero {
        height: 100vh;
    }

    .placeholder-hero .hero-content h1 {
        font-size: 2rem; /* Smaller heading on mobile */
    }

    .placeholder-hero .cta-button {
        padding: 6px 12px; /* Smaller button on mobile */
        font-size: 0.8rem; /* Smaller font on mobile */
    }

    .section-padded {
        padding: 60px 15px;
    }

    .section-padded h2 {
        font-size: 2rem;
    }

    .services-grid-container {
        gap: 20px;
    }
    .service-card {
        flex: 1 1 90%;
        max-width: 320px;
        min-width: 280px;
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        width: 70%;
    }
    .services-grid-container {
        gap: 15px;
    }
    .service-card {
        flex: 1 1 100%;
        max-width: 320px;
        min-width: unset;
        padding: 20px;
    }
}