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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #000;
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

/* Parallax Styling */
.parallax-bg {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 20px; /* Added padding for mobile breathing room */
}

/* Desktop Parallax Effect (Only works on screens wider than 1024px) */
@media (min-width: 1024px) {
    .parallax-bg {
        background-attachment: fixed;
    }
}

/* Background Images */
.section-1, .section-2, .section-3 {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                        url('assets/Bells.jpeg');
}

/* Content Container */
.content-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s ease-out;
}

.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Typography - Responsive Scaling */
h2 {
    font-size: clamp(1.8rem, 5vw, 3rem); /* Automatically scales between mobile/desktop */
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

p {
    font-size: clamp(1rem, 2vw, 1.8rem); /* Automatically scales */
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
}

/* Image Handling */
.hero-image {
    max-width: 80%; /* Larger on mobile to be visible */
    height: auto;
    margin-bottom: 30px;
    border-radius: 8px;
}

/* Dealer Badge */
.dealer-badge {
    display: flex;
    align-items: center;      
    justify-content: center; 
    margin: 20px auto; 
    gap: 15px;
}

.dealer-logo {
    height: 80px; /* Smaller for mobile */
    width: auto;         
}

.dealer-badge span {
    font-size: clamp(1rem, 3vw, 2rem); /* Scales down so it doesn't break the layout */
    font-weight: 300;       
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
}

/* Footer */
footer {
    background-color: #000;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

footer p {
    font-size: 0.9rem;
    color: #888;    
    text-shadow: none;
    margin-bottom: 0;
}

/* Specific Mobile Adjustments */
@media (max-width: 600px) {
    .hero-image {
        max-width: 90%;
    }
    .parallax-bg {
        padding: 40px 15px;
    }
}
