/* ===================================
   DAVID SOLAR HEADER STYLING
   =================================== */

/* Hide Site Title */
.wp-block-site-title,
.site-title,
.site-branding .site-title {
    display: none !important;
}

/* Header */
header,
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* Header Row */
header .wp-block-group,
.site-header .wp-block-group {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px;
    padding: 15px 30px;
}

/* Logo */
.wp-block-site-logo img,
.custom-logo {
    max-height: 70px;
    width: auto;
}

/* Header Text */
header p,
.site-header p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    flex: 1;
}

/* Button Container */
.wp-block-button {
    margin: 0 !important;
}

/* Request Quote Button */
.wp-block-button__link,
.wp-element-button {
    background: #f7b500 !important;
    color: #000 !important;
    border-radius: 999px !important;
    padding: 14px 30px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.wp-block-button__link:hover,
.wp-element-button:hover {
    transform: translateY(-2px);
}

/* Hamburger Menu */
.menu-toggle,
.navbar-toggler {
    color: #000 !important;
    font-size: 28px !important;
    padding: 8px;
}

/* ===================================
   TABLET
   =================================== */

@media (max-width: 1024px) {

    .wp-block-site-logo img,
    .custom-logo {
        max-height: 60px;
    }

    header p,
    .site-header p {
        font-size: 15px;
    }

    .wp-block-button__link,
    .wp-element-button {
        padding: 12px 24px !important;
    }
}

/* ===================================
   MOBILE
   =================================== */

@media (max-width: 768px) {

    header .wp-block-group,
    .site-header .wp-block-group {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        padding: 10px 15px;
        gap: 10px;
    }

    /* Hide paragraph text on mobile */
    header p,
    .site-header p {
        display: none !important;
    }

    /* Larger mobile logo */
    .wp-block-site-logo img,
    .custom-logo {
        max-height:350px !important;
        width: auto;
    }

    /* Mobile button */
    .wp-block-button__link,
    .wp-element-button {
        padding: 10px 18px !important;
        font-size: 13px !important;
    }

    .menu-toggle,
    .navbar-toggler {
        font-size: 32px !important;
    }
}

/* ===================================
   SMALL PHONES
   =================================== */

@media (max-width: 480px) {

    .wp-block-site-logo img,
    .custom-logo {
        max-height: 150px !important;
    }

    .wp-block-button__link,
    .wp-element-button {
        padding: 8px 14px !important;
        font-size: 12px !important;
    }
}