/* ===================================================
   NeWeighs — Layout Styles
   Includes: Header, Navigation, Pre-Footer, Footer
   =================================================== */

/* ── HEADER & NAVIGATION ────────────────────────── */
.site-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 2000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.header-main {
    padding: 15px 0;
}

.header-main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-cta .btn-primary {
    padding: 10px 24px;
    font-size: 14px;
    white-space: nowrap;
}

.header-logo a {
    display: flex;
    align-items: center;
}

.logo-svg,
.logo-img {
    height: 60px;
    width: auto;
}

.header-contact-info {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header-location {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
}

.header-phone {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
}

/* Nav Bar Bottom */
.header-nav-bar {
    background: var(--blue-primary);
    width: 100%;
}

.site-nav {
    width: 100%;
}

.nav-inner {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 30px;
}

.nav-inner li a,
.nav-dropdown-btn {
    padding: 15px 10px;
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition);
    display: block;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font);
}

.nav-inner li a:hover,
.nav-dropdown-btn:hover,
.nav-inner li a.active {
    color: rgba(255, 255, 255, 0.8);
}

/* Dropdowns */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--blue-dark);
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    list-style: none;
    z-index: 100;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
}

.dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--blue-primary);
    cursor: pointer;
}

/* ── GREEN PRE-FOOTER (Learn More Section) ──────── */
.pre-footer {
    background: var(--green-section);
    padding: 60px 0;
}

.pre-footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.pre-footer-text h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--blue-dark);
    margin-bottom: 16px;
}

.pre-footer-text p {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.7;
}

.pre-footer-video {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.pre-footer-video img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-lg);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--blue-primary);
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.pre-footer-video:hover .play-btn {
    background: var(--white);
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ── FOOTER ─────────────────────────────────────── */
.site-footer {
    background: var(--blue-primary);
    color: var(--white);
    padding: 50px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
}

.footer-col p,
.footer-col address {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    font-style: normal;
    line-height: 1.8;
}

.footer-phone {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 14px;
    display: block;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--white);
    font-size: 15px;
    transition: var(--transition);
    text-decoration: none;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hours-row:last-child {
    border-bottom: none;
}

.sub-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 16px 24px;
    text-align: center;
}

.sub-footer p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.8;
    margin-bottom: 4px;
}

.sub-footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
    transition: color 0.2s;
}

.sub-footer a:hover {
    color: var(--white);
}