/* ============================================================
   MAINE HOME PROS - CONSOLIDATED STYLESHEET
   ============================================================
   All CSS for the site is consolidated here for easy editing.
   
   TO CHANGE COLORS:
   Simply edit the CSS variables in the :root section below.
   For example:
   - Change --color-primary to change the main blue color
   - Change --color-accent to change the orange accent color
   - Change --color-bg-dark to change the background color
   
   All colors will automatically update across the entire site!
   ============================================================ */

/* ============================================================
   COLOR VARIABLES - EDIT THESE TO CHANGE COLORS
   ============================================================ */
:root {
    /* Primary Colors - Main brand color (currently blue) */
    --color-primary: #2563eb;
    --color-primary-dark: #1e40af;
    --color-primary-light: #3b82f6;
    --color-primary-lighter: #60a5fa;
    
    /* Accent Colors - Secondary highlights (currently orange for admin) */
    --color-accent: #f97316;
    --color-accent-dark: #ea580c;
    --color-accent-light: #fb923c;
    
    /* Background Colors */
    --color-bg-dark: #020617;
    --color-bg-darker: #0a0e27;
    --color-bg-card: #0f172a;
    --color-bg-card-light: rgba(15, 23, 42, 0.8);
    --color-bg-overlay: rgba(15, 23, 42, 0.95);
    
    /* Text Colors */
    --color-text-primary: #f8fafc;
    --color-text-white: #ffffff;
    --color-text-secondary: #cbd5e1;
    --color-text-muted: #94a3b8;
    --color-text-placeholder: #64748b;
    
    /* Border Colors - Mix of blue and orange */
    --color-border: rgba(59, 130, 246, 0.3);
    --color-border-light: rgba(59, 130, 246, 0.1);
    --color-border-accent: rgba(249, 115, 22, 0.3);
    --color-border-orange: rgba(249, 115, 22, 0.4);
    --color-border-mixed: rgba(249, 115, 22, 0.2);
    
    /* Status Colors */
    --color-success: #10b981;
    --color-error: #ef4444;
    --color-warning: #f59e0b;
    --color-info: #3b82f6;
    
    /* Shadow Colors */
    --shadow-primary: rgba(59, 130, 246, 0.3);
    --shadow-accent: rgba(249, 115, 22, 0.3);
    --shadow-dark: rgba(0, 0, 0, 0.4);
}

/* ============================================================
   RESET & BASE STYLES
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body, html {
    height: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--color-bg-dark);
    color: var(--color-text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, .brand-font, .font-display {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* ============================================================
   HOME PAGE (index.html) STYLES
   ============================================================ */
.hero-bg { 
    min-height: calc(100vh - 80px);
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 1)), 
                url('https://images.unsplash.com/photo-1507090960745-b32f65d3113a?auto=format&fit=crop&q=80&w=2000'); 
    background-size: cover; 
    background-position: center; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
}

.header-main { 
    color: var(--color-text-white); 
}

.professional-blue { 
    color: var(--color-primary-light); 
}

.text-glow {
    color: var(--color-text-primary);
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.6), 0 0 8px rgba(249, 115, 22, 0.4), 0 0 5px rgba(255, 255, 255, 0.3);
    animation: pulse-glow 3s infinite ease-in-out;
    letter-spacing: 0.2em;
}

@keyframes pulse-glow {
    0%, 100% { 
        opacity: 0.9; 
        filter: drop-shadow(0 0 2px rgba(59, 130, 246, 0.4)) drop-shadow(0 0 2px rgba(249, 115, 22, 0.3)); 
    }
    50% { 
        opacity: 1; 
        filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.8)) drop-shadow(0 0 6px rgba(249, 115, 22, 0.5)); 
    }
}

