/*
Theme Name: Pelican MD PhD
Theme URI: https://www.pelicanmdphd.com
Author: Pelican MD PhD
Author URI: https://www.pelicanmdphd.com
Description: A premium custom WordPress theme for Pelican MD PhD medical practice in Mandeville, Louisiana. Features an elegant navy and gold design with doctor profiles, office gallery, and optimized patient contact functionality.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pelican-mdphd
Tags: custom-logo, custom-menu, featured-images, one-column, two-columns, translation-ready, medical, healthcare
*/

/* ==========================================================================
   CSS Custom Properties (Design Tokens)
   ========================================================================== */

:root {
    /* Primary Palette - from logo */
    --color-navy:         #0B1829;
    --color-navy-light:   #122340;
    --color-navy-dark:    #060E18;
    --color-gold:         #C5A55A;
    --color-gold-light:   #D4B96E;
    --color-gold-dark:    #A8893E;
    --color-gold-pale:    #E8D9A8;

    /* Neutral Palette */
    --color-white:        #FFFFFF;
    --color-off-white:    #F8F6F2;
    --color-cream:        #F0EDE6;
    --color-gray-100:     #E8E5DE;
    --color-gray-200:     #D0CCC4;
    --color-gray-300:     #9E9A92;
    --color-gray-400:     #6B6860;
    --color-gray-500:     #4A4740;
    --color-text:         #2C2A25;
    --color-text-light:   #E0D8C8;

    /* Typography */
    --font-heading:       'Cormorant Garamond', 'Georgia', serif;
    --font-body:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-accent:        'Cormorant', 'Georgia', serif;

    /* Spacing */
    --space-xs:   0.25rem;
    --space-sm:   0.5rem;
    --space-md:   1rem;
    --space-lg:   1.5rem;
    --space-xl:   2rem;
    --space-2xl:  3rem;
    --space-3xl:  4rem;
    --space-4xl:  6rem;

    /* Layout */
    --max-width:       1280px;
    --max-width-narrow: 960px;
    --header-height:   100px;
    --border-radius:   4px;
    --border-radius-lg: 8px;

    /* Shadows */
    --shadow-sm:  0 1px 3px rgba(11, 24, 41, 0.08);
    --shadow-md:  0 4px 12px rgba(11, 24, 41, 0.10);
    --shadow-lg:  0 8px 30px rgba(11, 24, 41, 0.12);
    --shadow-xl:  0 16px 48px rgba(11, 24, 41, 0.16);
    --shadow-gold: 0 4px 20px rgba(197, 165, 90, 0.25);

    /* Transitions */
    --transition-fast:   150ms ease;
    --transition-base:   300ms ease;
    --transition-slow:   500ms ease;
}


/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-off-white);
    overflow-x: hidden;
}

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

a {
    color: var(--color-gold-dark);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover,
a:focus {
    color: var(--color-gold);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-navy);
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p {
    margin-bottom: var(--space-md);
}

::selection {
    background-color: var(--color-gold);
    color: var(--color-navy);
}


/* ==========================================================================
   Utility Classes
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.container--narrow {
    max-width: var(--max-width-narrow);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center { text-align: center; }
.text-gold { color: var(--color-gold); }
.text-navy { color: var(--color-navy); }


/* ==========================================================================
   Site Header
   ========================================================================== */

.site-header {
    background: linear-gradient(180deg, var(--color-navy-dark) 0%, var(--color-navy) 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-xl);
    max-width: var(--max-width);
    margin: 0 auto;
    min-height: var(--header-height);
}

.site-logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo img {
    height: 75px;
    width: auto;
}

.site-logo .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.site-logo .logo-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.site-logo .logo-tagline {
    font-family: var(--font-body);
    font-size: 0.7rem;
    color: var(--color-gold-pale);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-xs);
}

.nav-menu li a {
    display: block;
    padding: var(--space-sm) var(--space-lg);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-light);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: all var(--transition-base);
    transform: translateX(-50%);
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 60%;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--color-gold);
}

/* Header CTA */
.header-cta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.header-address {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-gold);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.header-address:hover {
    color: var(--color-gold-light);
}

.header-address svg {
    width: 16px;
    height: 16px;
    fill: var(--color-gold);
    flex-shrink: 0;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-gold);
    margin: 6px 0;
    transition: all var(--transition-base);
    border-radius: 2px;
}

.menu-toggle.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


/* ==========================================================================
   Hero Section (Homepage) - Premium Design
   ========================================================================== */

