/* ==========================================
   THRIVE 4 PEAK PERFORMANCE - UPDATED STYLESHEET
   Brand Colors Matching Existing Site
   ========================================== */

/* ==========================================
   CSS RESET & BASE STYLES
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: #333333;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.375rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    line-height: 1.8;
}

a {
    color: #00CED1;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #00B8B8;
}

strong {
    font-weight: 600;
    color: #1a1a1a;
}

/* ==========================================
   LAYOUT UTILITIES
   ========================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: #666666;
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 44px;
    min-height: 44px;
}

.btn-primary {
    background-color: #00CED1;
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: #00B8B8;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 206, 209, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #00CED1;
    color: #00CED1;
    padding: 14px 28px;
}

.btn-secondary:hover {
    background-color: #00CED1;
    color: #FFFFFF;
}

.btn-lg {
    padding: 20px 40px;
    font-size: 1.125rem;
}

.btn-link {
    color: #00CED1;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: #00B8B8;
    transform: translateX(4px);
}

/* ==========================================
   HEADER
   ========================================== */

.header {
    background-color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 50px;
    width: auto;
}

.main-nav {
    flex: 1;
    margin: 0 2rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #1a1a1a;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #00CED1;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #FFFFFF;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 1rem 0;
    min-width: 280px;
    list-style: none;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #1a1a1a;
    font-weight: 500;
}

.dropdown-menu a:hover {
    background-color: #F9FAFB;
    color: #00CED1;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.phone-link {
    color: #1a1a1a;
    font-weight: 600;
    font-size: 1.125rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #1a1a1a;
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* ==========================================
   HERO SECTION - BRIGHT & BOLD
   ========================================== */

.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 6rem 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.1) 30%,
        rgba(0, 0, 0, 0) 50%,
        rgba(0, 0, 0, 0.1) 70%,
        rgba(0, 0, 0, 0.3) 100%
    );
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    color: #FFFFFF !important;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    color: #FFFFFF !important;
    font-size: 1.375rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    font-weight: 500;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Force white text in hero section */
.hero h1,
.hero p,
.hero-title,
.hero-subtitle {
    color: #FFFFFF !important;
}

/* ==========================================
   COMPACT SERVICE CARDS SECTION (NEW)
   ========================================== */

.services-compact {
    padding: 5rem 0;
    background-color: #F9FAFB;
}

.services-compact .section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.services-compact .section-header p {
    font-size: 1.125rem;
    color: #666666;
}

.services-compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-compact-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-compact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.service-compact-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.service-compact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* Show top of image (heads) instead of center */
    transition: transform 0.3s ease;
}

.service-compact-card:hover .service-compact-image img {
    transform: scale(1.05);
}

.service-compact-content {
    padding: 1.5rem;
    text-align: center;
}

.service-compact-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0;
    color: #1a1a1a;
}

/* ==========================================
   TRUST SECTION
   ========================================== */

.trust-section {
    padding: 5rem 0;
    background-color: #FFFFFF;
}

.trust-header {
    text-align: center;
    margin-bottom: 3rem;
}

.trust-header h2 {
    margin-bottom: 1rem;
}

