/* --------------------------------------------------
   Base Reset
-------------------------------------------------- */
:where(html, body, div, span, header, footer, main, section, article, nav, h1, h2, h3, h4, h5, h6, p, ul, ol, li, a, img) {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --------------------------------------------------
   Body
-------------------------------------------------- */
body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

/* --------------------------------------------------
   Header
-------------------------------------------------- */
header {
    text-align: center;
    padding: 20px;
    background-color: #555;
    color: #fff;
    border-radius: 6px;
}

header h1 {
    font-size: 2em;
}

/* --------------------------------------------------
   Containers
-------------------------------------------------- */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 90%;
    max-width: 480px;
    margin: 0 auto;
}


/* --------------------------------------------------
   Typography
-------------------------------------------------- */
p {
    font-size: 1em;
    color: #666;
}

.text-strong {
    font-size: 1.2em;
    font-weight: bold;
    color: #000;
}

.text-normal {
    font-size: 1em;
    color: #000;
}

.text-warning {
    font-size: 0.8em;
    color: rgb(150, 0, 0);
}

/* --------------------------------------------------
   Images
-------------------------------------------------- */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --------------------------------------------------
   Navigation
-------------------------------------------------- */
/* Nav container */
nav {
    width: 100%;
    display: flex;
    margin-top: 2%;
    justify-content: center; /* center the nav items */
    background-color: #555;  /* dark background */
    padding: 10px 0;
    border-radius: 6px;
    flex-wrap: wrap;    /* wrap items if narrow screen */
}

/* Nav list */
nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

/* Nav items */
nav li {
    margin: 5px 10px;
}

/* Nav links */
nav a {
    color: #fff;             /* white text on dark background */
    text-decoration: none;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

nav a:hover {
    background-color: #333;  /* dark hover */
    color: #fff;
}


/* --------------------------------------------------
   Hero + Locations
-------------------------------------------------- */
#hero,
#locations {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 20px auto;
}

/* --------------------------------------------------
   Buttons
-------------------------------------------------- */
.button {
    display: inline-block;
    padding: 6px 14px;
    margin: 4px 0;
    background-color: #ddd;
    color: black;
    border: 2px solid black;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.95em;
    transition: 0.2s;
}

.button:hover {
    background-color: white;
    color: black;
}

/* --------------------------------------------------
   Gallery Grid
-------------------------------------------------- */
#gallerydiv {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    padding: 20px 0;
    width: 100%;
}

/* --------------------------------------------------
   Thumbnail Cards
-------------------------------------------------- */
.Thumbnail_container {
    background-color: #f2f2f2;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    max-width: 340px;
    margin: 0 auto;
}

.Thumbnail_container:hover {
    transform: scale(1.02);
}

.Thumbnail_container img {
    width: 100%;        /* scale to container width */
    max-width: 480px;   /* optional: don't get too big on large screens */
    height: auto;       /* maintain aspect ratio */
    display: block;
    border-radius: 4px;
    margin-bottom: 10px;
}

.Thumbnail_container p {
    font-size: 0.9em;
    color: #333;
    margin: 3px 0;
}

/* --------------------------------------------------
   Footer
-------------------------------------------------- */
footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: #fff;
    margin-top: 40px;
    border-radius: 6px;
}

/* --------------------------------------------------
   Contact Page
-------------------------------------------------- */
.page-header h1 {
    text-align: center;
    margin: 20px 0;
}

.contact-content {
    text-align: center;
    margin-top: 30px;
}

.email {
    font-weight: 600;
    font-size: 1.2rem;
}

.full-image-container img {
    width: 100%;        /* scale to screen width */
    max-width: 100%;    /* don’t exceed container */
    height: auto;       /* preserve aspect ratio */
}

@media (max-width: 480px) {
    nav ul {
        flex-direction: column; /* stack links vertically */
        align-items: center;    /* center text */
    }
}

