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

:root {
    /* VacatAd Brand Colors */
    --seasalt: #F6F7F8;
    --eerie-black: #232523;
    --tea-green: #DBF4CC;
    --blue-accent: #6DCED1;
    --grey-text: #747975;
    --white: #ffffff;
    
    /* Typography */
    --font-primary: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-secondary: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --section-padding: 80px;
    --container-padding: 20px;
    --border-radius: 8px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--eerie-black);
    background-color: var(--white);
    overflow-x: hidden;
    max-width: 100%;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--eerie-black);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--grey-text);
    font-size: 1.1rem;
    line-height: 1.7;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

a {
    color: var(--blue-accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    opacity: 0.8;
}

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

/* Accessibility: visible skip link for keyboard users */
.skip-link {
    position: absolute;
    top: -40px;
    left: 8px;
    background: var(--tea-green);
    color: var(--eerie-black);
    padding: 8px 12px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.skip-link:focus {
    top: 8px;
}

/* Safari backdrop blur fallback */
.header { 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Layout Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
    box-sizing: border-box;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    color: var(--eerie-black);
    font-weight: 700;
    word-wrap: break-word;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--grey-text);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    word-wrap: break-word;
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(35, 37, 35, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(35, 37, 35, 0.1);
    transition: var(--transition);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-primary);
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--tea-green);
    background-color: rgba(219, 244, 204, 0.1);
}

.cta-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.phone-link {
    color: var(--tea-green);
    font-weight: 600;
    font-size: 0.95rem;
}

.phone-link:hover {
    color: var(--white);
}

.cta-button-nav {
    background-color: var(--tea-green);
    color: var(--eerie-black);
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    transition: var(--transition);
    border: 2px solid var(--tea-green);
}

.cta-button-nav:hover {
    background-color: transparent;
    color: var(--tea-green);
    border-color: var(--tea-green);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

/* CTA Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    text-decoration: none;
    border: 2px solid transparent;
    font-size: 0.9rem;
}

.cta-button.primary {
    background-color: var(--tea-green);
    color: var(--eerie-black);
    border-color: var(--tea-green);
}

.cta-button.primary:hover {
    background-color: var(--eerie-black);
    color: var(--tea-green);
    border-color: var(--tea-green);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(35, 37, 35, 0.4);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--eerie-black);
    border-color: var(--grey-text);
}

.cta-button.secondary:hover {
    background-color: var(--eerie-black);
    color: var(--white);
    border-color: var(--eerie-black);
    transform: translateY(-3px);
}

.phone-icon {
    font-size: 1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(219, 244, 204, 0.4), rgba(219, 244, 204, 0.5)), 
                url('../assets/images/hero-background-optimized.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 140px 0 var(--section-padding);
    text-align: center;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(219, 244, 204, 0.15), rgba(219, 244, 204, 0.2));
    z-index: 1;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: var(--eerie-black);
    font-weight: 700;
    line-height: 1.1;
    animation: fadeInUp 1s ease-out;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
}

.hero-description {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 3rem;
    color: var(--eerie-black);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.2s both;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.2);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-small-print {
    margin-top: 3rem; /* Push it lower below the buttons */
    font-size: 0.95rem;
    letter-spacing: 0.75px;
    text-transform: uppercase;
    color: var(--tea-green);
    font-weight: 700;
    background: rgba(35, 37, 35, 0.85); /* Higher contrast pill */
    display: inline-block;
    padding: 10px 22px;
    border-radius: 50px;
    box-shadow: 0 6px 18px rgba(35,37,35,0.35);
    animation: fadeInUp 1s ease-out 0.6s both;
    backdrop-filter: blur(2px);
    border: 1px solid rgba(219,244,204,0.4);
}

@media screen and (max-width: 768px) {
    .hero-small-print {
        font-size: 0.8rem;
        padding: 8px 16px;
        width: 100%;
        max-width: 360px;
        margin-top: 2.5rem; /* Slightly less spacing on mobile */
    }
}

/* Features Grid Section */
.features-grid {
    padding: var(--section-padding) 0;
    background-color: var(--white);
}

