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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #314455;
    background-color: #ffffff;
}

/* Add padding when global banner is visible */
body.has-global-banner {
    padding-top: 60px;
}

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

/* Header Styles */
header {
    background: #d8e0e8;
    color: #1a1a1a;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e5e5e5;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    background: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-menu a {
    color: #314455;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    font-size: 1rem;
    position: relative;
}

.nav-menu a:hover {
    color: #666666;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #314455;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #314455;
    letter-spacing: -0.02em;
}

.logo .tagline {
    font-size: 0.9rem;
    color: #666666;
    margin-top: 0.2rem;
    font-weight: 400;
}

.contact-info {
    text-align: right;
}

.contact-info .phone {
    font-size: 1rem;
    font-weight: 500;
    color: #666666;
}

.contact-info .hours {
    font-size: 0.85rem;
    color: #666666;
    margin-top: 0.2rem;
    font-weight: 400;
}

.contact-info .areas {
    font-size: 0.85rem;
    color: #666666;
    margin-top: 0.2rem;
    font-weight: 400;
}

/* Hero Section */
.hero {
    background-image: url('../images/amps/IMG_8155.jpeg');
    background-size: 30% auto;
    background-position: center 930%;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    padding: 8rem 0;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}







.hero .container {
    position: relative;
    z-index: 10;
}



.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 8px rgba(0,0,0,0.5);
    position: relative;
    z-index: 3;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
    position: relative;
    z-index: 3;
}

.cta-button {
    display: inline-block;
    background: #f5f5f5 !important;
    color: #1a1a1a;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1rem;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}



.cta-button:hover {
    background: #e8e8e8 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
}

/* Page Header */
.page-header {
    background: #d8e0e8;
    color: #314455;
    text-align: center;
    padding: 4rem 0;
    margin-bottom: 4rem;
}

/* Alternating Section Backgrounds */
.section-alt-bg {
    background: #d8e0e8 !important;
    color: #314455;
    padding: 4rem 0;
    margin-bottom: 4rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #314455;
    position: relative;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #314455;
}

/* Services Section */
.services {
    padding: 4rem 0;
    background: white;
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-card .content {
    padding: 1.5rem;
}

.service-card h3 {
    color: #314455;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
    margin-top: 1rem;
}

.service-list li {
    padding: 0.3rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* Service Areas */
.service-areas {
    background: #d8e0e8;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 4rem;
    color: #314455;
}

.service-areas .section-title {
    color: #314455;
}

.service-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #314455;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.area-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.area-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.area-item h4 {
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

/* Gallery Navigation */
.gallery-nav {
    padding: 3rem 0;
    background: white;
    margin-bottom: 3rem;
}

.gallery-menu {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.gallery-btn {
    background: #314455;
    border: 2px solid #314455;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.gallery-btn:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: white;
}

.gallery-btn.active {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1);
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    display: none;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.lightbox img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 0, 0, 0.8);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    font-size: 1.5rem;
    padding: 1rem 0.8rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.9);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-caption {
    color: white;
    margin-top: 1rem;
    font-size: 1.1rem;
    text-align: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: #314455;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    border: 1px solid #e5e5e5;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: white;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #314455;
    box-shadow: 0 0 0 3px rgba(49, 68, 85, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.submit-btn {
    background: #1a1a1a;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #333333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Form Validation Styling */
.validation-message {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    min-height: 1.2rem;
    transition: all 0.3s ease;
    color: #ffffff;
}

.validation-message.error {
    color: #ff6b6b;
    font-weight: 500;
}

.form-group input.invalid,
.form-group textarea.invalid,
.form-group select.invalid {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.2);
}

.form-group input.invalid:focus,
.form-group textarea.invalid:focus,
.form-group select.invalid:focus {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.3);
}

/* Global Message Banner */
#global-message-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    animation: slideDown 0.5s ease-out;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#global-message-banner.success {
    background: #d4edda;
    color: #155724;
    border-bottom: 3px solid #c3e6cb;
}

#global-message-banner.error {
    background: #f8d7da;
    color: #721c24;
    border-bottom: 3px solid #f5c6cb;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Success and Error Message Styles (for reference) */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 5px;
    border: 1px solid #c3e6cb;
    text-align: center;
    font-weight: 600;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 5px;
    border: 1px solid #f5c6cb;
    text-align: center;
    font-weight: 600;
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background: white;
    margin-bottom: 4rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.about-text h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.about-text p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

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

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Expertise Section */
.expertise-section {
    padding: 4rem 0;
    background: #314455;
    margin-bottom: 4rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.expertise-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-5px);
}

.expertise-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #FCE181;
}

.expertise-card h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.expertise-card p {
    color: #666;
    line-height: 1.6;
}

/* Values Section */
.values-section {
    padding: 4rem 0;
    background: white;
    margin-bottom: 4rem;
}

.values-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    text-align: center;
    padding: 1.5rem;
}

.value-item .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #9FEDD7;
}

.value-item h4 {
    color: #314455;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.value-item p {
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: #f8f9fa;
    color: #314455;
    text-align: center;
    padding: 4rem 0;
    margin-bottom: 4rem;
}

.cta-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .cta-button {
    background: #f5f5f5;
    color: #1a1a1a;
}

.cta-section .cta-button:hover {
    background: #e8e8e8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 3rem 0;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
}

.footer-section p, .footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: #cccccc;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .hero {
        padding: 5rem 0;
        background-attachment: scroll;
    }
    
    .hero h2, .page-header h1 {
        font-size: 2.5rem;
    }
    
    .hero p, .page-header p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid, .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero, .page-header {
        padding: 2rem 0;
    }
    
    .hero h2, .page-header h1 {
        font-size: 1.8rem;
    }
}
