/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #111;
    color: #eee;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* --- Header / Navigation --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
}

.logo a {
    text-decoration: none;
    color: inherit;
    font-family: "Tomorrow", sans-serif;
    font-size: 18.7px;
    font-weight: 600;
    /* Keeps it the same color as the rest of the logo text */
}

nav a {
    color: #888;
    text-decoration: none;
    margin-left: 30px;
    font-family: "Tomorrow", sans-serif;
    font-size: 18.7px;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
    color: #fff;
}

nav a.active {
    border-bottom: 1px solid #fff;
    padding-bottom: 4px;
}

/* --- Main Content --- */
main {
    padding: 40px 5vw;
    max-width: 1800px;
    margin: 0 auto;
}

/* --- Reel (Index) --- */
.reel-container {
    width: 100%;
    max-width: none;
    /* Removes the old 1000px limit so it fills the 'main' container */
    margin: 0 auto;
}

.reel-container video {
    width: 100%;
    height: auto;
    /* Ensures the video keeps its 16:9 aspect ratio */
    display: block;
    /* Removes any accidental empty space below the video player */
    outline: none;
}

/* --- Work Page --- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h1 {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.section-header p {
    color: #aaa;
    font-size: 0.95rem;
}

.project {
    margin-bottom: 80px;
    text-align: center;
}

.project h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 25px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    background: #000;
    margin-bottom: 15px;
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.project-details {
    color: #888;
    font-size: 0.85rem;
    line-height: 1.6;
}

.project-details span {
    display: block;
}

/* --- Contact Page Specific --- */
.contact-page {
    height: 70vh;
    /* Adjusts height to help center content vertically */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contact-container p {
    font-size: 1.1rem;
    color: #888;
    letter-spacing: 0.5px;
}

.contact-container a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-container a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* --- YouTube Custom Placeholder --- */
.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
    background-color: #000;
}

.video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures your thumbnail fills the box without stretching */
    transition: transform 0.5s ease;
}

.video-placeholder:hover img {
    transform: scale(1.05);
    /* Subtle zoom effect on hover */
}

/* Optional: Adding a play button overlay */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.play-button:before {
    content: '';
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent #fff;
    margin-left: 5px;
}

.video-placeholder:hover .play-button,
.custom-video:hover .play-button {
    background: rgba(255, 255, 255, 0.4);
}