/* ========================================
   PROPRAISAL STYLESHEET
   ======================================== */

/* ========================================
   1. CSS VARIABLES & GLOBAL SETTINGS
   ======================================== */

:root {
    /* VIDEO/GIF BACKGROUND OPACITY CONTROL
       Adjust this single value (0.0 to 1.0) to control background visibility
       0.0 = completely invisible
       0.08 = subtle background effect
       1.0 = fully visible
    */
    --video-bg-opacity: 0.9;
    
    /* VIDEO/GIF BACKGROUND ENABLE/DISABLE TOGGLES
       Set to 1 to show background, 0 to hide background
    */
    --benefits-video-enabled: 0; /* 0 = disabled, 1 = enabled */
    --case-study-video-enabled: 1; /* 0 = disabled, 1 = enabled */
    
    /* COLOR PALETTE */
    --color-primary: #3b82f6;
    --color-text-dark: #1f2937;
    --color-text-gray: #6b7280;
    --color-text-light: #4b5563;
    --color-bg-white: #ffffff;
    --color-bg-gray: #f3f4f6;
    --color-border-light: #e5e7eb;
    --color-border-gray: #d1d5db;
}

/* ========================================
   2. RESET & BASE STYLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 90px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-text-dark);
    background: var(--color-bg-white);
}

/* ========================================
   3. HEADER & NAVIGATION
   ======================================== */

header {
    background: var(--color-bg-white);
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--color-primary);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text-gray);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--color-primary);
}

/* ========================================
   4. BUTTONS
   ======================================== */

.cta-button {
    background: var(--color-primary);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
}

.primary-button {
    background: var(--color-primary);
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s;
}

.primary-button:hover {
    transform: translateY(-2px);
}

.secondary-button {
    background: transparent;
    color: var(--color-text-dark);
    padding: 1rem 2.5rem;
    border: 2px solid var(--color-text-dark);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.secondary-button:hover {
    background: var(--color-text-dark);
    color: #ffffff;
}

/* ========================================
   5. FOOTER
   ======================================== */

footer {
    background: var(--color-bg-gray);
    color: var(--color-text-gray);
    padding: 3rem 2rem;
    border-top: 2px solid var(--color-border-light);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 2rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: left;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.footer-section p {
    color: var(--color-text-gray);
    font-weight: 400;
}

.footer-section img {
    height: 50px;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--color-text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.footer-bottom {
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid var(--color-border-gray);
    color: var(--color-text-gray);
    text-align: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-bottom p {
    margin: 0;
    font-weight: 400;
    color: var(--color-text-gray);
}

/* ========================================
   6. LAYOUT CONTAINERS
   ======================================== */

.content-container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem;
}

.contact-narrow {
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   7. FORM STYLES
   ======================================== */

form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-border-gray);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
}

form textarea {
    resize: vertical;
}

form button[type="submit"] {
    background: var(--color-primary);
    color: #fff;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

form button[type="submit"]:hover {
    transform: translateY(-2px);
}

/* ========================================
   8. TYPOGRAPHY
   ======================================== */

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

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

a:hover {
    text-decoration: underline;
}

/* ========================================
   9. UTILITY CLASSES
   ======================================== */

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }

.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }

/* ========================================
   10. RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    /* Mobile header - logo only */
    nav {
        justify-content: center;
    }
    
    .logo img {
        height: 40px;
    }
    
    .nav-links {
        display: none !important;
    }
    
    nav .cta-button {
        display: none !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    /* Footer Mobile Optimization - Inline Layout */
    footer {
        padding: 1rem 0.5rem 0.75rem !important;
        background: #f9fafb !important;
        border-top: 1px solid #e5e7eb !important;
    }
    
    .footer-content {
        display: block !important;
        margin-bottom: 0.75rem !important;
        gap: 0 !important;
    }
    
    /* Hide logo section on mobile */
    .footer-section:first-child {
        display: none !important;
    }
    
    /* Product section - inline format */
    .footer-section:nth-child(2) {
        margin-bottom: 0.6rem !important;
    }
    
    .footer-section:nth-child(2) h4,
    .footer-section:nth-child(3) h4 {
        font-size: 0.9rem !important;
        font-weight: 700 !important;
        margin-bottom: 0.35rem !important;
        color: #1f2937 !important;
        letter-spacing: 0.01em !important;
    }
    
    .footer-section:nth-child(2) ul,
    .footer-section:nth-child(3) ul {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0.4rem 0.5rem !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .footer-section:nth-child(2) ul li,
    .footer-section:nth-child(3) ul li {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .footer-section:nth-child(2) ul li:not(:last-child)::after,
    .footer-section:nth-child(3) ul li:not(:last-child)::after {
        content: " •" !important;
        color: #9ca3af !important;
        margin-left: 0.5rem !important;
    }
    
    .footer-section ul li a {
        font-size: 0.8rem !important;
        line-height: 1.5 !important;
        color: #6b7280 !important;
        transition: color 0.2s ease !important;
    }
    
    .footer-section ul li a:hover {
        color: #3b82f6 !important;
    }
    
    .footer-bottom {
        padding-top: 0.75rem !important;
        border-top: 1px solid #e5e7eb !important;
    }
    
    .footer-bottom p {
        font-size: 0.7rem !important;
        color: #9ca3af !important;
        text-align: center !important;
        margin: 0 !important;
    }
}
