/*
Theme Name: Neavin Plastic Surgery
Theme URI: https://neavinplasticsurgery.com
Author: Custom Theme
Description: A premium plastic surgery theme for Dr. Tim Neavin's Beverly Hills practice. Clean, elegant, and optimized for conversions.
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: neavin-theme
*/

/* --- RESET & VARIABLES --- */
:root {
    --color-charcoal: #1a1a1a;
    --color-charcoal-light: #2c2c2c;
    --color-cream: #F9F7F2;
    --color-cream-dark: #EBE5D5;
    --color-gold: #C5A059;
    --color-gold-light: #d4b577;
    --color-white: #ffffff;
    
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
    
    --spacing-standard: 120px;
    --spacing-mobile: 60px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-cream);
    color: var(--color-charcoal);
    line-height: 1.8;
    overflow-x: hidden;
}

/* Account for mobile sticky footer */
body.has-mobile-footer {
    padding-bottom: 70px;
}

@media (min-width: 769px) {
    body.has-mobile-footer {
        padding-bottom: 0;
    }
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    color: var(--color-cream);
}

h2 {
    font-size: clamp(1.8rem, 3vw, 3.5rem);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

h3 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-bottom: 1rem;
}

p {
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: #555;
}

a {
    color: var(--color-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-charcoal);
}

.text-center { text-align: center; }
.text-gold { color: var(--color-gold); }
.text-cream { color: var(--color-cream); }
.uppercase { 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    font-size: 0.85rem; 
    font-weight: 500; 
}

/* --- UTILITIES --- */
.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: var(--spacing-standard) 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: var(--spacing-mobile) 0;
    }
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 18px 40px;
    border: 1px solid var(--color-charcoal);
    background: transparent;
    color: var(--color-charcoal);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.4s ease;
    font-weight: 500;
    cursor: pointer;
    font-family: var(--font-sans);
}

.btn:hover {
    background: var(--color-charcoal);
    color: var(--color-white);
}

.btn-gold {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.btn-gold:hover {
    background: var(--color-gold);
    color: var(--color-white);
}

.btn-solid-gold {
    background: var(--color-gold);
    color: var(--color-white);
    border: 1px solid var(--color-gold);
}

.btn-solid-gold:hover {
    background: transparent;
    color: var(--color-gold);
}

.btn-white {
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn-white:hover {
    background: var(--color-white);
    color: var(--color-charcoal);
}

@media (max-width: 768px) {
    .btn {
        padding: 15px 30px;
        font-size: 0.75rem;
        width: 100%;
        text-align: center;
    }
}

/* --- HEADER --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.site-header.scrolled {
    background-color: var(--color-charcoal);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

/* Header on light pages */
.site-header.header-dark {
    background-color: var(--color-charcoal);
}

.site-header.header-dark .logo,
.site-header.header-dark .main-nav a,
.site-header.header-dark .mobile-menu-btn {
    color: var(--color-cream);
}

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

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-cream);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.logo span {
    color: var(--color-gold);
}

.logo:hover {
    color: var(--color-cream);
}

.logo img.custom-logo {
    height: 70px;
    width: auto;
    display: block;
    object-fit: contain;
}

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

@media (max-width: 768px) {
    .logo img.custom-logo {
        height: 50px;
    }
}

/* Desktop Navigation */
.main-nav > ul {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.main-nav > ul > li > a {
    color: var(--color-cream);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    transition: color 0.3s;
    font-weight: 400;
}

.main-nav > ul > li > a:hover {
    color: var(--color-gold);
}

.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
    color: var(--color-gold);
}

/* Mega Menu Styles */
.main-nav > ul > li {
    position: relative;
}

.main-nav > ul > li.has-mega-menu > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.main-nav > ul > li.has-mega-menu > a i {
    font-size: 0.6rem;
    transition: transform 0.3s ease;
}

.main-nav > ul > li.has-mega-menu:hover > a i {
    transform: rotate(180deg);
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-charcoal);
    width: 750px;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    margin-top: 25px;
    border-top: 2px solid var(--color-gold);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.main-nav > ul > li.has-mega-menu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
}

