/* Bynum's Heating & Cooling Services Manhattan - Premium CSS */

:root {
    /* Color Palette - HSL Custom Properties */
    --primary-h: 210;
    --primary-s: 100%;
    --primary-l: 25%;
    /* Deep Blue - Trust & Stability */

    --secondary-h: 35;
    --secondary-s: 100%;
    --secondary-l: 50%;
    /* Amber/Orange - Emergency & Heat */

    --text-dark: hsl(210, 20%, 15%);
    --text-muted: hsl(210, 10%, 45%);
    --bg-light: hsl(210, 20%, 98%);
    --white: #ffffff;
    --dark-section: hsl(210, 30%, 10%);

    --primary: hsl(var(--primary-h), var(--primary-s), var(--primary-l));
    --primary-hover: hsl(var(--primary-h), var(--primary-s), calc(var(--primary-l) + 10%));
    --secondary: hsl(var(--secondary-h), var(--secondary-s), var(--secondary-l));
    --secondary-hover: hsl(var(--secondary-h), var(--secondary-s), calc(var(--secondary-l) - 10%));

    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --border-radius: 8px;
}

.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}


/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.py-section {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--dark-section);
}

.text-white {
    color: var(--white);
}

.rounded {
    border-radius: var(--border-radius);
}

.shadow {
    box-shadow: var(--shadow);
}

.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

.mt-3 {
    margin-top: 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--primary-hover);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Header & Nav */
.header {
    position: relative;
    z-index: 100;
}

.top-bar {
    background-color: var(--primary);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.phone-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
}

.nav {
    padding: 1.5rem 2rem;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Merriweather', serif;
    font-size: 1.8rem;
    color: var(--primary);
    letter-spacing: -1px;
}

.brand-tagline {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary);
    font-weight: 700;
    margin-top: -5px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    background-color: #f0f4f8;
    /* Fallback */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.hero-content-wrapper {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* Services section */
.section-header {
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-subtitle {
    color: var(--secondary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background: var(--primary);
    color: var(--white);
}

/* Service Call Box */
.service-call-box {
    background: var(--primary);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    color: var(--white);
    gap: 2rem;
    transition: var(--transition);
}

.service-call-box i {
    font-size: 3.5rem;
    opacity: 0.9;
}

.service-call-box h2 {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    margin: 0;
}

.service-call-box p {
    margin-bottom: 0.25rem;
    font-weight: 500;
    opacity: 0.8;
}

/* Detailed Lists */
.service-card ul {
    list-style: none;
    margin-top: 1rem;
}

.service-card ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.service-card ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-size: 0.8rem;
}


/* About Section */
.about .container-flex {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    display: grid;
}

.trust-list {
    list-style: none;
    margin: 1.5rem 0;
}

.trust-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.trust-list i {
    color: var(--secondary);
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.review-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--primary);
}

.stars {
    color: var(--secondary);
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: var(--dark-section);
    color: var(--white);
    padding-bottom: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 3rem;
    margin-bottom: 2rem;
}

.footer .logo .brand-name {
    color: var(--white);
}

.footer h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-family: 'Inter', sans-serif;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

/* Brands Section */
.brands-section {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.brands-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    padding-top: 3rem;
}

.brand-item {
    flex: 0 0 calc(16.666% - 2rem);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    transition: var(--transition);
    filter: grayscale(100%);
    opacity: 0.6;
}

.brand-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.brand-item img {
    max-width: 120px;
    height: auto;
    display: block;
}

@media (max-width: 992px) {
    .brand-item {
        flex: 0 0 calc(25% - 2rem);
    }
}

@media (max-width: 768px) {
    .brand-item {
        flex: 0 0 calc(50% - 2rem);
    }
}


/* Responsive */
@media (max-width: 992px) {

    .hero-content-wrapper,
    .about .container-flex {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .nav-links {
        display: none;
    }

    /* Mobile menu simplified for demo */
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* Floating Call Button */
.floating-call {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
    animation: pulse 2s infinite;
}

.floating-call:hover {
    background-color: var(--secondary-hover);
    transform: scale(1.1);
    color: var(--white);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 153, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 153, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 153, 0, 0);
    }
}