/* 
 * Zink Consulting - Custom Theme
 * Website: Chad Zink Consulting
 * Professional color palette with modern design elements
 */

:root {
    /* Primary Colors - Deep Blue & Teal */
    --primary-dark: #0A2E4A;      /* Deep navy blue - professionalism, trust */
    --primary-medium: #1B4B6B;    /* Medium blue - depth */
    --primary-light: #2C6B8E;     /* Lighter blue - accents */
    
    /* Accent Colors - Warm Orange/Amber */
    --accent-primary: #E67E22;    /* Warm orange - action, energy */
    --accent-light: #F39C12;      /* Bright amber - highlights */
    --accent-dark: #D35400;       /* Deep orange - hover states */
    
    /* Neutral Colors */
    --neutral-dark: #2C3E50;      /* Dark text */
    --neutral-medium: #7F8C8D;    /* Secondary text */
    --neutral-light: #ECF0F1;     /* Backgrounds */
    --neutral-white: #FFFFFF;     /* White */
    
    /* Success/Support Colors */
    --success: #27AE60;           /* Success green */
    --info: #3498DB;              /* Info blue */
    
    /* Typography */
    --font-heading: 'Inter', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;
}

body {
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.7;
    color: var(--neutral-dark);
    background-color: #FAFBFC;
}

/* Typography */
.h1, .h2, .h3, .h4, .h5, .h6,
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-weight: 700;
    line-height: 1.3;
}

.display-3, .display-4, .display-5 {
    font-weight: 700;
    color: var(--primary-dark);
}

p {
    color: var(--neutral-dark);
    margin-bottom: 1.25rem;
}

.lead {
    color: var(--neutral-medium);
    font-size: 1.15rem;
    font-weight: 400;
}

.text-muted {
    color: var(--neutral-medium) !important;
}

/* Navbar Styling */
.navbar {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: var(--neutral-white) !important;
    box-shadow: 0 2px 8px rgba(10, 46, 74, 0.08);
    border-bottom: 2px solid var(--primary-dark);
    padding: 0.15rem 1rem;
    max-height: 50px;
}

.navbar-brand {
    margin: 0;
    padding: 0.25rem 0;
}

.navbar-brand svg {
    transition: transform 0.2s ease;
}

.navbar-brand:hover svg {
    transform: scale(1.05);
}

.nav-link {
    color: var(--neutral-dark) !important;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
    padding: 0.35rem 0.7rem;
}

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

.nav-link.active {
    color: var(--primary-dark) !important;
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--accent-primary);
    border-radius: 3px 3px 0 0;
}

/* Buttons */
.btn-primary {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--neutral-white) !important;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(230, 126, 34, 0.2);
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--neutral-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
}

.btn-outline-primary {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--neutral-white);
    transform: translateY(-2px);
}

.btn-link {
    color: var(--primary-medium);
    font-weight: 500;
}

.btn-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Cards */
.card {
    background-color: var(--neutral-white);
    border: 1px solid rgba(10, 46, 74, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(10, 46, 74, 0.05);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(10, 46, 74, 0.12);
    border-color: var(--accent-primary);
}

.card-title {
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-text {
    color: var(--neutral-dark);
}

/* Main Content */
.main-content {
    margin-top: 90px;
    padding-bottom: 40px;
    flex: 1;
    width: 100%;
}

.section {
    padding: 3rem 0;
}

/* Welcome/Hero Section */
.welcome-message {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section Background Pattern */
.hero-section {
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/client/images/example-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.80;
    pointer-events: none;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 46, 74, 0.85) 0%, rgba(27, 75, 107, 0.75) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-section > * {
    position: relative;
    z-index: 2;
}

.hero-section h1,
.hero-section .lead,
.hero-section p {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section .welcome-message {
    background: linear-gradient(135deg, #FFFFFF 0%, #ECF0F1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section .lead {
    color: #FFFFFF !important;
}

/* Approach Page Hero Section */
.approach-hero {
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
    margin-bottom: 2rem;
}

.approach-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/client/images/how-i-work-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.75;
    pointer-events: none;
    z-index: 0;
}

.approach-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 46, 74, 0.80) 0%, rgba(27, 75, 107, 0.70) 100%);
    pointer-events: none;
    z-index: 1;
}

.approach-hero > * {
    position: relative;
    z-index: 2;
}

.approach-hero h1,
.approach-hero .lead {
    color: #FFFFFF !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.approach-hero .welcome-message {
    background: linear-gradient(135deg, #FFFFFF 0%, #ECF0F1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About Page Hero Section */
.about-hero {
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
    margin-bottom: 2rem;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/client/images/connect-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.75;
    pointer-events: none;
    z-index: 0;
}

.about-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 46, 74, 0.80) 0%, rgba(27, 75, 107, 0.70) 100%);
    pointer-events: none;
    z-index: 1;
}