.hero {
    background: linear-gradient(160deg, #040A14 0%, var(--color-navy-dark) 20%, var(--color-navy) 50%, var(--color-navy-light) 80%, #0D1B2E 100%);
    padding: var(--space-3xl) 0 var(--space-2xl);
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 50vh;
    min-height: 400px;
    max-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* Background Layers Container */
.hero-bg-layers {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* Radial gold ambient glow */
.hero-bg-layers::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(ellipse at center, rgba(197, 165, 90, 0.08) 0%, rgba(197, 165, 90, 0.03) 40%, transparent 70%);
    animation: heroAmbientPulse 6s ease-in-out infinite;
}

/* Subtle diagonal line texture overlay */
.hero-bg-layers::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(135deg, rgba(197, 165, 90, 0.015) 25%, transparent 25%),
        linear-gradient(225deg, rgba(197, 165, 90, 0.015) 25%, transparent 25%),
        linear-gradient(315deg, rgba(197, 165, 90, 0.015) 25%, transparent 25%),
        linear-gradient(45deg, rgba(197, 165, 90, 0.015) 25%, transparent 25%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, 30px 0;
    opacity: 0.6;
}

/* Floating particles layer */
.hero-particles {
    position: absolute;
    inset: 0;
}

.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: var(--color-gold);
    opacity: 0;
    animation: heroParticleFloat 8s ease-in-out infinite;
}

.hero-particles::before {
    width: 3px;
    height: 3px;
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.hero-particles::after {
    width: 2px;
    height: 2px;
    top: 60%;
    right: 20%;
    animation-delay: 3s;
}

/* Subtle noise texture for organic materiality */
.hero-bg-layers .hero-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.025;
    mix-blend-mode: overlay;
}

/* Vignette overlay for depth */
.hero-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(4, 10, 20, 0.4) 100%);
}

/* Logo Wrapper with glow effect */
.hero-logo-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: var(--space-lg);
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(197, 165, 90, 0.15) 0%, rgba(197, 165, 90, 0.05) 40%, transparent 70%);
    border-radius: 50%;
    animation: heroGlowPulse 4s ease-in-out infinite;
    filter: blur(30px);
}

.hero-logo {
    max-width: 200px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 40px rgba(197, 165, 90, 0.35))
            drop-shadow(0 0 80px rgba(197, 165, 90, 0.1));
    animation: heroLogoPulse 7s ease-in-out 2s infinite;
}

@keyframes heroLogoPulse {
    0%, 100% {
        filter: drop-shadow(0 4px 30px rgba(197, 165, 90, 0.3))
                drop-shadow(0 0 60px rgba(197, 165, 90, 0.08));
    }
    50% {
        filter: drop-shadow(0 4px 40px rgba(197, 165, 90, 0.45))
                drop-shadow(0 0 80px rgba(197, 165, 90, 0.15));
    }
}

/* Premium Divider with diamond ornament */
.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0 auto var(--space-md);
    width: 200px;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero-divider::before,
.hero-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold));
}

.hero-divider::after {
    background: linear-gradient(90deg, var(--color-gold), transparent);
}

.hero-divider__diamond {
    width: 8px;
    height: 8px;
    background: var(--color-gold);
    transform: rotate(45deg);
    flex-shrink: 0;
    margin: 0 var(--space-sm);
    box-shadow: 0 0 12px rgba(197, 165, 90, 0.5);
}

/* Heading with shimmer effect */
.hero h1 {
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
    text-shadow: 0 2px 20px rgba(197, 165, 90, 0.3);
}

.text-gold-shimmer {
    background: linear-gradient(
        120deg,
        var(--color-gold-dark) 0%,
        var(--color-gold) 25%,
        var(--color-gold-pale) 50%,
        var(--color-gold) 75%,
        var(--color-gold-dark) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: heroShimmer 4s linear infinite;
}

.hero-subtitle {
    color: var(--color-text-light);
    font-family: var(--font-accent);
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-style: italic;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto var(--space-lg);
    line-height: 1.6;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

/* Hero CTA Buttons */
.hero-cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-2xl);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.hero-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.hero-btn--primary {
    background: var(--color-gold);
    color: var(--color-navy);
    border: 2px solid var(--color-gold);
    box-shadow: 0 4px 20px rgba(197, 165, 90, 0.3);
}

.hero-btn--primary:hover {
    background: var(--color-gold-light);
    color: var(--color-navy);
    box-shadow: 0 6px 30px rgba(197, 165, 90, 0.45);
    transform: translateY(-3px);
}

.hero-btn--secondary {
    background: transparent;
    color: var(--color-gold);
    border: 2px solid rgba(197, 165, 90, 0.5);
}

.hero-btn--secondary:hover {
    background: rgba(197, 165, 90, 0.1);
    border-color: var(--color-gold);
    color: var(--color-gold);
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(197, 165, 90, 0.15);
}

/* Sweep shine effect on primary button */
.hero-btn--primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-20deg);
    animation: heroButtonSweep 4s ease-in-out infinite;
}

