/* Main Styles */
:root {
    /* Colors */
    --primary: #1a3a5f;
    --primary-dark: #0f2a48;
    --primary-light: #2a4a7f;
    --secondary: #d4af37;
    --accent: #8b4513;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --border-color: #dee2e6;
    
    /* Typography */
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Montserrat', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Shadows */
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
}

body {
    font-family: var(--font-secondary);
    color: var(--dark);
    background-color: var(--light);
    font-size: 16px;
    line-height: 1.6;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Section Spacing */
section {
    padding: var(--spacing-xl) 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-dark);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: var(--font-secondary);
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

.btn-link {
    background-color: transparent;
    color: var(--primary);
    text-decoration: underline;
}

.btn-link:hover {
    color: var(--primary-dark);
}

.btn-search {
    background-color: var(--secondary);
    color: var(--dark);
    font-weight: 600;
    padding: 0.75rem 2rem;
    height: 100%;
}

.btn-search:hover {
    background-color: #c09d2e;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary);
    color: white;
    padding: 8px;
    z-index: 1000;
    text-decoration: none;
}

.skip-link:focus {
    top: 6px;
}

/* Utility Classes */
.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;
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-top {
    background: var(--primary-dark);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 1.5rem;
}

.contact-info i {
    margin-right: 0.5rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.portal-login {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.portal-login:hover {
    color: var(--secondary);
}

.social-icons a {
    color: white;
    margin-left: 1rem;
    font-size: 1rem;
}

.social-icons a:hover {
    color: var(--secondary);
}

/* Main Navigation */
.main-navigation {
    padding: 1rem 0;
}

.logo h1 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    margin-bottom: 0;
    color: var(--primary);
}

.logo .tagline {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 0;
}

.primary-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-menu > li {
    margin: 0 0.75rem;
}

.nav-menu > li > a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem;
    transition: var(--transition);
}

.nav-menu > li > a:hover,
.nav-menu > li.current > a {
    color: var(--primary);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: var(--shadow-lg);
    border-radius: 4px;
    min-width: 220px;
    padding: 0.75rem 0;
    display: none;
    z-index: 100;
    border: 1px solid var(--border-color);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition-fast);
}

.dropdown-menu a:hover {
    background: var(--light-gray);
    color: var(--primary);
    padding-left: 1.75rem;
}

.search-icon {
    margin-left: 1rem;
}

.search-icon a {
    color: var(--dark);
    font-size: 1.25rem;
}

.search-icon a:hover {
    color: var(--primary);
}

/* Section Headers */
.section-header {
    margin-bottom: var(--spacing-xl);
}

.section-header h2 {
    position: relative;
    padding-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary);
}

.text-center .section-header h2::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Footer Styles */
.site-footer {
    background: var(--dark);
    color: white;
}

.footer-top {
    padding: var(--spacing-xl) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.footer-column h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: #adb5bd;
    text-decoration: none;
    transition: var(--transition);
    display: block;
}

.footer-column a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-column address {
    font-style: normal;
    color: #adb5bd;
    line-height: 1.8;
}

.footer-column address i {
    color: var(--secondary);
    width: 20px;
    text-align: center;
    margin-right: 0.5rem;
}

.footer-bottom {
    background: #121212;
    padding: var(--spacing-md) 0;
    border-top: 1px solid #343a40;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-social a {
    color: white;
    font-size: 1.25rem;
    margin-right: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--secondary);
}

.newsletter-signup form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.newsletter-signup label {
    font-weight: 500;
}

.form-group {
    display: flex;
}

#newsletter-email {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px 0 0 4px;
    width: 250px;
    font-family: var(--font-secondary);
}

.btn-subscribe {
    background: var(--secondary);
    color: var(--dark);
    border: none;
    border-radius: 0 4px 4px 0;
    padding: 0 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-secondary);
}

.btn-subscribe:hover {
    background: #c09d2e;
}

.copyright-legal {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.copyright {
    margin-bottom: 0;
    color: #adb5bd;
    font-size: 0.875rem;
}

.legal-links {
    display: flex;
    gap: 1rem;
}

.legal-links a {
    color: #adb5bd;
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.legal-links a:hover {
    color: var(--secondary);
}