.about-hero > * {
    position: relative;
    z-index: 2;
}

.about-hero h1,
.about-hero .lead {
    color: #FFFFFF !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.about-hero .welcome-message {
    background: linear-gradient(135deg, #FFFFFF 0%, #ECF0F1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Contact Page Hero Section */
.contact-hero {
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
    margin-bottom: 2rem;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/client/images/contact-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.75;
    pointer-events: none;
    z-index: 0;
}

.contact-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 46, 74, 0.80) 0%, rgba(27, 75, 107, 0.70) 100%);
    pointer-events: none;
    z-index: 1;
}

.contact-hero > * {
    position: relative;
    z-index: 2;
}

.contact-hero h1,
.contact-hero .lead {
    color: #FFFFFF !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-hero .welcome-message {
    background: linear-gradient(135deg, #FFFFFF 0%, #ECF0F1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Services Page Hero Section */
.services-hero {
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
    margin-bottom: 2rem;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/client/images/services-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.75;
    pointer-events: none;
    z-index: 0;
}

.services-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 46, 74, 0.80) 0%, rgba(27, 75, 107, 0.70) 100%);
    pointer-events: none;
    z-index: 1;
}

.services-hero > * {
    position: relative;
    z-index: 2;
}

.services-hero h1,
.services-hero .lead {
    color: #FFFFFF !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.services-hero .welcome-message {
    background: linear-gradient(135deg, #FFFFFF 0%, #ECF0F1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Rates Page Hero Section */
.rates-hero {
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
    margin-bottom: 2rem;
}

.rates-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/client/images/rates-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.75;
    pointer-events: none;
    z-index: 0;
}

.rates-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 46, 74, 0.80) 0%, rgba(27, 75, 107, 0.70) 100%);
    pointer-events: none;
    z-index: 1;
}

.rates-hero > * {
    position: relative;
    z-index: 2;
}

.rates-hero h1,
.rates-hero .lead {
    color: #FFFFFF !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.rates-hero .welcome-message {
    background: linear-gradient(135deg, #FFFFFF 0%, #ECF0F1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Service Card Icons */
.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(230, 126, 34, 0.12);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: rgba(230, 126, 34, 0.2);
    transform: translateY(-4px);
}

.service-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(230, 126, 34, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(50%, -50%);
    transition: all 0.3s ease;
}

.service-card:hover::before {
    transform: translate(30%, -30%) scale(1.5);
}

/* Footer */
.footer {
    width: 100%;
    background-color: var(--neutral-white);
    padding: 2rem 0;
    margin-top: auto;
    border-top: 2px solid var(--primary-dark);
    color: var(--neutral-dark);
}

.footer h5, .footer h6 {
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer a {
    color: var(--neutral-medium);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: var(--accent-primary);
}

/* Forms */
.form-control {
    border: 2px solid rgba(10, 46, 74, 0.15);
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 0.2rem rgba(230, 126, 34, 0.15);
}

.form-label {
    color: var(--primary-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Select dropdowns */
select.form-control {
    appearance: auto;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    height: auto;
    min-height: 45px;
}

/* Special Backgrounds */
.bg-light {
    background-color: #F8F9FA !important;
    border-radius: 16px;
    padding: 2rem;
}

/* Accent Elements */
.text-primary {
    color: var(--accent-primary) !important;
}

/* Links */
a {
    color: var(--primary-medium);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-primary);
    text-decoration: none;
}

/* Utility Classes */
.no-wrap {
    white-space: nowrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-content {
        margin-top: 60px;
        padding-bottom: 30px;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .btn-primary, .btn-outline-primary {
        padding: 0.6rem 1.2rem;
        font-size: 0.95rem;
    }
    
    /* Make hero text 2x smaller on mobile */
    .hero-section h1.display-3 {
        font-size: calc(3rem / 2);
    }
    
    /* Make page titles 2x smaller on mobile */
    h1.display-4.welcome-message {
        font-size: 2.5rem;
    }
    
    /* Add margin between stacked hero buttons on mobile */
    .hero-section .btn {
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 991px) {
    /* Hide contact button in mobile navbar */
    .navbar-nav .nav-item:last-child {
        display: none;
    }
    
    /* Position logo centered on mobile */
    .navbar-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        display: block;
    }
    
    /* Remove max-height constraint on mobile navbar */
    .navbar {
        min-height: auto;
        max-height: none;
    }
    
    /* Add left margin to nav items in mobile dropdown */
    .navbar-nav .nav-item {
        margin-left: 1rem;
    }
}