/*
DentalAssoc.com - Professional Homepage Design
Empowering Dentists to Thrive in a Changing Marketplace
*/

/* Professional Medical Brand Color Variables */
:root {
    --dental-primary: #1e40af;      /* Deeper Professional Blue */
    --dental-primary-dark: #1e3a8a; /* Darker Professional Blue */
    --dental-secondary: #3b82f6;    /* Bright Blue Accent */
    --dental-accent: #0891b2;       /* Cyan Blue Accent */
    --dental-success: #059669;      /* Emerald Green */
    --dental-warning: #d97706;      /* Amber Accent */
    --dental-dark: #111827;         /* Deep Charcoal */
    --dental-text: #374151;         /* Slate Gray Text */
    --dental-muted: #6b7280;        /* Medium Gray */
    --dental-light: #eff6ff;        /* Soft Blue Background */
    --dental-bg: #f9fafb;           /* Cool Light Background */
    --dental-surface: #ffffff;      /* White Surface */
    --dental-border: #e5e7eb;       /* Border Gray */
    --dental-gradient: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --dental-hero-gradient: linear-gradient(135deg, var(--dental-light), var(--dental-bg));
}

/* Global Typography Improvements */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--dental-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Astra Full Width Overrides */
.dental-hero,
.dental-section,
.final-cta {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Ensure Astra containers don't restrict width */
.ast-container,
.ast-single-post .entry-content .alignfull {
    max-width: none;
}

/* Override any Astra content width restrictions */
.entry-content .dental-hero,
.entry-content .dental-section,
.entry-content .final-cta {
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    width: 100vw !important;
    max-width: none !important;
}

/* Restore Astra Header Padding - Maximum */
.ast-header-break-point .ast-container,
.ast-no-sidebar .ast-container,
.site-header .ast-container,
.main-header-bar .ast-container {
    padding-left: 60px !important;
    padding-right: 60px !important;
}

/* Ensure header content has proper spacing */
.main-header-bar {
    padding-left: 0;
    padding-right: 0;
}

.site-branding,
.main-header-menu {
    margin-left: 0;
    margin-right: 0;
}

/* Responsive header padding - Maximum */
@media (max-width: 768px) {
    .ast-header-break-point .ast-container,
    .site-header .ast-container {
        padding-left: 35px !important;
        padding-right: 35px !important;
    }
    
    /* Fix mobile menu overlay instead of pushing content */
    .ast-header-break-point .main-header-menu,
    .ast-header-break-point .ast-mobile-menu-buttons + .main-header-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 999999 !important;
        background: white !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
        border-top: 1px solid #e2e8f0 !important;
    }
    
    /* Ensure mobile menu items are properly styled */
    .ast-header-break-point .main-header-menu .menu-item {
        border-bottom: 1px solid #f1f5f9 !important;
    }
    
    /* Fix any submenu positioning on mobile */
    .ast-header-break-point .main-header-menu .sub-menu {
        position: static !important;
        box-shadow: none !important;
        background: #f8fafc !important;
    }
}

@media (min-width: 1200px) {
    .ast-header-break-point .ast-container,
    .site-header .ast-container {
        padding-left: 80px !important;
        padding-right: 80px !important;
    }
}

@media (min-width: 1400px) {
    .ast-header-break-point .ast-container,
    .site-header .ast-container {
        padding-left: 100px !important;
        padding-right: 100px !important;
    }
}

/* Hero Section - Modern Professional Design */
.dental-hero {
    background: var(--dental-hero-gradient);
    color: var(--dental-dark);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.dental-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(34,87,230,0.05)" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom center no-repeat;
    background-size: 100% 100px;
}

.dental-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 25px;
    text-align: center;
}

.dental-hero-text {
    text-align: center;
    order: 2;
}

.dental-hero .brand-badge {
    display: inline-block;
    background: #e7ecff;
    color: #1d2b5a;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.dental-hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--dental-dark);
    margin-bottom: 1.5rem;
}

.dental-hero .subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--dental-text);
    margin-bottom: 2rem;
    line-height: 1.4;
}

.dental-hero .tagline {
    font-size: 1.1rem;
    color: var(--dental-muted);
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

.dental-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    order: 1;
}

