/*
Theme Name: Active Sports Theme
Author: Dean Fraser
Description: Custom dark theme for Active Sports Therapy Scotland
Version: 1.0
*/

/* --- CSS VARIABLES FOR EASY COLOR MANAGEMENT --- */
:root {
  --bg-color: #000000;
  --text-color: #ffffff;
  --accent-blue: #19A6DC;
}

/* --- GLOBAL STYLES --- */
body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-color);
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #ffffff;
}

/* --- BASIC HEADER STYLES --- */
.site-header {
  background-color: #111111; /* Slightly lighter than black for depth */
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--accent-blue);
}

.site-logo img {
  max-height: 80px; /* Adjust this to fit your header nicely */
  width: auto;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.main-navigation a {
  color: var(--text-color);
  font-weight: bold;
  text-transform: uppercase;
}

.main-navigation a:hover {
  color: var(--accent-blue);
}

/* --- MAIN CONTENT AREA --- */
.site-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* --- HERO SECTION STYLES --- */
.hero-section {
    position: relative;
    height: 75vh; /* Takes up 75% of the screen height */
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

/* Creates the dark tint over the photo */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); 
    z-index: 1;
}

/* Keeps the text above the dark overlay */
.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 900px;
}

.hero-content h1 {
    color: var(--accent-blue);
    font-size: 4.5rem;
    margin-bottom: 15px;
    line-height: 1.1;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.hero-content p {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 35px;
    font-weight: 400;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
}

/* Pill-shaped Booking Button */
.btn-primary {
    display: inline-block;
    background-color: var(--accent-blue);
    color: #000000;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #ffffff;
    color: #000000;
}

/* --- TRUST BANNER --- */
.trust-banner {
    background-color: #111111;
    border-bottom: 1px solid #333;
    padding: 15px 20px;
    text-align: center;
    font-size: 0.95rem;
    color: #cccccc;
}

.trust-container span {
    margin: 0 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- CORE SERVICES SECTION --- */
.services-section {
    padding: 80px 20px;
    background-color: var(--bg-color);
    text-align: center;
}

.services-header {
    max-width: 800px;
    margin: 0 auto 50px;
}

.services-header h2 {
    color: var(--accent-blue);
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.services-header p {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* The CSS Grid that puts them in 3 columns */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* The Dark Grey Cards */
.service-card {
    background-color: #111111;
    border: 1px solid #333;
    padding: 40px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: left;
}

.service-card h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--accent-blue);
    padding-bottom: 10px;
    display: inline-block;
}

.service-card p {
    color: #aaaaaa;
    font-size: 1rem;
    line-height: 1.6;
}

/* The Hover Effect: Card lifts up and border turns blue */
.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 30px rgba(25, 166, 220, 0.1);
}

/* --- CLINICAL EXPERTISE TEASER --- */
.expertise-teaser {
    padding: 80px 20px;
    background-color: #0a0a0a; /* Slightly lighter than the absolute black background */
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.expertise-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.expertise-image {
    flex: 1;
}

.expertise-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    border: 1px solid #333;
}

.expertise-text {
    flex: 1;
}

.expertise-text h2 {
    color: var(--accent-blue);
    font-size: 2.5rem;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.expertise-text .subtitle {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.expertise-text p {
    color: #cccccc;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.credentials-list {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
}

.credentials-list li {
    color: #aaaaaa;
    font-size: 1rem;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

/* Creates a sleek blue dot for the bullet points */
.credentials-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: var(--accent-blue);
    border-radius: 50%;
}

.credentials-list li strong {
    color: #ffffff;
}

/* Secondary outline button for the About page link */
.btn-secondary {
    display: inline-block;
    border: 2px solid var(--accent-blue);
    color: var(--accent-blue);
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 50px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--accent-blue);
    color: #000000;
}

/* --- CUSTOM GOOGLE REVIEWS GRID --- */
.custom-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.review-card {
    background-color: #111111;
    border: 1px solid #222;
    padding: 35px 30px;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
}

.review-stars {
    color: var(--accent-blue);
    font-size: 1.4rem;
    margin-bottom: 15px;
    letter-spacing: 3px;
}

.review-text {
    color: #cccccc;
    font-size: 1.05rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 25px;
}

/* --- NEW AVATAR & VERIFICATION STYLES --- */
.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #222;
}

.review-meta {
    display: flex;
    flex-direction: column;
}

.review-author {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: bold;
    margin: 0 0 5px 0;
    padding: 0;
    border: none;
    letter-spacing: 0.5px;
}

.google-verification {
    font-size: 0.8rem;
    color: #aaaaaa;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

/* Creates a small Google Blue 'G' badge */
.google-verification::before {
    content: "G";
    font-weight: bold;
    color: #ffffff;
    background-color: #4285F4; 
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.google-verification:hover {
    color: var(--accent-blue);
}

/* --- SITE FOOTER --- */
.site-footer {
    background-color: #050505;
    border-top: 2px solid var(--accent-blue);
    padding: 60px 20px 20px;
    margin-top: 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #222;
}

.site-footer h3, .site-footer h4 {
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.site-footer p, .site-footer li {
    color: #aaaaaa;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a {
    color: #aaaaaa;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-blue);
}

.footer-contact strong {
    color: var(--accent-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: #666666;
    font-size: 0.85rem;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    
    /* 1. Stack the header vertically so the logo and menu don't squish */
    .site-header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        text-align: center;
    }

    /* 2. Make the navigation menu wrap to a new line if it gets too wide */
    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    /* 3. Shrink massive text sizes so they don't break the screen */
    h1 {
        font-size: 2rem !important; /* Forces the homepage hero text to shrink */
    }
    
    /* 4. Adjust the main content padding for smaller screens */
    .site-content {
        padding: 20px 15px;
    }
    .hero-content h1 {
        font-size: 2.8rem !important;
    }
    
    .hero-content p {
        font-size: 1.1rem !important;
    }
    
    .trust-container span {
        display: block; /* Stacks the trust banner items vertically on phones */
        margin: 10px 0;
    }
    
    /* Stacks the 3-column grid into 1 column on phones */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-header h2 {
        font-size: 2rem;
    }
    /* Stacks the expertise section vertically on phones */
    .expertise-container {
        flex-direction: column;
        text-align: left;
        gap: 40px;
    }
}