/*
 * Drywizard Leak Detection landing page styles
 * Inspired by the Drywizard Restoration website but simplified for a fast, high‑converting single page.
 */

/* CSS Reset & base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Variables */
:root {
    --primary: #002a5c;      /* dark navy blue */
    --secondary: #f5a623;    /* golden yellow accent */
    --danger: #dc2427;       /* red for urgent call button */
    --light-bg: #f7f9fc;     /* light section background */
    --text-dark: #222;
    --text-light: #fff;
    --card-shadow: rgba(0, 0, 0, 0.1);
}

/* Layout helpers */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

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

/* Top bar */
.top-bar {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 0.5rem 0;
    font-size: 0.9rem;
}
.top-bar .logo {
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 700;
}
.top-bar .logo-icon {
    margin-right: 0.4rem;
    color: var(--secondary);
}
.top-bar .phone-link {
    font-weight: 600;
    color: var(--secondary);
    margin-right: 1rem;
}
.top-bar .phone-link i {
    margin-right: 0.3rem;
}
.top-bar .availability {
    font-style: italic;
    font-size: 0.85rem;
}

/* Hero section */
.hero {
    position: relative;
    background-image: url('assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1rem;
}
.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 1rem;
}
.btn i {
    margin-right: 0.5rem;
}
.btn-call {
    background-color: var(--danger);
    color: var(--text-light);
}
.btn-call:hover {
    background-color: #b3181d;
}
.btn-secondary {
    background-color: var(--secondary);
    color: var(--primary);
}
.btn-secondary:hover {
    background-color: #d28e19;
}
.btn-primary {
    background-color: var(--primary);
    color: var(--text-light);
}
.btn-primary:hover {
    background-color: #011e3e;
}

/* Sections */
.section {
    padding: 4rem 1rem;
}
.section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary);
}
.alt-bg {
    background-color: var(--light-bg);
}

/* Cards in Why Choose section */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}
.card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 6px;
    box-shadow: 0 2px 8px var(--card-shadow);
    text-align: center;
}
.card-icon {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}
.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}
.card p {
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* Signs list */
.signs-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.signs-list li {
    background-color: #fff;
    padding: 1rem;
    border-radius: 4px;
    box-shadow: 0 1px 4px var(--card-shadow);
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}
.signs-list i {
    color: var(--secondary);
    margin-right: 0.5rem;
    font-size: 1.3rem;
}

/* Process steps */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}
.step {
    background-color: #fff;
    padding: 2rem;
    border-radius: 6px;
    box-shadow: 0 2px 8px var(--card-shadow);
}
.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.step h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}
.step p {
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* Contact section */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #fff;
    padding: 2rem;
    border-radius: 6px;
    box-shadow: 0 2px 8px var(--card-shadow);
}
.contact-form .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.contact-form .form-group {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}
.contact-form label {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.3rem;
}
.contact-form input,
.contact-form textarea {
    padding: 0.6rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.95rem;
}
.contact-form button {
    margin-top: 1rem;
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    background-color: var(--primary);
    color: var(--text-light);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}
.contact-form button:hover {
    background-color: #011e3e;
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 2rem 1rem;
    text-align: center;
}
.footer h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.footer p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
.footer .footer-phone i {
    margin-right: 0.3rem;
    color: var(--secondary);
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .btn {
        font-size: 0.9rem;
        padding: 0.7rem 1.2rem;
    }
    .step {
        padding: 1.5rem;
    }
    .card {
        padding: 1.5rem;
    }
}