.hero-address {
    color: var(--color-gray-200);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}

.hero-address a {
    color: var(--color-gold-light);
    border-bottom: 1px solid rgba(197, 165, 90, 0.3);
    padding-bottom: 2px;
    transition: all var(--transition-fast);
}

.hero-address a:hover {
    color: var(--color-gold);
    border-color: var(--color-gold);
}

/* Bottom border gradient strip */
.hero-bottom-border {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--color-gold-dark) 20%,
        var(--color-gold) 50%,
        var(--color-gold-dark) 80%,
        transparent 100%
    );
    box-shadow: 0 0 20px rgba(197, 165, 90, 0.3);
}

/* Hero container needs z-index above background layers */
.hero > .container {
    position: relative;
    z-index: 1;
}

/* ---- Hero Animations ---- */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroGlowPulse {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

@keyframes heroAmbientPulse {
    0%, 100% {
        opacity: 0.7;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.1);
    }
}

@keyframes heroShimmer {
    to {
        background-position: 200% center;
    }
}

@keyframes heroParticleFloat {
    0%, 100% {
        opacity: 0;
        transform: translateY(0);
    }
    20% {
        opacity: 0.4;
    }
    50% {
        opacity: 0.6;
    }
    80% {
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: translateY(-60px);
    }
}

@keyframes heroButtonSweep {
    0%, 100% {
        left: -100%;
    }
    50% {
        left: 150%;
    }
}


/* ==========================================================================
   Section: Our Providers
   ========================================================================== */

.section-heading {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-heading h2 {
    color: var(--color-navy);
    margin-bottom: var(--space-sm);
}

.section-heading .heading-accent {
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-gold);
    margin: var(--space-md) auto 0;
    border-radius: 2px;
}

.section-heading p {
    color: var(--color-gray-400);
    font-size: 1.05rem;
    max-width: 600px;
    margin: var(--space-md) auto 0;
}

.providers-section {
    padding: var(--space-4xl) 0;
    background: var(--color-off-white);
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}


/* ==========================================================================
   Doctor Card Component
   ========================================================================== */

.doctor-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    position: relative;
}

.doctor-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.doctor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold), var(--color-gold-light));
    z-index: 1;
}

/* Day Label */
.doctor-card__day {
    background: var(--color-navy);
    color: var(--color-gold);
    text-align: center;
    padding: var(--space-sm) var(--space-md);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    position: relative;
}

.doctor-card__day::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background: var(--color-gold);
    opacity: 0.4;
}

/* Doctor Photo */
.doctor-card__photo {
    position: relative;
    width: 100%;
    padding-top: 110%;
    overflow: hidden;
    background: var(--color-cream);
}

.doctor-card__photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform var(--transition-slow);
}

.doctor-card:hover .doctor-card__photo img {
    transform: scale(1.03);
}

/* Doctor Info */
.doctor-card__info {
    padding: var(--space-lg) var(--space-lg) var(--space-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.doctor-card__name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: var(--space-xs);
    line-height: 1.3;
}

.doctor-card__specialty {
    font-size: 0.8rem;
    color: var(--color-gold-dark);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-gray-100);
}

.doctor-card__bio {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--color-gray-500);
    flex-grow: 1;
    margin-bottom: var(--space-lg);
}

.doctor-card__bio p {
    margin-bottom: var(--space-sm);
}

.doctor-card__bio p:last-child {
    margin-bottom: 0;
}

/* CTA Button */
.doctor-card__cta {
    padding: 0 var(--space-lg) var(--space-lg);
    margin-top: auto;
}

.btn-call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
    color: var(--color-gold);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    border: 2px solid var(--color-gold);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn-call svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: transform var(--transition-fast);
}

