/* ========== THEME ========== */

:root {
    --bg: #ffffff;
    --surface: #006835;
    --text: #000000;
    --muted: #555555;
    --accent: #006835;
    --header-bg: #ffffff;
    --button: #006835;
    --button-hover: #00512a;
    --border-subtle: #2a3a4a;
}

/* ========== GLOBAL ========== */

html {
    font-size: 18px;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: var(--bg);
    color: var(--text);
}

main {
    flex: 1;
}

/* center inner pages (Deals, About, Contact) */
.content {
    max-width: 960px;
    margin: 2.5rem auto 3rem;
    padding: 0 1.5rem;
}

/* Home only: let hero go full width */
.home-page {
    max-width: none;
    margin: 0;
    padding: 0;
}

/* ========== HEADER / NAV ========== */

.top-bar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2.5rem;
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--accent);
    text-decoration: none;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

.tagline {
    font-size: 0.8rem;
    color: var(--muted);
    margin: 0;
}

.top-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.top-nav a {
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: none;
}

.top-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.2s ease-out;
}

.top-nav a:hover::after,
.top-nav a[aria-current="page"]::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--accent);
    border-radius: 999px;
}

/* ========== SIDE NAV (MOBILE) ========== */

.side-nav {
    position: fixed;
    top: 0;
    left: -240px;
    width: 220px;
    height: 100vh;
    background-color: var(--bg);
    padding-top: 4rem;
    box-shadow: 2px 0 6px rgba(0, 0, 0, 0.6);
    transition: left 0.25s ease;
    z-index: 1000;
}

.side-nav a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--accent);
    text-decoration: none;
    font-size: 0.95rem;
}

.side-nav a:hover {
    background-color: var(--surface);
    color: #ffffff;
}

.side-nav.open {
    left: 0;
}

/* ========== HERO (HOME) ========== */

.hero {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4.5rem 1.5rem 5rem;
    text-align: left;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(0, 104, 53, 0.9), rgba(0, 0, 0, 0.85)),
        url("Images/Hero.jpg") center 35% / cover no-repeat;
}

.hero-inner {
    max-width: 720px;
    margin: 0 auto;   /* centers text block inside hero */
    width: 100%;
}

.hero h1 {
    margin: 0 0 0.75rem;
    font-size: 2.8rem;
    letter-spacing: 0.02em;
}

.hero-subtitle {
    margin: 0 0 1.5rem;
    font-size: 1.15rem;
    max-width: 480px;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

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

.primary-button {
    display: inline-block;
    padding: 0.8rem 1.9rem;
    border-radius: 999px;
    background-color: #ffffff;
    color: var(--accent);
    border: none;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out,
                background-color 0.15s ease-out, color 0.15s ease-out;
}

.primary-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.25);
    background-color: var(--accent);
    color: #ffffff;
}

.hero-secondary {
    font-size: 0.95rem;
    opacity: 0.9;
}

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

.site-footer {
    text-align: center;
    padding: 0.5rem 1rem;
    background-color: var(--bg);
    color: var(--muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--border-subtle);
    line-height: 1.2;
}

.site-footer p {
    margin: 0;
}

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

@media (max-width: 768px) {
    .top-bar {
        padding: 0.75rem 1rem;
    }

    .top-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .tagline {
        display: none;
    }

    .logo img {
        height: 34px;
    }

    .logo {
        font-size: 1.1rem;
    }

    .hero {
        min-height: 60vh;
        padding: 4rem 1.25rem 4rem;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hamburger span {
        background-color: #ffffff;
    }
}

/* ========== DEALS PAGE ========== */

.deals-header {
    text-align: center;
    margin-bottom: 2rem;
}

.deals-header h1 {
    margin: 0 0 0.5rem;
    font-size: 2rem;
    color: var(--accent);
}

.deals-header p {
    margin: 0;
    font-size: 1rem;
    color: var(--muted);
}

.post.deal-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 1.5rem 1.75rem 1.6rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: left;
}

.post.deal-card h2 {
    margin: 0 0 0.35rem;
    font-size: 1.4rem;
    color: var(--accent);
}

.post.deal-card .meta {
    margin: 0 0 0.9rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.deal-body {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2.5rem;
    align-items: center;
    justify-content: space-between;
}

.deal-body ul {
    margin: 0;
    padding-left: 1.2rem;
    font-size: 0.95rem;
    color: var(--text);
}

.deal-body li + li {
    margin-top: 0.3rem;
}

.deal-body .primary-button {
    flex-shrink: 0;
}

.deals-note {
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .deal-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .post.deal-card {
        padding: 1.25rem 1.25rem 1.4rem;
    }
}

/* ========== ABOUT PAGE ========== */

.about-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 2rem 2.25rem 2.2rem;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.about-header h1 {
    margin: 0 0 0.5rem;
    font-size: 2rem;
    color: var(--accent);
}

.about-header p {
    margin: 0 0 1.5rem;
    font-size: 1rem;
    color: var(--muted);
}

.about-body p {
    margin: 0 0 1rem;
    line-height: 1.6;
    font-size: 0.98rem;
    color: var(--text);
}

.about-body p:last-child {
    margin-bottom: 0;
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    align-items: center;
    margin-top: 1.75rem;
}

.about-link {
    font-size: 0.95rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.about-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .about-card {
        padding: 1.6rem 1.4rem 1.8rem;
    }

    .about-header h1 {
        font-size: 1.7rem;
    }
}

/* ========== CONTACT PAGE ========== */

.contact-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 2rem 2.25rem 2.2rem;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    margin: 0 auto;
    text-align: center;
}

.contact-header h1 {
    margin: 0 0 0.5rem;
    font-size: 2rem;
    color: var(--accent);
}

.contact-header p {
    margin: 0 0 1.5rem;
    font-size: 1rem;
    color: var(--muted);
}

.contact-body.simple-contact {
    display: flex;
    justify-content: center;
}

.contact-details p {
    margin: 0 0 0.4rem;
    font-size: 0.98rem;
    color: var(--text);
}

.contact-details a {
    color: var(--accent);
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
}

.contact-note {
    margin-top: 1.75rem;
    font-size: 0.85rem;
    color: var(--muted);
}

@media (max-width: 768px) {
    .contact-card {
        padding: 1.6rem 1.4rem 1.8rem;
    }
}
