/*
Theme Name: Melbourne Carpet Cleaning Near Me
Theme URI: https://melbournecarpetcleaningnearme.com.au/
Author: Melbourne Services
Author URI: https://melbournecarpetcleaningnearme.com.au/
Description: Professional carpet cleaning WordPress theme for Melbourne Carpet Cleaning Near Me. Built with Tailwind CSS v4.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: melbourne-carpet
Tags: carpet-cleaning, business, responsive, tailwindcss
*/

/* ═══════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════ */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ═══════════════════════════════════════
   CONTACT FORM 7 OVERRIDES
   ═══════════════════════════════════════ */
.fc-input {
    border-color: #ffedd5 !important;
    background: #fdf8f6 !important;
}

.fc-input:focus {
    ring-color: rgba(249, 115, 22, 0.3);
    border-color: #f97316 !important;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.fc-submit {
    background: linear-gradient(135deg, #f97316, #fb923c) !important;
    cursor: pointer;
    border: none;
}

.fc-submit:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Remove CF7's default span wrappers */
.wpcf7-form-control-wrap {
    display: block !important;
    width: 100%;
}

/* Hide default CF7 spinner */
.wpcf7-spinner {
    position: absolute;
}

/* ═══════════════════════════════════════
   TOP BAR STAR
   ═══════════════════════════════════════ */
span.star {
    position: relative;
    bottom: 5px !important;
}

/* ═══════════════════════════════════════
   MOBILE STICKY BAR
   ═══════════════════════════════════════ */
@media (min-width: 767px) {
    .forphone {
        display: none !important;
    }
}

@media (max-width: 767px) {
    section {
        overflow-x: hidden;
    }
    .forphone {
        display: block;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    }
    .mobile-sticky-bar__call {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 50%;
        flex: 0 0 50%;
        height: 56px;
        padding: 0 14px;
        text-decoration: none;
        color: #ffffff;
        background-color: #1a1a2e;
        transition: background-color 0.2s ease;
        box-sizing: border-box;
    }
}

/* ═══════════════════════════════════════
   WORDPRESS DEFAULTS
   ═══════════════════════════════════════ */
.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.aligncenter {
    display: block;
    margin: 0 auto 1em;
}

img.alignleft, img.alignright, img.aligncenter {
    max-width: 100%;
    height: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

.gallery {
    margin: 0 -4px;
}

.gallery-item {
    display: inline-block;
    padding: 4px;
    vertical-align: top;
}

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

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}
