/* ===================================
   RESIN DRIVEWAYS ST ALBANS - CSS
   Premium Styling for Lead Generation
   =================================== */

/* CSS Variables */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #0891b2;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --gradient-1: linear-gradient(135deg, #2563eb 0%, #0891b2 100%);
    --gradient-2: linear-gradient(135deg, #1e40af 0%, #075985 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
}

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

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

h1 {
    font-size: 3rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 1.05rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-phone {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
}

.btn-primary:hover {
    background: var(--gradient-2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-phone {
    background: var(--success-color);
    color: white;
}

.btn-phone:hover {
    background: #059669;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-text {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-text:hover {
    color: var(--primary-dark);
    gap: 8px;
}

/* Header */
.header {
    background: white;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo h2 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

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

.header-cta .btn-phone,
.header-cta .btn-primary {
    padding: 10px 20px;
    font-size: 0.95rem;
}

/* Hero Section */
.hero {
    background: var(--gradient-1);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

.hero-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0;
    font-weight: 500;
}

.hero-features .feature {
    color: white;
    font-size: 1.05rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.hero-trust {
    color: rgba(255, 255, 255, 0.9);
    margin-top: 2rem;
    font-size: 1.1rem;
}

/* Section Spacing */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.15rem;
    color: var(--text-light);
}

/* Introduction Section */
.intro-section {
    background: var(--bg-white);
}

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

/* Benefits Section */
.benefits-section {
    background: var(--bg-light);
}

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

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Services Section */
.services-section {
    background: white;
}

.service-detail {
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.service-detail h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.cta-box {
    text-align: center;
    background: var(--gradient-1);
    color: white;
    padding: 3rem;
    border-radius: 12px;
    margin-top: 3rem;
}

.cta-box h3 {
    color: white;
    margin-bottom: 1.5rem;
}

/* Comparison Section */
.comparison-section {
    background: var(--bg-light);
}

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

.comparison-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.comparison-card h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.comparison-card ul {
    list-style: none;
}

.comparison-card li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.comparison-card li:last-child {
    border-bottom: none;
}

.pros li {
    color: var(--success-color);
}

.mixed li {
    color: var(--text-light);
}

/* Process Section */
.process-section {
    background: white;
}

.process-steps {
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.step h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Colours Section */
.colours-section {
    background: var(--bg-light);
}

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

.colour-option {
    text-align: center;
}

.colour-swatch {
    width: 100%;
    height: 150px;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.colour-swatch:hover {
    transform: scale(1.05);
}

.colour-option h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.colour-option p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.colours-note {
    text-align: center;
    font-style: italic;
    margin: 2rem 0;
    color: var(--text-light);
}

/* Why St Albans Section */
.why-stalbans-section {
    background: white;
}

.why-content {
    max-width: 900px;
    margin: 0 auto;
}

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

.why-reason {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.why-reason h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Locations Section */
.locations-section {
    background: var(--bg-light);
}

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

.location-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.location-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.location-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
}

.location-link:hover {
    color: var(--primary-dark);
}

.locations-note {
    text-align: center;
    margin-top: 2rem;
    font-style: italic;
    color: var(--text-light);
}

/* Cost Section */
.cost-section {
    background: white;
}

.cost-content {
    max-width: 900px;
    margin: 0 auto;
}

.cost-factors,
.cost-guide,
.cost-example {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.cost-factors h3,
.cost-guide h3,
.cost-example h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cost-factors ul {
    list-style: none;
}

.cost-factors li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.cost-factors li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.5rem;
}

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

.cost-tier {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 2px solid var(--border-color);
}

.cost-tier h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.price-range {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
}

.price-note {
    font-size: 0.95rem;
    color: var(--text-light);
}

.cost-value {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid var(--success-color);
}

/* FAQ Section */
.faq-section {
    background: var(--bg-light);
}

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

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    color: var(--primary-color);
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.faq-item p {
    margin: 0;
    font-size: 1rem;
}

/* Testimonials Section */
.testimonials-section {
    background: white;
}

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

.testimonial {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.stars {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Quote Form Section */
.quote-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.quote-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.quote-intro {
    background: var(--gradient-1);
    color: white;
    padding: 3rem;
    text-align: center;
}

.quote-intro h2 {
    color: white;
    margin-bottom: 1rem;
}

.quote-intro p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
}

.quote-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.quote-feature {
    color: white;
    font-weight: 500;
}

.quote-form {
    padding: 3rem;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.form-privacy {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 1.5rem;
}

/* Final CTA Section */
.final-cta-section {
    background: var(--gradient-2);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.final-cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.final-cta-section p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

.final-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.final-cta-hours {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-column h3,
.footer-column h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

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

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

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: white;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.75rem;
    }
    
    .why-reasons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .header-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .header-cta .btn-phone,
    .header-cta .btn-primary {
        width: 100%;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn-large {
        width: 100%;
    }
    
    section {
        padding: 60px 0;
    }
    
    .benefits-grid,
    .comparison-grid,
    .locations-grid,
    .faq-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
    }
    
    .final-cta-buttons {
        flex-direction: column;
    }
    
    .final-cta-buttons .btn-large {
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-phone {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .quote-intro,
    .quote-form {
        padding: 2rem 1.5rem;
    }
}