.search-container {
    background: var(--color-bg-card-light);
    backdrop-filter: blur(20px);
    border: 1.5px solid var(--color-border);
    box-shadow: 0 0 40px var(--shadow-primary), 0 0 20px var(--shadow-accent), inset 0 0 15px rgba(59, 130, 246, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-container:focus-within {
    box-shadow: 0 0 60px rgba(59, 130, 246, 0.5), 0 0 30px rgba(249, 115, 22, 0.4), inset 0 0 20px rgba(59, 130, 246, 0.2);
    border-color: var(--color-border-orange);
    transform: translateY(-2px);
}

.custom-dropdown { 
    position: relative; 
    width: 100%; 
}

.dropdown-trigger {
    width: 100%; 
    background: transparent; 
    color: var(--color-text-white);
    font-weight: 900; 
    text-transform: uppercase; 
    font-size: 1.125rem;
    cursor: pointer; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
}

.dropdown-trigger::after { 
    content: '↓'; 
    font-size: 12px; 
    color: var(--color-accent-light); 
    transition: transform 0.3s; 
}

.dropdown-trigger.open::after { 
    transform: rotate(180deg); 
}

.dropdown-options {
    position: absolute; 
    top: 120%; 
    left: 0; 
    width: 100%;
    background: var(--color-bg-overlay); 
    backdrop-filter: blur(25px);
    border: 1.5px solid var(--color-border); 
    border-radius: 1.5rem;
    max-height: 250px; 
    overflow-y: auto; 
    z-index: 1000; 
    display: none;
    box-shadow: 0 20px 50px var(--shadow-dark);
}

.dropdown-options::-webkit-scrollbar { 
    display: none; 
}

.dropdown-options.show { 
    display: block; 
}

.dropdown-opt {
    padding: 12px 20px; 
    color: var(--color-text-secondary); 
    font-weight: 700;
    text-transform: uppercase; 
    cursor: pointer; 
    transition: all 0.2s;
    font-size: 0.85rem;
}

.dropdown-opt:hover { 
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.2), rgba(249, 115, 22, 0.15)); 
    color: var(--color-text-white); 
    padding-left: 28px; 
    border-left: 3px solid var(--color-accent);
}

.footer-link { 
    transition: all 0.3s ease; 
    display: inline-block; 
}

.footer-link:hover { 
    color: var(--color-accent-light) !important; 
    transform: translateY(-2px) scale(1.05); 
    filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.6)) drop-shadow(0 0 4px rgba(249, 115, 22, 0.5)); 
}

/* ============================================================
   PROS PAGE STYLES
   ============================================================ */
.pro-hero { 
    background: linear-gradient(rgba(15, 23, 42, 0.65), rgba(15, 23, 42, 0.65)), url('lake.jpg'); 
    background-size: cover; 
    background-position: center 42%; 
    min-height: 380px; 
    display: flex; 
    flex-direction: column; 
    justify-content: flex-end; 
    padding-bottom: 30px; 
    position: relative; 
    z-index: 10;
}

.hero-top-nav {
    position: absolute; 
    top: 30px; 
    left: 0; 
    right: 0;
    padding: 0 48px; 
    display: flex; 
    justify-content: space-between;
    align-items: center; 
    z-index: 100;
    pointer-events: none;
}

.hero-top-nav > * {
    pointer-events: auto;
}

.brand-glow { 
    transition: all 0.4s ease; 
    cursor: pointer; 
    color: var(--color-text-white); 
    letter-spacing: 0.05em; 
}

.brand-glow:hover { 
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.8)) drop-shadow(0 0 8px rgba(249, 115, 22, 0.6)); 
    transform: scale(1.02); 
}

.nav-glow { 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
}

.nav-glow:hover { 
    border-color: var(--color-border-orange); 
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.4), 0 0 15px rgba(249, 115, 22, 0.3); 
    transform: translateY(-2px) scale(1.02); 
    background: rgba(255, 255, 255, 0.15); 
}

.county-trigger { 
    transition: all 0.4s; 
    display: inline-block; 
    cursor: pointer; 
}

.county-trigger:hover { 
    transform: scale(1.1) translateY(-2px); 
    color: var(--color-accent-light) !important; 
    filter: drop-shadow(0 0 6px rgba(249, 115, 22, 0.6));
}

.custom-select-wrapper { 
    position: relative; 
    display: inline-block; 
    z-index: 600; 
}

.custom-options { 
    position: absolute; 
    top: 110%; 
    right: 0; 
    width: 320px; 
    background: var(--color-bg-overlay); 
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15); 
    border-radius: 2.5rem;
    margin-top: 5px; 
    padding: 15px; 
    display: none; 
    box-shadow: 0 25px 50px -12px var(--shadow-dark);
    max-height: 400px; 
    overflow-y: auto; 
    scrollbar-width: none; 
    -ms-overflow-style: none;
}

