/* Premier Plumbing Pros - Dark Slate/Cyan Theme */
/* Modern design with bold gradients and glass effects */

:root {
    --primary: #1a1a2e;
    --primary-dark: #0f0f1a;
    --primary-light: #252542;
    --accent: #00d4ff;
    --accent-dark: #00a8cc;
    --accent-glow: rgba(0, 212, 255, 0.3);
    --text: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-dim: rgba(255, 255, 255, 0.5);
    --bg: #0f0f1a;
    --bg-card: rgba(26, 26, 46, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
    --gradient: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.2);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

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

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

a:hover {
    color: var(--text);
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 15, 26, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(15, 15, 26, 0.98);
    box-shadow: var(--shadow);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text);
    font-weight: 700;
    font-size: 1.3rem;
}

.logo:hover {
    color: var(--accent);
}

.logo svg {
    width: 36px;
    height: 36px;
    fill: var(--accent);
}

.nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav a:not(.header-phone):hover {
    color: var(--accent);
}

.nav a:not(.header-phone)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav a:not(.header-phone):hover::after {
    width: 100%;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient);
    color: var(--primary-dark) !important;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: var(--shadow-glow);
}

.header-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.4);
    color: var(--primary-dark) !important;
}

.header-phone svg {
    width: 18px;
    height: 18px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn svg {
    width: 28px;
    height: 28px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 150%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    opacity: 0.4;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.1); }
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--bg), transparent);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
}

.hero-badge svg {
    width: 18px;
    height: 18px;
}

.hero h1 {
    color: var(--text);
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gradient);
    color: var(--primary-dark);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 700;
    box-shadow: var(--shadow-glow);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.5);
    color: var(--primary-dark);
}

.hero-cta svg {
    width: 22px;
    height: 22px;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

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

.hero-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.hero-stat-label {
    font-size: 0.9rem;
    color: var(--text-dim);
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-alt {
    background: rgba(26, 26, 46, 0.5);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-tag {
    display: inline-block;
    background: var(--gradient);
    color: var(--primary-dark);
    padding: 0.4rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-header h2 {
    color: var(--text);
    margin-bottom: 1rem;
}

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

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card-content {
    padding: 1.5rem;
}

.service-card h3 {
    color: var(--text);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card h3 svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: var(--shadow-glow);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary-dark);
}

.feature-card h3 {
    color: var(--text);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* CTA Section */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300d4ff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-content h2 {
    color: var(--text);
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gradient);
    color: var(--primary-dark) !important;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: var(--shadow-glow);
}

.cta-phone:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.5);
    color: var(--primary-dark) !important;
}

.cta-phone svg {
    width: 24px;
    height: 24px;
}

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

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(0, 212, 255, 0.3);
}

.faq-item.active {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--text);
    font-size: 1rem;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
    transition: var(--transition);
}

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

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.25rem;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
}

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

.footer-brand h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.footer-brand h3 svg {
    width: 28px;
    height: 28px;
    fill: var(--accent);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.footer-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 600;
    font-size: 1.1rem;
    white-space: nowrap;
}

.footer-phone:hover {
    color: var(--text);
}

.footer-phone svg {
    width: 18px;
    height: 18px;
}

.footer h4 {
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent);
}

.disclaimer {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    margin-bottom: 1rem;
}

.disclaimer p {
    color: var(--text-dim);
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 0;
}

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

.footer-bottom p {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* Mobile Sticky Bar */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    padding: 0.75rem 1rem;
    z-index: 999;
    border-top: 1px solid var(--border);
}

.mobile-sticky-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--gradient);
    color: var(--primary-dark);
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
}

.mobile-sticky-bar a svg {
    width: 20px;
    height: 20px;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, var(--accent-glow) 0%, transparent 50%);
    opacity: 0.2;
}

.page-hero h1 {
    position: relative;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.page-hero p {
    position: relative;
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Detail */
.service-detail {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
    align-items: center;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border);
}

.service-detail:last-child {
    border-bottom: none;
}

.service-detail:nth-child(even) {
    direction: rtl;
}

.service-detail:nth-child(even) > * {
    direction: ltr;
}

.service-detail-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-detail-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-detail-content h3 {
    color: var(--text);
    margin-bottom: 1rem;
}

.service-detail-content p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* City Page Styles */
.city-intro {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.city-intro p {
    margin-bottom: 1.5rem;
}

.services-with-images {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: center;
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.service-row:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

.service-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.service-content h3 {
    color: var(--text);
    margin-bottom: 0.5rem;
}

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

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2 {
    color: var(--text);
    margin-bottom: 1.5rem;
}

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-method-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.contact-method h3 {
    color: var(--text);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-method p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: center;
}

.contact-card h3 {
    color: var(--text);
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.contact-card .cta-phone {
    font-size: 1.25rem;
}

/* About Page */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-grid img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.about-content h2 {
    color: var(--text);
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.about-feature {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.about-feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.about-feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary-dark);
}

.about-feature h3 {
    color: var(--text);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.about-feature p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Legal Pages */
.legal-page {
    padding: 6rem 0;
}

.legal-page h1 {
    color: var(--text);
    margin-bottom: 2rem;
}

.legal-page h2 {
    color: var(--text);
    font-size: 1.35rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-page p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.legal-page ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-page li {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-detail {
        grid-template-columns: 1fr;
    }
    
    .service-detail:nth-child(even) {
        direction: ltr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        border-top: 1px solid var(--border);
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav a {
        color: var(--text);
        padding: 0.75rem 1rem;
    }
    
    .nav a:not(.header-phone):hover {
        background: var(--bg-card);
    }
    
    .nav a:not(.header-phone)::after {
        display: none;
    }
    
    .header-phone {
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        min-height: 100vh;
        padding: 100px 0 80px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-row {
        grid-template-columns: 1fr;
    }
    
    .service-img {
        height: 200px;
    }
    
    .mobile-sticky-bar {
        display: block;
    }
    
    body {
        padding-bottom: 60px;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .faq-answer {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta {
        padding: 0.85rem 1.5rem;
        font-size: 1rem;
    }
    
    .page-hero {
        padding: 6rem 0 3rem;
    }
    
    .section-tag {
        font-size: 0.75rem;
    }
    
    .cta-phone {
        padding: 0.85rem 1.5rem;
        font-size: 1rem;
    }
}