.btn-call:hover {
    background: var(--color-gold);
    color: var(--color-navy);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.btn-call:hover svg {
    transform: rotate(-10deg) scale(1.1);
    fill: var(--color-navy);
}

.btn-call:active {
    transform: translateY(0);
}


/* ==========================================================================
   Office Section / Our Office Page
   ========================================================================== */

.office-section {
    padding: var(--space-4xl) 0;
}

.office-section--dark {
    background: var(--color-navy);
    color: var(--color-text-light);
}

.office-section--dark h2,
.office-section--dark h3 {
    color: var(--color-gold);
}

.office-section--dark p {
    color: var(--color-gray-200);
}

.office-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    max-height: 600px;
    overflow: hidden;
}

.office-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.office-hero__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-3xl) 0 var(--space-2xl);
    background: linear-gradient(to top, rgba(11, 24, 41, 0.9) 0%, transparent 100%);
}

.office-hero__overlay h1 {
    color: var(--color-gold);
    text-align: center;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.gallery-item {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.gallery-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item__label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-sm) var(--space-md);
    background: linear-gradient(to top, rgba(11, 24, 41, 0.85) 0%, transparent 100%);
    color: var(--color-gold-pale);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-item__label {
    opacity: 1;
}

/* Map & Address Section */
.location-section {
    padding: var(--space-4xl) 0;
    background: var(--color-cream);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.location-map {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 450px;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.location-details {
    padding: var(--space-xl) 0;
}

.location-details h2 {
    margin-bottom: var(--space-lg);
}

.location-details__address {
    font-size: 1.05rem;
    color: var(--color-gray-500);
    margin-bottom: var(--space-2xl);
    line-height: 1.8;
}

.location-details__address strong {
    color: var(--color-navy);
    display: block;
    font-size: 1.15rem;
    margin-bottom: var(--space-xs);
}

.btn-directions {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-2xl);
    background: var(--color-gold);
    color: var(--color-navy);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn-directions:hover {
    background: var(--color-gold-dark);
    color: var(--color-navy);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.btn-directions svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Office Hours / Contact Cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.contact-card {
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--color-gold);
}

.contact-card h4 {
    font-family: var(--font-heading);
    color: var(--color-navy);
    margin-bottom: var(--space-xs);
    font-size: 1.1rem;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--color-gray-400);
    margin-bottom: var(--space-xs);
}

.contact-card a {
    color: var(--color-gold-dark);
    font-weight: 600;
}

.contact-card a:hover {
    color: var(--color-gold);
}


/* ==========================================================================
   Lightbox
   ========================================================================== */

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 14, 24, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    animation: fadeIn 0.3s ease;
}

.lightbox.is-active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: 0 0 60px rgba(197, 165, 90, 0.15);
}