.custom-options::-webkit-scrollbar { 
    display: none !important; 
}

.custom-options.open { 
    display: block; 
}

.custom-option { 
    padding: 10px 24px; 
    color: var(--color-text-white); 
    cursor: pointer; 
    font-weight: 900; 
    font-style: italic; 
    text-transform: uppercase; 
    transition: all 0.2s; 
    border-radius: 1.2rem; 
    text-align: right; 
    font-size: 1.3rem; 
}

.category-wrapper { 
    position: relative; 
    width: 100%; 
    z-index: 50; 
    margin-top: 20px; 
    padding-top: 20px; 
}

.hover-zone { 
    position: absolute; 
    top: 0; 
    bottom: 0; 
    width: 80px; 
    z-index: 100; 
    cursor: pointer; 
}

.zone-left { 
    left: 0; 
}

.zone-right { 
    right: 0; 
}

.glass-container { 
    background: var(--color-bg-card-light); 
    backdrop-filter: blur(20px); 
    border: 1.5px solid var(--color-border); 
    box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.1), inset 0 2px 12px rgba(0,0,0,0.5);
    border-radius: 9999px; 
    display: flex; 
    flex-wrap: nowrap; 
    overflow-x: auto; 
    padding: 8px; 
    position: relative; 
    z-index: 50; 
    scroll-behavior: smooth; 
    scrollbar-width: none; 
    -ms-overflow-style: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-container:hover { 
    border-color: var(--color-border-orange); 
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.4), 0 0 20px rgba(249, 115, 22, 0.3), inset 0 2px 12px rgba(0,0,0,0.5); 
}

.glass-container::-webkit-scrollbar { 
    display: none; 
}

.ind-btn { 
    flex: 0 0 auto; 
    transition: all 0.3s ease; 
    border-radius: 9999px; 
    padding: 10px 28px; 
    display: block; 
    text-align: center; 
    cursor: pointer; 
    color: var(--color-text-white); 
    font-weight: 900; 
    font-size: 10px; 
    letter-spacing: 0.1em; 
    opacity: 0.8; 
    white-space: nowrap; 
    max-width: 220px; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}

.ind-btn:hover { 
    opacity: 1; 
}

.active-chip { 
    background-color: var(--color-primary) !important; 
    color: var(--color-text-white) !important; 
    opacity: 1 !important; 
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.5); 
    transform: scale(1.02); 
}

.pro-card { 
    background: var(--color-bg-card-light); 
    border: 2px solid var(--color-border); 
    backdrop-filter: blur(20px); 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    box-shadow: 0 15px 40px -10px var(--shadow-dark), inset 0 1px 0 rgba(255, 255, 255, 0.05); 
    cursor: default;
    position: relative;
    overflow: hidden;
}

.pro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), rgba(249, 115, 22, 0.4), rgba(59, 130, 246, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.pro-card:hover { 
    transform: translateY(-8px) scale(1.02); 
    border-color: var(--color-border-orange); 
    box-shadow: 0 25px 60px -10px rgba(59, 130, 246, 0.4), 0 0 30px rgba(249, 115, 22, 0.3), 0 0 50px rgba(59, 130, 246, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1); 
}

.pro-card:hover::before {
    opacity: 1;
}

.investor-chip { 
    font-size: 9px; 
    font-weight: 800; 
    text-transform: uppercase; 
    padding: 6px 14px; 
    border-radius: 8px; 
    font-style: normal; 
    background: var(--color-bg-card-light); 
    border: 1px solid var(--color-border);
    color: var(--color-primary-lighter); 
    letter-spacing: 0.08em; 
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.investor-chip:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(249, 115, 22, 0.15));
    border-color: var(--color-border-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2);
}

.charter-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-text-white);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px var(--shadow-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 8px;
}

.sidebar-bid-card { 
    position: sticky; 
    top: 40px; 
    background: var(--color-bg-card); 
    color: var(--color-text-white); 
    border-radius: 3rem; 
    padding: 35px; 
    box-shadow: 0 25px 50px -12px var(--shadow-dark); 
    border: 1px solid rgba(255,255,255,0.05); 
}

