/* --- Navigation Bar --- */
.nav {
    width: 100%;
    background-color: #222222;
    border-bottom: 1px solid #333333;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(6px);
}

.nav img {
    height: 48px;
    width: auto;
    display: block;
}

.nav img#logo {
    margin-right: auto;
}

.nav a {
    color: #e0e0e0;
    font-weight: 600;
    text-decoration: none;
    margin-left: 1rem;
}

.nav a:hover,
.nav a:focus {
    color: #74c0fc;
    text-decoration: underline;
}

/* --- Minimalist Dark Theme --- */
/* A simple white-on-black stylesheet for common HTML tags. */

/* --- Global Styles & Typography --- */
body {
    background-color: #121212; /* A very dark grey, easier on the eyes than pure black */
    color: #e0e0e0; /* A light grey for body text */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.6;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.main-content {
    display: flex;
    flex-grow: 1;
    flex-shrink: 1;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 1rem;
}

.hero-video {
    display: flex;
    flex-grow: 1;
    flex-shrink: 1;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* --- Content Container --- */
/* This centers the content on larger screens for better readability */
.flex-container {
    max-width: 100%;
    display: flex;
    gap: 4rem;
}

.footer {
    width: 100%;
    background-color: #222222;
    border-top: 1px solid #333333;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.footer a,
.footer p {
    color: #e0e0e0;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    text-decoration: none;
}

.footer a:hover,
.footer a:focus {
    color: #74c0fc;
    text-decoration: underline;
}

.polaroid-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
}

.polaroid-gallery a {
    border-radius: 1rem;
    position: relative;
    max-width: 400px;
    max-height: 300px;
    transition: transform 100ms ease;
}

.polaroid-gallery a:hover {
    transform: scale(1.05);
    text-decoration: none;
    box-shadow: 8px 4px 48px -16px rgba(255, 255, 255, 0.3);
}

.polaroid-gallery a p {
    color: white;
    font-size: 1.6rem;
    font-weight: bold;
    text-shadow: 0 0 12px rgba(0, 0, 0, 1);

    text-align: center;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;

    padding: 0;
    margin: 0;

    position: absolute;
    left: 0;
    right: 0;
    /*top: 0;*/
    bottom: 0;

    /*background: rgba(0, 0, 0, 0.1);*/
    border-radius: 1rem;
}

.polaroid-gallery a img {
    border-radius: 1rem;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Headings --- */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff; /* Pure white for high contrast */
    font-weight: 600;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

/* --- Paragraphs & Text Elements --- */
p {
    margin-bottom: 1.25em;
}

strong {
    color: #ffffff;
    font-weight: 600;
}

/* --- Links --- */
a {
    color: #4dabf7; /* A pleasant blue for links */
    text-decoration: none; /* Remove the default underline */
    transition: color 0.2s ease-in-out;
}

a:hover, a:focus {
    color: #74c0fc;
    text-decoration: underline; /* Add underline on hover for clarity */
}

/* --- Lists --- */
ul, ol {
    padding-left: 20px;
    margin-bottom: 1em;
}

li {
    margin-bottom: 0.5em;
}

/* --- Blockquotes --- */
blockquote {
    border-left: 3px solid #4dabf7;
    margin-left: 0;
    padding-left: 1.5em;
    color: #a0a0a0; /* Slightly muted text for quotes */
    font-style: italic;
}

/* --- Code Blocks --- */
pre, code {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
    font-size: 0.95em;
}

pre {
    background-color: #222222;
    border: 1px solid #333333;
    border-radius: 6px;
    padding: 1em;
    overflow-x: auto; /* Allow horizontal scrolling for long code lines */
}

/* Inline code */
code {
    background-color: #2c2c2c;
    color: #ffcc99; /* A warm color for inline code */
    padding: 0.2em 0.4em;
    border-radius: 4px;
}

pre > code {
    background-color: transparent;
    color: inherit;
    padding: 0;
}


/* --- Forms & Buttons --- */
button, input[type="submit"] {
    background-color: #4dabf7;
    color: #000000;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

button:hover, input[type="submit"]:hover {
    background-color: #74c0fc;
}

input[type="text"],
input[type="email"],
textarea {
    background-color: #222222;
    color: #e0e0e0;
    border: 1px solid #444444;
    border-radius: 6px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box; /* Ensures padding doesn't affect width */
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: #4dabf7;
}

/* --- Horizontal Rule --- */
hr {
    border: none;
    border-top: 1px solid #444444;
    margin: 2em 0;
}

/* --- Countdown Container --- */
.countdown-container {
    width: 100%;
    padding: 20px 0;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* --- Timer Display --- */
#timer {
    display: flex;
    justify-content: center;
    gap: 1rem; /* Space between the boxes */
    flex-wrap: wrap; /* Allows boxes to wrap on smaller screens */
}

.time-box {
    background-color: #222222;
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 20px;
    min-width: 120px;
}

/* The large number (e.g., 365) */
.time-box span {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #4dabf7; /* Blue color for the numbers */
}

/* The label (e.g., "Days") */
.time-box p {
    margin: 5px 0 0;
    font-size: 1rem;
    color: #a0a0a0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Message for when the countdown ends --- */
#expired-message {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 700;
}

#countdown-title {
    margin-bottom: 1rem;
}

.divider {
    width: 100%;
    height: 1px;
    background-color: #333333;
    margin: 2rem 0;
}