/* ============================================
   Chiropractic Wellness Center - Main Styles
   Brand Colors: Teal (#2d7d7e) & Mint (#5dc5ba)
   ============================================ */

/* CSS Variables */
:root {
    --teal-primary: #2d7d7e;
    --teal-dark: #1f5556;
    --mint-secondary: #5dc5ba;
    --mint-dark: #4ba89d;
    --gold-accent: #FFB84E;
    --gold-dark: #e5a43a;
    --off-white: #f5fffa;
    --white: #ffffff;
    --text-primary: #333333;
    --text-secondary: #666666;
    --dark-green: #1B7043;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--teal-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

a {
    color: var(--teal-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--mint-secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-family: var(--font-heading);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--teal-primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--teal-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--mint-secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--mint-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--gold-accent);
    color: var(--text-primary);
}

.btn-accent:hover {
    background: var(--gold-dark);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-header {
    background: var(--teal-primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
}

.btn-header:hover {
    background: var(--teal-dark);
    color: var(--white);
}

/* Header */
.header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav a {
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--text-primary);
}

.nav a:hover {
    color: var(--teal-primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--teal-primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--teal-primary) 0%, var(--mint-secondary) 100%);
    background-image:
        linear-gradient(135deg, rgba(45, 125, 126, 0.9) 0%, rgba(93, 197, 186, 0.9) 100%),
        url('https://images.unsplash.com/photo-1544161515-4ab6ce6db874?w=1200&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 125, 126, 0.1);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.feature-badge {
    background: rgba(255,255,255,0.2);
    padding: 12px 24px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge-icon {
    font-size: 1.2rem;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Special Offer Section */
.special-offer {
    background: var(--gold-accent);
    padding: 30px 0;
    text-align: center;
}

.offer-content h3 {
    color: var(--text-primary);
    margin-bottom: 10px;
}

.offer-content p {
    margin-bottom: 20px;
    color: var(--text-primary);
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-header h2 {
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: var(--off-white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-card:hover {
    border-color: var(--mint-secondary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(93, 197, 186, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.service-card h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.services-footer {
    text-align: center;
    padding: 30px;
    background: var(--off-white);
    border-radius: 10px;
}

/* Conditions Section */
.conditions {
    padding: 80px 0;
    background: var(--off-white);
}

.conditions h2 {
    text-align: center;
    margin-bottom: 50px;
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.conditions-list {
    list-style: none;
}

.conditions-list li {
    padding: 12px 0 12px 30px;
    position: relative;
    border-bottom: 1px solid rgba(45, 125, 126, 0.2);
}

.conditions-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--mint-secondary);
    font-weight: 700;
    font-size: 1.2rem;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 25px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.about-feature {
    text-align: center;
    padding: 20px;
    background: var(--off-white);
    border-radius: 8px;
}

.about-feature h4 {
    color: var(--teal-primary);
    margin-bottom: 5px;
}

.about-feature p {
    font-size: 0.9rem;
    margin: 0;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* Team Section */
.team {
    padding: 80px 0;
    background: var(--off-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.team-member {
    text-align: center;
}

.member-photo {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--mint-secondary);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    margin-bottom: 5px;
}

.member-title {
    color: var(--text-secondary);
    font-style: italic;
}

.team-footer {
    text-align: center;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background: var(--white);
}

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

.review-card {
    background: var(--off-white);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--mint-secondary);
}

.review-stars {
    color: var(--gold-accent);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.review-text {
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.review-author {
    font-weight: 600;
    color: var(--teal-primary);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--off-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact h2 {
    margin-bottom: 10px;
}

.contact-subtitle {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.contact-methods {
    display: grid;
    gap: 30px;
}

.contact-method h3 {
    font-size: 1.125rem;
    margin-bottom: 10px;
}

.contact-method p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-method a {
    color: var(--teal-primary);
    font-weight: 600;
}

.secondary-phone {
    font-size: 0.9rem;
    margin-top: 5px;
}

.bilingual-notice {
    margin-top: 30px;
    padding: 20px;
    background: var(--mint-secondary);
    color: var(--white);
    border-radius: 8px;
    text-align: center;
}

.bilingual-notice strong {
    font-size: 1.25rem;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-form h3 {
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--mint-secondary);
}

.contact-form button {
    width: 100%;
}

/* Footer */
.footer {
    background: var(--dark-green);
    color: var(--white);
    padding: 50px 0 20px;
}

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

.footer-section h4 {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--mint-secondary);
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .nav.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 80px 0 60px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 15px;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .conditions-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .service-card,
    .review-card,
    .contact-form-wrapper {
        padding: 20px;
    }
}