.drawer-item { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 12px 0; 
    border-bottom: 1px solid rgba(255,255,255,0.05); 
}

.modal-overlay { 
    position: fixed; 
    inset: 0; 
    background: rgba(2, 6, 23, 0.85); 
    backdrop-filter: blur(8px); 
    z-index: 5000; 
    display: none; 
    align-items: center; 
    justify-content: center; 
}

.modal-box { 
    background: var(--color-bg-overlay); 
    backdrop-filter: blur(20px); 
    width: 95%; 
    max-width: 600px; 
    border-radius: 3.5rem; 
    padding: 50px; 
    text-align: center; 
    color: var(--color-text-primary); 
    border: 1px solid var(--color-border); 
    box-shadow: 0 0 40px var(--shadow-primary), 0 0 20px var(--shadow-accent), inset 0 0 15px rgba(59, 130, 246, 0.1); 
}

.modal-input { 
    background: rgba(15, 23, 42, 0.6); 
    border: 1px solid var(--color-border); 
    border-radius: 1.2rem; 
    padding: 18px; 
    width: 100%; 
    font-size: 11px; 
    font-weight: bold; 
    margin-bottom: 12px; 
    text-transform: uppercase; 
    color: var(--color-text-primary); 
}

.modal-input:focus { 
    outline: none; 
    border-color: var(--color-border-orange); 
    box-shadow: 0 0 20px var(--shadow-primary), 0 0 10px var(--shadow-accent); 
}

.modal-input::placeholder { 
    color: var(--color-text-placeholder); 
}

.pro-thumb { 
    width: 100%; 
    max-height: 200px; 
    object-fit: contain; 
    object-position: center;
    transition: all 0.4s ease;
}

.reviews-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 16px 0;
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.reviews-preview:hover {
    background: var(--color-bg-card-light);
    border-color: var(--color-border-orange);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.2);
}

.reviews-preview-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================================
   COMPANY PROFILE PAGE STYLES
   ============================================================ */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(2, 6, 23, 0.98) 100%),
                url('lake.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 140px 0 100px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 14, 39, 0.5) 0%, rgba(10, 14, 39, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.back-btn {
    position: absolute;
    top: 32px;
    right: 32px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-white);
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--color-accent);
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.4);
    transform: translateX(-4px);
}

.company-avatar {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    font-weight: 900;
    color: #1f2937;
    box-shadow: 0 25px 80px var(--shadow-dark), 0 0 40px var(--shadow-primary);
    margin-bottom: 28px;
    border: 3px solid var(--color-border);
    transition: transform 0.3s ease;
}

.company-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5), 0 0 60px rgba(59, 130, 246, 0.4), 0 0 30px rgba(249, 115, 22, 0.3);
    border-color: var(--color-border-orange);
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-text-white);
    padding: 8px 20px;
    border-radius: 24px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.action-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-bg-overlay);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--color-border);
    border-top: 1px solid var(--color-border-mixed);
    padding: 24px 0;
    box-shadow: 0 4px 30px var(--shadow-dark), 0 0 20px rgba(249, 115, 22, 0.1);
}

.action-btn {
    flex: 1;
    padding: 18px 36px;
    border-radius: 16px;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-text-white);
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.4), 0 0 15px rgba(249, 115, 22, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, #1e3a8a 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.5), 0 0 25px rgba(249, 115, 22, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-secondary {
    background: var(--color-bg-card-light);
    color: var(--color-text-white);
    border: 2px solid var(--color-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--color-bg-overlay);
    border-color: var(--color-border-orange);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--shadow-primary), 0 0 15px var(--shadow-accent);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-header {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 56px;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, var(--color-primary-lighter) 25%, var(--color-accent-light) 50%, var(--color-primary-lighter) 75%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 20px;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-primary), var(--color-accent), var(--color-primary), transparent);
    border-radius: 2px;
}

.card {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow-dark), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--color-border-orange);
    box-shadow: 0 25px 80px var(--shadow-dark), 0 0 40px var(--shadow-primary), 0 0 25px var(--shadow-accent), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: 'Outfit', sans-serif;
}

