/* Pressure Washing Website - Main Styles */

/* CSS Variables are dynamically generated from config.php */

/* Enhanced Modern Styling */
:root {
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 25px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.1);
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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(--light-text);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Enhanced Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
    line-height: 1.5;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

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

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

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

.btn-block {
    width: 100%;
    display: block;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

/* Icons */
.icon-phone::before { content: "📞"; }
.icon-email::before { content: "✉️"; }
.icon-location::before { content: "📍"; }
.icon-facebook::before { content: "📘"; }
.icon-instagram::before { content: "📷"; }
.icon-twitter::before { content: "🐦"; }
.icon-youtube::before { content: "📺"; }
.icon-linkedin::before { content: "💼"; }
.icon-chevron-down::before { content: "⌄"; }
.icon-close::before { content: "✕"; }
.icon-arrow-up::before { content: "↑"; }
.icon-check-circle::before { content: "✓"; }
.icon-alert::before { content: "⚠️"; }
.icon-home::before { content: "🏠"; }
.icon-building::before { content: "🏢"; }
.icon-house::before { content: "🏡"; }
.icon-road::before { content: "🛣️"; }
.icon-deck::before { content: "🪵"; }
.icon-roof::before { content: "🏠"; }
.icon-gutter::before { content: "🏠"; }
.icon-fence::before { content: "🚧"; }

/* Header Styles */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background-color: var(--secondary-color);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

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

.contact-info span {
    margin-right: 20px;
}

.contact-info a {
    color: white;
    text-decoration: none;
}

.contact-info a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    color: white;
    font-size: 16px;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(59, 130, 246, 0.9)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 120px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.8), rgba(59, 130, 246, 0.7));
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: white;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-cta .btn {
    min-width: 180px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Service Hero (for individual service pages) */
.service-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 100px 0 80px;
}

.service-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.service-hero-description {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: white;
    opacity: 0.95;
    line-height: 1.6;
}