/* Invisible bridge to prevent menu from closing */
.main-nav > ul > li.has-mega-menu::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 25px;
}

/* CRITICAL: Force mega menu inner to be a flex container */
.mega-menu .mega-menu-inner {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    gap: 30px !important;
    flex-wrap: nowrap !important;
}

/* CRITICAL: Force columns to be vertical */
.mega-menu .mega-menu-column {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    display: block !important;
}

.mega-menu .mega-menu-column h4 {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    color: var(--color-gold);
    margin: 0 0 18px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
    display: block;
}

.mega-menu .mega-menu-column h4 a {
    color: var(--color-gold) !important;
    font-size: 0.9rem !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
}

.mega-menu .mega-menu-column h4 a:hover {
    color: var(--color-cream) !important;
}

/* CRITICAL: Force column UL to be vertical list */
.mega-menu .mega-menu-column ul {
    display: block !important;
    flex-direction: unset !important;
    gap: 0 !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mega-menu .mega-menu-column ul li {
    display: block !important;
    margin-bottom: 12px !important;
}

.mega-menu .mega-menu-column ul li a {
    color: rgba(255,255,255,0.7) !important;
    font-size: 0.8rem !important;
    text-transform: none !important;
    letter-spacing: 0.5px !important;
    transition: color 0.3s ease;
    display: block !important;
    white-space: nowrap;
}

.mega-menu .mega-menu-column ul li a:hover {
    color: var(--color-gold) !important;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    color: var(--color-cream);
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-btn:focus {
    outline: none;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-charcoal);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 100px 20px 120px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

.mobile-nav {
    text-align: center;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-nav-overlay.active .mobile-nav li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-overlay.active .mobile-nav li:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-overlay.active .mobile-nav li:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav-overlay.active .mobile-nav li:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav-overlay.active .mobile-nav li:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav-overlay.active .mobile-nav li:nth-child(5) { transition-delay: 0.3s; }
.mobile-nav-overlay.active .mobile-nav li:nth-child(6) { transition-delay: 0.35s; }

.mobile-nav a {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-cream);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: color 0.3s ease;
}

.mobile-nav a:hover {
    color: var(--color-gold);
}

.mobile-nav .current-menu-item a,
.mobile-nav .current_page_item a {
    color: var(--color-gold);
}

.mobile-nav-contact {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav-contact a {
    display: block;
    font-size: 1.2rem;
    color: var(--color-gold);
    margin-bottom: 15px;
    font-family: var(--font-serif);
}

/* Mobile Submenu */
.mobile-has-submenu {
    position: relative;
}

.mobile-has-submenu > a {
    display: inline;
}

.mobile-submenu-toggle {
    background: none;
    border: none;
    color: var(--color-gold);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 15px;
    vertical-align: middle;
}

.mobile-submenu-toggle:focus {
    outline: none;
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin-top: 15px;
}

.mobile-has-submenu.open .mobile-submenu {
    max-height: 1000px;
}

.mobile-has-submenu.open .mobile-submenu-toggle i::before {
    content: "\f068"; /* minus icon */
}

.mobile-submenu li {
    margin-bottom: 12px !important;
    opacity: 1 !important;
    transform: none !important;
}

.mobile-submenu li a {
    font-size: 1rem !important;
    text-transform: none !important;
    letter-spacing: 1px !important;
    font-family: var(--font-sans) !important;
}

.mobile-submenu .mobile-submenu-heading {
    margin-top: 20px;
    margin-bottom: 8px !important;
}

.mobile-submenu .mobile-submenu-heading:first-child {
    margin-top: 0;
}

.mobile-submenu .mobile-submenu-heading a {
    color: var(--color-gold) !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-weight: 500;
}

@media (max-width: 968px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    min-height: 600px;
    background-color: var(--color-charcoal);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
        min-height: 100vh;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.4));
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--color-cream), transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    margin-bottom: 30px;
    text-align: center;
}

