:root {
    --dark-charcoal: #121212;
    --forest-green: #1E3324;
    --headline-gold: #D4AF37;
    --soft-cream: #EDE6D5;
    --muted-gold: #C4A646;
    --button-green: #1A2D1F;
    --button-gold: #D4AF37;
    --white: #FFFFFF;
}

body {
    background: linear-gradient(135deg, var(--dark-charcoal) 0%, var(--forest-green) 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--soft-cream);
    min-height: 100vh;
}

/* Custom Bootstrap overrides */
.bg-primary {
    background-color: var(--button-green) !important;
}

.text-primary {
    color: var(--headline-gold) !important;
}

.btn-primary {
    background-color: var(--button-green);
    border-color: var(--button-green);
    color: var(--button-gold);
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--forest-green);
    border-color: var(--forest-green);
    color: var(--button-gold);
}

.btn-accent {
    background-color: var(--button-green);
    border-color: var(--button-green);
    color: var(--button-gold);
    font-weight: 600;
}

.btn-accent:hover {
    background-color: var(--forest-green);
    border-color: var(--forest-green);
    color: var(--button-gold);
}

.text-accent {
    color: var(--muted-gold) !important;
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
    color: var(--white) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--headline-gold) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.dropdown-item:hover {
    background-color: var(--soft-cream);
    color: var(--button-green);
}

/* Mega Menu Styling */
.mega-menu {
    min-width: 500px;
    padding: 1.5rem;
    background-color: rgba(30, 51, 36, 0.95);
    backdrop-filter: blur(10px);
}

.mega-menu .row {
    margin: 0;
}

.mega-menu .col-md-6 {
    padding: 0 1rem;
}

.dropdown-header {
    color: var(--headline-gold) !important;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mega-menu .dropdown-item {
    padding: 0.5rem 0;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(237, 230, 213, 0.1);
    color: var(--soft-cream);
}

.mega-menu .dropdown-item:last-child {
    border-bottom: none;
}

.mega-menu .dropdown-item:hover {
    background-color: rgba(212, 175, 55, 0.2);
    color: var(--headline-gold);
}

.mega-menu .dropdown-item i {
    width: 10px;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--dark-charcoal) 0%, var(--forest-green) 100%);
}

.hero-tagline-small {
    font-size: 0.9rem;
    color: var(--soft-cream);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--headline-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-subtitle {
    color: var(--soft-cream);
    font-size: 1.2rem;
    border-left: 4px solid var(--muted-gold);
    padding-left: 1.5rem;
    margin-bottom: 2.5rem;
    line-height: 1.4;
}

.hero-portrait {
    max-width: 350px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.4));
    background: transparent;
}

.hero-portrait-large {
    max-width: 450px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.6)) drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
    background: transparent;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.hero-portrait-large:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.7)) drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
}

/* Enhanced Background Removal for Professional Photo */
.hero-portrait-large {
    position: relative;
    /* Removed mix-blend-mode to prevent darkening */
}

.hero-image-container {
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0) 30%, rgba(30, 51, 36, 0.1) 70%);
}

.hero-image-container {
    text-align: center;
    position: relative;
}

.hero-image-container::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 15px;
    z-index: -1;
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1) !important;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--dark-charcoal) 0%, var(--forest-green) 100%);
    padding: 120px 0 60px 0;
    color: var(--soft-cream);
    text-align: center;
}

.page-header h1 {
    color: var(--headline-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header .lead {
    color: var(--soft-cream);
    font-size: 1.2rem;
}

.breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 10px 20px;
    margin-bottom: 2rem;
}

.breadcrumb-item a {
    color: var(--soft-cream);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--headline-gold);
}

.breadcrumb-item.active {
    color: var(--headline-gold);
}

/* Card Styling Updates */
.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.bg-light {
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--soft-cream);
}

/* Sections */
section {
    padding: 4rem 0;
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--muted-gold);
}

/* Contact Info */
.contact-info p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Map Container */
.map-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

/* Footer */
footer {
    background-color: var(--dark-gray) !important;
}

.social-links a {
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-gold) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 100px;
        min-height: auto;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
}

/* Expertise Cards */
.expertise-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.expertise-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--headline-gold);
}

.expertise-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--button-green), var(--forest-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.expertise-card h4 {
    color: var(--button-green);
    margin: 1.5rem 0 1rem 0;
    font-weight: 600;
}

.expertise-card p {
    color: var(--dark-charcoal);
    line-height: 1.5;
    margin-bottom: 0;
}

/* Form Styles */
.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(27, 94, 32, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--dark-gray);
}

/* Additional Animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

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

.expertise-grid {
    margin-top: 2rem;
}

.expertise-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.expertise-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