.dental-hero-card {
    background: var(--dental-surface);
    border: 1px solid var(--dental-border);
    border-radius: 50%;
    padding: 30px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(30, 64, 175, 0.15);
    position: relative;
    overflow: hidden;
    width: 260px;
    height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dental-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--dental-gradient);
    opacity: 0.05;
    border-radius: 50%;
}

.dental-hero-card .logo-placeholder {
    width: 180px;
    height: 180px;
    background: var(--dental-gradient);
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.5rem;
}

/* Actual Logo Image Styling */
.dental-hero-card .dental-logo {
    width: 180px;
    height: auto;
    max-height: 180px;
    margin: 0 auto 10px;
    display: block;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.dental-hero-card h3 {
    color: var(--dental-primary);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    position: relative;
    z-index: 2;
}

.dental-hero-card p {
    color: var(--dental-muted);
    font-size: 0.8rem;
    position: relative;
    z-index: 2;
    margin: 0;
}

/* CTA Buttons - Professional DentalAssoc Style */
.dental-cta-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.dental-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--dental-primary);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(34, 87, 230, 0.3);
    border: none;
    cursor: pointer;
}

.dental-cta:hover {
    background: var(--dental-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 87, 230, 0.4);
    color: white;
    text-decoration: none;
}

.dental-cta.secondary {
    background: transparent;
    border: 2px solid var(--dental-primary);
    color: var(--dental-primary);
    box-shadow: none;
}

.dental-cta.secondary:hover {
    background: #eaf1ff;
    color: var(--dental-primary);
    transform: translateY(-2px);
}

.dental-special-offer {
    background: #f0f9ff;
    color: #0c4a6e;
    padding: 14px 24px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 25px;
    border: 2px solid #7dd3fc;
}

/* Section Styling */
.dental-section {
    padding: 90px 0;
}

.dental-section.light {
    background: var(--dental-light);
}

.dental-section.white {
    background: white;
}

.dental-section.alternate {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dental-primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--dental-dark);
    opacity: 0.8;
}

/* Core Pillars Section */
.core-pillars {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 70px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pillar-card {
    background: var(--dental-surface);
    padding: 30px 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--dental-border);
    position: relative;
    overflow: hidden;
    flex: 0 1 280px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--dental-gradient);
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(34, 87, 230, 0.15);
}

.pillar-card .icon {
    width: 55px;
    height: 55px;
    background: var(--dental-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 22px;
    color: white;
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.25);
}

.pillar-card h3 {
    color: var(--dental-dark);
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
}

.pillar-card p {
    color: var(--dental-muted);
    line-height: 1.5;
    font-size: 0.9rem;
    text-align: center;
    margin: 0;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-item {
    display: block;
    background: white;
    padding: 30px 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--dental-border);
    text-align: center;
    position: relative;
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.benefit-number {
    background: var(--dental-gradient);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    margin: 0 auto 20px;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.benefit-content h3 {
    color: var(--dental-primary);
    margin-bottom: 15px;
    margin-top: 10px;
    font-size: 1.2rem;
    text-align: center;
}

.benefit-features {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    text-align: left;
}

.benefit-features li {
    padding: 4px 0;
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
}

.benefit-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--dental-success);
    font-weight: bold;
    font-size: 0.8rem;
}

/* Final CTA Section - Professional Membership Focus */
.final-cta {
    background: var(--dental-gradient);
    color: white;
    text-align: center;
    padding: 110px 0;
    position: relative;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.08)" d="M0,160L48,176C96,192,192,224,288,240C384,256,480,256,576,240C672,224,768,192,864,186.7C960,181,1056,203,1152,208C1248,213,1344,203,1392,197.3L1440,192L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>') top center no-repeat;
    background-size: 100% 100px;
}

.final-cta-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.final-cta h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.final-cta .subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.4;
}

.membership-highlight {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    margin: 40px 0;
    border: 1px solid rgba(255,255,255,0.2);
}

.membership-highlight h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.membership-highlight .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffd700;
    margin: 15px 0;
}

.membership-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
    text-align: left;
}

