/* Base Styles */
:root {
    --primary-color: #5dcfb1; /* Teal/mint green from logo */
    --primary-light: #a7e9d9;
    --primary-dark: #3a9c83;
    --secondary-color: #fffbcc; /* Light yellow from logo */
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-medium: #666666;
    --background-light: #f8f9fa;
    --background-medium: #eaeaea;
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}
a {
    text-decoration: none;
    color: var(--primary-dark);
}

/* Only apply transition if user hasn't requested reduced motion */
@media (prefers-reduced-motion: no-preference) {
    a {
        transition: color 0.3s ease;
    }
}

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

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-medium);
}

/* Navigation */
.main-nav {
    background-color: white;
    box-shadow: 0 2px 10px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.5rem 2rem;
}

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

.nav-logo {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: 0;
    left: 0;
}

@media (prefers-reduced-motion: no-preference) {
    .nav-link:after {
        transition: width 0.3s ease;
    }
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
}

@media (prefers-reduced-motion: no-preference) {
    .mobile-menu-toggle span {
        transition: transform 0.3s ease;
    }
}

/* Hero Slider */
.hero-slider {
    height: 70vh;
    min-height: 450px;
    max-height: 700px;
    position: relative;
    overflow: hidden;
}

.slider-container {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
    .slide {
        transition: opacity 0.8s ease;
    }
}

.slide.active {
    opacity: 1;
}

.slide-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 5rem;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 10;
}

.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--text-medium);
}

.slide-image {
    flex: 1.5;
    background-size: cover;
    background-position: center;
    position: relative;

}

.slide-image:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Reduce the opacity of the gradient and make it more subtle */
    background: linear-gradient(90deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 50%);
}

.slider-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 20;
}

.slider-arrow {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (prefers-reduced-motion: no-preference) {
    .slider-arrow {
        transition: background-color 0.3s ease;
    }
}

.slider-arrow:hover {
    background-color: var(--primary-dark);
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

@media (prefers-reduced-motion: no-preference) {
    .dot {
        transition: background-color 0.3s ease;
    }
}

.dot.active {
    background-color: var(--primary-color);
}

/* Quote Request Section */
.quote-request-section {
    background-color: white;
    padding: 4rem 0;
}

.quote-request-section .section-container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.quote-request-section .section-content {
    flex: 1;
}

.quote-request-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.quote-steps {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
}

.step {
    flex: 1;
    text-align: center;
    padding: 1.5rem;
    background-color: var(--background-light);
    border-radius: 8px;
}

@media (prefers-reduced-motion: no-preference) {
    .step {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .step:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 20px var(--shadow-color);
    }
}

.step-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.step-icon i {
    font-size: 2rem;
    color: var(--primary-dark);
}

.step h3 {
    margin-bottom: 0.5rem;
}

.quote-request-section .section-image {
    flex: 1;
}

.quote-request-section .section-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px var(--shadow-color);
}

/* Services Highlight */
.services-highlight {
    background-color: var(--background-light);
    padding: 4rem 0;
    position: relative;
}

.services-highlight:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/blueprint-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 10px var(--shadow-color);
}

