/* Professional Design System for Office of Sabrina B. Poole */

/* CSS Variables for Design System */
:root {
    /* Colors */
    --primary-color: #1a365d;
    --primary-hover: #2c5282;
    --secondary-color: #c47208;
    --secondary-hover: #b76d1a;
    --accent-color: #e53e3e;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --background-light: #f8fafc;
    --background-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 10px 25px rgba(0, 0, 0, 0.15);
    
    /* Typography */
    --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-family-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    
    /* Transitions */
    --transition-base: all 0.2s ease-in-out;
    --transition-slow: all 0.3s ease-in-out;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography System */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
    line-height: 1.7;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.text-muted {
    color: var(--text-muted);
}

/* Professional Navigation */
.navbar-professional {
    background-color: var(--background-white);
    box-shadow: var(--shadow-light);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border-color);
    min-height: 90px;
}

.navbar-brand-professional {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color) !important;
    text-decoration: none;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    margin-left: var(--spacing-md) !important;
    padding-left: var(--spacing-md) !important;
    letter-spacing: 0.5px;
}

.navbar-brand-professional img {
    height: 70px !important;
    width: auto;
    margin-right: var(--spacing-md) !important;
}

.navbar-brand-professional:hover {
    color: var(--primary-hover) !important;
}

.nav-link-professional {
    color: var(--text-primary) !important;
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm) !important;
    margin: 0 var(--spacing-xs);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-base);
    position: relative;
}

.nav-link-professional:hover {
    color: var(--primary-color) !important;
    background-color: var(--background-light);
}

.nav-link-professional.active {
    color: var(--primary-color) !important;
    background-color: var(--background-light);
}

.nav-link-professional.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

/* Hero Section */
.hero-professional {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    overflow: hidden;
}

.hero-professional::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content-professional {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 var(--spacing-md);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
    font-weight: 300;
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Professional Buttons */
.btn-professional {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    transition: var(--transition-base);
    cursor: pointer;
    line-height: 1.5;
}

.btn-primary-professional {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary-professional:hover {
    background-color: var(--primary-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary-professional {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary-professional:hover {
    background-color: var(--secondary-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-outline-professional {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-professional:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Cards */
.card-professional {
    background-color: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    transition: var(--transition-base);
    overflow: hidden;
}

.card-professional:hover {
    box-shadow: var(--shadow-heavy);
    transform: translateY(-5px);
}

.card-professional .card-body {
    padding: var(--spacing-lg);
}

.card-professional .card-title {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.card-professional .card-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Section Layouts */
.section-professional {
    padding: var(--spacing-2xl) 0;
}

.section-professional.bg-light {
    background-color: var(--background-light);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Statistics/Achievement Section */
.stats-professional {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    padding: var(--spacing-2xl) 0;
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Professional Footer */
.footer-professional {
    background-color: var(--text-primary);
    color: white;
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-professional h5 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
}

.footer-professional a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-base);
}

.footer-professional a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: var(--spacing-md) 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin-top: var(--spacing-lg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nav-link-professional {
        margin: var(--spacing-xs) 0;
    }
    
    .navbar-professional {
        min-height: 80px;
        padding: var(--spacing-sm) 0;
    }
    
    .navbar-brand-professional img {
        height: 60px !important;
        margin-right: 10px !important;
    }
    
    .navbar-brand-professional span {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 576px) {
    .navbar-brand-professional {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 5px;
    }
    
    .navbar-brand-professional img {
        height: 50px !important;
        margin-right: 0 !important;
        margin-bottom: 5px;
    }
    
    .navbar-brand-professional span {
        font-size: 1.1rem !important;
        line-height: 1.2;
    }
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Carousel Enhancements */
.carousel-professional {
    position: relative;
    height: 70vh;
    overflow: hidden;
}

.carousel-professional .carousel-item {
    height: 70vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-professional .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.7) 0%, rgba(44, 82, 130, 0.5) 100%);
    z-index: 1;
}

.carousel-professional .carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.carousel-professional .carousel-caption h1 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-professional .carousel-caption p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
}

/* Professional Form Styling */
.form-professional {
    background-color: var(--background-white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
}

.form-professional .form-control {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: var(--spacing-sm);
    font-size: 1rem;
    transition: var(--transition-base);
}

.form-professional .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(26, 54, 93, 0.25);
}

.form-professional .form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

/* Professional Lists */
.list-professional {
    list-style: none;
    padding: 0;
}

.list-professional li {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.list-professional li:last-child {
    border-bottom: none;
}

.list-professional li::before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: bold;
    margin-right: var(--spacing-sm);
}

/* Professional Timeline */
.timeline-professional {
    position: relative;
    padding: var(--spacing-lg) 0;
}

.timeline-professional::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-xl);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 12px;
    height: 12px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-content {
    background-color: var(--background-white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    width: 45%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 55%;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .timeline-professional::before {
        left: 20px;
    }
    
    .timeline-item::before {
        left: 20px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        margin-right: 0 !important;
    }
}