.membership-features li {
    background: rgba(255,255,255,0.1);
    padding: 18px 25px;
    border-radius: 12px;
    list-style: none;
    position: relative;
    padding-left: 50px;
    font-weight: 500;
}

.membership-features li::before {
    content: '✓';
    position: absolute;
    left: 18px;
    color: #4ade80;
    font-weight: bold;
    font-size: 1.3rem;
}

.final-cta .dental-cta {
    font-size: 1.2rem;
    padding: 20px 50px;
    background: white;
    color: var(--dental-primary);
    margin: 30px 10px;
}

.final-cta .dental-cta:hover {
    background: #f8fafc;
    color: var(--dental-primary);
    transform: translateY(-3px);
}

/* Responsive Design - Mobile Optimization */
@media (max-width: 980px) {
    .dental-hero-content {
        gap: 40px;
    }
    
    .dental-hero h1 {
        font-size: 2.8rem;
    }
    
    .dental-hero-card {
        width: 220px;
        height: 220px;
        padding: 25px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .core-pillars {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pillar-card {
        flex: 0 1 300px;
    }
}

@media (max-width: 768px) {
    .dental-hero {
        padding: 40px 0;
    }
    
    .dental-hero h1 {
        font-size: 2.2rem;
    }
    
    .dental-hero .subtitle {
        font-size: 1.1rem;
    }
    
    /* Fix hero button spacing on mobile */
    .dental-cta-group {
        flex-direction: column;
        align-items: center;
    }
    
    .dental-cta {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    /* Fix benefits section padding on mobile */
    .benefits-grid {
        padding: 0 20px;
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .benefit-item {
        text-align: center;
    }
    
    .benefit-number {
        position: static;
        transform: none;
        margin: 0 auto 15px;
    }
    
    .final-cta {
        padding: 60px 0;
    }
    
    .final-cta h2 {
        font-size: 2.4rem;
    }
    
    .membership-features {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .membership-features li {
        text-align: left;
    }
    
    .core-pillars {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    
    .pillar-card {
        flex: none;
        width: 100%;
        max-width: 350px;
        padding: 30px 20px;
    }
    
    .dental-hero-card {
        padding: 30px 20px;
    }
    
    .dental-hero-card .logo-placeholder {
        width: 80px;
        height: 80px;
        font-size: 1rem;
    }
    
    /* Mobile logo sizing */
    .dental-hero-card .dental-logo {
        width: 140px;
        max-height: 140px;
    }
    
    .dental-hero-card .logo-placeholder {
        width: 140px;
        height: 140px;
        font-size: 1.2rem;
    }
    
    .dental-hero-card h3 {
        font-size: 1rem;
    }
    
    .dental-hero-card p {
        font-size: 0.7rem;
    }
}

/* Simple hover effects only */

/* Clean, simple styles without animation complexity */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Simple hover animations */
.dental-cta {
    transition: all 0.3s ease;
}

.pillar-card {
    transition: all 0.3s ease;
}

.benefit-item {
    transition: all 0.3s ease;
}

/* Professional Enhancement Styles */
.testimonial-section {
    background: var(--dental-surface);
    padding: 80px 0;
}

.testimonial-card {
    background: var(--dental-light);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    border-left: 4px solid var(--dental-primary);
    margin: 20px 0;
}

.testimonial-card .quote {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--dental-text);
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-card .author {
    font-weight: 700;
    color: var(--dental-primary);
    margin-bottom: 5px;
}

.testimonial-card .title {
    color: var(--dental-muted);
    font-size: 0.9rem;
}

.stats-section {
    background: var(--dental-dark);
    color: white;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item .number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dental-primary);
    display: block;
}

.stat-item .label {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-top: 5px;
}

/* Feature highlights */
.feature-highlight {
    background: linear-gradient(45deg, var(--dental-primary), var(--dental-secondary));
    color: white;
    padding: 30px;
    border-radius: 16px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.feature-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.1);
    transform: rotate(45deg);
}

.feature-highlight h3 {
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.feature-highlight p {
    margin: 0;
    position: relative;
    z-index: 2;
    opacity: 0.95;
}

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

.text-center { text-align: center; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }

/* Professional spacing */
.section-spacing {
    padding: 80px 0;
}

.section-spacing.compact {
    padding: 60px 0;
}