/*
Theme Name: Briana Plumbing & Construction
Description: Professional WordPress theme for Briana Plumbing & Construction
Version: 1.0
Author: Custom Theme
*/

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #374151;
}

/* Color Variables */
:root {
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;
    --secondary-50: #fef2f2;
    --secondary-100: #fee2e2;
    --secondary-500: #ef4444;
    --secondary-600: #dc2626;
    --secondary-700: #b91c1c;
    --secondary-800: #991b1b;
    --secondary-900: #7f1d1d;
}

/* Utility Classes */
.container-max {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-padding {
    padding: 4rem 1rem;
}

@media (min-width: 640px) {
    .container-max {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container-max {
        padding: 0 2rem;
    }
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-900);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: var(--primary-800);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background-color: var(--secondary-600);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background-color: var(--secondary-700);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    color: white;
    text-decoration: none;
}

.btn-outline {
    border: 2px solid var(--primary-900);
    color: var(--primary-900);
    background: transparent;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.site-header.scrolled {
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.site-logo img {
    height: 3rem;
    width: auto;
}

.main-nav {
    display: none;
}

@media (min-width: 768px) {
    .main-nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
}

.main-nav a {
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.main-nav a:hover,
.main-nav a.current {
    color: var(--primary-900);
}

.main-nav a.current::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-900);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu-toggle:hover {
    background-color: #f3f4f6;
}

.mobile-menu {
    display: none;
    padding: 1rem 0;
    border-top: 1px solid #e5e7eb;
}

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

@media (min-width: 768px) {
    .mobile-menu {
        display: none !important;
    }
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav a {
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.mobile-nav a:hover,
.mobile-nav a.current {
    color: var(--primary-900);
    background-color: var(--primary-50);
}

/* Main Content */
.main-content {
    padding-top: 5rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-700) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-text h1 {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-text h1 {
        font-size: 3.5rem;
    }
}

.hero-text p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
    }
}

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

.hero-contact-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
}

/* Services Grid */
.services-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    background: #f9fafb;
    border-radius: 0.75rem;
    padding: 2rem;
    transition: all 0.3s ease;
    text-align: center;
}

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

.service-icon {
    color: var(--primary-900);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.service-card:hover .service-icon {
    color: var(--secondary-600);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Features Grid */
.features-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

.feature-icon {
    background: var(--primary-900);
    color: white;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: background-color 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: var(--secondary-600);
}

.feature-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #6b7280;
}

/* Content Sections */
.content-section {
    background: white;
}

.content-section.bg-gray {
    background: #f9fafb;
}

.content-section.bg-primary {
    background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-700) 100%);
    color: white;
}

.content-section.bg-secondary {
    background: var(--secondary-600);
    color: white;
}

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

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.content-section.bg-primary .section-header h2,
.content-section.bg-secondary .section-header h2 {
    color: white;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 2.5rem;
    }
}

.section-header p {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.6;
}

.content-section.bg-primary .section-header p,
.content-section.bg-secondary .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

/* Two Column Layout */
.two-column {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .two-column {
        grid-template-columns: 1fr 1fr;
    }
}

.column-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .column-content h2 {
        font-size: 2.5rem;
    }
}

.column-content p {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.column-image {
    position: relative;
}

.column-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.image-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: var(--secondary-600);
    color: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.image-badge .badge-number {
    font-size: 1.875rem;
    font-weight: 700;
    display: block;
}

.image-badge .badge-text {
    font-size: 0.875rem;
}

/* Contact Form */
.contact-form {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 1rem;
}

.contact-form h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
}

.form-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .form-grid.two-col {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

/* Contact Info Cards */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 0.75rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: var(--primary-50);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    color: inherit;
    text-decoration: none;
}

.contact-card.whatsapp:hover {
    background: rgba(34, 197, 94, 0.1);
}

.contact-icon {
    background: var(--primary-900);
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.contact-card:hover .contact-icon {
    background: var(--secondary-600);
}

.contact-card.whatsapp .contact-icon {
    background: #22c55e;
}

.contact-card.whatsapp:hover .contact-icon {
    background: #16a34a;
}

.contact-details h3 {
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}

.contact-details .contact-value {
    color: var(--primary-900);
    font-weight: 500;
}

.contact-card.whatsapp .contact-details .contact-value {
    color: #22c55e;
}

.contact-details .contact-note {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Business Hours Card */
.hours-card {
    background: var(--secondary-50);
    padding: 1.5rem;
    border-radius: 0.75rem;
}

.hours-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.hours-header h3 {
    font-weight: 600;
    color: #111827;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #374151;
}

.hours-item {
    display: flex;
    justify-content: space-between;
}

.emergency-note {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--secondary-200);
    color: var(--secondary-600);
    font-weight: 500;
}

/* Footer */
.site-footer {
    background: #111827;
    color: white;
}

.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #d1d5db;
    line-height: 1.6;
}

.footer-logo img {
    height: 3rem;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: white;
}

.footer-services {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-services li {
    color: #d1d5db;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-item:hover {
    color: white;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
    animation: pulse 2s infinite;
}

.whatsapp-button {
    background: #22c55e;
    color: white;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    background: #16a34a;
    transform: scale(1.1);
    color: white;
    text-decoration: none;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Responsive Utilities */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-900);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-800);
}