/*
Theme Name: RO Service Premium
Theme URI: https://example.com/ro-service-theme
Author: Your Agency Name
Author URI: https://example.com
Description: A premium, fast, conversion-focused WordPress theme for RO (Water Purifier) service businesses. Elementor & Gutenberg compatible.
Version: 1.0.0
Text Domain: ro-service
Tags: one-column, two-columns, right-sidebar, custom-colors, custom-menu, featured-images
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* 
--------------------------------------------------------------
   1. RESET & VARIABLES
-------------------------------------------------------------- 
*/
:root {
    --color-primary: #007bff;
    /* Aqua Blue */
    --color-secondary: #28a745;
    /* Green */
    --color-accent: #fd7e14;
    /* Soft Orange */
    --color-dark: #333333;
    --color-light: #f8f9fa;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --spacing-container: 1200px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--color-dark);
    line-height: 1.6;
    background-color: #fff;
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* 
--------------------------------------------------------------
   2. UTILITIES
-------------------------------------------------------------- 
*/
.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 1rem;
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--color-light);
}

.section-padding {
    padding: 4rem 0;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: #0056b3;
    color: #fff;
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: #fff;
}

.btn-secondary:hover {
    background-color: #218838;
    color: #fff;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* 
--------------------------------------------------------------
   3. HEADER STYLES
-------------------------------------------------------------- 
*/
.site-top-bar {
    background-color: var(--color-primary);
    color: #fff;
    font-size: 0.9rem;
    padding: 0.5rem 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-item {
    margin-right: 1.5rem;
    font-weight: 500;
}

.contact-item a {
    color: #fff;
}

.site-header {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    /* More premium shadow */
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 1.5rem;
    margin: 0;
    color: var(--color-primary);
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.main-navigation li {
    margin: 0 1rem;
    position: relative;
}

.main-navigation a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--color-dark);
}

.main-navigation a:hover {
    color: var(--color-primary);
}

.menu-toggle {
    display: none;
}

/* 
--------------------------------------------------------------
   4. HERO SECTION
-------------------------------------------------------------- 
*/
.hero-section {
    padding: 4rem 0 0;
    /* Image sticks to bottom of hero */
    background: linear-gradient(180deg, #f0f8ff 0%, #ffffff 100%);
    overflow: hidden;
    position: relative;
    /* For scroll down button */
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-content {
    flex: 1;
    padding-bottom: 4rem;
}

.hero-heading {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-heading span {
    color: var(--color-primary);
}

.hero-subheading {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 2rem;
}

.hero-actions {
    margin-bottom: 2rem;
}

.hero-actions .btn {
    margin-right: 1rem;
}

.hero-features {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-dark);
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    border-radius: 10px 10px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
}

/* 
--------------------------------------------------------------
   5. SECTIONS
-------------------------------------------------------------- 
*/
.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Premium hover */
    border-color: transparent;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.service-link {
    color: var(--color-primary);
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
}

/* Why Choose Us */
.features-grid {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.feature-box {
    flex: 1;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.feat-icon {
    font-size: 2rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    border: 1px solid #eee;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    background: #fff;
}

.pricing-card.popular {
    border: 2px solid var(--color-primary);
    transform: scale(1.05);
    /* Stand out */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 1rem 0 2rem;
}

.pricing-card .price span {
    font-size: 1rem;
    color: #999;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pricing-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f2f2f2;
}

/* 
--------------------------------------------------------------
   6. FOOTER STYLES
-------------------------------------------------------------- 
*/
.site-footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 4rem 0 0;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-heading {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a:hover {
    color: var(--color-primary);
}

.site-info {
    border-top: 1px solid #333;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
}

/* 
--------------------------------------------------------------
   7. MOBILE STICKY CTA
-------------------------------------------------------------- 
*/
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-sticky-cta a {
    flex: 1;
    text-align: center;
    padding: 1rem;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
}

.cta-call {
    background-color: var(--color-primary);
}

.cta-whatsapp {
    background-color: #25D366;
}

/* 
--------------------------------------------------------------
   8. RESPONSIVE
-------------------------------------------------------------- 
*/
@media (max-width: 768px) {
    .top-bar-right {
        display: none;
    }

    .top-bar-inner {
        justify-content: center;
    }

    .main-navigation ul {
        display: none;
        /* Hide for now */
    }

    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
    }

    .mobile-sticky-cta {
        display: flex;
    }

    .hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding-top: 2rem;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-heading {
        font-size: 2rem;
    }

    .features-grid {
        flex-direction: column;
    }

    .pricing-card.popular {
        transform: none;
    }

    .footer-widgets {
        grid-template-columns: 1fr;
        text-align: center;
    }

    body {
        padding-bottom: 60px;
        /* Space for Sticky CTA */
    }
}