.hero-name {
    display: block;
    font-family: var(--font-serif);
    font-size: 4.5rem;
    font-weight: 400;
    color: var(--color-white);
    letter-spacing: 2px;
    margin-bottom: 10px;
    line-height: 1.1;
}

.hero-tagline {
    display: block;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 6px;
    padding-top: 20px;
    border-top: 1px solid rgba(197, 160, 89, 0.4);
    margin-top: 15px;
}

@media (max-width: 992px) {
    .hero-name {
        font-size: 3.5rem;
    }
    .hero-tagline {
        font-size: 1rem;
        letter-spacing: 4px;
    }
}

@media (max-width: 768px) {
    .hero-name {
        font-size: 2.5rem;
    }
    .hero-tagline {
        font-size: 0.85rem;
        letter-spacing: 3px;
    }
}

.hero-subtitle {
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
    display: block;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }
}

.hero h1 {
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.5);
    padding-bottom: 20px;
    display: inline-block;
}

.hero-credentials {
    color: var(--color-cream);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .hero-credentials {
        font-size: 0.9rem;
    }
}

.hero-location {
    color: var(--color-white);
    font-family: var(--font-serif);
    font-style: italic;
    margin-bottom: 40px;
    font-size: 1.1rem;
    letter-spacing: 1px;
    opacity: 0.85;
}

.hero-location i {
    color: var(--color-gold);
    margin-right: 8px;
}

@media (max-width: 768px) {
    .hero-location {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
}

/* --- CREDENTIALS BANNER --- */
.credentials-banner {
    background-color: var(--color-cream);
    padding: 60px 0;
    border-bottom: 1px solid #e0e0e0;
}

@media (max-width: 768px) {
    .credentials-banner {
        padding: 40px 0;
    }
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    text-align: center;
}

@media (max-width: 1200px) {
    .credentials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .credentials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

.credential-item i {
    color: var(--color-gold);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .credential-item i {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
}

.credential-item h4 {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-charcoal);
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .credential-item h4 {
        font-size: 1.1rem;
    }
}

.credential-item p {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
    color: #666;
}

@media (max-width: 768px) {
    .credential-item p {
        font-size: 0.65rem;
    }
}

/* --- ABOUT SECTION --- */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 80vh;
}

@media (max-width: 968px) {
    .about-section {
        grid-template-columns: 1fr;
        min-height: auto;
    }
}

.about-image {
    min-height: 500px;
    background-size: cover;
    background-position: center;
}

@media (max-width: 968px) {
    .about-image {
        min-height: 350px;
    }
}

.about-content {
    padding: 80px;
    background-color: var(--color-charcoal);
    color: var(--color-cream);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .about-content {
        padding: 40px 25px;
    }
}

.about-content h2 {
    color: var(--color-cream);
    border-left: 3px solid var(--color-gold);
    padding-left: 20px;
    text-transform: none;
    letter-spacing: 0;
}

.about-content p {
    color: #ccc;
}

.about-content p strong {
    color: var(--color-gold);
    font-weight: 400;
}

.about-badges {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.badge {
    border: 1px solid rgba(255,255,255,0.2);
    padding: 10px 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-cream);
}

@media (max-width: 768px) {
    .badge {
        padding: 8px 15px;
        font-size: 0.65rem;
    }
}

/* --- TRAINING TIMELINE --- */
.training-section {
    background-color: var(--color-cream-dark);
    padding: var(--spacing-standard) 0;
}

@media (max-width: 768px) {
    .training-section {
        padding: var(--spacing-mobile) 0;
    }
}

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

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 40px;
    }
}

.section-header h2 {
    color: var(--color-charcoal);
}

.section-header .divider {
    height: 1px;
    width: 60px;
    background-color: var(--color-gold);
    margin: 20px auto;
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: var(--color-gold);
    opacity: 0.3;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
    text-align: right;
}

@media (max-width: 768px) {
    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: column;
        text-align: left;
        padding-left: 50px;
        align-items: flex-start;
    }
}

