/* ==========================================================================
   Russell Fitness - Custom Styles
   Premium dark & gold theme for executive personal training
   ========================================================================== */

/* ---------- CSS Variables ---------- */
:root {
    --rf-black: #0a0a0a;
    --rf-dark: #111111;
    --rf-dark-alt: #0e0e0e;
    --rf-dark-card: #161616;
    --rf-gold: #c8a84e;
    --rf-gold-light: #dfc06e;
    --rf-gold-dark: #a68a3a;
    --rf-white: #ffffff;
    --rf-light: #e8e8e8;
    --rf-muted: #9a9a9a;
    --rf-font-heading: 'Playfair Display', Georgia, serif;
    --rf-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --rf-transition: all 0.3s ease;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--rf-font-body);
    background-color: var(--rf-black);
    color: var(--rf-light);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: var(--rf-gold);
    color: var(--rf-black);
}

a {
    color: var(--rf-gold);
    text-decoration: none;
    transition: var(--rf-transition);
}

a:hover {
    color: var(--rf-gold-light);
}

img {
    max-width: 100%;
    height: auto;
}

/* ---------- Utility Classes ---------- */
.text-gold {
    color: var(--rf-gold) !important;
}

.bg-dark-alt {
    background-color: var(--rf-dark-alt);
}

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

/* ---------- Buttons ---------- */
.btn-gold {
    background: linear-gradient(135deg, var(--rf-gold), var(--rf-gold-dark));
    color: var(--rf-black);
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 12px 30px;
    border-radius: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: var(--rf-transition);
}

.btn-gold:hover,
.btn-gold:focus {
    background: linear-gradient(135deg, var(--rf-gold-light), var(--rf-gold));
    color: var(--rf-black);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 168, 78, 0.3);
}

.btn-outline-gold {
    background: transparent;
    color: var(--rf-gold);
    border: 1px solid var(--rf-gold);
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 12px 30px;
    border-radius: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: var(--rf-transition);
}

.btn-outline-gold:hover,
.btn-outline-gold:focus {
    background: var(--rf-gold);
    color: var(--rf-black);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 168, 78, 0.3);
}

/* ---------- Navigation ---------- */
#mainNav {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(200, 168, 78, 0.1);
    padding: 15px 0;
    transition: var(--rf-transition);
}

#mainNav.scrolled {
    padding: 8px 0;
    background: rgba(10, 10, 10, 0.97);
    border-bottom: 1px solid rgba(200, 168, 78, 0.2);
}

.nav-logo {
    height: 45px;
    width: auto;
    transition: var(--rf-transition);
}

#mainNav.scrolled .nav-logo {
    height: 38px;
}

.navbar-nav .nav-link {
    color: var(--rf-light);
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 8px 16px !important;
    position: relative;
    transition: var(--rf-transition);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--rf-gold);
    transition: var(--rf-transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--rf-gold);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

.navbar-toggler {
    border: 1px solid rgba(200, 168, 78, 0.4);
    padding: 6px 10px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(200, 168, 78, 0.3);
}

/* ---------- Hero Section ---------- */
.hero-section {
    min-height: 100vh;
    background: url('../img/backing_2.png') center center / cover no-repeat;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.92) 0%,
        rgba(10, 10, 10, 0.80) 50%,
        rgba(10, 10, 10, 0.88) 100%
    );
    z-index: 1;
}

.hero-logo {
    height: 130px;
    width: auto;
}

.hero-heading {
    font-family: var(--rf-font-heading);
    font-size: 3.2rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--rf-white);
    margin-bottom: 20px;
}

.hero-subheading {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--rf-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    color: var(--rf-gold);
    font-size: 1.5rem;
    animation: bounceDown 2s infinite;
    display: inline-block;
}

.scroll-arrow:hover {
    color: var(--rf-gold-light);
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(10px);
    }
    60% {
        transform: translateY(5px);
    }
}

/* ---------- Fade-In Animations ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-delay-1 {
    animation-delay: 0.3s;
}

.fade-in-delay-2 {
    animation-delay: 0.6s;
}

.fade-in-delay-3 {
    animation-delay: 0.9s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll-triggered animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Section Styles ---------- */
.section-padding {
    padding: 100px 0;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--rf-gold);
    margin-bottom: 10px;
}

.section-heading {
    font-family: var(--rf-font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--rf-white);
    margin-bottom: 15px;
}

.gold-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--rf-gold), transparent);
    margin-top: 5px;
    margin-bottom: 20px;
}

