/* ========================================
   Rosalie L. Bair, MD - Website Styles
   Vibrant Modern | Terracotta & Sand
======================================== */

:root {
    /* Palette */
    --color-primary: #C05A3A;      /* Terracotta */
    --color-primary-dark: #A0452A;
    --color-primary-light: #E8D5C8;
    --color-sand: #F4EFE6;         /* Warm Sand */
    --color-sand-dark: #E8DFD0;
    --color-text-dark: #2C2420;    /* Dark Brown/Black */
    --color-text-light: #6B5B54;   /* Muted Brown */
    --color-white: #FFFFFF;
    --color-bg: #FDFBF7;           /* Off-white */
    
    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px 0;
    
    /* Effects */
    --shadow-sm: 0 4px 20px rgba(44, 36, 32, 0.08);
    --shadow-md: 0 8px 40px rgba(44, 36, 32, 0.12);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Decorative Background Shapes */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--color-primary-light);
    top: -200px;
    right: -200px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--color-sand);
    bottom: 10%;
    left: -100px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: var(--color-text-dark);
}

.lead-text {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(192, 90, 58, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(192, 90, 58, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text-dark);
    border-color: var(--color-text-dark);
}

.btn-outline:hover {
    background-color: var(--color-text-dark);
    color: var(--color-white);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 251, 247, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 16px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: var(--radius-sm);
}

.logo-text {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-text-dark);
}

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

.nav-menu a {
    font-weight: 500;
    color: var(--color-text-dark);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text-dark);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--color-sand);
    color: var(--color-text-dark);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--color-text-dark);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
}

.hero-accent-circle {
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    background: var(--color-sand);
    border-radius: 50%;
    z-index: -1;
}

.hero-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.hero-float-card {
    position: absolute;
    bottom: 40px;
    left: -30px;
    background: var(--color-white);
    padding: 20px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.float-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-light);
    margin-bottom: 4px;
}

.float-value {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

.geo-circle {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 3px solid var(--color-primary);
    border-radius: 50%;
    top: 10%;
    right: -50px;
    opacity: 0.3;
}

.geo-square {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--color-primary);
    bottom: 15%;
    left: -40px;
    opacity: 0.1;
    transform: rotate(45deg);
}

/* About Section */
.about {
    padding: var(--section-padding);
}

.about-container {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 60px;
    box-shadow: var(--shadow-sm);
}

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

.about-image-block {
    position: relative;
}

.about-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.about-stats {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 30px;
    border-radius: var(--radius-md);
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--color-text-dark);
}

.feature-list svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

/* Services Section */
.services {
    padding: var(--section-padding);
    background: var(--color-sand);
    position: relative;
}

.section-header {
    margin-bottom: 60px;
}

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

.service-card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--color-sand);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--color-primary);
    color: var(--color-white);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--color-text-dark);
}

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

/* Quote Section */
.quote-section {
    padding: 100px 0;
    background: var(--color-primary);
    color: var(--color-white);
}

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

.quote-icon {
    color: var(--color-primary-light);
    margin-bottom: 24px;
}

.quote-box blockquote {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 32px;
}

.quote-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.author-loc {
    opacity: 0.8;
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.info-icon {
    width: 56px;
    height: 56px;
    background: var(--color-sand);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.info-text {
    display: flex;
    flex-direction: column;
}

.info-text strong {
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--color-text-dark);
}

.info-text p {
    color: var(--color-text-light);
    line-height: 1.6;
}

.info-text a {
    color: var(--color-primary);
}

.info-text a:hover {
    text-decoration: underline;
}

.contact-form-wrapper {
    background: var(--color-white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    font-size: 2rem;
    margin-bottom: 32px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--color-sand-dark);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--color-bg);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-white);
}

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: #E8F5E9;
    color: #2E7D32;
    border-radius: var(--radius-sm);
    margin-top: 20px;
}

.form-success svg {
    flex-shrink: 0;
}

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

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand .logo-mark {
    background: var(--color-primary);
}

.footer-brand .logo-text {
    color: var(--color-white);
}

.copyright {
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-primary-light);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.mobile-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-text-dark);
}

.mobile-link:hover {
    color: var(--color-primary);
}

.mobile-menu .btn-primary {
    margin-top: 16px;
}

/* Responsive */
@media (max-width: 968px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-img {
        height: 400px;
    }
    
    .hero-float-card {
        left: 20px;
        bottom: 20px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        right: 20px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-container {
        padding: 30px;
    }
    
    .contact-form-wrapper {
        padding: 30px;
    }
    
    .geo-circle,
    .geo-square {
        display: none;
    }
}
