/* ============================================
   Pro Plumber Littleton CO - Styles
   Color Scheme: Amber Gold (E)
   Hero: Video Background (5)
   Fonts: Outfit (headings), Inter (body)
   Animation: Slide In + Border Highlight (2)
   Layout: 2-column services, 2-column locations, side-by-side FAQ
   ============================================ */

/* CSS Variables - Amber Gold Theme */
:root {
    --primary: #B45309;
    --primary-dark: #92400E;
    --primary-light: #F59E0B;
    --accent: #FBBF24;
    --white: #ffffff;
    --off-white: #fafafa;
    --light-gray: #f3f4f6;
    --gray: #9ca3af;
    --dark-gray: #4b5563;
    --black: #1f2937;
    --shadow: rgba(180, 83, 9, 0.15);
    --shadow-dark: rgba(0, 0, 0, 0.1);
}

/* Reset & Base */
* {
    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(--black);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--black);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Mobile Call Button
   ============================================ */
.mobile-call-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    z-index: 1000;
    box-shadow: 0 4px 20px var(--shadow);
    animation: pulse 2s infinite;
    align-items: center;
    gap: 8px;
}

.mobile-call-btn:hover {
    background: var(--primary-dark);
    transform: translateX(-50%) scale(1.05);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px var(--shadow);
    }
    50% {
        box-shadow: 0 4px 30px rgba(180, 83, 9, 0.4);
    }
}

/* ============================================
   Header
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--white);
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 20px var(--shadow-dark);
}

.top-bar {
    background: var(--primary);
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-location,
.top-bar-hours {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
}

.top-bar svg {
    flex-shrink: 0;
}

.main-header {
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header.scrolled .main-header {
    padding: 10px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 55px;
    height: 55px;
    border-radius: 8px;
    object-fit: cover;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    font-weight: 500;
    font-size: 15px;
    color: var(--black);
    position: relative;
    padding: 5px 0;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-list a:hover::after {
    width: 100%;
}

.nav-list a:hover {
    color: var(--primary);
}

.header-call-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
}

.header-call-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--black);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.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(5px, -5px);
}

/* ============================================
   Hero Section - Video Background
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(180, 83, 9, 0.92) 0%, rgba(146, 64, 14, 0.88) 100%);
}

.hero-content {
    max-width: 800px;
    color: var(--white);
    animation: slideInUp 0.8s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.95;
    max-width: 600px;
}

.hero-cta {
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary-dark);
}

.btn-primary:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

.hero-stats {
    display: flex;
    gap: 50px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    font-size: 15px;
    opacity: 0.9;
}

/* ============================================
   About Section
   ============================================ */
.about {
    padding: 100px 0;
    background: var(--off-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    animation: slideInLeft 0.8s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 50px var(--shadow-dark);
}

.about-image-accent {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary);
    border-radius: 16px;
    z-index: -1;
}

.about-text .section-title {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.about-intro {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-text p {
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--white);
    border-radius: 8px;
    border-left: 3px solid var(--primary);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px var(--shadow);
}

.feature-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

.feature-item span {
    font-size: 14px;
    font-weight: 500;
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 42px;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.section-subtitle {
    font-size: 18px;
    color: var(--dark-gray);
}

/* ============================================
   Services Section - 2 Column Layout
   ============================================ */
.services {
    padding: 100px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 35px;
    border-radius: 16px;
    border: 2px solid var(--light-gray);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    border-color: var(--primary-light);
    box-shadow: 0 10px 40px var(--shadow);
    transform: translateY(-5px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon svg {
    color: var(--white);
}

.service-title {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.service-description {
    color: var(--dark-gray);
    font-size: 15px;
    line-height: 1.7;
}

/* ============================================
   Why Choose Us Section
   ============================================ */
.why-choose {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.why-choose .section-title,
.why-choose .section-subtitle {
    color: var(--white);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-choose-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 35px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.why-choose-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    border-color: var(--accent);
}

.why-choose-number {
    font-family: 'Outfit', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.5;
    margin-bottom: 15px;
}

.why-choose-title {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--white);
}

.why-choose-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

/* ============================================
   Locations Section - 2 Column Layout
   ============================================ */
.locations {
    padding: 100px 0;
    background: var(--off-white);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.location-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-dark);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow);
}

.location-card:hover .location-image img {
    transform: scale(1.1);
}

.location-image {
    height: 200px;
    overflow: hidden;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.location-content {
    padding: 25px;
}

.location-name {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.location-description {
    font-size: 14px;
    color: var(--dark-gray);
    line-height: 1.6;
}

/* ============================================
   Common Problems Section
   ============================================ */
.problems {
    padding: 100px 0;
    background: var(--white);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.problem-card {
    background: var(--off-white);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.problem-card:hover {
    border-color: var(--primary-light);
    box-shadow: 0 10px 40px var(--shadow);
    transform: translateY(-5px);
}

.problem-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px var(--shadow-dark);
}

.problem-icon svg {
    color: var(--primary);
}

.problem-title {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.problem-description {
    font-size: 14px;
    color: var(--dark-gray);
    line-height: 1.7;
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.cta-content {
    text-align: center;
    color: var(--white);
}

.cta-title {
    font-size: 42px;
    margin-bottom: 15px;
    color: var(--white);
}

.cta-description {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.cta-phone a {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent);
    font-family: 'Outfit', sans-serif;
}

.cta-phone svg {
    color: var(--accent);
}

/* ============================================
   FAQ Section - Side by Side
   ============================================ */
.faq {
    padding: 100px 0;
    background: var(--off-white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px var(--shadow-dark);
    margin-bottom: 20px;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--primary-dark);
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-question svg {
    transition: transform 0.3s ease;
    color: var(--primary);
    flex-shrink: 0;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 20px;
}

.faq-answer p {
    color: var(--dark-gray);
    font-size: 15px;
    line-height: 1.7;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--off-white);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px var(--shadow);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    color: var(--white);
}

.contact-details h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.contact-details p {
    color: var(--dark-gray);
    font-size: 15px;
    line-height: 1.6;
}

.contact-details a {
    color: var(--primary);
    font-weight: 600;
}

.contact-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow-dark);
}

.contact-map iframe {
    display: block;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    width: 55px;
    height: 55px;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
}

.footer-brand p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-light);
    font-weight: 600;
    font-size: 18px;
}

.footer-phone:hover {
    color: var(--accent);
}

.footer-links h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--gray);
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--dark-gray);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 10px;
}

.disclaimer {
    font-size: 12px !important;
    line-height: 1.6 !important;
    max-width: 900px;
    margin: 0 auto;
}

/* ============================================
   Animations
   ============================================ */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1100px) {
    .hero-title {
        font-size: 44px;
    }
    
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-call-btn {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        padding: 80px 30px 30px;
        transition: left 0.3s ease;
        box-shadow: 5px 0 20px var(--shadow-dark);
        z-index: 99;
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-list a {
        font-size: 18px;
    }
    
    .header-call-btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 80px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 17px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-image img {
        height: 350px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .services-grid,
    .locations-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    
    .problems-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-phone {
        justify-content: center;
    }
    
    .cta-phone a {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .service-card,
    .problem-card,
    .location-card {
        padding: 25px;
    }
}
