/* ====================================
   Plumber In Dublin GA - Professional Website Styles
   Mobile-First Responsive Design
   ==================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

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

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

ul {
    list-style: none;
}

/* ====================================
   Utility Classes
   ==================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: #e74c3c;
    font-weight: 600;
}

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

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ====================================
   Buttons
   ==================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: #e74c3c;
    color: white;
    box-shadow: 0 4px 6px rgba(231, 76, 60, 0.3);
}

.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(231, 76, 60, 0.4);
}

.btn-secondary {
    background: #34495e;
    color: white;
    box-shadow: 0 4px 6px rgba(52, 73, 94, 0.3);
}

.btn-secondary:hover {
    background: #2c3e50;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ====================================
   Header
   ==================================== */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    min-height: 70px;
}

.logo h1 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e74c3c;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    font-size: 1.4rem;
}

/* Navigation */
.nav {
    display: none;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #e74c3c;
}

/* Header CTA */
.header-cta .cta-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #27ae60;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.header-cta .cta-btn:hover {
    background: #229954;
    transform: translateY(-1px);
}

.header-cta .cta-btn span {
    display: none;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background: #333;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation */
.nav.mobile-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.nav.mobile-open .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 0 20px;
}

.nav.mobile-open .nav-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

/* ====================================
   Hero Section
   ==================================== */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 120px 0 60px;
    overflow: hidden;
}

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

.hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #2c3e50;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.feature i {
    color: #27ae60;
    font-size: 1.2rem;
    min-width: 20px;
}

.feature span {
    font-weight: 500;
    color: #333;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-icon {
    font-size: 4rem;
    color: #e74c3c;
    text-align: center;
    opacity: 0.3;
}

/* ====================================
   Services Section
   ==================================== */
.services {
    padding: 60px 0;
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: white;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #27ae60;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-btn:hover {
    background: #229954;
    transform: translateY(-2px);
}

/* ====================================
   About Section
   ==================================== */
.about {
    padding: 60px 0;
    background: white;
}

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

.about-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.reputation-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 0.5rem;
}

.stat p {
    font-weight: 500;
    color: #333;
    margin: 0;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.feature-item i {
    color: #27ae60;
    font-size: 1.5rem;
    margin-top: 0.25rem;
    min-width: 24px;
}

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #666;
    margin: 0;
}

/* ====================================
   Process Section
   ==================================== */
.process {
    padding: 60px 0;
    background: #f8f9fa;
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* ====================================
   Why Choose Us Section
   ==================================== */
.why-choose {
    padding: 60px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: white;
}

.feature-card i {
    font-size: 2.5rem;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* ====================================
   Testimonials Section
   ==================================== */
.testimonials {
    padding: 60px 0;
    background: #f8f9fa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.testimonial {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.testimonial-content .stars {
    margin-bottom: 1rem;
}

.testimonial-content .stars i {
    color: #f39c12;
    font-size: 1.2rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author h4 {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: #888;
    font-size: 0.9rem;
}

/* ====================================
   Service Areas Section
   ==================================== */
.service-areas {
    padding: 60px 0;
    background: white;
}

.areas-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.area-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.area-card:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.area-card i {
    font-size: 1.5rem;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.area-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.area-card p {
    color: #666;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* ====================================
   FAQ Section
   ==================================== */
.faq {
    padding: 60px 0;
    background: #f8f9fa;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    padding-right: 1rem;
}

.faq-question i {
    color: #e74c3c;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.5rem;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ====================================
   Final CTA Section
   ==================================== */
.final-cta {
    padding: 60px 0;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #27ae60;
    min-width: 24px;
}

.contact-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a {
    color: #ecf0f1;
    margin: 0;
    line-height: 1.4;
}

.contact-item a {
    font-weight: 600;
}

.cta-buttons {
    margin-top: 2rem;
}

/* ====================================
   Footer
   ==================================== */
.footer {
    background: #1a252f;
    color: #ecf0f1;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section h3 i {
    color: #e74c3c;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #27ae60;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.footer-section ul li a {
    color: #bdc3c7;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #e74c3c;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #34495e;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #e74c3c;
    transform: translateY(-2px);
}

.contact-details p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: #bdc3c7;
}

.contact-details i {
    color: #27ae60;
    min-width: 16px;
}

.contact-details a {
    color: #ecf0f1;
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1.5rem;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #bdc3c7;
    margin: 0;
}

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

.footer-links a {
    color: #bdc3c7;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #e74c3c;
}

/* ====================================
   Responsive Design - Tablet
   ==================================== */
@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
    
    /* Header */
    .nav {
        display: block;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .header-cta .cta-btn span {
        display: inline;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    /* Hero Section */
    .hero-content {
        grid-template-columns: 2fr 1fr;
        gap: 4rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-cta {
        flex-direction: row;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Stats */
    .reputation-stats {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* Process */
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Features */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Areas */
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Contact Info */
    .contact-info {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ====================================
   Responsive Design - Desktop
   ==================================== */
@media (min-width: 1024px) {
    /* Hero Section */
    .hero-title {
        font-size: 3.2rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* About */
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
    
    /* Process */
    .process-steps {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* Features */
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Areas */
    .areas-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1200px) {
    .hero-title {
        font-size: 3.6rem;
    }
    
    .areas-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ====================================
   Print Styles
   ==================================== */
@media print {
    .header,
    .mobile-menu-btn,
    .btn,
    .footer {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero {
        padding: 20px 0;
    }
    
    .section-header h2 {
        font-size: 18pt;
    }
}

/* ====================================
   Accessibility Improvements
   ==================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for keyboard navigation */
.btn:focus,
.nav-link:focus,
.cta-btn:focus,
.service-btn:focus {
    outline: 2px solid #e74c3c;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        color: #fff;
    }
    
    .btn-secondary {
        background: #fff;
        color: #000;
        border: 2px solid #000;
    }
}