@media (prefers-reduced-motion: no-preference) {
    .service-card {
        transition: transform 0.3s ease;
    }

    .service-card:hover {
        transform: translateY(-10px);
    }
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 100%;
    height: auto;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.learn-more {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
    position: relative;
}

.learn-more:after {
    content: '→';
    margin-left: 5px;
}

@media (prefers-reduced-motion: no-preference) {
    .learn-more:after {
        transition: margin-left 0.3s ease;
    }

    .learn-more:hover:after {
        margin-left: 10px;
    }
}

.services-cta {
    text-align: center;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

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

.about-section .section-container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-section .section-image {
    flex: 1;
}

.about-section .section-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.about-section .section-content {
    flex: 1.5;
}

.about-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.about-section h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: var(--primary-dark);
}



/* FAQ Preview */
.faq-preview {
    background-color: var(--background-light);
    padding: 4rem 0;
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px var(--shadow-color);
}

.faq-item h3 {
    color: var(--primary-dark);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.faq-cta {
    text-align: center;
    margin-top: 2rem;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Footer */
.main-footer {
    background-color: #333;
    color: var(--text-light);
    padding-top: 3rem;
}

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

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.footer-logo {
    margin-top: 1.5rem;
}

.footer-logo img {
    height: 80px;
    width: auto;
}

.footer-links, .contact-info, .operation-hours {
    list-style-type: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #ccc;
}

@media (prefers-reduced-motion: no-preference) {
    .footer-links a {
        transition: color 0.3s ease;
    }
}

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

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.contact-info i {
    margin-right: 0.75rem;
    color: var(--primary-color);
}

.contact-info a {
    color: #ccc;
}

.operation-hours li {
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
}

.operation-hours span {
    font-weight: 600;
}

.footer-bottom {
    background-color: #222;
    text-align: center;
    padding: 1.5rem 1rem;
    margin-top: 3rem;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

@media (prefers-reduced-motion: no-preference) {
    .cta-button {
        transition: background-color 0.3s ease, transform 0.3s ease;
    }

    .cta-button:hover {
        background-color: var(--primary-dark);
        transform: translateY(-3px);
    }
}

.cta-button:hover {
    color: white;
}

.secondary-button {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    cursor: pointer;
}

@media (prefers-reduced-motion: no-preference) {
    .secondary-button {
        transition: background-color 0.3s ease, transform 0.3s ease;
    }

    .secondary-button:hover {
        transform: translateY(-3px);
    }
}

.secondary-button:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    .quote-steps {
        flex-wrap: wrap;
    }
    
    .step {
        flex: 0 0 calc(50% - 0.75rem);
    }
    
    .about-section .section-container,
    .quote-request-section .section-container {
        flex-direction: column;
    }
    
    .about-stats {
        justify-content: space-around;
    }
}

@media screen and (max-width: 768px) {
.poster-cards {
        flex-direction: column;
        align-items: center;
    }

    .poster-card {
        max-width: 100%;
        width: 100%;
    }
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-slider {
        height: auto;
    }
    
    .slide {
        flex-direction: column;
        position: relative;
        opacity: 1;
    }
    
    .slide-content {
        padding: 2rem;
    }
    
    .slide-content h1 {
        font-size: 2.2rem;
    }
    
    .slide-image {
        height: 300px;
    }
    
    .slide-image:before {
        background: linear-gradient(0deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 50%);
    }
    
    .step {
        flex: 0 0 100%;
    }
    
    .service-cards {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

/* Animation Classes - Only apply if user hasn't requested reduced motion */
@media (prefers-reduced-motion: no-preference) {
    .fade-in {
        animation: fadeIn 1s ease-in-out;
    }

    .slide-in-left {
        animation: slideInLeft 1s ease-in-out;
    }

    .slide-in-right {
        animation: slideInRight 1s ease-in-out;
    }

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

    @keyframes slideInLeft {
        from { 
            opacity: 0;
            transform: translateX(-50px);
        }
        to { 
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes slideInRight {
        from { 
            opacity: 0;
            transform: translateX(50px);
        }
        to { 
            opacity: 1;
            transform: translateX(0);
        }
    }
}


/* Poster Gallery */
.poster-gallery {
    background-color: var(--background-light);
    padding: 4rem 0;
}

.poster-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
}

.poster-card {
    flex: 1;
    max-width: 350px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow-color);
    cursor: pointer;
}

.poster-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.poster-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 2rem 1.5rem 1.5rem;
    color: white;
}

.poster-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    color: white;
}

.poster-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
    color: white;
}

@media (prefers-reduced-motion: no-preference) {
    .poster-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .poster-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.2);
    }
}

/* Poster Lightbox */
.poster-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.poster-lightbox.active {
    display: flex;
}

.poster-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    cursor: default;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    z-index: 10000;
}

.lightbox-close:hover {
    color: var(--primary-color);
}
@media screen and (max-width: 768px) {
    .poster-cards {
        flex-direction: column;
        align-items: center;
    }
    .poster-card {
        max-width: 100%;
        width: 100%;
    }
}