.service-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.feature-badge {
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.service-hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.service-hero-image img {
    width: 100%;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
}

/* Page Hero (for other pages) */
.page-hero {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(59, 130, 246, 0.8));
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-hero p {
    font-size: 1.1rem;
    color: white;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Responsive Hero Styles */
@media (max-width: 768px) {
    .hero {
        padding: 80px 0 60px;
        background-attachment: scroll;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .service-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .service-hero h1 {
        font-size: 2.5rem;
    }
    
    .service-hero-cta {
        justify-content: center;
    }
    
    .page-hero h1 {
        font-size: 2.2rem;
    }
}

/* Main Navigation */
.main-nav {
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

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

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-item.active .nav-link {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-item.active .nav-link::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 5px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: var(--section-bg);
    color: var(--primary-color);
}

/* Navigation CTA */
.nav-cta {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: white;
    padding: 20px;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu-overlay.active .mobile-menu {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.mobile-nav-menu {
    list-style: none;
    margin-bottom: 30px;
}

.mobile-nav-menu li {
    margin-bottom: 15px;
}

.mobile-nav-menu a {
    display: block;
    padding: 10px 0;
    color: var(--text-color);
    font-weight: 500;
    border-bottom: 1px solid #eee;
}

.mobile-submenu {
    list-style: none;
    margin-left: 20px;
    margin-top: 10px;
}

.mobile-submenu a {
    font-size: 14px;
    color: var(--light-text);
    border-bottom: none;
    padding: 5px 0;
}

/* Collapsible Mobile Menu Styles */
.mobile-menu-item-with-submenu {
    margin-bottom: 15px;
}

.mobile-menu-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.mobile-menu-link {
    flex: 1;
    display: block;
    padding: 10px 0;
    color: var(--text-color);
    font-weight: 500;
    border-bottom: 1px solid #eee;
    text-decoration: none;
}

.mobile-submenu-toggle {
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    color: var(--primary-color);
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s ease;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-submenu-toggle:hover {
    color: var(--secondary-color);
}

.mobile-submenu-toggle.expanded {
    transform: rotate(45deg);
}

.mobile-submenu.collapsed {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-left: 20px;
    margin-top: 0;
}

.mobile-submenu.expanded {
    max-height: 500px;
    transition: max-height 0.3s ease;
    margin-left: 20px;
    margin-top: 10px;
}

.mobile-menu-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-bg.jpg') center/cover;
    opacity: 0.2;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.9);
}

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

/* Sections */
.section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--section-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
}

/* Grid System */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Cards */
.card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.card-description {
    color: var(--light-text);
    margin-bottom: 20px;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e5e5;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-control.error {
    border-color: var(--danger-color);
}

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

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-weight: 500;
}

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

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

.alert ul {
    margin: 0;
    padding-left: 20px;
}

/* Testimonials */
.testimonial {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.testimonial-rating {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--light-text);
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-color);
}

.testimonial-location {
    color: var(--light-text);
    font-size: 14px;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.7));
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    color: white;
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: var(--text-color);
    color: white;
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-5-col {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
}

.footer-4-col {
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
}

.footer-section {
    background: transparent;
    color: white;
}

.footer-title {
    color: white;
    margin-bottom: 20px;
    font-size: 1.25rem;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    transition: color 0.3s ease;
}

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

.footer-description {
    color: #ccc;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #ccc;
}

.contact-item i {
    margin-right: 10px;
    font-size: 16px;
}

.contact-item a {
    color: #ccc;
}

.contact-item a:hover {
    color: var(--accent-color);
}



.footer-certifications {
    background-color: rgba(255,255,255,0.1);
    padding: 20px 0;
}

.certifications {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.certification-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 14px;
}

.certification-item i {
    color: var(--success-color);
}

.footer-bottom {
    background-color: rgba(0,0,0,0.2);
    padding: 20px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: #ccc;
    font-size: 14px;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: #ccc;
    font-size: 14px;
}

.legal-links a:hover {
    color: white;
}

/* Emergency Banner */
.emergency-banner {
    background-color: var(--danger-color);
    color: white;
    padding: 15px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

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

.emergency-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.emergency-btn {
    background-color: white;
    color: var(--danger-color);
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.emergency-btn:hover {
    background-color: #f8f8f8;
    transform: translateY(-1px);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Enhanced Card Styles */
.card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 30px;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

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

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 24px;
}

.card-title {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.card-description {
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-price {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

/* Card Styles */
.card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.card-icon i {
    font-size: 2rem;
    color: white;
}

.card-title {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.25rem;
    font-weight: 600;
}

.card-description {
    color: var(--light-text);
    margin-bottom: 15px;
    flex-grow: 1;
    line-height: 1.6;
}

.card-price {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.card .btn {
    margin-top: auto;
}

/* Text Center Utility */
.text-center {
    text-align: center;
}

/* Margin Top Utility */
.mt-4 {
    margin-top: 2rem;
}

/* Footer Layout Styles */
.footer-content {
    display: grid;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-5-col {
    grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
}

.footer-section {
    min-width: 0; /* Prevents overflow */
}

.footer-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    margin-top: 0; /* Fix header alignment */
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Footer Service Areas Section */
.footer-service-areas {
    background: rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.service-areas-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.areas-list {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.service-radius {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.areas-list strong,
.service-radius strong {
    color: white;
    margin-right: 8px;
}

/* Service Areas List (no links) - Legacy */
.area-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.area-list li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    padding: 4px 0;
}

/* Business Hours Styles */
.business-hours .hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.business-hours .hours-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 32px;
}

.business-hours .hours-list li:last-child {
    border-bottom: none;
}

.business-hours .day {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
}

.business-hours .hours {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-align: right;
    margin-left: 10px;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-5-col {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 30px;
    }
    
    .footer-section.service-areas,
    .footer-section.business-hours {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .footer-5-col {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
    
    .footer-section {
        grid-column: span 1;
    }
    
    .service-areas-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .footer-5-col {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section {
        grid-column: span 1;
    }
}

/* Service Page Styles */
.service-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.service-main {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.service-content h2 {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.service-content h3 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.service-content p {
    color: var(--light-text);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Cleaning Types Grid */
.cleaning-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.cleaning-type {
    background: var(--section-bg);
    padding: 25px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.cleaning-type h4 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.cleaning-type p {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Process Steps */
.process-steps {
    margin: 30px 0;
}

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--text-color);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.step-content p {
    color: var(--light-text);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Benefits List */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.benefits-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    color: var(--light-text);
    line-height: 1.6;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Service Sidebar */
.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-info-card,
.service-guarantee,
.contact-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.service-info-card h3,
.service-guarantee h3,
.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--text-color);
    font-weight: 500;
}

.info-value {
    color: var(--primary-color);
    font-weight: 600;
}

.service-guarantee ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.service-guarantee li {
    padding: 8px 0;
    color: var(--light-text);
    position: relative;
    padding-left: 20px;
}

.service-guarantee li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.contact-card p {
    color: var(--light-text);
    margin-bottom: 20px;
}

.phone-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
}

.phone-link:hover {
    color: var(--secondary-color);
}

/* Responsive Service Layout */
@media (max-width: 768px) {
    .service-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-main {
        padding: 25px;
    }
    
    .cleaning-types {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
}
