/* Copeland Edge Services - Single Page Layout */
/* Optimized for 1920x1080 display */

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

:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #60a5fa;
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --error-color: #ef4444;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.5;
    color: var(--text-dark);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 0;
}

.navbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-brand h1 {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* Hero Section - Compact */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    padding: 2.5rem 0 0 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    color: var(--bg-white);
}

.hero-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Memphis Skyline Graphic */
.skyline-container {
    position: relative;
    width: 100%;
    margin-top: 1rem;
    overflow: hidden;
}

.skyline-graphic {
    width: 100%;
    height: auto;
    max-height: 200px;
    display: block;
    opacity: 0.85;
}

/* Main Content - Side by Side Layout */
.main-content {
    padding: 2rem 0;
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2.5rem;
    align-items: start;
}

/* Left Column - Content */
.content-column {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.content-column h2 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

/* Services Section */
.services-section {
    margin-bottom: 2rem;
}

.service-item {
    margin-bottom: 1.25rem;
}

.service-item h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.service-item p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Certifications Section */
.certifications-section {
    margin-bottom: 2rem;
}

.cert-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cert-item {
    display: flex;
    flex-direction: column;
    padding: 0.75rem;
    background-color: var(--bg-light);
    border-radius: 6px;
    border-left: 3px solid var(--secondary-color);
}

.cert-item strong {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cert-item span {
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-top: 0.15rem;
}

/* Experience Section */
.experience-section {
    margin-bottom: 1.5rem;
}

.experience-section p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.experience-section strong {
    color: var(--text-dark);
}

/* Contact Info Section */
.contact-info-section {
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.contact-info-section p {
    color: var(--text-medium);
    font-size: 0.95rem;
}

.contact-info-section a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

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

/* Right Column - Contact Form */
.form-column {
    position: sticky;
    top: 80px;
}

.contact-form-wrapper {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
}

.contact-form-wrapper h2 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Contact Form */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.65rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.submit-button {
    width: 100%;
    padding: 0.85rem;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.submit-button:hover:not(:disabled) {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#formMessages {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
    font-size: 0.9rem;
    display: none;
}

#formMessages.success {
    display: block;
    background-color: #d1fae5;
    color: #065f46;
    border: 2px solid #6ee7b7;
}

#formMessages.error {
    display: block;
    background-color: #fee2e2;
    color: #991b1b;
    border: 2px solid #fca5a5;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 1.5rem 0;
    text-align: center;
    margin-top: 2rem;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-brand {
    font-weight: 600;
}

.footer-legal {
    opacity: 0.9;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1366px) {
    .content-layout {
        grid-template-columns: 1fr 380px;
        gap: 2rem;
    }
}

@media (max-width: 1200px) {
    .content-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-column {
        position: static;
    }
    
    .contact-form-wrapper {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .skyline-graphic {
        max-height: 150px;
    }

    .content-column,
    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-brand h1 {
        font-size: 1.2rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .skyline-graphic {
        max-height: 120px;
    }

    .skyline-container {
        margin-top: 0.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero,
    .contact-form-wrapper,
    footer {
        display: none;
    }
    
    body {
        font-size: 11pt;
    }
    
    .content-layout {
        grid-template-columns: 1fr;
    }
}