.card-subtitle {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-accent-light);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 18px;
    font-family: 'Outfit', sans-serif;
}

.card-content {
    color: #e2e8f0;
    line-height: 1.8;
    font-size: 15px;
    font-weight: 400;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--color-border);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px var(--shadow-dark);
    background: var(--color-bg-card);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item:hover {
    border-color: var(--color-border-orange);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.2), 0 0 15px rgba(249, 115, 22, 0.2);
}

.gallery-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 6000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gallery-modal.active {
    display: flex;
}

.gallery-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px var(--shadow-dark);
}

.gallery-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: var(--color-bg-overlay);
    border: 2px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text-white);
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.gallery-modal-close:hover {
    background: rgba(239, 68, 68, 0.9);
    border-color: rgba(239, 68, 68, 0.8);
    transform: scale(1.1);
}

.gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--color-bg-overlay);
    border: 2px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text-white);
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.gallery-modal-nav:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(249, 115, 22, 0.7));
    border-color: var(--color-border-orange);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.4);
}

.gallery-modal-nav.prev {
    left: 20px;
}

.gallery-modal-nav.next {
    right: 20px;
}

.gallery-modal-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.gallery-modal-nav:disabled:hover {
    transform: translateY(-50%);
    background: var(--color-bg-overlay);
    border-color: var(--color-border);
}

.gallery-modal-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-bg-overlay);
    border: 2px solid var(--color-border);
    border-radius: 20px;
    padding: 8px 16px;
    color: var(--color-text-white);
    font-size: 14px;
    font-weight: 600;
}

.hero-reviews {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.hero-reviews-stars {
    display: flex;
    gap: 2px;
    align-items: center;
}

.hero-reviews .star {
    color: #fbbf24;
    font-size: 12px;
}

.hero-reviews .star.empty {
    color: #475569;
}

.hero-reviews-rating {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-white);
    margin: 0 4px;
}

.hero-reviews-count {
    font-size: 11px;
    color: var(--color-text-muted);
}

.hero-reviews-callout {
    font-size: 11px;
    color: var(--color-text-muted);
    font-style: italic;
    cursor: pointer;
    transition: color 0.3s;
}

.hero-reviews-callout:hover {
    color: var(--color-accent-light);
    text-shadow: 0 0 8px rgba(249, 115, 22, 0.5);
}

.service-tag {
    display: inline-block;
    background: var(--color-bg-card-light);
    backdrop-filter: blur(10px);
    color: var(--color-accent-light);
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    margin: 6px;
    border: 1px solid var(--color-border);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-dark);
}

.service-tag:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(249, 115, 22, 0.15));
    border-color: var(--color-border-orange);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3), 0 0 15px rgba(249, 115, 22, 0.2);
}

footer {
    background: var(--color-bg-card);
    border-top: 1px solid var(--color-border-light);
    padding: 40px 0;
    margin-top: 80px;
}

.rating-star {
    cursor: pointer;
    transition: all 0.2s ease;
}

.rating-star:hover {
    transform: scale(1.2);
}

textarea.modal-input {
    text-transform: none;
    resize: vertical;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* ============================================================
   ADMIN PAGE STYLES
   ============================================================ */
.admin-bg,
body.admin-login {
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 1)), url('../lake.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    color: var(--color-text-primary);
}

/* ============================================================
   RESPONSIVE STYLES
   ============================================================ */
