/* WASHCLO Main Stylesheet */

/* --- CSS VARIABLES --- */
:root {
    --primary-blue: #004070;
    --secondary-cyan: #29abe2;
    --accent-orange: #ff7f00;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --light-gray: #f4f8fb;
    --border-color: #e0e0e0;
}

/* --- RESET & BASE --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

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

/* --- UTILITIES --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    font-size: 0.85rem;
    border: none;
    white-space: nowrap;
}

.btn-orange {
    background-color: var(--accent-orange);
    color: var(--white);
}

.btn-orange:hover {
    background-color: #e67300;
    transform: translateY(-2px);
}

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

.btn-blue:hover {
    background-color: #003055;
    transform: translateY(-2px);
}

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

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

.section-padding {
    padding: 80px 0;
}

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

/* --- HEADER --- */
.top-bar {
    background: var(--light-gray);
    padding: 10px 0;
    font-size: 0.85rem;
}

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

.top-bar-left a,
.top-bar-right a {
    margin: 0 10px;
    color: var(--text-dark);
}

.top-bar-left a:hover,
.top-bar-right a:hover {
    color: var(--secondary-cyan);
}

header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

header .container {
    max-width: 1600px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo-container {
    width: 180px;
    height: 80px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.logo-container img {
    object-fit: contain;
    width: auto;
    height: 100%;
    max-width: 100%;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-item {
    position: relative;
}

.nav-item > a,
.nav-item > span {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-blue);
    cursor: pointer;
    padding: 10px 0;
    display: block;
}

.nav-item > a:hover,
.nav-item > span:hover {
    color: var(--secondary-cyan);
}

.nav-item.has-dropdown > span::after {
    content: ' ▼';
    font-size: 0.7rem;
    margin-left: 5px;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 100;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
}

.dropdown a:last-child {
    border-bottom: none;
}

.dropdown a:hover {
    background: var(--light-gray);
    color: var(--secondary-cyan);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: var(--primary-blue);
    cursor: pointer;
}

/* --- MOBILE MENU OVERLAY --- */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #004070;
    z-index: 9999;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    overflow-y: auto;
    padding: 80px 0 40px 0;
}

.mobile-nav-overlay.active {
    display: flex;
}

.mobile-nav-overlay a,
.mobile-nav-overlay .mobile-dropdown-title {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    padding: 15px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.mobile-nav-overlay .close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2.5rem;
    color: var(--white);
    cursor: pointer;
}

.mobile-dropdown {
    width: 100%;
}

.mobile-dropdown-title {
    cursor: pointer;
    margin-bottom: 0;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-dropdown-title::after {
    content: '▶';
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.mobile-dropdown-title.active::after {
    transform: rotate(90deg);
}

.mobile-dropdown-content {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.2);
}

.mobile-dropdown-content.active {
    display: flex;
}

.mobile-dropdown-content a {
    font-size: 1rem;
    opacity: 0.9;
    padding-left: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-link {
    display: block;
    width: 100%;
}

/* --- BREADCRUMB --- */
.breadcrumb {
    padding: 15px 0;
    background: var(--light-gray);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--secondary-cyan);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 8px;
    color: var(--text-light);
}

/* --- HERO SECTION --- */
.hero {
    background-color: var(--primary-blue);
    color: var(--white);
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 150px 0;
    min-height: 500px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.25;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--white);
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* --- PAGE HERO (SMALLER) --- */
.page-hero {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 180px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* --- SECTION TITLE --- */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* --- SERVICE GRID --- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .service-grid-3col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary-cyan);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

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

/* --- ZIP CODE CHECKER --- */
.zip-checker {
    background: var(--primary-blue);
    padding: 40px 0;
    text-align: center;
}

.zip-checker h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.zip-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.zip-form input {
    padding: 15px;
    border-radius: 5px;
    border: none;
    width: 70%;
    font-size: 1rem;
}

.zip-form button {
    padding: 15px 30px;
}

/* --- CONTENT SECTION --- */
.content-section {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}

.content-section.reverse {
    flex-direction: row-reverse;
}

.content-image {
    flex: 1;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-text {
    flex: 1;
}

.content-text h2 {
    margin-bottom: 20px;
}

.content-text p {
    color: var(--text-light);
    margin-bottom: 15px;
}

/* --- CONTACT FORM --- */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

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

/* --- FOOTER --- */
footer {
    background: #001f3f;
    color: #b3b3b3;
    padding: 60px 0 20px;
}

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

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--secondary-cyan);
}

.copyright {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.8rem;
}

/* --- BLOG STYLES --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-content {
    padding: 25px;
}

.blog-card-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.blog-card h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.blog-card p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.blog-post-header {
    margin-bottom: 40px;
}

.blog-post-meta {
    color: var(--text-light);
    margin-bottom: 20px;
}

.blog-post-featured-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 40px;
}

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

.blog-post-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.blog-post-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.blog-post-content blockquote {
    border-left: 4px solid var(--secondary-cyan);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: var(--text-light);
    background: var(--light-gray);
    padding: 20px;
    border-radius: 5px;
}

.blog-post-content ul,
.blog-post-content ol {
    list-style: disc;
    margin-left: 30px;
    margin-bottom: 20px;
}

.blog-post-content li {
    margin-bottom: 10px;
}

.callout-box {
    background: var(--light-gray);
    border-left: 4px solid var(--accent-orange);
    padding: 20px;
    margin: 30px 0;
    border-radius: 5px;
}

.callout-box h4 {
    color: var(--accent-orange);
    margin-bottom: 10px;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 1600px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 768px) {
    .top-bar {
        padding: 3px 0;
        font-size: 9pt;
    }
    
    .top-bar-content {
        flex-direction: row;
        gap: 0;
    }
    
    .top-bar-left {
        display: flex;
        gap: 8px;
        width: 100%;
        justify-content: center;
    }
    
    .top-bar-left a {
        margin: 0;
        padding: 0 5px;
    }
    
    .top-bar-right {
        display: none;
    }
    
    .navbar {
        height: 70px;
        padding: 10px 0;
    }

    .logo-container {
        height: 50px;
        width: 120px;
    }
    
    .logo-container img {
        height: 100%;
        width: auto;
    }

    .nav-links {
        display: none;
    }
    
    .btn-orange {
        padding: 10px 16px;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .mobile-menu-btn {
        display: block;
        font-size: 1.5rem;
        margin-left: 10px;
    }

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

    .hero p {
        font-size: 1rem;
    }

    .content-section,
    .content-section.reverse {
        flex-direction: column;
    }

    .content-image {
        width: 100%;
        height: 300px;
    }

    .zip-form {
        flex-direction: column;
    }

    .zip-form input {
        width: 100%;
    }

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

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



    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .section-padding {
        padding: 50px 0;
    }
}


/* --- PRICING STYLES --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background: white;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border-color: var(--primary-blue);
    border-width: 3px;
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-orange);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.price span {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* --- FAQ STYLES --- */
.faq-section {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.faq-item p {
    margin: 0;
    line-height: 1.8;
    color: var(--text-light);
}

.faq-item a {
    color: var(--secondary-cyan);
    text-decoration: underline;
}

/* --- CONTACT INFO --- */
.contact-info {
    margin-top: 40px;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-item p {
    margin: 0;
    line-height: 1.8;
    color: var(--text-light);
}

.contact-item a {
    color: var(--secondary-cyan);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* --- FORM CONTAINER --- */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-blue);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* --- MOBILE RESPONSIVE ADDITIONS --- */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .faq-item {
        padding: 20px;
    }
    
    .form-container {
        padding: 25px;
    }
}


/* --- CUSTOM MODAL --- */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 10px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.iframe-modal .modal-content {
    max-width: 2000px;
    width: 98%;
    height: 98vh;
    padding: 0;
    overflow: hidden;
}

.iframe-content iframe {
    width: 100%;
    height: calc(100% - 40px);
    margin-top: 40px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-dark);
    cursor: pointer;
    line-height: 1;
    z-index: 10001;
}

.modal-close:hover {
    color: var(--accent-orange);
}

.modal-body h2 {
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.modal-body p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.modal-body .btn {
    margin-top: 10px;
}

/* --- FAQ ACCORDIONS --- */
.faq-item h3 {
    position: relative;
    padding-right: 30px;
    transition: color 0.3s;
}

.faq-item h3:hover {
    color: var(--secondary-cyan);
}

.faq-item h3::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--accent-orange);
    transition: transform 0.3s;
}

.faq-item h3.active::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}

/* --- MOBILE NAV SCROLLBAR --- */
.mobile-nav-overlay {
    overflow-y: auto;
}

.mobile-nav-overlay::-webkit-scrollbar {
    width: 8px;
}

.mobile-nav-overlay::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-overlay::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.mobile-nav-overlay::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* --- BLOG READ MORE BUTTONS --- */
.blog-card .btn-outline {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 25px;
    background: var(--accent-orange);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.blog-card .btn-outline:hover {
    background: #e67300;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 127, 0, 0.3);
}
