/* ========================================
   AirDuctVet Website Styles
   Professional Air Duct & Dryer Vent Cleaning Services
   ======================================== */

/* ========== CSS VARIABLES ========== */
:root {
    --primary-color: #1e5a9e;
    --secondary-color: #2c7ac4;
    --accent-color: #ff6b35;
    --dark-blue: #0d3b66;
    --light-blue: #e8f4f8;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
    --success-color: #28a745;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* ========== GLOBAL STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

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

/* ========== CONTAINER & LAYOUT ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

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

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.btn-primary:hover {
    background-color: #e55a2a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

.btn-secondary:hover {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

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

/* ========== HEADER & NAVIGATION ========== */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

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

.top-bar-left, .top-bar-right {
    display: flex;
    gap: 25px;
    align-items: center;
}

.top-bar a {
    color: var(--white);
}

.top-bar a:hover {
    color: var(--accent-color);
}

.top-bar i {
    margin-right: 5px;
}

.navbar {
    padding: 15px 0;
}

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

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

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 600;
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* ========== HERO SECTION ========== */
.hero {
    background: linear-gradient(135deg, rgba(13, 59, 102, 0.95), rgba(30, 90, 158, 0.9)), 
                url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?w=1920') center/cover;
    color: var(--white);
    padding: 120px 0 100px;
    text-align: center;
    position: relative;
}

.hero-content h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-feature i {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.hero-feature-text h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.hero-feature-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0;
}

/* ========== SERVICES SECTION ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-card i {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-blue);
}

.service-card p {
    margin-bottom: 20px;
    line-height: 1.7;
}

/* ========== WHY CHOOSE US ========== */
.why-choose {
    background-color: var(--light-blue);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.testimonials .section-title h2,
.testimonials .section-title p {
    color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-rating {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.testimonial-author-info h5 {
    color: var(--white);
    margin-bottom: 5px;
}

.testimonial-author-info p {
    font-size: 0.9rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.95), rgba(229, 90, 42, 0.95)),
                url('https://images.unsplash.com/photo-1621905252507-b35492cc74b4?w=1920') center/cover;
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* ========== CONTACT FORM ========== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray-medium);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

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

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

.form-success,
.form-error {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none;
}

.form-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ========== CONTACT INFO ========== */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-card {
    background: var(--light-blue);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.contact-info-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.contact-info-card h4 {
    margin-bottom: 10px;
}

.contact-info-card p {
    margin: 5px 0;
}

.map-container {
    margin-top: 50px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

/* ========== BLOG ========== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.blog-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

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

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

.blog-card-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.blog-card-meta i {
    margin-right: 5px;
}

.blog-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.blog-card p {
    margin-bottom: 20px;
}

/* ========== SERVICE PAGE ========== */
.service-hero {
    background: linear-gradient(135deg, rgba(13, 59, 102, 0.95), rgba(30, 90, 158, 0.9)),
                url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?w=1920') center/cover;
    color: var(--white);
    padding: 100px 0 80px;
    text-align: center;
}

.service-hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-hero p {
    color: var(--white);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.service-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.service-main {
    background: var(--white);
}

.service-section {
    margin-bottom: 50px;
}

.service-section h2 {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--accent-color);
}

.service-section ul {
    list-style: none;
    padding: 0;
}

.service-section ul li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
}

.service-section ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--success-color);
}

.process-steps {
    display: grid;
    gap: 25px;
}

.process-step {
    background: var(--light-blue);
    padding: 25px;
    border-radius: 10px;
    display: flex;
    gap: 20px;
    align-items: start;
}

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

.step-content h4 {
    margin-bottom: 10px;
}

.faq-item {
    background: var(--gray-light);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
}

.faq-item h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* ========== SERVICE SIDEBAR ========== */
.service-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.sidebar-card h3 {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray-medium);
}

.sidebar-services {
    list-style: none;
}

.sidebar-services li {
    border-bottom: 1px solid var(--gray-medium);
}

.sidebar-services li:last-child {
    border-bottom: none;
}

.sidebar-services a {
    display: block;
    padding: 15px 0;
    color: var(--text-dark);
    transition: var(--transition);
}

.sidebar-services a:hover,
.sidebar-services a.active {
    color: var(--accent-color);
    padding-left: 10px;
}

.sidebar-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
}

.sidebar-cta h3,
.sidebar-cta p {
    color: var(--white);
}

.sidebar-cta i {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* ========== FOOTER ========== */
.footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding-top: 60px;
}

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

.footer-section h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-section ul li i {
    margin-right: 10px;
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: -100%;
        width: 100%;
        height: calc(100vh - 100%);
        background-color: var(--white);
        flex-direction: column;
        padding: 30px;
        box-shadow: var(--shadow);
        transition: left 0.3s ease;
        z-index: 999;
    }

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

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

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

    .service-sidebar {
        position: static;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section {
        padding: 60px 0;
    }

    .hero {
        padding: 80px 0 60px;
    }

    .hero-features {
        flex-direction: column;
        gap: 25px;
    }

    .top-bar .container {
        justify-content: center;
        text-align: center;
    }

    .top-bar-left,
    .top-bar-right {
        flex-direction: column;
        gap: 10px;
    }

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

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

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }
}
