/* 
==============================================
Interstate AC Landing Page Styles
Commercial HVAC Services - Summer Focus
==============================================
*/

/* Brand Colors */
:root {
    --primary-navy: #0b2240;
    --secondary-gray: #d8d8d8;
    --white: #ffffff;
    --accent-red: #c20f2f;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --success-green: #28a745;
    --error-red: #dc3545;
}

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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

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

a {
    color: var(--accent-red);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* Keep link hover for accessibility */

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

/* Header */
.header {
    background-color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.header-contact .phone-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-navy);
    padding: 0.75rem 1.5rem;
    background-color: var(--white);
    border: 2px solid var(--primary-navy);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.header-contact .phone-link:hover {
    background-color: var(--primary-navy);
    color: var(--white);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--white) 0%, var(--secondary-gray) 100%);
    padding: 4rem 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.hero-left {
    padding-right: 2rem;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-navy);
}

.hero-title .highlight {
    color: var(--accent-red);
    position: relative;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Value Propositions */
.value-props {
    margin: 2.5rem 0;
}

.value-prop {
    display: flex;
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(11, 34, 64, 0.08);
}

.value-prop-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-red), #e8395f);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--white);
}

.value-prop-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-navy);
}

.value-prop-content p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Hero CTA Buttons */
.hero-cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Contact Form Card */
.hero-right {
    position: sticky;
    top: 100px;
}

.contact-form-card {
    background-color: var(--white);
    border-radius: 16px;
    padding: 1.5rem !important;
    box-shadow: 0 10px 40px rgba(11, 34, 64, 0.15);
    border: 2px solid var(--secondary-gray);
}

.form-title {
    font-size: 1.6rem !important;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.9rem !important;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.required {
    color: var(--accent-red);
}

.form-group input {
    padding: 0.75rem;
    border: 2px solid var(--secondary-gray);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px rgba(194, 15, 47, 0.1);
}

.form-group input.error {
    border-color: var(--error-red);
}

.form-group input.success {
    border-color: var(--success-green);
}

.error-message {
    color: var(--error-red);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}

.error-message.show {
    display: block;
}

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

.form-note i {
    color: var(--success-green);
    margin-right: 0.25rem;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 2rem;
    background-color: #f0f9f4;
    border-radius: 12px;
    border: 2px solid var(--success-green);
}

.success-message i {
    font-size: 3rem;
    color: var(--success-green);
    margin-bottom: 1rem;
}

.success-message h3 {
    color: var(--success-green);
    margin-bottom: 0.5rem;
}

.success-message p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: inherit;
}

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

.btn-primary:hover {
    background-color: #a00c26;
    border-color: #a00c26;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(194, 15, 47, 0.3);
}

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

.btn-secondary:hover {
    background-color: var(--primary-navy);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 34, 64, 0.3);
}

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

.btn-white:hover {
    background-color: transparent;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* Common Plumbing Challenges Section */
.challenges-section {
    padding: 5rem 0;
    background-color: var(--white);
}

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

.section-title {
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

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

.challenge-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(11, 34, 64, 0.1);
    border: 2px solid var(--secondary-gray);
}

.challenge-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-red), #e8395f);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.challenge-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.challenge-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Social Proof Section */
.social-proof {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-navy) 0%, #153556 100%);
    color: var(--white);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-red);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    color: var(--secondary-gray);
    font-weight: 500;
}

.testimonials-section {
    margin-top: 4rem;
}

.testimonials-section .section-title {
    color: var(--white);
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-note {
    text-align: center;
    color: var(--secondary-gray);
    font-style: italic;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.testimonial-placeholder {
    opacity: 0.7;
}

.testimonial-placeholder .testimonial-text {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.testimonial-placeholder .testimonial-author strong,
.testimonial-placeholder .testimonial-author span {
    color: rgba(255, 255, 255, 0.5);
}

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

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

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

.testimonial-text {
    color: var(--white);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: var(--white);
    font-size: 1.125rem;
}

.testimonial-author span {
    color: var(--secondary-gray);
    font-size: 0.95rem;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background-color: var(--white);
}

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

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(11, 34, 64, 0.1);
    border: 2px solid var(--secondary-gray);
    text-align: center;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-red), #e8395f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    margin: 0 auto 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Industries Section */
.industries {
    padding: 5rem 0;
    background-color: var(--primary-navy);
    color: var(--white);
}

.industries .section-title {
    color: var(--white);
}

.industries .section-subtitle {
    color: var(--secondary-gray);
}

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

.industry-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    cursor: default;
}

.industry-card i {
    font-size: 3rem;
    color: var(--accent-red);
    margin-bottom: 1rem;
    display: block;
}

.industry-card h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 0;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--accent-red) 0%, #a00c26 100%);
    color: var(--white);
}

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

.cta-title {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 3rem;
    opacity: 0.95;
}

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

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--white);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-item div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-item strong {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.contact-item a,
.contact-item span {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 600;
}

/* Removed hover effect to focus attention on form */

/* Footer */
.footer {
    background-color: var(--primary-navy);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

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

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

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--secondary-gray);
    font-size: 0.95rem;
}

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

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

.footer-section ul li a {
    color: var(--secondary-gray);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.footer-section ul li i {
    margin-right: 0.5rem;
    color: var(--accent-red);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--secondary-gray);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }

    .hero-right {
        position: static;
        order: -1;
        margin-bottom: 2rem;
    }

    .hero-left {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .logo {
        height: 45px;
    }

    .header-contact .phone-link {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }

    h1,
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .value-prop {
        flex-direction: column;
        text-align: center;
    }

    .value-prop-icon {
        margin: 0 auto;
    }

    .hero-cta-buttons {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }

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

    .challenges-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
        gap: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 40px;
    }

    h1,
    .hero-title {
        font-size: 1.75rem;
    }

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

    .cta-title {
        font-size: 1.75rem;
    }

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

    .contact-form-card {
        padding: 1.25rem;
    }

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

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

.hero-content,
.section-header,
.challenge-card,
.service-card,
.industry-card,
.testimonial-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Accessibility */
:focus-visible {
    outline: 3px solid var(--accent-red);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .hero-right,
    .cta,
    .footer {
        display: none;
    }
}