/*
Theme Name: The Detailing Bliss
Theme URI: https://example.com/
Author: Amandeep
Author URI: https://example.com/
Description: A lightweight custom WordPress theme for The Detailing Bliss car detailing studio.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: detailing-bliss
*/

/* Basic Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #111111;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}




/* =========================
   NORMAL HEADER DESIGN
========================= */

.site-header {
    position: relative;
    width: 100%;
    background-color: #111111;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    z-index: 100;
}

.header-container {
    width: min(1200px, calc(100% - 40px));
    min-height: 78px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Logo */

.site-branding {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.custom-logo {
    width: auto;
    max-width: 170px;
    max-height: 55px;
    object-fit: contain;
}

.site-title {
    color: #ffffff;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

/* Navigation */

.primary-navigation {
    margin-left: auto;
}

.primary-navigation ul {
    display: flex;
    align-items: center;
    gap: 30px;

    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-navigation li {
    margin: 0;
    padding: 0;
}

.primary-navigation a {
    position: relative;
    display: block;
    padding: 27px 0;

    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;

    transition: color 0.25s ease;
}

.primary-navigation a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 20px;
    left: 0;

    width: 0;
    height: 2px;
    margin: auto;

    background-color: #d6a629;
    transition: width 0.25s ease;
}

.primary-navigation a:hover,
.primary-navigation a:focus,
.primary-navigation .current-menu-item > a {
    color: #d6a629;
}

.primary-navigation a:hover::after,
.primary-navigation a:focus::after,
.primary-navigation .current-menu-item > a::after {
    width: 100%;
}

/* Call Button */

.header-actions {
    flex-shrink: 0;
}

.header-call-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;
    padding: 10px 22px;

    border: 1px solid #d6a629;
    border-radius: 4px;
    background-color: #d6a629;

    color: #111111;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;

    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}

.header-call-button:hover,
.header-call-button:focus {
    background-color: transparent;
    color: #ffffff;
}

/* Hide Skip Link Until Keyboard Focus */

.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 9999;

    padding: 10px 16px;
    background-color: #ffffff;
    color: #111111;
    text-decoration: none;
}

.skip-link:focus {
    top: 20px;
}

/* Tablet */

@media (max-width: 900px) {
    .header-container {
        gap: 20px;
    }

    .primary-navigation ul {
        gap: 18px;
    }

    .primary-navigation a {
        font-size: 14px;
    }

    .header-call-button {
        padding: 9px 16px;
    }
}

/* Mobile */

@media (max-width: 767px) {
    .header-container {
        width: min(100% - 30px, 1200px);
        min-height: 70px;
        flex-wrap: wrap;
        gap: 12px;
        padding: 12px 0;
    }

    .custom-logo {
        max-width: 135px;
        max-height: 46px;
    }

    .site-title {
        font-size: 18px;
    }

    .header-call-button {
        min-height: 40px;
        padding: 8px 14px;
        font-size: 13px;
    }

    .primary-navigation {
        order: 3;
        width: 100%;
        margin-left: 0;
        overflow-x: auto;
    }

    .primary-navigation ul {
        justify-content: flex-start;
        gap: 22px;
        min-width: max-content;
    }

    .primary-navigation a {
        padding: 10px 0;
        font-size: 14px;
    }

    .primary-navigation a::after {
        bottom: 5px;
    }
}