.timeline-year {
    flex: 0 0 50%;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .timeline-year {
        flex: none;
        padding: 0;
        margin-bottom: 5px;
    }
}

.timeline-year span {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--color-gold);
}

@media (max-width: 768px) {
    .timeline-year span {
        font-size: 1.8rem;
    }
}

.timeline-content {
    flex: 0 0 50%;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .timeline-content {
        flex: none;
        padding: 0;
    }
}

.timeline-content h4 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    color: var(--color-charcoal);
}

@media (max-width: 768px) {
    .timeline-content h4 {
        font-size: 0.9rem;
    }
}

.timeline-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: #666;
}

@media (max-width: 768px) {
    .timeline-content p {
        font-size: 0.85rem;
    }
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--color-gold);
    border-radius: 50%;
}

@media (max-width: 768px) {
    .timeline-dot {
        left: 20px;
    }
}

/* --- HOSPITAL AFFILIATIONS --- */
.affiliations-section {
    background: var(--color-charcoal);
    padding: 80px 0;
}

@media (max-width: 768px) {
    .affiliations-section {
        padding: 50px 0;
    }
}

.affiliations-section .uppercase {
    color: var(--color-gold);
    text-align: center;
    display: block;
    margin-bottom: 40px;
}

.affiliations-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .affiliations-grid {
        gap: 40px;
    }
}

.affiliation-item {
    text-align: center;
}

.affiliation-item i {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 15px;
    display: block;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .affiliation-item i {
        font-size: 2rem;
    }
}

.affiliation-item span {
    color: var(--color-cream);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .affiliation-item span {
        font-size: 0.7rem;
    }
}

/* --- PROCEDURES SECTION --- */
.procedures {
    background-color: var(--color-cream);
}

.procedures-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background-color: #ddd;
    border: 1px solid #ddd;
}

@media (max-width: 968px) {
    .procedures-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .procedures-grid {
        grid-template-columns: 1fr;
    }
}

.procedure-card {
    background-color: var(--color-white);
    padding: 60px 40px;
    text-align: center;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    cursor: pointer;
    text-decoration: none;
}

@media (max-width: 768px) {
    .procedure-card {
        padding: 40px 25px;
        min-height: 250px;
    }
}

.procedure-card:hover {
    background-color: var(--color-charcoal);
}

.procedure-card h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--color-charcoal);
    transition: color 0.5s ease;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .procedure-card h3 {
        font-size: 1.4rem;
    }
}

.procedure-card:hover h3 {
    color: var(--color-white);
}

.procedure-card p {
    font-size: 0.9rem;
    opacity: 1;
    transition: color 0.5s ease;
    position: relative;
    z-index: 2;
    color: #555;
    margin-bottom: 0;
}

.procedure-card:hover p {
    color: #b0a89a;
}

.proc-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--color-gold);
    transition: transform 0.5s ease;
}

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

/* --- PEER ENDORSEMENTS --- */
.peer-section {
    background-color: var(--color-cream-dark);
    padding: var(--spacing-standard) 0;
}

@media (max-width: 768px) {
    .peer-section {
        padding: var(--spacing-mobile) 0;
    }
}

.peer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 968px) {
    .peer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.peer-quote {
    background: var(--color-white);
    padding: 50px;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
    .peer-quote {
        padding: 30px 25px;
    }
}

.peer-quote::before {
    content: '"';
    font-family: var(--font-serif);
    font-size: 5rem;
    color: var(--color-gold);
    position: absolute;
    top: 20px;
    left: 30px;
    opacity: 0.2;
    line-height: 1;
}

@media (max-width: 768px) {
    .peer-quote::before {
        font-size: 3rem;
        left: 20px;
    }
}

.peer-quote p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .peer-quote p {
        font-size: 1rem;
    }
}

.peer-author {
    color: var(--color-charcoal);
    font-size: 0.9rem;
    font-weight: 500;
}

