/*
Theme Name: Ford Wellbeing Custom
Author: Gemini
Description: Dual-persona theme for Reflexology & Counselling.
Version: 3.0
Text Domain: fordwellbeing
*/

/* --- 1. Variables --- */
:root {
    /* Client Hex Codes */
    --color-green-primary: #808b00;
    --color-green-light: #a7a571;
    --color-orange: #b86027;
    --color-cream: #f9f7f1;
    --color-sand: #cbbba0;
    --color-gold: #ffb32d;
    
    /* Typography */
    --font-heading: 'Libre Baskerville', serif; /* RoxboroughCF alternative */
    --font-body: 'Montserrat', sans-serif; /* Requested */
    --font-script: 'Dancing Script', cursive; /* Brittany alternative */
}

/* --- 2. Global Reset --- */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--color-cream);
    color: #333;
    font-family: var(--font-body);
    line-height: 1.7;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--color-green-primary);
    margin-bottom: 1rem;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.script-font { font-family: var(--font-script); color: var(--color-orange); font-size: 2rem; }

/* --- 3. Header --- */
.site-header {
    background: white;
    padding: 15px 0;
    border-bottom: 4px solid var(--color-green-light);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.site-title { font-family: var(--font-heading); font-size: 1.5rem; text-transform: uppercase; letter-spacing: 2px; }

/* --- 4. Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--color-green-primary);
    color: white;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.8rem;
    letter-spacing: 1px;
}
.btn:hover { background-color: var(--color-orange); }

/* --- 5. Gateway (Homepage) Split --- */
.gateway-split {
    display: flex;
    min-height: 80vh; /* Takes up most of the screen */
}
.gateway-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
    transition: all 0.5s ease;
}
/* Visual separation */
.gateway-col.alex { background-color: white; border-right: 1px solid #eee; }
.gateway-col.jonny { background-color: var(--color-cream); }

.gateway-col:hover { background-color: #f0f0f0; } /* Subtle interaction */

.profile-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--color-green-light);
    margin-bottom: 20px;
}

/* --- 6. Inner Pages (Alex & Jonny) --- */
.page-hero {
    background-color: var(--color-sand);
    padding: 60px 0;
    text-align: center;
    color: white;
}

.page-hero h1 { color: white; font-size: 3rem; }

.bio-section { padding: 60px 0; display: flex; gap: 40px; align-items: center; }
.bio-text { flex: 1; }
.bio-img { flex: 1; border-radius: 8px; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}
.service-card {
    background: white;
    padding: 30px;
    border-top: 5px solid var(--color-orange);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* --- Add to bottom of style.css --- */

/* Logo Styling */
.site-logo {
    max-height: 80px; /* Controls the size of the green swoosh logo */
    width: auto;
}

.custom-logo-link {
    display: flex;
    align-items: center;
}

/* Nav Bar Styling for Alex/Jonny Links */
.persona-nav {
    display: flex;
    gap: 30px;
    align-items: center;
    list-style: none;
    margin: 0;
}

.persona-nav li a {
    font-family: var(--font-body); /* Montserrat */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

/* Specific Colors for the Names */
.nav-link-alex { color: var(--color-green-primary); }
.nav-link-alex:hover { border-bottom-color: var(--color-green-primary); }

.nav-link-jonny { color: var(--color-orange); }
.nav-link-jonny:hover { border-bottom-color: var(--color-orange); }

/* 1. Fullscreen Hero Container */
.fullscreen-intro {
    height: 100vh; /* Occupies full viewport height */
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--color-cream); /* */
    text-align: center;
    position: relative;
    padding: 0 20px;
}

/* 2. The Content Animation (Fade In Up) */
.intro-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.5s ease-out forwards; /* The "Loading" effect */
}

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

/* 3. Typography refinements for Hero */
.intro-title {
    font-size: 3.5rem;
    color: var(--color-green-primary);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.intro-subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 4. Scroll Down Indicator */
.scroll-down-arrow {
    position: absolute;
    bottom: 40px;
    font-size: 2rem;
    color: var(--color-orange);
    animation: bounce 2s infinite;
    cursor: pointer;
    opacity: 0; /* Hidden initially */
    animation-delay: 1s; /* Waits for main content */
    animation-fill-mode: forwards; /* Stays visible */
}

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

/* --- Add to bottom of style.css --- */

.company-vision {
    background-color: white;
    padding: 80px 20px;
    border-top: 1px solid #eee;
}

/* Vision Statement */
.vision-block {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 30px;
    background-color: var(--color-cream);
    border-left: 5px solid var(--color-green-primary);
    border-radius: 4px;
}

/* Aims Grid */
.aims-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.aim-card h4 {
    color: var(--color-orange);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.aim-card p {
    font-size: 0.95rem;
    color: #555;
}

/* Services List */
.services-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.service-col {
    flex: 1;
    min-width: 300px;
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .intro-title { font-size: 2.5rem; }
}

/* --- Mobile --- */
@media (max-width: 768px) {
    .gateway-split { flex-direction: column; }
    .bio-section { flex-direction: column; }
}

/* --- Add to bottom of style.css --- */

/* The new circular container for the hero */
.hero-circle-container {
    background-color: var(--color-cream); /* Theme background color */
    width: 550px;
    height: 550px; /* Fixed height to ensure a perfect circle */
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); /* Adds depth so it stands out from bg image */
    margin: 0 auto;
    border: 3px solid white; /* Optional: adds a crisp edge */
}

/* Styling the logo inside the circle */
.hero-logo {
    max-width: 220px; /* Adjust based on preference */
    height: auto;
    margin-bottom: 15px;
}

/* Adjusting the existing subtitle text to fit nicely in the circle */
.hero-circle-container .intro-subtitle {
    font-size: 1rem;
    line-height: 1.5;
    max-width: 90%; /* Prevents text hitting the curved edges */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .hero-circle-container {
        width: 95%; /* Use available width */
        height: auto; /* Allow height to grow with content */
        aspect-ratio: 1 / 1; /* Try to maintain circle shape as long as possible */
        padding: 20px;
        /* If text overflows on very small phones, fallback to rounded rectangle:
           border-radius: 20px;
           aspect-ratio: auto; 
        */
    }

    .hero-logo {
        max-width: 180px;
    }

    .hero-circle-container .intro-subtitle {
        font-size: 0.9rem; /* Slightly smaller text for mobile fit */
    }
    
    .hero-circle-container .intro-subtitle span {
        font-size: 1.1rem; /* Keep the "Balance..." part slightly larger */
        margin-bottom: 10px;
    }
}