.location-badge {
    font-size: 1.25rem;
    color: #00CED1;
    font-weight: 600;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.trust-card {
    text-align: center;
    padding: 2rem;
    background-color: #F9FAFB;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.trust-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.trust-card img {
    margin-bottom: 1.5rem;
}

.trust-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.trust-reviews {
    text-align: center;
    font-size: 1.25rem;
}

.google-reviews strong {
    color: #00CED1;
    font-size: 1.5rem;
}

/* ==========================================
   DETAILED SERVICES SECTION
   ========================================== */

.services-detailed {
    padding: 6rem 0;
    background-color: #F9FAFB;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.service-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* Show top of image (heads) instead of center */
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-benefit {
    color: #00CED1;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.service-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #666666;
}

/* ==========================================
   HOW IT WORKS
   ========================================== */

.how-it-works {
    padding: 6rem 0;
    background-color: #FFFFFF;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-icon {
    margin-bottom: 1.5rem;
}

.step-number {
    position: absolute;
    top: -10px;
    right: calc(50% - 80px);
    width: 40px;
    height: 40px;
    background-color: #00CED1;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step p {
    font-size: 1rem;
    color: #666666;
}

/* ==========================================
   CONVERSION SECTION
   ========================================== */

.conversion-section {
    padding: 5rem 0;
    background: #004aad;
    text-align: center;
}

.conversion-content {
    max-width: 700px;
    margin: 0 auto;
}

.conversion-content h2 {
    color: #FFFFFF;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.conversion-content p {
    color: #FFFFFF;
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.conversion-note {
    margin-top: 1.5rem;
    font-size: 1.125rem;
}

.conversion-note a {
    color: #00CED1;
    font-weight: 700;
    text-decoration: underline;
}

.trust-badge {
    font-size: 1rem;
    margin-top: 1rem;
    font-weight: 600;
    color: #FFFFFF;
}

/* ==========================================
   TESTIMONIALS
   ========================================== */

.testimonials-section {
    padding: 6rem 0;
    background-color: #F9FAFB;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background-color: #FFFFFF;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.testimonial-rating {
    color: #00CED1;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #1a1a1a;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author strong {
    display: block;
    color: #1a1a1a;
    font-size: 1rem;
}

.testimonial-author span {
    display: block;
    color: #666666;
    font-size: 0.875rem;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    background-color: #004aad;
    color: #FFFFFF;
    padding: 4rem 0 2rem;
}

/* Newsletter Section */
.footer-newsletter {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-newsletter h3 {
    color: #FFFFFF;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
    align-items: stretch;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 16px 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    font-size: 1.0625rem;
    transition: all 0.3s ease;
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: #00CED1;
    background-color: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
    padding: 16px 40px;
    white-space: nowrap;
    font-size: 1.0625rem;
    font-weight: 600;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-column h4 {
    color: #FFFFFF;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #00CED1;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
}

.footer-disclaimer {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-copyright a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
}

/* ==========================================
   RESPONSIVE DESIGN - TABLET
   ========================================== */

@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 30px;
    }
    
    .nav-list {
        gap: 1.5rem;
    }
    
    .hero {
        min-height: 500px;
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .services-compact-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

/* ==========================================
   RESPONSIVE DESIGN - MOBILE
   ========================================== */

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.375rem;
    }
    
    .container {
        padding: 0 20px;
    }
    
    /* Header Mobile */
    .main-nav {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #FFFFFF;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .main-nav.mobile-active {
        display: block;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }
    
    .nav-item {
        border-bottom: 1px solid #E5E7EB;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 1.5rem;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        background-color: #F9FAFB;
        padding: 0;
        min-width: auto;
    }
    
    .dropdown-menu li {
        border-bottom: 1px solid #E5E7EB;
    }
    
    .dropdown-menu a {
        padding: 0.75rem 2rem;
    }
    
    .dropdown:hover .dropdown-menu {
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .header-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    .phone-link {
        display: block;
        text-align: center;
        margin: 1rem 0;
    }
    
    /* Hero Mobile */
    .hero {
        min-height: 600px;
        padding: 6rem 0 3rem;
        display: flex;
        align-items: flex-end;
    }
    
    /* Position background image to show faces */
    .hero-background img {
        object-position: center 30%;
    }
    
    .hero-content {
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2rem !important;
        text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.9);
        margin-bottom: 1rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.9);
        margin-bottom: 1.5rem !important;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-cta .btn {
        width: 100%;
        text-align: center;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Hide secondary button on mobile to reduce clutter */
    .hero-cta .btn-secondary {
        display: none;
    }
    
    /* Add phone number below primary button instead */
    .hero-cta::after {
        content: 'Or call (470) 359-6195';
        display: block;
        color: #FFFFFF;
        font-size: 0.875rem;
        text-align: center;
        margin-top: 0.5rem;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    }
    
    /* Services Compact Mobile */
    .services-compact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Services Grid Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Steps Grid Mobile */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .step-number {
        right: calc(50% - 60px);
    }
    
    /* Testimonials Mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Newsletter Form Mobile */
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter-form input[type="email"] {
        width: 100%;
    }
    
    .newsletter-form button {
        width: 100%;
    }
    
    /* Section Spacing Mobile */
    .trust-section,
    .services-compact,
    .services-detailed,
    .how-it-works,
    .testimonials-section {
        padding: 3rem 0;
    }
    
    .conversion-section {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */

/* Focus States */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 3px solid #00CED1;
    outline-offset: 2px;
}

/* Skip to Content */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: #1a1a1a;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-to-content:focus {
    top: 0;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .conversion-section,
    .hero-cta,
    .btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
}