.peer-title {
    color: #888;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* --- REVIEWS SECTION --- */
.reviews-section {
    background: var(--color-charcoal);
    padding: var(--spacing-standard) 0;
}

@media (max-width: 768px) {
    .reviews-section {
        padding: var(--spacing-mobile) 0;
    }
}

.reviews-section .section-header h2 {
    color: var(--color-cream);
}

.reviews-section .divider {
    background-color: var(--color-gold);
}

.reviews-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .reviews-stats {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin-bottom: 40px;
    }
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .stat-number {
        font-size: 2.5rem;
    }
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.5);
}

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

@media (max-width: 968px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.review-card {
    background: var(--color-charcoal-light);
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
    .review-card {
        padding: 25px;
    }
}

.review-stars {
    color: var(--color-gold);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.review-text {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
    line-height: 1.8;
}

.review-source {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.4);
}

/* --- MEDIA SECTION --- */
.media-section {
    background: var(--color-cream);
    padding: 60px 0;
    border-bottom: 1px solid #e0e0e0;
}

@media (max-width: 768px) {
    .media-section {
        padding: 40px 0;
    }
}

.media-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .media-grid {
        gap: 30px;
        flex-direction: column;
    }
}

.media-item {
    text-align: center;
}

.media-item span {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 8px;
}

.media-item strong {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--color-charcoal);
    font-weight: 400;
}

@media (max-width: 768px) {
    .media-item strong {
        font-size: 1.2rem;
    }
}

/* --- CONTACT SECTION --- */
.contact-section {
    background-color: var(--color-charcoal);
    color: var(--color-cream);
}

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

@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

.contact-info {
    padding: 100px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .contact-info {
        padding: 50px 25px;
    }
}

.contact-info h2 {
    color: var(--color-white);
}

.contact-details {
    margin-top: 40px;
}

@media (max-width: 768px) {
    .contact-details {
        margin-top: 30px;
    }
}

.detail-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .detail-row {
        margin-bottom: 20px;
    }
}

.detail-row i {
    color: var(--color-gold);
    font-size: 1.2rem;
    margin-right: 20px;
    margin-top: 5px;
    width: 20px;
    flex-shrink: 0;
}

.address-text {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: #ddd;
}

@media (max-width: 768px) {
    .address-text {
        font-size: 1rem;
    }
}

.map-container {
    width: 100%;
    min-height: 500px;
    background-color: #333;
}

@media (max-width: 968px) {
    .map-container {
        min-height: 350px;
    }
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: 0;
    filter: grayscale(100%) contrast(1.2) invert(100%);
}

@media (max-width: 968px) {
    .map-container iframe {
        min-height: 350px;
    }
}

