/* css/components.css (v5) */

/* 1) LOGO + TEXT */
.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.logo img {
    max-height: 88px;
    width: auto;
    display: block;
}

.logo-text {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--pp-white);
    line-height: 1;
}

/* 2) INLINE ICONS */
.icon {
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    margin-right: 0.5rem;
    fill: var(--pp-blue);
}

/* 3) HEADER PHONE LINK */
.header-phone {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.header-phone .phone-icon {
    width: 1.25em;
    height: 1.25em;
    fill: var(--pp-white);
}

.header-phone a {
    color: var(--pp-white);
    font-weight: 700;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.125rem;
}

.header-phone a:hover {
    color: var(--pp-yellow);
}

/* 4) GET-QUOTE BUTTON */
.get-quote {
    display: inline-block;
    background: var(--pp-red);
    color: var(--pp-white);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.get-quote:hover {
    background: var(--pp-yellow);
    color: var(--pp-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 5) NAV DROPDOWN */
.dropdown {
    position: relative;
}

.dropbtn {
    background: none;
    border: none;
    color: var(--pp-white);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

.dropdown-content {
    position: absolute;
    top: 120%;
    left: 0;
    background: var(--pp-blue);
    border: 1px solid rgba(255, 255, 255, 0.15);
    min-width: 180px;
    display: none;
    flex-direction: column;
    z-index: 1000;
}

.dropdown-content a {
    padding: 0.5rem 1rem;
    white-space: nowrap;
    color: var(--pp-white);
    text-decoration: none;
    font-size: 0.95rem;
}

.dropdown-content a:hover {
    background: var(--pp-yellow);
    color: var(--pp-blue);
}

.dropdown:hover .dropdown-content,
.dropdown.open .dropdown-content {
    display: flex;
}

/* 6) REVEAL-ON-SCROLL */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* 7) BUTTON ELEMENTS */
button {
    display: inline-block;
    background: var(--pp-red);
    color: var(--pp-white);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
    background: var(--pp-yellow);
    color: var(--pp-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}