/* 
   London Vehicle Wrapping - Main Stylesheet
   Colors based on logo:
   - Primary Red: #d14836 (Terracotta red from logo)
   - Secondary Beige: #e6d5b8 (Cream/beige from logo)
   - Dark Gray: #333333 (For text and contrast)
   - Light Gray: #f5f5f5 (For backgrounds)
   - White: #ffffff (For backgrounds and text contrast)
*/

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

html {
    scroll-behavior: smooth; /* Enable smooth scrolling */
    font-size: 16px;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: #d14836;
    transition: all 0.3s ease;
}

a:hover {
    color: #b33d2e;
}

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

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #d14836;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

section {
    padding: 5rem 0;
}

/* Buttons and CTAs */
.cta-button {
    display: inline-block;
    background-color: #d14836;
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid #d14836;
}

.cta-button:hover {
    background-color: transparent;
    color: #d14836;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(209, 72, 54, 0.2);
}

.cta-small {
    background-color: #d14836;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-small:hover {
    background-color: #b33d2e;
    color: #ffffff;
}

/* Header and Navigation */
header {
    position: relative;
    background-color: #333333;
    color: #ffffff;
    height: 100vh;
    min-height: 600px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0.8);
}

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

.logo {
    width: 150px;
}

.logo img {
    width: 100%;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-link {
    color: #ffffff;
    margin-left: 2rem;
    font-weight: 500;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #d14836;
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    height: 100%;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #e6d5b8;
}

/* About Section */
.about-section {
    background-color: #f5f5f5;
}

.about-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-content h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.features {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.feature {
    flex: 1;
    min-width: 250px;
    padding: 2rem;
    margin: 1rem;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature i {
    font-size: 2.5rem;
    color: #d14836;
    margin-bottom: 1rem;
}

.feature h3 {
    margin-bottom: 1rem;
    color: #333333;
}

.feature p {
    color: #666666;
    margin-bottom: 0;
}

/* Services Section */
.services-section {
    text-align: center;
}

.services-section h2:after {
    left: 50%;
    transform: translateX(-50%);
}

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

.service-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: #333333;
}

.service-card p {
    padding: 0 1.5rem 1.5rem;
    color: #666666;
    margin-bottom: 0;
}

/* Gallery Section */
.gallery-section {
    background-color: #f5f5f5;
    text-align: center;
}

.gallery-section h2:after {
    left: 50%;
    transform: translateX(-50%);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Testimonials Section */
.testimonials-section {
    text-align: center;
    background-color: #ffffff;
}

.testimonials-section h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.testimonials-slider {
    margin-top: 3rem;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.testimonial {
    flex: 0 0 100%;
    scroll-snap-align: start;
    padding: 0 1rem;
}

.testimonial-content {
    background-color: #f5f5f5;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-content:before {
    content: '\201C';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 4rem;
    color: #d14836;
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.client-info h4 {
    color: #d14836;
    margin-bottom: 0.25rem;
}

.client-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #666666;
}

/* Contact Section */
.contact-section {
    background-color: #f5f5f5;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-text {
    flex: 1;
    min-width: 300px;
}

.contact-form-container {
    flex: 1;
    min-width: 300px;
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info {
    margin-top: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.info-item i {
    color: #d14836;
    font-size: 1.25rem;
    margin-right: 1rem;
    width: 20px;
    text-align: center;
}

.info-item p {
    margin-bottom: 0;
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    color: #333333;
    text-align: center;
}

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

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

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #d14836;
}

.submit-button {
    width: 100%;
    background-color: #d14836;
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-button:hover {
    background-color: #b33d2e;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(209, 72, 54, 0.2);
}

/* CTA Section */
.cta-section {
    background-color: #d14836;
    color: #ffffff;
    text-align: center;
    padding: 4rem 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: #ffffff;
}

.cta-content h2:after {
    background-color: #ffffff;
    left: 50%;
    transform: translateX(-50%);
}

.cta-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-section .cta-button {
    background-color: #ffffff;
    color: #d14836;
    border-color: #ffffff;
}

.cta-section .cta-button:hover {
    background-color: transparent;
    color: #ffffff;
}

/* Footer */
footer {
    background-color: #333333;
    color: #ffffff;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

.footer-links, .footer-services, .footer-areas {
    flex: 1;
    min-width: 200px;
}

.footer-links h4, .footer-services h4, .footer-areas h4 {
    color: #e6d5b8;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h4:after, .footer-services h4:after, .footer-areas h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #d14836;
}

.footer-links a, .footer-services a {
    display: block;
    color: #cccccc;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.footer-links a:hover, .footer-services a:hover {
    color: #d14836;
    padding-left: 5px;
}

.footer-areas p {
    color: #cccccc;
    line-height: 1.8;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0;
    color: #999999;
}

.social-links a {
    display: inline-block;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #d14836;
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .features {
        justify-content: center;
    }
    
    .feature {
        flex: 0 0 calc(50% - 2rem);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.9);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-link {
        margin: 1.5rem 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .feature {
        flex: 0 0 100%;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        margin: 0 auto 2rem;
    }
    
    .footer-links h4:after, .footer-services h4:after, .footer-areas h4:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #d14836;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b33d2e;
}