.lightbox__close {
    position: absolute;
    top: var(--space-xl);
    right: var(--space-xl);
    width: 44px;
    height: 44px;
    background: none;
    border: 2px solid var(--color-gold);
    color: var(--color-gold);
    font-size: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__close:hover {
    background: var(--color-gold);
    color: var(--color-navy);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


/* ==========================================================================
   Site Footer
   ========================================================================== */

.site-footer {
    background: linear-gradient(180deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
    color: var(--color-gray-200);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.footer-main {
    padding: var(--space-3xl) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
}

.footer-brand .site-logo {
    margin-bottom: var(--space-lg);
}

.footer-brand .site-logo img {
    height: 60px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--color-gray-300);
    line-height: 1.7;
    max-width: 300px;
}

.footer-col h4 {
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid rgba(197, 165, 90, 0.2);
}

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

.footer-col ul li {
    margin-bottom: var(--space-sm);
}

.footer-col ul li a {
    color: var(--color-gray-300);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--color-gold);
    padding-left: 4px;
}

.footer-col .footer-address {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--color-gray-300);
}

.footer-col .footer-address a {
    color: var(--color-gold-light);
}

.footer-col .footer-address a:hover {
    color: var(--color-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(197, 165, 90, 0.15);
    padding: var(--space-lg) 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--color-gray-300);
}

.footer-bottom a {
    color: var(--color-gray-300);
}

.footer-bottom a:hover {
    color: var(--color-gold);
}


/* ==========================================================================
   Interior Page Styles
   ========================================================================== */

.page-header {
    background: var(--color-navy);
    padding: var(--space-3xl) 0;
    text-align: center;
}

.page-header h1 {
    color: var(--color-gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.page-header p {
    color: var(--color-gray-200);
    margin-top: var(--space-sm);
    font-size: 1.05rem;
}

.page-content {
    padding: var(--space-3xl) 0;
}

.page-content .container {
    max-width: var(--max-width-narrow);
}


/* ==========================================================================
   CTA Banner
   ========================================================================== */

.cta-banner {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
    padding: var(--space-3xl) 0;
    text-align: center;
    position: relative;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.cta-banner h2 {
    color: var(--color-gold);
    margin-bottom: var(--space-md);
}

.cta-banner p {
    color: var(--color-gray-200);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.cta-banner .btn-directions {
    font-size: 1rem;
    padding: var(--space-lg) var(--space-3xl);
}


/* ==========================================================================
   404 Page
   ========================================================================== */

.error-404 {
    text-align: center;
    padding: var(--space-4xl) 0;
}

.error-404 h1 {
    font-size: 6rem;
    color: var(--color-gold);
    margin-bottom: var(--space-md);
}

.error-404 p {
    font-size: 1.1rem;
    color: var(--color-gray-400);
    margin-bottom: var(--space-2xl);
}


/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1200px) {
    .providers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-2xl);
    }
}

@media (max-width: 968px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--color-navy-dark);
        padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
        transition: right var(--transition-base);
        box-shadow: -4px 0 30px rgba(0, 0, 0, 0.3);
        z-index: 999;
        flex-direction: column;
        align-items: stretch;
    }

    .main-nav.is-open {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
    }

    .nav-menu li a {
        padding: var(--space-md) var(--space-lg);
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(197, 165, 90, 0.1);
    }

    .nav-menu li a::after {
        display: none;
    }

    .header-cta {
        display: none;
    }

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

    .location-map {
        height: 350px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .site-logo img {
        height: 55px;
    }

    .site-logo .logo-name {
        font-size: 1.1rem;
    }

    .site-logo .logo-tagline {
        font-size: 0.6rem;
    }

    .hero {
        padding: var(--space-2xl) 0;
    }

    .hero-logo {
        max-width: 160px;
    }

    .hero-logo-glow {
        width: 160px;
        height: 160px;
    }

    .providers-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

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

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

    .gallery-item img {
        height: 220px;
    }

    .doctor-card__photo {
        padding-top: 90%;
    }

    .container {
        padding: 0 var(--space-md);
    }
}

@media (max-width: 480px) {
    .hero-logo {
        max-width: 130px;
    }

    .hero-logo-glow {
        width: 130px;
        height: 130px;
    }

    .hero h1 {
        font-size: 1.5rem;
        letter-spacing: 0.1em;
    }

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

    .hero-divider {
        width: 120px;
    }

    .btn-call {
        font-size: 0.8rem;
        padding: var(--space-sm) var(--space-md);
    }

    .doctor-card__name {
        font-size: 1.1rem;
    }
}


/* ==========================================================================
   Reduced Motion Accessibility
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .hero-logo,
    .hero h1,
    .hero-divider,
    .hero-subtitle,
    .hero-address,
    .hero-cta-row,
    .hero-logo-wrap {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .hero-logo {
        filter: drop-shadow(0 4px 30px rgba(197, 165, 90, 0.3)) !important;
    }

    .hero-logo-glow,
    .hero-particles,
    .hero-bg-layers::before {
        animation: none !important;
    }

    .hero-btn--primary::after {
        animation: none !important;
    }

    .text-gold-shimmer {
        animation: none !important;
        -webkit-text-fill-color: var(--color-gold) !important;
    }
}


/* ==========================================================================
   WordPress Core Styles
   ========================================================================== */

.wp-caption {
    max-width: 100%;
    margin-bottom: var(--space-lg);
}

.wp-caption img {
    border-radius: var(--border-radius);
}

.wp-caption-text {
    font-size: 0.85rem;
    color: var(--color-gray-400);
    margin-top: var(--space-xs);
    font-style: italic;
}

.alignleft {
    float: left;
    margin: 0 var(--space-lg) var(--space-lg) 0;
}

.alignright {
    float: right;
    margin: 0 0 var(--space-lg) var(--space-lg);
}

.aligncenter {
    display: block;
    margin: 0 auto var(--space-lg);
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}


/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .site-header,
    .site-footer,
    .menu-toggle,
    .lightbox,
    .btn-call,
    .btn-directions {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
        font-size: 12pt;
    }

    .hero {
        background: none;
        padding: 20pt 0;
        min-height: auto;
    }

    .hero-bg-layers,
    .hero-bottom-border,
    .hero-logo-glow,
    .hero-cta-row {
        display: none !important;
    }

    .hero h1,
    .hero-subtitle {
        color: #000;
    }

    .doctor-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