.features-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #e8e9ea;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: var(--tea-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--eerie-black);
}

.feature-icon svg {
    width: 40px;
    height: 40px;
}

.feature-title {
    color: var(--eerie-black);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-description {
    color: var(--grey-text);
    line-height: 1.6;
    font-size: 1rem;
}

/* Why VacatAd Section */
.why-vacatad {
    padding: var(--section-padding) 0;
    background-color: var(--seasalt);
}

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

.why-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    min-height: 500px;
}

.why-image picture {
    position: sticky;
    top: 100px;
    display: block;
}

.intro-text {
    font-size: 1.2rem;
    color: var(--eerie-black);
    margin-bottom: 2rem;
    font-weight: 500;
}

.benefits-list {
    list-style: none;
    margin-bottom: 2rem;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.benefit-icon {
    background-color: var(--tea-green);
    color: var(--eerie-black);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 0.8rem;
    margin-top: 2px;
}

.benefits-list strong {
    color: var(--eerie-black);
    white-space: nowrap;
    margin-right: 0.3em;
}

.why-image img {
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(35, 37, 35, 0.15);
    width: 100%;
    height: auto;
    display: block;
}

/* Ensure why-image doesn't get transform animations */
.why-image,
.why-image picture,
.why-image img {
    transform: none !important;
}

/* Process Section */
.process {
    padding: var(--section-padding) 0;
    background-color: var(--white);
}

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

.process-step {
    text-align: center;
    position: relative;
    padding: 2rem 1rem;
}

.step-number {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--tea-green);
    color: var(--eerie-black);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-icon {
    background-color: var(--seasalt);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto 1.5rem;
    color: var(--eerie-black);
}

.process-step h3 {
    color: var(--eerie-black);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.process-step p {
    color: var(--grey-text);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Client Logos Section */
.client-logos {
    background-color: var(--eerie-black);
    padding: 3rem 0;
    overflow: hidden;
}

.logos-title {
    text-align: center;
    color: var(--tea-green);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.logo-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logo-track {
    display: flex;
    align-items: center;
    animation: scroll 20s linear infinite;
    width: fit-content;
}

.logo-slide {
    flex-shrink: 0;
    padding: 0 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.client-logo:hover {
    opacity: 1;
}

.client-logo[alt="Allsop"] {
    height: 75px;
}

.client-logo[alt="Mounsey"] {
    height: 100px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media screen and (max-width: 768px) {
    .logo-slide {
        padding: 0 2rem;
    }
    
    .client-logo {
        height: 40px;
    }
    
    .client-logo[alt="Allsop"] {
        height: 60px;
    }
    
    .client-logo[alt="Mounsey"] {
        height: 80px;
    }
    
    .logos-title {
        font-size: 1.2rem;
    }
}

/* Technology Section */
.technology {
    padding: var(--section-padding) 0;
    background-color: var(--tea-green);
}

/* Process Flow Caption Section */
.process-flow {
    padding: var(--section-padding) 0;
    background-image: url('../assets/images/warehouse red beam.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    position: relative;
}

.process-flow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.process-flow .container {
    position: relative;
    z-index: 2;
}

.process-flow .section-subtitle {
    max-width: 780px;
}

.flow-cta {
    margin-top: 2.5rem;
}

.flow-cta .cta-button {
    box-shadow: 0 10px 25px rgba(219,244,204,0.3);
}

.flow-cta .cta-button:hover {
    box-shadow: 0 15px 35px rgba(219,244,204,0.4);
}

.tech-features {
    margin-top: 3rem;
}

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

.tech-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    color: var(--eerie-black);
}

.tech-bullet {
    color: var(--eerie-black);
    font-weight: 700;
    font-size: 1.2rem;
}

.tech-icon {
    background: var(--tea-green);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--eerie-black);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(35,37,35,0.15);
}

.tech-item span {
    line-height: 1.5;
}

.cta-button.contrast {
    background-color: var(--eerie-black);
    color: var(--tea-green);
    border-color: var(--eerie-black);
    box-shadow: 0 8px 24px rgba(35,37,35,0.35);
}

.cta-button.contrast:hover {
    background-color: var(--tea-green);
    color: var(--eerie-black);
    border-color: var(--tea-green);
    box-shadow: 0 12px 32px rgba(35,37,35,0.4);
}

.tech-cta {
    text-align: center;
}

/* Results Section */
.results {
    padding: var(--section-padding) 0;
    background-color: var(--seasalt);
}

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

.result-item {
    text-align: center;
    padding: 2rem 1rem;
}

.result-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--eerie-black);
    margin-bottom: 0.5rem;
    font-family: var(--font-primary);
}

.result-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--eerie-black);
    margin-bottom: 0.5rem;
}

.result-description {
    font-size: 0.9rem;
    color: var(--grey-text);
}

.testimonial {
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 3rem;
    box-shadow: 0 5px 15px rgba(35, 37, 35, 0.1);
}

.testimonial blockquote {
    font-size: 1.3rem;
    color: var(--eerie-black);
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial cite {
    color: var(--grey-text);
    font-size: 1rem;
    font-style: normal;
}

.testimonial-cta {
    margin-top: 1.5rem;
}

.testimonial-cta .cta-button.secondary {
    border-color: var(--eerie-black);
}

.testimonial-cta .cta-button.secondary:hover {
    background-color: var(--eerie-black);
    color: var(--white);
}

/* Contact Section */
.contact {
    padding: var(--section-padding) 0;
    background-color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    color: var(--eerie-black);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.contact-item {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.contact-item strong {
    color: var(--eerie-black);
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item a {
    color: var(--blue-accent);
}

.contact-item a:hover {
    color: var(--eerie-black);
}

.contact-benefits {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--seasalt);
    border-radius: var(--border-radius);
}

.contact-benefits h4 {
    color: var(--eerie-black);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-benefits ul {
    list-style: none;
}

.contact-benefits li {
    margin-bottom: 0.5rem;
    color: var(--grey-text);
    position: relative;
    padding-left: 1.5rem;
}

.contact-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--eerie-black);
    font-weight: 700;
}

.contact-form {
    background: var(--seasalt);
    padding: 2.5rem;
    border-radius: var(--border-radius);
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--eerie-black);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: var(--font-secondary);
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-accent);
    box-shadow: 0 0 0 3px rgba(109, 206, 209, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--grey-text);
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.submit-button {
    background-color: var(--tea-green);
    color: var(--eerie-black);
    padding: 15px 30px;
    border: 2px solid var(--tea-green);
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    width: 100%;
    font-family: var(--font-secondary);
}

.submit-button:hover {
    background-color: transparent;
    color: var(--eerie-black);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(219, 244, 204, 0.4);
}

.form-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--grey-text);
    text-align: center;
}