/* --- PAGE HERO (Inner Pages) --- */
.page-hero {
    background-color: var(--color-charcoal);
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

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

.page-hero h1 {
    color: var(--color-cream);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
}

.page-hero .breadcrumbs {
    color: var(--color-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.page-hero .breadcrumbs a {
    color: rgba(255,255,255,0.7);
}

.page-hero .breadcrumbs a:hover {
    color: var(--color-gold);
}

/* --- PAGE CONTENT --- */
.page-content {
    padding: var(--spacing-standard) 0;
    background: var(--color-cream);
}

@media (max-width: 768px) {
    .page-content {
        padding: var(--spacing-mobile) 0;
    }
}

.page-content .container {
    max-width: 900px;
}

.page-content h2 {
    text-transform: none;
    letter-spacing: 0;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-content h2:first-child {
    margin-top: 0;
}

.page-content ul,
.page-content ol {
    margin-bottom: 1.5rem;
    padding-left: 20px;
}

.page-content li {
    margin-bottom: 0.5rem;
    color: #555;
}

/* --- FOOTER --- */
.site-footer {
    background-color: #111;
    color: #666;
    padding: 60px 0 40px;
    border-top: 1px solid #222;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 30px;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}

.footer-brand .footer-logo {
    font-family: var(--font-serif);
    color: #888;
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: block;
    text-transform: uppercase;
}

.footer-brand p {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 20px;
}

.footer-certs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 968px) {
    .footer-certs {
        justify-content: center;
    }
}

.footer-cert {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 12px;
    border: 1px solid #333;
    color: #666;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid #444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    transform: translateY(-3px);
}

.footer-social i {
    font-size: 1rem;
}

.footer-column h4 {
    color: #888;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 500;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #555;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #222;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 5px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: #555;
}

/* --- MOBILE STICKY FOOTER --- */
.mobile-sticky-footer {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-charcoal);
    z-index: 998;
    padding: 12px 10px;
    box-shadow: 0 -2px 15px rgba(0,0,0,0.2);
    border-top: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
    .mobile-sticky-footer {
        display: block;
    }
}

.mobile-footer-buttons {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
}

.mobile-footer-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--color-cream);
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.mobile-footer-btn i {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.mobile-footer-btn span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-footer-btn.btn-call {
    background: var(--color-gold);
}

.mobile-footer-btn.btn-call:hover {
    background: var(--color-gold-light);
}

.mobile-footer-btn.btn-book {
    background: #2d5a27;
}

.mobile-footer-btn.btn-book:hover {
    background: #3a7332;
}

.mobile-footer-btn.btn-text {
    background: #1a73e8;
}

.mobile-footer-btn.btn-text:hover {
    background: #4285f4;
}

/* --- CTA SECTION --- */
.cta-section {
    background: var(--color-gold);
    padding: 80px 0;
    text-align: center;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 50px 0;
    }
}

.cta-section h2 {
    color: var(--color-white);
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-section .btn {
    border-color: var(--color-white);
    color: var(--color-white);
}

.cta-section .btn:hover {
    background: var(--color-white);
    color: var(--color-gold);
}

/* --- WORDPRESS SPECIFIC --- */
.wp-block-image {
    margin-bottom: 1.5rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

/* Screen reader text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}
/**
 * PERFORMANCE CSS ADDITIONS
 * Add this to your style.css
 */

/* ============================================
   HERO SECTION - LCP OPTIMIZED
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    /* Contain for better performance */
    contain: layout style paint;
}

/* Hero background image - using <img> for faster LCP */
.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    /* Prevent image from being interactive */
    pointer-events: none;
    /* Will-change for smoother rendering */
    will-change: transform;
}

/* Dark overlay on hero */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.45) 100%);
    z-index: 1;
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

/* ============================================
   ABOUT SECTION - IMAGE OPTIMIZED
   ============================================ */

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
}

.about-image {
    position: relative;
    overflow: hidden;
}

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

@media (max-width: 992px) {
    .about-section {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        height: 50vh;
    }
}

/* ============================================
   YOUTUBE FACADE - LAZY LOAD VIDEO
   Loads only thumbnail until user clicks
   ============================================ */

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.youtube-facade {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.youtube-facade img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.youtube-facade:hover img {
    opacity: 0.8;
}

.youtube-facade .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s ease;
}

.youtube-facade:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.1);
}

.youtube-facade .play-btn-bg {
    transition: fill 0.2s ease, fill-opacity 0.2s ease;
}

.youtube-facade:hover .play-btn-bg {
    fill: #c9a962;
    fill-opacity: 1;
}

/* Iframe when loaded */
.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   LAZY LOADING ANIMATIONS
   ============================================ */

/* Images fade in when loaded */
img.lazy-loaded {
    animation: fadeIn 0.3s ease;
}

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

/* Scroll animations */
.will-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.will-animate.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   PERFORMANCE UTILITIES
   ============================================ */

/* Contain for better performance */
.contain-layout {
    contain: layout;
}

.contain-paint {
    contain: paint;
}

.contain-strict {
    contain: strict;
}

/* GPU acceleration for animated elements */
.gpu-accelerated {
    transform: translateZ(0);
    will-change: transform;
}

/* Prevent layout shift - always specify dimensions */
img {
    max-width: 100%;
    height: auto;
}

/* Skeleton loading placeholder */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================
   REDUCED MOTION SUPPORT
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .will-animate {
        opacity: 1;
        transform: none;
    }
}

/* ============================================
   FONT DISPLAY OPTIMIZATION
   ============================================ */

/* System font stack fallback while custom fonts load */
body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}