/*
Theme Name: Freshly Cleaning Sydney
Author: Antigravity
Description: A professional, responsive WordPress theme for Freshly Cleaning Sydney.
Version: 1.0.0
*/

:root {
    --primary-color: #0F172A;
    /* Deep Navy */
    --secondary-color: #0D9488;
    /* Professional Teal */
    --accent-color: #3B82F6;
    /* Action Blue */
    --danger-color: #E11D48;
    /* For emergency/critical actions */
    --text-color: #334155;
    /* Slate Dark */
    --text-light: #64748B;
    /* Slate Medium */
    --bg-light: #F8FAFC;
    /* Clean Gray-Blue */
    --white: #ffffff;
    --border-color: #E2E8F0;

    /* Premium deep shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-floating: 0px 20px 50px rgba(0, 0, 0, 0.1);

    /* Modern Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
    color: var(--secondary-color);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto', sans-serif;
    color: var(--primary-color);
    margin-bottom: 0.6em;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-highlight {
    color: var(--secondary-color);
}

.text-highlight-red {
    color: var(--accent-color);
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(22, 163, 74, 0.1);
    /* Light green */
    color: var(--secondary-color);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.floating-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-floating);
    overflow: hidden;
}

.border-bottom-accent {
    border-bottom: 4px solid var(--accent-color);
}

.border-bottom-secondary {
    border-bottom: 4px solid var(--secondary-color);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background-color: var(--accent-color);
    /* Default map to Red CTA */
    color: var(--white);
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-full);
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
    text-transform: uppercase;
}

.btn:hover {
    background-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

.btn i {
    margin-right: 10px;
    font-size: 0.9em;
}

.btn-primary {
    background-color: var(--secondary-color);
    /* Green Action */
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3);
}

.btn-primary:hover {
    background-color: #15803D;
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    box-shadow: none;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(0);
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 14px 0;
    font-size: 0.85rem;
    font-weight: 600;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar a {
    color: var(--white);
    margin-right: 25px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
}

.top-bar a:hover {
    color: var(--white);
}

.top-bar-address {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Header */
.site-header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 24px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: padding 0.3s ease;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding a {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--secondary-color), #0f766e);
    color: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.logo-icon i {
    animation: sparkle 3s infinite ease-in-out;
}

@keyframes sparkle {

    0%,
    100% {
        transform: scale(1) rotate(0);
        opacity: 1;
    }

    50% {
        transform: scale(1.2) rotate(10deg);
        opacity: 0.8;
    }
}

/* Navigation */
.header-actions {
    display: flex;
    align-items: center;
    gap: 35px;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    align-items: center;
}

.main-navigation li {
    position: relative;
    margin-left: 30px;
}

.main-navigation a {
    color: var(--text-color);
    font-weight: 700;
    font-size: 1rem;
    text-transform: capitalize;
    padding: 10px 0;
    display: block;
    position: relative;
    transition: color 0.3s;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.main-navigation a:hover {
    color: var(--primary-color);
}

.main-navigation a:hover::after {
    width: 100%;
}

/* Dropdown */
.main-navigation ul li ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 220px;
    z-index: 999;
}

.main-navigation ul li:hover>ul.sub-menu {
    display: block;
}

.main-navigation ul li ul.sub-menu li {
    margin: 0;
    border-bottom: 1px solid var(--border-color);
}

.main-navigation ul li ul.sub-menu li:last-child {
    border-bottom: none;
}

.main-navigation ul li ul.sub-menu a {
    padding: 12px 20px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Footer */
.site-footer {
    background-color: #0A121F;
    color: #A0B2C6;
    padding: 80px 0 30px;
    margin-top: 0;
    border-top: 5px solid var(--secondary-color);
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-widget h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-widget p {
    color: #A0B2C6;
    line-height: 1.8;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 12px;
}

.footer-widget ul a {
    color: #A0B2C6;
    display: inline-flex;
    align-items: center;
}

.footer-widget ul a::before {
    content: '→';
    margin-right: 8px;
    color: var(--secondary-color);
    transition: transform 0.2s ease;
}

.footer-widget ul a:hover {
    color: var(--white);
}

.footer-widget ul a:hover::before {
    transform: translateX(4px);
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.footer-contact p i {
    margin-right: 15px;
    color: var(--secondary-color);
    margin-top: 5px;
}

.site-info {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    font-size: 0.9em;
    color: #6C8299;
}

/* Forms */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 18px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--white);
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.15);
}

/* Responsive */
@media screen and (max-width: 992px) {
    .header-actions {
        gap: 15px;
    }

    .header-cta {
        display: none !important;
    }

    .menu-toggle {
        display: block;
    }

    .main-navigation ul {
        display: none;
        /* simple toggle handled later or just show none initially */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--white);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .main-navigation.toggled ul {
        display: flex;
    }

    .main-navigation li {
        margin: 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
    }

    .main-navigation ul li ul.sub-menu {
        position: static;
        box-shadow: none;
        background-color: #f9f9f9;
    }

    .top-bar .container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}