/*
Theme Name: Serviz
Theme URI: https://example.com/serviz
Author: Digital Hamza
Author URI: https://example.com
Description: A premium service-based WordPress theme with built-in Lead Management and Call Tracking.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: serviz
Tags: service, plumbing, elementor
*/

/* ==========================================================================
   Header Styles
   ========================================================================== */

/* Base Header Setup */
.site-header {
    width: 100%;
    transition: all 0.3s ease-in-out;
}

/* Header Container */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--serviz-header-padding) 20px;
}

/* 3 Columns Layout */
.header-col {
    flex: 1;
    display: flex;
    align-items: center;
}
.header-left {
    justify-content: flex-start;
}
.header-center {
    justify-content: center;
}
.header-right {
    justify-content: flex-end;
}

/* Standard Header */
.standard-header {
    background-color: #ffffff;
    border-bottom: 1px solid #eeeeee;
    position: relative;
    z-index: 100;
}

/* Transparent Header */
.transparent-header {
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
}
.transparent-header .site-title a,
.transparent-header .main-navigation a {
    color: #ffffff;
    text-shadow: 0px 1px 2px rgba(0,0,0,0.5); /* Helps visibility over images */
}

/* Components Styling */
.site-branding img, 
.site-branding .custom-logo {
    width: var(--serviz-logo-width) !important;
    height: auto !important;
    max-width: 100%;
}

.site-title {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

.site-title a {
    text-decoration: none;
    color: #1a1a1a;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.main-navigation a {
    text-decoration: none;
    color: #333333;
    font-weight: 500;
}

.main-navigation a:hover {
    color: #0073aa;
}

/* Header Button */
.serviz-btn {
    display: inline-block;
    background-color: #0073aa;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.serviz-btn:hover {
    background-color: #005177;
    color: #ffffff;
}

/* Social Icons */
.header-social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    font-weight: bold;
    color: #333;
    text-decoration: none;
}
.transparent-header .social-icon {
    color: #fff;
}

/* Elementor Full Width Fixes */
.elementor-page .site-main {
    max-width: 100%;
    padding: 0;
    margin: 0;
}
.full-width-main {
    width: 100%;
    max-width: 100%;
}

/* ==========================================================================
   Global Colors Setup (Uses CSS Variables from Customizer)
   ========================================================================== */
body {
    background-color: var(--serviz-bg-color);
    color: var(--serviz-text-color);
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--serviz-heading-color);
}

a {
    color: var(--serviz-btn-color);
}
a:hover {
    color: var(--serviz-btn-hover);
}

button, input[type="submit"], .serviz-btn {
    background-color: var(--serviz-btn-color);
    color: #ffffff;
}
button:hover, input[type="submit"]:hover, .serviz-btn:hover {
    background-color: var(--serviz-btn-hover);
}

/* ==========================================================================
   Premium Footer Styles
   ========================================================================== */
.site-footer {
    background-color: var(--serviz-footer-bg);
    color: var(--serviz-footer-text);
    padding-top: 80px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Glowing Accent Line on Top */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--serviz-btn-color), var(--serviz-btn-hover), #00e5ff);
}

.footer-widgets-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
}

/* Widget Styling */
.site-footer .widget {
    margin-bottom: 30px;
}

.site-footer .widget-title {
    color: var(--serviz-footer-heading);
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 15px;
}

/* Animated Underline for Titles */
.site-footer .widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--serviz-btn-color);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.site-footer .widget:hover .widget-title::after {
    width: 80px;
}

/* Links & Micro-Animations */
.site-footer a {
    color: var(--serviz-footer-text);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

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

.site-footer ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}

/* Custom Animated Bullets */
.site-footer ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--serviz-btn-color);
    transition: transform 0.3s ease;
    font-size: 16px;
    top: 0px;
    opacity: 0.7;
}

.site-footer ul li:hover::before {
    transform: translateX(4px);
    opacity: 1;
}

.site-footer ul li a:hover {
    color: var(--serviz-footer-heading);
    transform: translateX(6px);
}

/* Premium Footer Bar */
.footer-bar {
    background-color: var(--serviz-footer-bar-bg);
    padding: 25px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright-text {
    margin: 0;
    font-size: 14px;
    color: var(--serviz-footer-text);
    opacity: 0.6;
    font-weight: 500;
    letter-spacing: 0.5px;
}