.lead-text {
    font-size: 1.15rem;
    color: var(--rf-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.body-text {
    font-size: 1rem;
    color: var(--rf-muted);
    line-height: 1.8;
    margin-bottom: 15px;
}

/* ---------- Service Cards ---------- */
.service-card {
    background: var(--rf-dark-card);
    border: 1px solid rgba(200, 168, 78, 0.1);
    border-radius: 4px;
    padding: 40px 25px;
    transition: var(--rf-transition);
}

.service-card:hover {
    border-color: rgba(200, 168, 78, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--rf-gold);
    margin-bottom: 20px;
}

.service-title {
    font-family: var(--rf-font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--rf-white);
    margin-bottom: 12px;
}

.service-text {
    font-size: 0.9rem;
    color: var(--rf-muted);
    line-height: 1.7;
}

/* ---------- Approach Steps ---------- */
.approach-step {
    padding: 30px;
}

.step-number {
    font-family: var(--rf-font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(200, 168, 78, 0.2);
    line-height: 1;
    margin-bottom: 15px;
}

.step-title {
    font-family: var(--rf-font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--rf-gold);
    margin-bottom: 10px;
}

.step-text {
    font-size: 0.95rem;
    color: var(--rf-muted);
    line-height: 1.7;
}

/* ---------- CTA Section ---------- */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: url('../img/backing_1.png') center center / cover no-repeat;
    overflow: hidden;
}

.cta-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.88);
    z-index: 1;
}

.cta-heading {
    font-family: var(--rf-font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--rf-white);
    margin-bottom: 15px;
}

.cta-text {
    font-size: 1.05rem;
    color: var(--rf-muted);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Contact Cards ---------- */
.contact-card {
    background: var(--rf-dark-card);
    border: 1px solid rgba(200, 168, 78, 0.1);
    border-radius: 4px;
    padding: 35px 20px;
    transition: var(--rf-transition);
}

.contact-card:hover {
    border-color: rgba(200, 168, 78, 0.3);
}

.contact-icon {
    font-size: 2rem;
    color: var(--rf-gold);
    margin-bottom: 15px;
}

.contact-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--rf-muted);
    margin-bottom: 8px;
}

.contact-link {
    font-size: 0.95rem;
    color: var(--rf-gold);
    word-break: break-word;
}

.contact-link:hover {
    color: var(--rf-gold-light);
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--rf-dark);
    border-top: 1px solid rgba(200, 168, 78, 0.1);
    padding: 35px 0;
}

.footer-logo {
    height: 40px;
    width: auto;
    opacity: 0.8;
}

.footer-text {
    font-size: 0.8rem;
    color: var(--rf-muted);
}

.footer-link {
    font-size: 0.8rem;
    color: var(--rf-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--rf-transition);
}

.footer-link:hover {
    color: var(--rf-gold);
}

.footer-social {
    font-size: 1.2rem;
    color: var(--rf-muted);
    transition: var(--rf-transition);
}

.footer-social:hover {
    color: var(--rf-gold);
}

/* ---------- Back to Top Button ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--rf-gold);
    color: var(--rf-black);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    transition: var(--rf-transition);
}

.back-to-top:hover {
    background: var(--rf-gold-light);
    transform: translateY(-3px);
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(17, 17, 17, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(200, 168, 78, 0.2);
    padding: 18px 0;
    z-index: 9999;
}

.cookie-text {
    font-size: 0.85rem;
    color: var(--rf-muted);
    margin: 0;
}

.cookie-link {
    color: var(--rf-gold);
    text-decoration: underline;
}

.cookie-link:hover {
    color: var(--rf-gold-light);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .hero-heading {
        font-size: 2.4rem;
    }

    .hero-subheading {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .hero-logo {
        height: 100px;
    }

    .section-padding {
        padding: 70px 0;
    }

    .section-heading {
        font-size: 2rem;
    }

    .cta-heading {
        font-size: 2rem;
    }

    .navbar-collapse {
        background: rgba(10, 10, 10, 0.98);
        border-radius: 8px;
        padding: 15px;
        margin-top: 10px;
        border: 1px solid rgba(200, 168, 78, 0.1);
    }
}

@media (max-width: 767.98px) {
    .hero-heading {
        font-size: 1.8rem;
    }

    .hero-subheading {
        font-size: 0.85rem;
    }

    .hero-logo {
        height: 80px;
    }

    .hero-cta .btn {
        display: block;
        width: 100%;
        margin: 0 0 12px 0 !important;
    }

    .section-padding {
        padding: 60px 0;
    }

    .section-heading {
        font-size: 1.75rem;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-heading {
        font-size: 1.75rem;
    }
}

@media (max-width: 479.98px) and (max-height: 699.98px) {
    .hero-logo {
        height: 50px;
        max-width: 80%;
    }

    .hero-heading {
        font-size: 1.5rem;
    }
}

@media (min-width: 768px) and (max-height: 699.98px) {
    .hero-logo {
        height: 80px;
        margin-bottom: 0.5rem !important;
    }

    .hero-heading {
        font-size: 2.4rem;
        margin-bottom: 12px;
    }

    .hero-subheading {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .hero-scroll-indicator {
        bottom: 15px;
    }
}

@media (min-width: 768px) and (max-height: 549.98px) {
    .hero-logo {
        height: 55px;
    }

    .hero-heading {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }

    .hero-subheading {
        font-size: 0.85rem;
        margin-bottom: 18px;
    }

    .hero-scroll-indicator {
        display: none;
    }
}