@media (max-width: 1024px) {
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }

    .section-header {
        font-size: 32px;
    }
    
    .hero-top-nav { 
        display: none !important; 
    }
    
    .pro-hero { 
        min-height: auto; 
        padding-top: 40px; 
        padding-bottom: 20px; 
        justify-content: flex-start; 
    }
    
    #pageHeading { 
        font-size: 2rem !important; 
        text-align: center; 
        width: 100%; 
    }
    
    .max-w-7xl.mx-auto.px-12.w-full { 
        flex-direction: column !important; 
        align-items: center !important; 
        padding: 0 !important; 
    }
    
    .county-trigger { 
        font-size: 1.8rem !important; 
    }
    
    .custom-options { 
        left: 50%; 
        transform: translateX(-50%); 
        width: 280px; 
    }
    
    .hover-zone { 
        display: none !important; 
    }
    
    .glass-container { 
        border-radius: 20px; 
        -webkit-overflow-scrolling: touch; 
        padding: 10px 5px; 
    }
    
    .ind-btn { 
        padding: 10px 20px; 
        font-size: 9px; 
    }
    
    #resultsGrid { 
        grid-template-columns: 1fr !important; 
        padding: 10px; 
    }

    #bidDrawerList.mobile-expanded {
        display: block !important;
        max-height: 200px;
        overflow-y: auto;
        margin-bottom: 15px;
    }

    .sidebar-bid-card { 
        position: fixed; 
        bottom: 0; 
        left: 0; 
        right: 0; 
        top: auto;
        border-radius: 2rem 2rem 0 0; 
        padding: 15px 20px; 
        z-index: 2000; 
        border-top: 2px solid var(--color-accent);
        box-shadow: 0 -10px 40px rgba(0,0,0,0.6), 0 0 20px rgba(249, 115, 22, 0.2);
    }
    
    #mobileCountToggle { 
        cursor: pointer; 
        display: flex; 
        align-items: center; 
        justify-content: center; 
        gap: 8px; 
    }
    
    #mobileCountToggle::after { 
        content: '↑'; 
        font-size: 10px; 
        color: var(--color-accent-light); 
        transition: transform 0.3s; 
    }
    
    #mobileCountToggle.open::after { 
        transform: rotate(180deg); 
    }

    .sidebar-bid-card h3 { 
        font-size: 1rem; 
        margin-bottom: 12px; 
        text-align: center; 
    }
    
    .mobile-btn-row { 
        display: flex; 
        gap: 10px; 
    }
    
    #bidDrawerList { 
        display: none; 
        transition: all 0.4s ease; 
    }
    
    main { 
        margin-bottom: 160px; 
    }

    footer .max-w-7xl { 
        flex-direction: column !important; 
        align-items: center !important; 
        gap: 12px !important; 
        padding: 20px 0 !important; 
    }
    
    footer .flex.items-center.gap-6 { 
        flex-direction: row !important; 
        justify-content: center !important; 
        gap: 10px !important; 
        width: 100% !important; 
    }
    
    footer .text-xl { 
        font-size: 13px !important; 
    }
    
    footer p { 
        font-size: 9px !important; 
    }
    
    footer .h-3 { 
        display: none !important; 
    }
    
    footer .flex.items-center.gap-8 { 
        flex-direction: row !important; 
        justify-content: center !important; 
        gap: 12px !important; 
        width: 100% !important; 
        margin-top: 5px !important; 
    }
    
    footer a { 
        font-size: 9px !important; 
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
    
    .hero {
        padding: 90px 0 50px;
        min-height: 55vh;
    }

    .company-avatar {
        width: 100px;
        height: 100px;
        font-size: 40px;
        margin-bottom: 20px;
    }

    .back-btn {
        top: 20px;
        right: 20px;
        padding: 8px 16px;
        font-size: 10px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }

    .section-header {
        font-size: 32px;
        margin-bottom: 32px;
    }

    .card {
        padding: 28px;
    }

    #proNameTitle {
        font-size: 2.5rem;
    }

    .action-btn {
        padding: 14px 24px;
        font-size: 11px;
    }

    .grid-2 {
        gap: 20px;
    }

    .action-bar {
        position: fixed;
        bottom: 0;
        top: auto;
        border-top: 1px solid var(--color-border-light);
        border-bottom: none;
        border-radius: 20px 20px 0 0;
    }

    main {
        padding-bottom: 100px;
    }
    
    body, html { 
        overflow: auto; 
    }
    
    .hero-bg { 
        min-height: auto; 
        padding: 60px 20px; 
    }
    
    .search-container { 
        border-radius: 2rem; 
    }
    
    .dropdown-options { 
        width: 280px; 
        left: 50%; 
        transform: translateX(-50%); 
    }
    
    .gallery-modal-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .gallery-modal-nav.prev {
        left: 10px;
    }

    .gallery-modal-nav.next {
        right: 10px;
    }

    .gallery-modal-close {
        width: 40px;
        height: 40px;
        font-size: 20px;
        top: 10px;
        right: 10px;
    }
}
