/*
Theme Name: Pure Solutions
Theme URI: https://puresolutions.test
Author: Pure Solutions
Author URI: https://puresolutions.test
Description: Custom theme for Pure Solutions — Senior Living Consulting
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: puresolutions
*/

/* === GSAP FOUC Prevention === */
.gsap-reveal {
    visibility: hidden;
}

body.gsap-ready .gsap-reveal {
    visibility: hidden;
}

/* === Base Resets === */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    color: #333333;
    background: #f8f6f3;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: #1a1a2e;
}

/* === Sticky Header === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* === Hero Overlay === */
.hero-overlay {
    position: relative;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27, 77, 110, 0.85) 0%, rgba(26, 26, 46, 0.7) 100%);
    z-index: 1;
}

.hero-overlay > * {
    position: relative;
    z-index: 2;
}

/* === Card Hover Effects === */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* === Button Styles === */
.btn-primary {
    background-color: #1B4D6E;
    color: white;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-family: 'Source Sans 3', sans-serif;
    text-decoration: none;
    display: inline-block;
    transition: all 0.25s ease;
    border: 2px solid #1B4D6E;
    cursor: pointer;
    font-size: 16px;
    letter-spacing: 0.3px;
}

.btn-primary:hover {
    background-color: #15405c;
    border-color: #15405c;
    box-shadow: 0 4px 16px rgba(27, 77, 110, 0.3);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    color: #1B4D6E;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-family: 'Source Sans 3', sans-serif;
    text-decoration: none;
    display: inline-block;
    transition: all 0.25s ease;
    border: 2px solid #1B4D6E;
    cursor: pointer;
    font-size: 16px;
}

.btn-secondary:hover {
    background-color: #1B4D6E;
    color: white;
    transform: translateY(-1px);
}

.btn-gold {
    background-color: #D4A843;
    color: #1a1a2e;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 700;
    font-family: 'Source Sans 3', sans-serif;
    text-decoration: none;
    display: inline-block;
    transition: all 0.25s ease;
    border: 2px solid #D4A843;
    cursor: pointer;
    font-size: 16px;
    letter-spacing: 0.3px;
}

.btn-gold:hover {
    background-color: #c49a38;
    border-color: #c49a38;
    box-shadow: 0 4px 16px rgba(212, 168, 67, 0.35);
    transform: translateY(-1px);
}

.btn-white {
    background-color: white;
    color: #1B4D6E;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-family: 'Source Sans 3', sans-serif;
    text-decoration: none;
    display: inline-block;
    transition: all 0.25s ease;
    border: 2px solid white;
    cursor: pointer;
    font-size: 16px;
}

.btn-white:hover {
    background-color: #f8f6f3;
    border-color: #f8f6f3;
    transform: translateY(-1px);
}

/* === Stats Bar === */
.stats-bar {
    background: linear-gradient(135deg, #1B4D6E 0%, #1a1a2e 100%);
}

/* === Accordion === */
.faq-item {
    border-bottom: 1px solid #e5e5e5;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-trigger {
    cursor: pointer;
    transition: color 0.2s ease;
}

.faq-trigger:hover {
    color: #1B4D6E;
}

.faq-content {
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

/* === Testimonial === */
.testimonial-card {
    background: white;
    border-left: 4px solid #D4A843;
    padding: 32px;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* === Package Cards === */
.package-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

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

.package-featured {
    border: 2px solid #D4A843;
}

.package-featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #D4A843;
    color: #1a1a2e;
    padding: 4px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Source Sans 3', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* === Solution Card === */
.solution-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

.solution-card .solution-icon {
    transition: transform 0.3s ease;
}

.solution-card:hover .solution-icon {
    transform: scale(1.1);
}

/* === Team Card === */
.team-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

/* === Gold Accent Line === */
.gold-line {
    width: 60px;
    height: 3px;
    background: #D4A843;
    display: block;
}

/* === Section Divider === */
.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #D4A843, transparent);
    max-width: 200px;
    margin: 0 auto;
}

/* === Contact Form === */
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: white;
    color: #333;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: #1B4D6E;
    box-shadow: 0 0 0 3px rgba(27, 77, 110, 0.1);
}

.contact-form label {
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 6px;
    display: block;
    font-size: 14px;
    letter-spacing: 0.3px;
}

/* === Footer === */
.site-footer a {
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: #D4A843 !important;
}

/* === Mobile Responsive === */
@media (max-width: 768px) {
    .hero-overlay {
        min-height: 500px;
    }
}

@media (max-width: 375px) {
    .btn-primary,
    .btn-secondary,
    .btn-gold,
    .btn-white {
        padding: 12px 24px;
        font-size: 15px;
        width: 100%;
        text-align: center;
    }
}

/* === Scrollbar === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f8f6f3;
}

::-webkit-scrollbar-thumb {
    background: #1B4D6E;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #15405c;
}
