* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000;
    overflow-x: hidden;
}

/* =========================
   HEADER
   ========================= */

header {
    background-color: #1d1d1d;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 64px;
}

header p {
    margin-top: 15px;
    font-size: 30px;
    color: #cfcfcf;
}

/* =========================
   NAVIGATION
   ========================= */

nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #232323;
    padding: 20px 0;
    gap: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 32px;
    padding: 15px 30px;
    width: 80%;
    text-align: center;
    background-color: #333;
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: #444;
}

/* =========================
   MAIN SECTION
   ========================= */

section {
    width: 100%;
    padding: 20px;
}

h2 {
    text-align: center;
    color: #b0b0b0;
    font-size: 48px;
    margin-bottom: 40px;
}

p {
    color: white;
    font-size: 28px;
    line-height: 1.6;
}

/* =========================
   PROJECT GRID
   ========================= */

#projects {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* =========================
   PROJECT CARD
   ========================= */

.project {
    width: 95%;
    max-width: 950px;

    aspect-ratio: 1 / 1;   /* Makes project square */

    background-color: #1f1f1f;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

.project:hover {
    transform: scale(1.02);
}

/* Dark overlay */

.project::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.project:hover::before {
    opacity: 1;
}

/* =========================
   PROJECT IMAGE
   ========================= */

.project img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Keeps image filling square */
    display: block;
}

/* =========================
   PROJECT TITLE LINK
   ========================= */

.project a {
    position: absolute;
    inset: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    text-decoration: none;
    color: transparent;

    font-size: 52px;
    font-weight: bold;

    z-index: 2;
    transition: color 0.3s ease;
    text-align: center;
    padding: 20px;
}

.project:hover a {
    color: white;
}

/* =========================
   IMAGE / VIDEO CONTAINERS
   ========================= */

.img {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 30px;
}

.img img,
.img video {
    width: 100%;
    height: auto;
}

/* =========================
   MODEL IMAGES
   ========================= */

.models-large,
.models {
    width: 100%;
    height: auto;
    max-height: none;
    padding: 10px 0;
}

/* =========================
   CENTER IMAGE
   ========================= */

.center-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* =========================
   PDF VIEW
   ========================= */

.pdf-style {
    width: 100%;
    height: 1200px;
}

/* =========================
   CONTACT FORM
   ========================= */

.contact-form {
    width: 100%;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 24px;
    margin: 15px 0;
    border: 1px solid #555;
    border-radius: 10px;
    background-color: #111;
    color: white;
    font-size: 28px;
}

.contact-form button {
    width: 100%;
    padding: 24px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #444;
}

/* =========================
   FOOTER
   ========================= */

footer {
    text-align: center;
    padding: 30px 20px;
    background-color: #333;
    color: white;
    font-size: 24px;
}