/* Premium Modern Design System - Green & Gold Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    /* Color Palette */
    --color-primary: #1A3C34; /* Deep Forest Green */
    --color-primary-light: #2E5A4F; /* Sage Green */
    --color-accent: #D4AF37; /* Warm Gold */
    --color-accent-light: #F3E5AB; /* Soft Gold/Champagne */
    --color-background: #FAFAF8; /* Soft Off-White */
    --color-surface: #FFFFFF;
    --color-text-main: #2C2C2C;
    --color-text-soft: #595959;
    --color-text-light: #F0F0F0;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2.5rem;
    --spacing-lg: 5rem;
    --spacing-xl: 10rem;

    /* Shadows & Effects */
    --shadow-soft: 0 10px 30px rgba(26, 60, 52, 0.08);
    --shadow-hover: 0 15px 40px rgba(212, 175, 55, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset & Base Styles */
html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    box-sizing: border-box;
    overflow-x: hidden;
}

.main-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--color-background);
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    line-height: 1.2;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--color-accent);
}

/* Layout Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Glassmorphic Navbar */
.modern-navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand img {
    height: 45px;
    transition: var(--transition-smooth);
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-primary);
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--color-accent);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Premium Hero Section */
.hero-banner {
    position: relative;
    width: 100%;
    min-height: 70vh;
    background-size: cover;
    background-position: center 20%;
    background-attachment: fixed;
}

.hero-title-dark {
    font-size: 3.5rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle-dark {
    font-size: 1.25rem;
    color: var(--color-text-soft);
    margin-bottom: 0;
    font-family: var(--font-body);
    font-weight: 400;
}

.section-container.hero-block {
    background: rgba(26, 60, 52, 0.9); /* Dark green tint */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-surface);
    margin-top: -2rem; /* Less overlap so face is not covered */
}

.hero-title-light {
    font-size: 3.5rem;
    color: var(--color-surface);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle-light {
    font-size: 1.25rem;
    color: var(--color-surface);
    opacity: 0.95;
    margin-bottom: 0;
    font-family: var(--font-body);
    font-weight: 400;
}

.section-text.hero-text-light {
    color: var(--color-surface);
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* Content Sections */
.content-section {
    padding: var(--spacing-lg) 0;
    position: relative;
}

.content-section.bg-alt {
    background-color: #F4F6F4; /* Very light sage */
}

.section-container {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-soft);
    margin: -5rem auto var(--spacing-md) auto;
    position: relative;
    z-index: 10;
    max-width: 1000px;
    transition: var(--transition-smooth);
}

.section-container:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.section-text {
    font-size: 1.15rem;
    color: var(--color-text-soft);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
}

.text-gold {
    color: var(--color-accent);
}

/* Modern Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--color-accent) 0%, #B8860B 100%);
    color: var(--color-surface);
    padding: 16px 36px;
    border-radius: var(--radius-full);
    border: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-block;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(212, 175, 55, 0.4);
    color: var(--color-surface);
}

/* Footer */
.modern-footer {
    background-color: var(--color-primary);
    color: var(--color-accent-light);
    padding: var(--spacing-md) 0;
    text-align: center;
    margin-top: auto;
    border-top: 4px solid var(--color-accent);
}

.modern-footer p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeUp 0.8s ease-out forwards;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-title-dark, .hero-title-light {
        font-size: 2.8rem;
    }
    .section-container {
        margin-top: -3rem;
        padding: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Handle mobile menu properly in Blazor */
    }
    .hero-title-dark, .hero-title-light {
        font-size: 2rem;
    }
    .hero-banner {
        min-height: 40vh;
    }
    .content-section {
        padding: var(--spacing-md) 0;
    }
}/* Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 60, 52, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: var(--spacing-sm);
}

.modal-content {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 600px;
    position: relative;
    padding: var(--spacing-md);
    animation: fadeUp 0.4s ease-out forwards;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-soft);
    transition: var(--transition-smooth);
    font-size: 1.5rem;
    display: flex;
}

.modal-close:hover {
    color: var(--color-primary);
    transform: scale(1.1);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #D1D5DB;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
    background: #FAFAFA;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-soft);
    border: 1px solid #D1D5DB;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-secondary:hover {
    background: #F3F4F6;
    color: var(--color-text-main);
}
