/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0f0f0f;
    color: #e0e0e0;
    font-family: 'Courier New', Courier, monospace;
    line-height: 1.6;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    padding: 2rem;
    border-bottom: 1px solid #333;
}

ul {
    display: flex;
    list-style: none;
}

li {
    margin-left: 20px;
}

a {
    color: #ffb86c; /* Amber accent */
    text-decoration: none;
}

header {
    text-align: center;
    padding: 4rem 2rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 2rem;
}

.card {
    border: 1px solid #333;
    padding: 1rem;
    background: #1a1a1a;
}

.card img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #333;
    margin-bottom: 1rem;
}

form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
}

input, textarea, button {
    margin-bottom: 1rem;
    padding: 10px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: white;
}

button {
    background: #ffb86c;
    color: #000;
    font-weight: bold;
    cursor: pointer;
}
/* Smooth Scrolling for the whole page */
html {
    scroll-behavior: smooth;
}

/* General Layout Adjustments */
hr {
    border: 0;
    border-top: 1px solid #333;
    margin: 4rem 2rem;
}

.contact-section {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-section h2 {
    margin-bottom: 2rem;
    color: #ffb86c;
}

/* Form styling */
form {
    display: flex;
    flex-direction: column;
    text-align: left; /* Keeps labels aligned left while form is centered */
}

input:focus, textarea:focus {
    outline: 1px solid #ffb86c;
    border-color: #ffb86c;
}

/* Ensure sections have enough height to scroll to */
section {
    min-height: 50vh;
}
footer {
    text-align: center; /* Centers the copyright text */
    padding: 2rem;      /* Matches the side padding of the rest of the site */
    border-top: 1px solid #333; /* Optional: adds a matching line like the nav */
}
.logo {
    color: #ffb86c;
    display: inline-block; /* Essential for transforms to work correctly */
    width: 90px;
    cursor: pointer;
}
.logo svg {
    width: 100%;
    height: auto;
    display: block;
    /* transition: [property] [duration] [timing-function] */
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    backface-visibility: hidden;
}

.logo:hover svg {
    transform: rotate(180deg);
}