/* ==========================================
   THE PACKITUP CO. - BRANDED MASTER STYLES 
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
} 

:root {
    --brand-green: #2d5a27;
    --brand-gold: #d1c942;
    --brand-white: #f4f9f3;
    --dark-text: #222222;
    --light-bg: #f9fbf8;
} 

body {
    background-color: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
} 

/* --- Global Header & Navbar --- */
header {
    background-color: var(--brand-green);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    border-bottom: 3px solid var(--brand-gold);
} 

/* Base Header Setup */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1rem 2rem;
}

/* Hamburger Icon Styling */
.nav-toggle {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.nav-toggle span {
    width: 100%;
    height: 3px;
    background-color: #333; /* Change color if your background is dark */
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex; /* Show hamburger button on mobile */
    }

    header nav {
        display: none; /* Hide nav links by default on mobile */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff; /* Match your header background color */
        padding: 1.5rem 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        text-align: center;
        gap: 1rem;
        z-index: 999;
    }

    header nav.active {
        display: flex; /* Display links when hamburger is clicked */
    }
}

header nav a.active {
    font-weight: bold;
    color: #007bff; /* Or your brand's primary color */
}

.logo-text {
    color: var(--brand-white);
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: 1px;
} 

.logo-text span {
    color: var(--brand-gold);
}

nav a {
    color: var(--brand-white);
    text-decoration: none;
    margin-left: 25px;
    font-weight: 500;
    transition: color 0.3s ease;
} 

nav a:hover, nav a.active {
    color: var(--brand-gold);
} 

.btn-nav {
    background-color: var(--brand-gold);
    color: var(--brand-green) !important;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
} 
 
.btn-nav:hover {
    background-color: var(--brand-white);
    color: var(--brand-green) !important;
}

/* --- Layout Components --- */
section {
    padding: 60px 8%;
} 

.page-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--brand-green);
    margin-bottom: 40px;
} 

/* --- Hero Section (Home) --- */
.hero {
    background-color: var(--brand-green);
    color: var(--brand-white);
    text-align: center;
    padding: 100px 10%;
    border-bottom: 5px solid var(--brand-gold);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--brand-white);
    max-width: 700px;
    margin: 0 auto 30px auto;
    opacity: 0.9;
}

.btn-main {
    display: inline-block;
    background-color: var(--brand-gold);
    color: var(--brand-green);
    text-decoration: none;
    padding: 12px 30px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
}

/* --- Info Sections & Grid --- */
.info-container {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.info-text { flex: 1; }
.info-img { 
    flex: 1; 
    background-color: #e2ebe0; 
    height: 300px; 
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-green);
    font-weight: 600;
    border: 2px dashed var(--brand-green);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--brand-green);
    text-align: center;
}

.card h3 { color: var(--brand-green); margin-bottom: 15px; }
.price { font-size: 1.8rem; color: var(--brand-green); font-weight: 700; margin: 15px 0; }
.price span { color: var(--brand-gold); }

/* --- 3D Stacking Cards Section --- */
.stacking-cards-section {
    position: relative;
    z-index: 5;
    background-color: var(--light-bg);
    padding: 80px 8%;
    border-top: 1px solid #eaeaea;
}

.cards-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stack-card {
    position: sticky;
    top: 120px;
    background-color: #1B4332;
    color: #ffffff;
    border-radius: 12px;
    padding: 40px 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 2px solid var(--brand-gold);
    transform-origin: center top;
    will-change: transform, opacity;
}

.stack-card h3 {
    color: var(--brand-gold);
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.stack-card p {
    color: #e0e0e0;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* --- Contact Form & Footer --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 { color: var(--brand-green); margin-bottom: 15px; }
.contact-info p { margin-bottom: 10px; }

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input, textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

form button {
    background-color: var(--brand-green);
    color: white;
    border: none;
    padding: 12px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
}

form button:hover { background-color: #1e3d1a; }

footer {
    background-color: var(--brand-green);
    color: var(--brand-white);
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 0.9rem;
    border-top: 2px solid var(--brand-gold);
}