/* Import clean, modern fonts from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Lato:wght@400;700&display=swap');

/* --- BASIC SETUP & RESET --- */
/* This ensures all browsers start from the same baseline */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}


/* --- LAYOUT & NAVIGATION --- */
header {
    background: #fff;
    padding: 0.5rem 2rem;
    border-bottom: 1px solid #ddd;
    position: sticky; /* This makes it "stick" to the top */
    top: 0;
    z-index: 100; 
}

nav {
    display: flex; /* This turns the links from a list into a bar */
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.nav-links {
    list-style: none;
    display: flex; /* This specifically targets the list of links */
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 700;
    padding: 5px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #007bff; 
}



/* --- HERO SECTION --- */
.hero-section {
    position: relative; /* Needed for the overlay */
    height: 90vh; /* Takes up 90% of the viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff; /* Text color will be white */

    /* --- IMPORTANT: REPLACE THIS BACKGROUND IMAGE --- */
    background-image: url('TonyCzech_Headshot.jpg'); 
    background-size: cover;
    background-position: center top; /* Tries to keep the center of the image in view */
}

/* This adds a dark overlay so the white text is always readable */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
}

/* Make sure hero text appears above the overlay */
.hero-text {
    position: relative; 
    z-index: 2;
}

.hero-text h1 {
    font-size: 4rem; /* Big, impactful name */
    margin-bottom: 0.5rem;
}

.hero-text p {
    font-size: 1.5rem; /* Your tagline */
    font-weight: 400;
    margin-bottom: 2rem;
}

/* --- BUTTON STYLING --- */
.button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #007bff; /* A nice, modern blue */
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    margin: 0 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.button:hover {
    background-color: #0056b3; /* Darker blue on hover */
    transform: translateY(-2px); /* A slight lift effect */
}

/* --- DEMO REEL SECTION --- */
.reel-section {
    padding: 60px 40px; /* Adds plenty of vertical breathing room */
    background-color: #1c1c1c; /* A clean white background to separate it */
    text-align: center;
}

.reel-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px; /* Extra space between the title and the video */
    color: #fff;
}

/* This is the magic for making embedded videos responsive */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* This creates a 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 1920px; /* Prevents the video from getting too wide on large screens */
    height: auto; /* Keeps proper dimensions for HD */
    margin: 0 auto; /* Centers the container */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* A subtle shadow to lift the video off the page */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- INSTAGRAM SECTION --- */
.instagram-section {
    padding: 60px 20px;
    background-color: #f4f4f4; /* Using the light grey body color */
    text-align: center;
}

.instagram-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.instagram-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* We can reuse the .button style we already created! No new code needed for the button itself. */


/* --- FOOTER --- */
footer {
    background-color: #222; /* A dark, professional footer color */
    color: #ccc; /* A light grey for the text */
    text-align: center;
    padding: 40px 20px;
}

footer h3 {
    font-size: 1.5rem;
    color: #fff;
}

.social-links {
    margin: 20px 0;
}

.social-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem; /* Makes the icons/text a bit bigger */
    margin: 0 15px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #007bff; /* The same highlight blue from our buttons */
}

.copyright {
    font-size: 0.9rem;
    margin-top: 20px;
    color: #777;
}

/* --- UPDATED LOGO STYLING --- */

/* This targets the link that holds our logo */
.logo a {
    text-decoration: none;
    color: #333;
    display: flex; /* This is the key! It makes items sit side-by-side */
    align-items: center; /* This vertically aligns the image and text */
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

/* This styles your cartoon face image */
.logo img {
    height: 45px; /* Adjust this value to make the logo bigger or smaller */
    margin-right: 10px; /* Adds a nice space between the image and your name */
}


/* --- GALLERY PAGE STYLING --- */
.gallery-main-content {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    background-color: #fafafa;
}

.gallery-main-content h1 {
    font-size: 3rem;
    margin-bottom: 40px;
}

.photo-grid {
    display: grid;
    /* This creates a responsive grid. It makes as many 300px columns as can fit,
       and then stretches them to fill the space evenly. */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px; /* This is the space between photos */
}

.photo-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Prevents images from being stretched */
    display: block;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-grid img:hover {
    transform: scale(1.03); /* A slight zoom effect on hover */
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    filter: grayscale(30%); / Adds a subtle grayscale effect /
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease; / Make sure filter is included in the transition */
}

/* --- MEDIA PAGE STYLING --- */
.media-main-content {
    padding: 40px 20px;
    max-width: 1100px; /* A good width for video content */
    margin: 0 auto;
    text-align: center;
}

.media-main-content h1 {
    font-size: 3rem;
    margin-bottom: 40px;
}

.media-main-content h2 {
    font-size: 2rem;
    margin-top: 50px; /* Adds space above the next reel's title */
    margin-bottom: 20px;
}

/* --- TABS FOR MEDIA PAGE --- */
.tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    border-bottom: 2px solid #ddd;
}
.tab-link {
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    background-color: transparent;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: #555;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px; /* Aligns the bottom border with the container's border */
}
.tab-link:hover {
    color: #000;
}
.tab-link.active {
    color: #007bff;
    border-bottom: 3px solid #007bff;
}
.tab-content {
    display: none; /* Hide all tab content by default */
}
.tab-content.active {
    display: block; /* Show only the active tab content */
}


/* --- CONTACT PAGE STYLING --- */
.contact-main-content {
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-main-content h1 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 40px;
}

.representation-info {
    background-color: #f4f4f4;
    padding: 30px;
    border-radius: 5px;
    margin-bottom: 50px;
}

.representation-info h2, .contact-form h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
}

.representation-info p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.representation-info a {
    color: #007bff;
    text-decoration: none;
}
.representation-info a:hover {
    text-decoration: underline;
}

/* --- FORM STYLING --- */
.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
}

.contact-form button {
    width: auto;
    cursor: pointer;
    border: none;
    /* We can reuse the .button style we made on day one! */
}

/* --- Two-Column Layout for Rep Info --- */
.rep-columns-container {
    display: flex; /* This is the magic for creating columns */
    justify-content: space-between;
    gap: 40px; /* This creates a nice gap between the columns */
}

.rep-column {
    flex: 1; /* This tells each column to take up an equal amount of space */
}

.rep-column h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

/* This makes the columns stack on mobile so they don't get squished */
@media (max-width: 768px) {
    .rep-columns-container {
        flex-direction: column; /* Stacks the columns vertically */
        gap: 30px; /* Adjusts the gap for the stacked view */
    }
}

/* --- ABOUT PAGE STYLING --- */
.about-main-content {
    padding: 40px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.about-main-content h1 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 50px;
}

.about-container {
    display: flex;
    align-items: center; /* Vertically aligns the image and text */
    gap: 50px; /* Space between the image and text */
}

.about-image {
    flex: 1; /* Assigns 1 part of the space */
}

.about-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.about-text {
    flex: 2; /* Assigns 2 parts of the space, making it wider */
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Make the columns stack on mobile */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column; /* Stacks the image and text vertically */
        text-align: center;
    }
}


/* --- Mobile Navigation Quick Fix --- */
@media (max-width: 768px) {
    .nav-links a {
        font-size: 0.8rem; /* Make the font smaller */
        padding: 5px 3px; /* Reduce the padding */
    }
    .nav-links li {
        margin-left: 8px; /* Reduce space between items */
    }
    .logo a {
        font-size: 1.2rem; /* Make the logo font smaller */
    }
    .logo img {
        height: 35px; /* Make the logo image smaller */
    }
}