﻿:root {
    --forest-dark: 60,74,67;
    --title: #ead7c9;
    --fog: #f6efe9;
    --accent_orange: #C96E57;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Raleway', sans-serif;
    background: linear-gradient( rgba(var(--forest-dark), 0.4), rgba(var(--forest-dark), 0.4) ), url("../images/deck_top_view.jpg") center / cover no-repeat;
    color: var(--fog);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Main Content */
.main-container {
    max-width: 1200px;
    margin: 4rem auto 2rem;
    text-align: center;
}

    .main-container h1 {
        font-family: 'Oswald', sans-serif;
        font-size: 4rem;
        font-weight: 500;
        color: var(--title);
        margin-bottom: 1rem;
    }

.main-container p {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--fog);
    margin-bottom: 2rem;
}

/* Header */
.site-header {
    display: flex;
    justify-content: center; /* center the logo */
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(var(--forest-dark), 1);
    position: relative;
    z-index: 1001;
}



.logo img {
    display: block;
    height: 60px;
    width: auto;
}

/* Hamburger */
.hamburger {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--fog);
    border-radius: 2px;
    transition: 0.3s;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 25vw;
    max-width: 360px;
    min-width: 260px;
    height: 100%;
    background: rgba(var(--forest-dark), 1); /* 95% opacity */
    transform: translateX(100%);
    transition: transform 0.10s ease-out;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav a:hover {
    color: var(--cedar);
}

/* CTA Buttons */
.cta-stack {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 285px;
    margin: 0 auto 2rem;
}

.cta-button {
    font-family: 'Oswald', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    border-radius: 999px;
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    width: 100%;
    text-align: center;
}

    .cta-button.primary {
        background: var(--accent_orange);
        color: #fff;
    }

        .cta-button.primary:hover {
            background: #a05845;
        }

.cta-button.secondary {
    background: transparent;
    color: var(--fog);
    border: 1px solid rgba(163, 177, 173, 0.35);
}

.cta-button.secondary:hover {
    color: var(--fog);
    border-color: var(--fog);
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: inherit;
    text-decoration: none;
}

.instagram-link:hover {
    color: var(--fog);
}

.instagram-icon {
    width: 20px;
    height: 20px;
}

/* Footer at bottom of page */
footer {
    margin-top: auto; /* push to bottom */
    text-align: center;
    font-size: 0.85rem;
    color: #94a3a0;
    padding: 1.5rem 0;
}

/*Phone sceen options*/
@media (max-width: 768px) {
    .main-container {
        padding: 2rem;
        margin: 3rem 1rem 2rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .mobile-nav {
        width: 100vw;
        max-width: none;
        min-width: 0;
        transition: none;
    }

    .mobile-nav a {
        font-size: 1.75rem;
    }

    .logo img {
        height: 40px;
    }
}

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-nav a {
    text-decoration: none;
    color: var(--fog);
    font-size: 1.5rem;
    font-weight: 500;
    transition: color 0.2s;
}


.mobile-nav a:hover {
    color: var(--cedar);
}