/* ===============================
   GLOBAL BRAND STYLES
   Sawyer's Towing (Red / White / Navy)
   Fortune-500 Grade UI System
================================ */

:root {
    --navy: #0D1C2E;
    --navy-light: #112D45;
    --red: #C62828;
    --red-dark: #A82323;
    --white: #FFFFFF;
    --gray-light: #F2F3F5;
    --gray: #D9D9D9;
    --text-dark: #1A1A1A;
    --text-gray: #4A4A4A;

    --max-width: 1200px;
}

/* ===============================
   GLOBAL RESET + BODY
================================ */

body {
    margin: 0;
    padding: 0;
    background: var(--white);
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    margin-top: 0;
    color: var(--navy);
    letter-spacing: 0.5px;
}

p {
    color: var(--text-gray);
    font-size: 17px;
}

/* ===============================
   LAYOUT CONTAINER
================================ */

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: auto;
}

/* ===============================
   NAVIGATION
================================ */

.nav-header {
    background: var(--navy);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

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

.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-brand {
    font-family: 'Montserrat', sans-serif;
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
}

.nav-right a {
    color: var(--white);
    text-decoration: none;
    margin-left: 26px;
    font-weight: 500;
    transition: 0.2s ease;
}

.nav-right a:hover {
    color: var(--gray-light);
}

/* ===============================
   BUTTONS
================================ */

.btn-red {
    background: var(--red);
    color: var(--white);
    padding: 14px 26px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: 0.25s ease;
}

.btn-red:hover {
    background: var(--red-dark);
}

.btn-outline {
    border: 2px solid var(--navy);
    color: var(--navy);
    padding: 12px 26px;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.25s ease;
    text-decoration: none;
}

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

/* ===============================
   HERO SECTIONS
================================ */

.hero {
    width: 100%;
    padding: 160px 0;
    text-align: left;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(13, 28, 46, 0.65); /* Navy overlay */
}

.hero > .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 46px;
    color: var(--white);
    margin-bottom: 14px;
}

.hero p {
    font-size: 20px;
    color: var(--gray-light);
    max-width: 650px;
}

/* ===============================
   SECTIONS
================================ */

.section {
    padding: 80px 0;
}

.section.gray {
    background: var(--gray-light);
}

.section h2 {
    font-size: 34px;
    text-align: center;
    margin-bottom: 10px;
}

.section .section-sub {
    text-align: center;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 40px;
}

/* ===============================
   GRID + CARDS
================================ */

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 26px;
}

.card {
    background: var(--white);
    border-radius: 10px;
    padding: 28px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
    border: 1px solid var(--gray);
    transition: 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}

/* ===============================
   FOOTER
================================ */

footer {
    background: var(--navy);
    padding: 40px 0;
    text-align: center;
    color: var(--gray-light);
    margin-top: 60px;
}

footer span {
    color: var(--red);
}

/* ===============================
   MOBILE NAV MENU
================================ */

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: 0.3s ease;
}

/* Mobile Menu Container */
.mobile-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--navy);
    padding: 18px 0;
    border-top: 1px solid var(--gray-light);
    z-index: 999;
}

.mobile-menu a {
    color: var(--white);
    padding: 14px 30px;
    font-size: 18px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: 0.3s ease;
}

.mobile-menu a:hover {
    background: var(--red);
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

/* RESPONSIVE BEHAVIOR */
@media screen and (max-width: 900px) {
    .nav-right {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: none; /* shown with JS */
    }
}
