/*
Theme Name: Future Plumbing
Description: Professional WordPress theme for plumbing companies with full-width background and centered content container
Version: 1.0.0
Author: Future Plumbing Theme
*/

/* ==========================================================================
   FULL-WIDTH BACKGROUND LAYOUT
   ========================================================================== */

/* Full-width background wrapper */
.site-wrapper {
    min-height: 100vh;
    background-image: url('https://futureplumbing.jh.rs/wp-content/uploads/2025/08/fgg-scaled.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
}

/* Centered translucent content container */
.site-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site {
    display: flex;
    flex-direction: column;
    flex: 1;
    color: #ffffff;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: transparent;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem 0;
    line-height: 1.2;
    color: #ffffff;
}

p {
    margin: 0 0 1rem 0;
}

a {
    color: #1ea2cd;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   HEADER STYLES
   ========================================================================== */

.site-header {
    background-color: rgba(30, 162, 205, 0.95);
    color: #ffffff;
    padding: 0;
}

.license-bar {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 8px 20px;
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.license-number {
    font-weight: bold;
    color: #ffffff;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo img {
    width: 128px;
    height: 96px;
    object-fit: contain;
}

.company-info h1,
.company-info h2 {
    margin: 0;
    color: #ffffff;
}

.company-info .company-name-top {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
}

.company-info .company-name-bottom {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 5px;
}

.phone-text {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

.phone-number a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
}

.phone-number a:hover {
    text-decoration: underline;
}

/* Navigation Styles */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.main-navigation a {
    background-color: rgba(255, 255, 255, 0.9);
    color: #424242;
    padding: 10px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 14px;
}

.main-navigation .current-menu-item a,
.main-navigation .current_page_item a {
    background-color: #ffffff;
    color: #1ea2cd;
}

.main-navigation a:hover {
    background-color: #ffffff;
    color: #1ea2cd;
    transform: translateY(-2px);
}

/* Mobile Menu Button */
.mobile-menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #424242;
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ==========================================================================
   MAIN CONTENT STYLES
   ========================================================================== */

.site-main {
    flex: 1;
    padding: 0;
}

.main-content {
    padding: 40px 20px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.content-section h2 {
    color: #1ea2cd;
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: bold;
}

.content-section h3 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: bold;
}

.content-section p {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 15px;
}

.features-list,
.services-list {
    list-style: none;
    padding: 0;
    color: #d1d5db;
}

.features-list li,
.services-list li {
    padding: 5px 0;
    border-left: 3px solid #1ea2cd;
    padding-left: 15px;
    margin-bottom: 8px;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: #1ea2cd;
    color: #ffffff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #137bb8;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 162, 205, 0.3);
}

/* ==========================================================================
   FOOTER STYLES
   ========================================================================== */

.site-footer {
    background-color: rgba(42, 42, 42, 0.95);
    color: #ffffff;
    padding: 40px 20px 20px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
    align-items: start;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo .logo img {
    width: 128px;
    height: 96px;
    object-fit: contain;
}

.footer-logo .company-info h3,
.footer-logo .company-info h4 {
    margin: 0;
    color: #ffffff;
}

.footer-logo .phone-number a {
    color: #1ea2cd;
    text-decoration: none;
    font-weight: bold;
}

.footer-logo .phone-number a:hover {
    text-decoration: underline;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.footer-nav a {
    color: #d1d5db;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
    text-transform: uppercase;
}

.footer-nav .current-menu-item a,
.footer-nav .current_page_item a {
    color: #1ea2cd;
}

.footer-nav a:hover {
    color: #1ea2cd;
}

.social-media img {
    width: 32px;
    height: 32px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.social-media img:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #d1d5db;
    font-size: 14px;
}

/* Footer Widgets */
.footer-widgets {
    padding: 40px 20px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.footer-widgets-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    max-width: 1160px;
    margin: 0 auto;
}

.footer-widget-column {
    color: #d1d5db;
}

.footer-widgets .widget {
    margin-bottom: 30px;
}

.footer-widgets .widget-title {
    color: #1ea2cd;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
}

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

.footer-widgets .widget ul li {
    margin-bottom: 8px;
    padding-left: 0;
}

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

.footer-widgets .widget a:hover {
    color: #1ea2cd;
}

.footer-widgets .widget p {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-widgets .widget h1,
.footer-widgets .widget h2,
.footer-widgets .widget h3,
.footer-widgets .widget h4,
.footer-widgets .widget h5,
.footer-widgets .widget h6 {
    color: #ffffff;
    margin-bottom: 15px;
}

/* Additional footer widgets */
.additional-footer-widgets {
    padding: 20px;
    background-color: rgba(42, 42, 42, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.additional-footer-widgets .widget {
    margin-bottom: 20px;
    text-align: center;
}

.additional-footer-widgets .widget-title {
    color: #1ea2cd;
    font-size: 16px;
    margin-bottom: 10px;
}

/* ==========================================================================
   FORM STYLES
   ========================================================================== */

form {
    margin: 20px 0;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #1ea2cd;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #4b5563;
    border-radius: 4px;
    background: #374151;
    color: #ffffff;
    margin-bottom: 15px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #1ea2cd;
    box-shadow: 0 0 5px rgba(30, 162, 205, 0.3);
}

button[type="submit"] {
    background-color: #1ea2cd;
    color: #ffffff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

button[type="submit"]:hover {
    background-color: #137bb8;
    transform: translateY(-2px);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1024px) {
    .site-container {
        margin: 0;
        max-width: none;
        border-radius: 0;
    }

    .site-wrapper {
        background-attachment: scroll;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .footer-widgets-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    /* Tablet menu adjustments */
    .header-content {
        position: relative;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
    }

    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
        z-index: 1002;
    }

    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        display: none;
        z-index: 1001;
    }

    .main-navigation.mobile-menu-open {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        background-color: rgba(0, 0, 0, 0.95);
        padding: 20px;
        margin: 0;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    .main-navigation a {
        text-align: center;
        padding: 12px 20px;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 16px;
    }

    .main-navigation li:last-child a {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .header-content {
        position: relative;
        align-items: center;
        justify-content: space-between;
        padding: 15px 20px;
    }

    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
        z-index: 1002;
    }

    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        display: none;
        z-index: 1001;
    }

    .main-navigation.mobile-menu-open {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        background-color: rgba(0, 0, 0, 0.95);
        padding: 20px;
        margin: 0;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    .main-navigation a {
        text-align: center;
        padding: 15px 20px;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-navigation li:last-child a {
        border-bottom: none;
    }

    .company-info .company-name-top {
        font-size: 24px;
    }

    .company-info .company-name-bottom {
        font-size: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .main-content {
        padding: 20px 15px;
    }

    .footer-widgets {
        padding: 20px 15px;
    }

    .footer-widgets-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .site-container {
        padding: 0;
    }

    .license-bar {
        padding: 8px 15px;
        font-size: 12px;
    }

    .header-content {
        padding: 15px;
    }

    .logo-section {
        gap: 10px;
    }

    .site-logo img {
        width: 48px;
        height: 48px;
    }

    .company-info .company-name-top {
        font-size: 20px;
    }

    .company-info .company-name-bottom {
        font-size: 18px;
    }

    .phone-text {
        font-size: 14px;
    }

    .phone-number a {
        font-size: 16px;
    }

    .main-content {
        padding: 15px 10px;
    }

    .content-section h2 {
        font-size: 24px;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.screen-reader-text {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}

.container {
    max-width: 100%;
    padding: 0 20px;
}

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

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.margin-bottom-large {
    margin-bottom: 40px;
}

.margin-bottom-medium {
    margin-bottom: 20px;
}

.margin-bottom-small {
    margin-bottom: 10px;
}

/* ==========================================================================
   ELEMENTOR COMPATIBILITY
   ========================================================================== */

.elementor-page .site-main {
    padding: 0;
}

.elementor-page .main-content {
    padding: 0;
}

.elementor-section {
    padding: 0;
}

.elementor-widget {
    color: inherit;
}

/* Ensure Elementor content stays within container */
.elementor-page .elementor-section-wrap {
    max-width: 100%;
    overflow-x: hidden;
}
