/*
Theme Name: ReconnectNow Child Theme
Theme URI: https://reconnectnow.co.uk
Description: Custom child theme for ReconnectNow website redesign
Author: ReconnectNow
Author URI: https://reconnectnow.co.uk
Template: astra
Version: 1.0.0
Text Domain: reconnectnow-child
*/

/* Import Astra parent theme styles - this is handled by functions.php */

/* ==========================================
   RECONNECTNOW CUSTOM STYLES
   ========================================== */

:root {
    --color-sage: #789D7C;
    --color-sage-dark: #5A7A5E;
    --color-sage-light: #E8F0E9;
    --color-soft-blue: #A8D5E5;
    --color-soft-blue-dark: #7BB8CC;
    --color-soft-blue-light: #E5F4F8;
    --color-warm-white: #FFFAF5;
    --color-cream: #FFF8E1;
    --color-warm-gray: #6B7B6B;
    --color-text: #2D3A2D;
    --color-orange: #FF8C42;
    --color-orange-dark: #E67A35;
    --color-purple: #9B7BB8;
    --color-purple-dark: #7B5B98;
    --color-purple-light: #F3EEF7;
    
    --shadow-soft: 0 2px 15px rgba(0,0,0,0.05);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
    
    --transition-gentle: all 0.3s ease;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
}

/* Global Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-warm-white);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-sage-dark);
}

a {
    color: var(--color-sage-dark);
    text-decoration: none;
    transition: var(--transition-gentle);
}

a:hover {
    color: var(--color-sage);
}

/* ========================================== 
   HEADER - Clean, reassuring, easy navigation
   ========================================== */
header {
    background: var(--color-warm-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-soft);
    padding: 1rem 2rem;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
}

nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: var(--transition-gentle);
}

.nav-link:hover {
    color: var(--color-sage-dark);
    border-bottom-color: var(--color-sage);
}

.nav-link.active,
.nav-link.active-services,
.nav-link.active-about,
.nav-link.active-contact,
.nav-link.active-feedback {
    color: var(--color-sage-dark);
    border-bottom-color: var(--color-sage);
}

/* Phone Icon Animation */
@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.phone-icon {
    animation: shake 0.5s ease-in-out infinite;
}

/* CTA Button */
.nav-cta, .mobile-cta {
    background: linear-gradient(135deg, var(--color-sage) 0%, var(--color-sage-dark) 100%);
    color: white !important;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(120,157,124,0.3);
    transition: var(--transition-smooth);
    border-bottom: none !important;
}

.nav-cta:hover, .mobile-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(120,157,124,0.4);
}

/* ========================================== 
   HERO SECTION - Welcoming, warm, clear
   ========================================== */
.hero {
    background: linear-gradient(135deg, var(--color-sage-light) 0%, var(--color-soft-blue-light) 100%);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-sage-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.15rem;
    color: var(--color-text);
    max-width: 600px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-sage) 0%, var(--color-sage-dark) 100%);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: 1.1rem;
    color: var(--color-warm-gray);
    font-style: italic;
    margin-top: 1rem;
}

/* ========================================== 
   SERVICES SECTION
   ========================================== */
.services {
    padding: 4rem 2rem;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--color-warm-white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    color: var(--color-sage);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--color-warm-gray);
    font-size: 0.95rem;
}

/* Service specific colors */
.service-therapy .service-icon { color: var(--color-sage); }
.service-neuro .service-icon { color: var(--color-purple); }
.service-living .service-icon { color: var(--color-orange); }

/* ========================================== 
   ABOUT SECTION
   ========================================== */
.about {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, white 0%, var(--color-sage-light) 100%);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about p {
    font-size: 1.1rem;
    color: var(--color-warm-gray);
    max-width: 700px;
    margin: 0 auto 1.5rem;
}

/* ========================================== 
   CTA SECTION
   ========================================== */
.cta-section {
    padding: 5rem 2rem;
    background: white;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-card {
    background: linear-gradient(135deg, var(--color-sage-light) 0%, var(--color-soft-blue-light) 100%);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-medium);
}

.cta-card h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-sage) 0%, var(--color-sage-dark) 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(120,157,124,0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(120,157,124,0.4);
    color: white;
}

/* ========================================== 
   FOOTER
   ========================================== */
footer {
    background: var(--color-sage-dark);
    color: white;
    padding: 3rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition-gentle);
}

.footer-links a:hover {
    color: white;
}

/* ========================================== 
   MOILE NAVIGATION
   ========================================== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-text);
    border-radius: 2px;
    transition: var(--transition-gentle);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-warm-white);
    box-shadow: var(--shadow-hover);
    z-index: 1001;
    transition: right 0.3s ease;
    padding: 2rem;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.3);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-gentle);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.mobile-nav-links li {
    margin-bottom: 1rem;
}

.mobile-nav-links a {
    display: block;
    padding: 0.75rem 0;
    font-size: 1.1rem;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-sage-light);
}

.mobile-nav-links .mobile-cta {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
}

/* ========================================== 
   RESPONSIVE STYLES
   ========================================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* ========================================== 
   UTILITY CLASSES
   ========================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden { display: none; }
.visible { display: block; }