/* Footer */
.footer {
    background-color: var(--eerie-black);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 1.2rem;
}

.footer-section:last-child {
    text-align: center;
}

.footer-section p {
    color: #bdc3c7;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: var(--tea-green);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: var(--tea-green);
}

.footer-cta {
    display: inline-block;
    background-color: var(--tea-green);
    color: var(--eerie-black);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-align: center;
}

.footer-cta:hover {
    background-color: var(--white);
    color: var(--eerie-black);
    transform: translateY(-2px);
}

.footer-tagline {
    color: #bdc3c7;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* Footer social icons */
.footer-social {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
}
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #2c3e50;
    color: #ecf0f1;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform 0.15s ease, background-color 0.2s ease;
}
.social-link:hover { transform: translateY(-1px) scale(1.05); }
.social-link.x { background: #111111; }
.social-link.x:hover { background: #000000; }
.social-link.linkedin { background: #0A66C2; }
.social-link.linkedin:hover { background: #085aab; }
.social-link.facebook { background: #1877F2; }
.social-link.facebook:hover { background: #166fe0; }

/* Promo Banner Sections */
.promo-banner {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.promo-banner .container {
    position: relative;
    z-index: 2;
}

.local-banner {
    background-image: url('../assets/images/warehouse red beam.png');
}

.affiliate-banner {
    background-image: url('../assets/images/yellow-doors-banner.webp');
}

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

.banner-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-subtitle {
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.promo-banner .cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.promo-banner .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

@media screen and (max-width: 768px) {
    .promo-banner {
        padding: 3.5rem 0;
    }
    
    .banner-title {
        font-size: 1.8rem;
    }
    
    .banner-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .promo-banner .cta-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
}

/* Final CTA Section */
.final-cta {
    /* Use background image with subtle dark overlay for readability */
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url('../assets/images/footer-background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: var(--section-padding) 0;
    text-align: center;
    border-top: 1px solid #e2e5e7;
    border-bottom: 1px solid #e2e5e7;
    color: var(--white);
}

/* Removed PNG fallback as site standardizes on WebP */

.final-cta-title {
    font-size: clamp(2rem, 4vw, 2.6rem);
    margin-bottom: 1rem;
    color: var(--white);
}

.final-cta-subtitle {
    font-size: 1.15rem;
    color: var(--white);
    max-width: 680px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.final-cta-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.final-cta-buttons .cta-button.secondary {
    border-color: var(--white);
    color: var(--white);
}

.final-cta-buttons .cta-button.secondary:hover {
    background-color: var(--white);
    color: var(--eerie-black);
}

/* Improve contrast: primary button hover in dark sections (higher specificity) */
section.final-cta .cta-button.primary:hover,
section.final-cta .final-cta-buttons .cta-button.primary:hover {
    color: var(--white);
    border-color: var(--white);
    background-color: transparent;
}

/* Improve contrast: primary button hover in dark faq-hero (higher specificity) */
section.faq-hero .faq-cta .cta-button.primary:hover,
section.faq-hero .cta-button.primary:hover {
    color: var(--white);
    border-color: var(--white);
    background-color: transparent;
}

@media screen and (max-width: 768px) {
    .final-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .final-cta-buttons .cta-button {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
}

/* Legal Pages (Privacy & Terms) */
.legal-hero {
    background-color: var(--seasalt);
    padding: 140px 0 60px;
    text-align: center;
    border-bottom: 1px solid #e2e5e7;
}

.legal-title {
    font-size: clamp(2.2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    color: var(--eerie-black);
}

.legal-subtitle {
    font-size: 1rem;
    color: var(--grey-text);
    font-weight: 500;
}

.legal-content {
    padding: 60px 0 100px;
    background-color: var(--white);
}

.legal-toc {
    background: var(--seasalt);
    padding: 1.5rem 1.75rem;
    border-radius: var(--border-radius);
    margin-bottom: 2.5rem;
    border: 1px solid #e2e5e7;
}

.legal-toc h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--eerie-black);
}

.legal-toc ul {
    list-style: none;
    columns: 2;
    padding: 0;
    margin: 0;
}

.legal-toc ul li {
    margin-bottom: 0.5rem;
}

.legal-toc ul li a {
    font-size: 0.9rem;
    color: var(--blue-accent);
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--eerie-black);
}

.legal-section p, .legal-section ul li {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--grey-text);
}

.legal-section ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin-top: 0.5rem;
}

@media screen and (max-width: 768px) {
    .legal-toc ul {
        columns: 1;
    }
    .legal-hero {
        padding: 120px 0 50px;
    }
    .legal-content {
        padding: 50px 0 80px;
    }
}

/* FAQ Page Styles */
.faq-hero {
    /* Background image added with lighter overlay for readability */
    background: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)), url('../assets/images/yellow-doors-banner.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 140px 0 var(--section-padding);
    text-align: center;
    color: var(--white);
}

.faq-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 700;
    text-shadow: 0 2px 6px rgba(0,0,0,0.35);
}

.faq-subtitle {
    font-size: 1.2rem;
    color: var(--tea-green);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

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

.faq-content {
    padding: var(--section-padding) 0;
    background-color: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

/* Tabs (used on Contact page) */
.tabs {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    justify-content: center;
}
.tab-link {
    padding: 0.6rem 1rem;
    border: 1px solid #e2e5e7;
    background: var(--seasalt);
    border-radius: var(--border-radius);
    font-weight: 600;
    color: var(--eerie-black);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.tab-link.active {
    background: var(--tea-green);
    border-color: var(--tea-green);
}
.tab-link:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.tab-content { display: none; }
.tab-content.active { display: block; }
.embed-wrapper { margin: 1rem 0; }

/* Contact page specific (higher specificity without !important) */
section.contact-hero.legal-hero {
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url('../assets/images/footer-background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
}
section.contact-hero.legal-hero .legal-title { 
    color: var(--white); 
    text-shadow: 0 2px 6px rgba(0,0,0,0.35); 
}
section.contact-hero.legal-hero .legal-subtitle { 
    color: var(--tea-green); 
    font-weight: 600; 
    text-shadow: 0 1px 3px rgba(0,0,0,0.25); 
}
.contact-content-page .tabs { margin-top: 0.5rem; }

.faq-category {
    background-color: var(--seasalt);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.category-title {
    color: var(--eerie-black);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
    border-bottom: 2px solid var(--tea-green);
    padding-bottom: 1rem;
}

.faq-item {
    margin-bottom: 1rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(35, 37, 35, 0.1);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--eerie-black);
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--seasalt);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--tea-green);
    transition: var(--transition);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    color: var(--grey-text);
    line-height: 1.6;
}

.faq-contact {
    background-color: var(--eerie-black);
    padding: 4rem 0;
    margin-top: 4rem;
    border-radius: var(--border-radius);
}

.faq-contact-content {
    text-align: center;
    color: var(--white);
}

.faq-contact h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.faq-contact p {
    color: #bdc3c7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.faq-contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.faq-contact-buttons .cta-button.primary {
    background-color: var(--tea-green);
    color: var(--eerie-black);
    border: 2px solid var(--tea-green);
}

.faq-contact-buttons .cta-button.primary:hover {
    background-color: var(--white);
    color: var(--eerie-black);
    border-color: var(--white);
}

.faq-contact-buttons .cta-button.secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.faq-contact-buttons .cta-button.secondary:hover {
    background-color: var(--white);
    color: var(--eerie-black);
    border-color: var(--white);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .cta-nav {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --section-padding: 60px;
        --container-padding: 20px;
    }

    /* Ensure no horizontal overflow */
    body {
        overflow-x: hidden;
    }

    .hero {
        background-attachment: scroll; /* Better performance on mobile */
        min-height: 80vh;
        padding: 120px 0 60px;
    }

    .nav-logo .logo-text {
        font-size: 1.5rem;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--eerie-black);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(35, 37, 35, 0.05);
        padding: 2rem 0;
    }

    .faq-contact-buttons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .faq-contact-buttons .cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
        justify-content: center;
    }

    .faq-category {
        padding: 1.5rem;
    }

    .faq-question {
        padding: 1rem;
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 0 1rem 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .features-row {
        grid-template-columns: 1fr;
    }

    .why-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Fix sticky image behavior on mobile */
    .why-image {
        min-height: 300px;
    }
    
    .why-image picture {
        position: relative;
        top: 0;
    }

    /* Fix "Why VacatAd" section mobile formatting */
    .why-vacatad {
        padding: 50px 0;
    }

    .why-content {
        margin-top: 2rem;
    }

    .intro-text {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .benefits-list {
        margin-bottom: 2rem;
    }

    .benefits-list li {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }

    /* Ensure text doesn't overflow */
    .section-title {
        font-size: 1.8rem;
        line-height: 1.2;
        padding: 0 10px;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 10px;
        margin-bottom: 2rem;
    }

    /* Process section improvements */
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .process-step {
        padding: 2rem 1rem;
    }

    /* Results grid mobile */
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Form improvements */
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    /* Tech grid */
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .tech-item {
        padding: 1.25rem;
        font-size: 0.95rem;
    }

    /* Banner improvements */
    .banner-title {
        font-size: 1.75rem;
        line-height: 1.2;
        padding: 0 10px;
    }

    .banner-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        padding: 0 10px;
    }

    /* Footer improvements */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-section:last-child {
        text-align: left;
    }

    /* Testimonial mobile */
    .testimonial {
        padding: 2rem 1.5rem;
    }

    .testimonial blockquote {
        font-size: 1.1rem;
        line-height: 1.5;
    }
}

@media screen and (max-width: 480px) {
    :root {
        --container-padding: 15px;
        --section-padding: 50px;
    }

    /* Prevent horizontal scroll */
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }

    .hero {
        padding: 100px 0 50px;
        min-height: auto;
    }

    /* Hero content improvements */
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.1;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    /* Tighter button spacing */
    .hero-buttons {
        gap: 1rem;
    }

    /* Section title improvements */
    .section-title {
        font-size: 1.6rem;
        padding: 0 5px;
    }

    .section-subtitle {
        font-size: 0.95rem;
        padding: 0 5px;
    }

    /* Feature cards */
    .feature-card,
    .contact-form {
        padding: 2rem 1.5rem;
    }

    /* Why VacatAd section */
    .intro-text {
        font-size: 1rem;
    }

    .benefits-list li {
        font-size: 0.9rem;
    }

    /* Results improvements */
    .results-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .result-number {
        font-size: 2.5rem;
    }

    .result-label {
        font-size: 1rem;
    }

    .result-description {
        font-size: 0.85rem;
    }

    /* Testimonial */
    .testimonial {
        padding: 1.75rem 1.25rem;
    }

    .testimonial blockquote {
        font-size: 1rem;
    }

    .testimonial cite {
        font-size: 0.9rem;
    }

    /* Process steps */
    .process-step {
        padding: 1.5rem 0.75rem;
    }

    .process-step h3 {
        font-size: 1.1rem;
    }

    .process-step p {
        font-size: 0.9rem;
    }

    /* Tech items */
    .tech-item {
        padding: 1rem;
        font-size: 0.9rem;
        flex-direction: column;
        text-align: center;
    }

    .tech-icon {
        margin-bottom: 0.75rem;
    }

    /* Banner text */
    .banner-title {
        font-size: 1.5rem;
    }

    .banner-subtitle {
        font-size: 0.95rem;
    }

    /* Final CTA */
    .final-cta-title {
        font-size: 1.75rem;
    }

    .final-cta-subtitle {
        font-size: 1rem;
    }

    /* FAQ improvements */
    .faq-title {
        font-size: 2rem;
    }

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

    .category-title {
        font-size: 1.5rem;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 1rem;
    }
}

/* ========================================
   Scroll Animation Enhancements
   ======================================== */

/* Smooth scroll behavior */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Section reveal animations */
section {
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Stagger animation delays for cards */
.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.process-step:nth-child(1) { animation-delay: 0.15s; }
.process-step:nth-child(2) { animation-delay: 0.3s; }
.process-step:nth-child(3) { animation-delay: 0.45s; }
.process-step:nth-child(4) { animation-delay: 0.6s; }

/* Hover effects with smooth transitions */
.feature-card,
.process-step,
.blog-card,
.client-logo {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover,
.process-step:hover,
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(35, 37, 35, 0.12);
}

.client-logo:hover {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* Button hover animations */
.cta-button,
.cta-button-nav,
.footer-cta {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-button::before,
.cta-button-nav::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before,
.cta-button-nav:hover::before {
    width: 300px;
    height: 300px;
}

/* Parallax sections */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Loading skeleton for async content */
@keyframes shimmer {
    0% {
        background-position: -468px 0;
    }
    100% {
        background-position: 468px 0;
    }
}

.skeleton {
    background: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-size: 800px 104px;
    animation: shimmer 1.2s linear infinite;
    border-radius: 4px;
}

/* Progress bar for scroll depth */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-accent), var(--tea-green));
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Smooth reveal for images */
img {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

img.lazy-loading {
    opacity: 0;
}

img.lazy-loaded {
    opacity: 1;
}

/* Enhanced focus states for accessibility */
*:focus-visible {
    outline: 3px solid var(--blue-accent);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .parallax-section {
        background-attachment: scroll;
    }
}

/* ======================================== */

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    /* Footer */
    .footer-section h4 {
        font-size: 1.1rem;
    }

    .footer-section p,
    .footer-section ul li a {
        font-size: 0.9rem;
    }
}