/* Reset and basic layout */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
     overflow: auto; /* allows scrolling */
    scrollbar-width: none;
}

*::-webkit-scrollbar {
    display: none;
}

/* Make body a flex container for sticky footer */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Arial', sans-serif;
    background-color: #1f1f1f;
    color: #f0f0f0;
    margin: 0;
}

/* Header */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #2e3b2e;
    padding: 10px 50px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.5);
    height: 70px;  /* fixed height for consistency */
}

/* Site title */
h1 {
    font-family: 'Stencil Std', 'Impact', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 3px #000;
    margin: 0;
}

/* Primary nav */
#primary-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

#primary-nav ul {
    display: flex;
    gap: 50px;
    font-family: 'Arial Black', sans-serif;
    list-style: none; /* removed bullets */
}

#primary-nav ul li a {
    text-decoration: none;
    color: #f0f0f0;
    font-weight: bold;
    transition: color 0.3s, text-shadow 0.3s;
}

#primary-nav ul li a:hover {
    color: #d4af37;
    text-shadow: 1px 1px 2px #000;
}

/* Secondary nav */
#secondary-nav ul {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    list-style: none; /* remove bullets */
    color: #cfcfcf;
}

#secondary-nav ul li.separator {
    color: #cfcfcf;
    font-weight: bold;
}

#secondary-nav ul li a {
    text-decoration: none;
    color: #cfcfcf;
    font-weight: bold;
    transition: color 0.3s;
}

#secondary-nav ul li a:hover {
    color: #d4af37;
}

/* Keep main content flexible to push footer down */
main {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Section headings */
h2 {
    font-size: 2.5rem;
    color: #d4af37;
    text-shadow: 1px 1px 3px #000;
    margin-bottom: 20px;
}

/* Paragraph text */
p {
    font-size: 1.2rem;
    color: #e0e0e0;
}

/* Images inside content */
.about-images img,
.contact-images img {
    width: 45%;
    max-width: 500px;
    height: 300px;
    margin: 10px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.5);
}

/* Contact info box */
#contact-info {
    margin-top: 20px;
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Footer styling */
footer {
    background-color: #2e3b2e; /* match header */
    color: #f0f0f0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 50px;
    box-shadow: 0 -2px 6px rgba(0,0,0,0.5);
    font-size: 0.85rem;
    height: 100px;
    color: #f0f0f0;
}

/* Tablet (<=1024px) */
@media (max-width: 1024px) {
    #gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 30px 40px;
    }

    #gallery-title h2 {
        font-size: 2.5rem;
    }
}

/* Mobile (<=768px) */
@media (max-width: 768px) {
    #gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px 30px;
    }

    #gallery-title h2 {
        font-size: 2rem;
    }

    #gallery-title p {
        font-size: 1.1rem;
    }

    #gallery-grid img {
        height: 180px;
    }
}

/* Small mobile (<=480px) */
@media (max-width: 480px) {
    #gallery-title h2 {
        font-size: 1.8rem;
    }

    #gallery-title p {
        font-size: 1rem;
    }

    #gallery-grid img {
        height: 150px;
    }
}
