/* Main CSS for static portfolio site with video backgrounds */
/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #f5a623;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #f5a623;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #e69100;
    transform: translateY(-2px);
}

.underline {
    width: 80px;
    height: 4px;
    background-color: #f5a623;
    margin: 0 auto 30px;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Video Background Styles */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Adjust opacity as needed */
    z-index: -1;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 30px;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    margin-right: 15px;
}

.guild-logos {
    display: flex;
    align-items: center;
    margin-left: 15px;
    gap: 20px; /* Moderate spacing between elements */
}

.guild-logos a {
    display: flex;
    align-items: center;
}

.guild-logos img {
    height: 30px;
    width: auto;
    filter: brightness(0) invert(1); /* Makes logos white */
    transition: all 0.3s ease;
}

.logo-divider {
    color: #f5a623; /* Gold color to match site theme */
    font-size: 24px;
    font-weight: 300;
}

.guild-logos a:last-child img {
    height: 40px; /* Make DGA logo bigger */
}

.guild-logos a:hover img {
    filter: brightness(0) invert(0.8) sepia(1) saturate(5) hue-rotate(30deg); /* Gold hover effect */
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #f5a623;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero h1 {
    font-size: 64px;
    margin-bottom: 10px;
}

.hero h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* IMDB Credits Section */
.imdb-credits {
    position: relative;
    padding: 100px 0;
    text-align: center;
    background-color: #0f1923;
}

.imdb-credits-title {
    margin-bottom: 60px;
}

.imdb-credits-title h2 {
    font-size: 48px;
}

.credits-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.credit-item {
    background-color: #1a2530;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.credit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.credit-image-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 150%; /* 2:3 aspect ratio for movie posters */
    overflow: hidden;
}

.credit-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.credit-item:hover .credit-image {
    transform: scale(1.05);
}

.credit-info {
    padding: 20px;
    text-align: left;
}

.credit-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.credit-year {
    font-size: 16px;
    color: #f5a623;
    margin-bottom: 5px;
}

.credit-role {
    font-size: 14px;
    color: #aaa;
}

/* Portfolio Artistic Section */
.portfolio-artistic {
    position: relative;
    padding: 100px 0;
    background-color: #000;
    color: #fff;
}

.portfolio-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.portfolio-title {
    text-align: center;
    margin-bottom: 60px;
}

.portfolio-title h2 {
    font-size: 48px;
}

.portfolio-section {
    margin-bottom: 80px;
}

.text-center {
    text-align: center;
}

.connecting-text {
    font-size: 24px;
    margin-bottom: 10px;
}

.highlight-word {
    font-size: 120px;
    font-weight: 800;
    line-height: 1;
    margin: 20px 0;
    letter-spacing: -2px;
}

.rhythm {
    color: #f5a623;
}

.canvas {
    color: #f5a623;
}

.ai {
    background: linear-gradient(90deg, #ff6b6b, #f5a623);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.impact {
    color: #f5a623;
}

.narrative-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
}

.narrative-text p {
    margin-bottom: 20px;
}

.small-text {
    font-style: italic;
}

/* Artistic Text Layout */
.artistic-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 100px;
    padding: 50px 20px;
}

.artistic-text-section {
    text-align: center;
    max-width: 1000px;
}

.small-text {
    font-size: 24px;
    font-weight: 300;
    margin: 10px 0;
}

.large-text {
    font-size: 120px;
    font-weight: 800;
    line-height: 1;
    color: #f5a623;
    letter-spacing: -2px;
}

.gradient-text {
    background: linear-gradient(90deg, #ff6b6b, #f5a623);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Commercial AI Section */
.commercial-ai {
    position: relative;
    padding: 100px 0;
    background-color: #0a0a0a;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    z-index: 1;
    position: relative;
}

.section-content h2 {
    font-size: 48px;
}

.section-content p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
}

.commercial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.commercial-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    text-align: left;
    transition: transform 0.3s ease;
}

.commercial-item:hover {
    transform: translateY(-10px);
}

.commercial-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #f5a623;
}

/* About Section */
.about {
    position: relative;
    padding: 100px 0;
    background-color: #0f1923;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 18px;
    text-align: left;
}

/* Contact Form Styles */
.contact-form-container {
    max-width: 600px;
    margin: 40px auto;
    background-color: rgba(26, 37, 48, 0.7);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: #f5a623;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f5a623;
    box-shadow: 0 0 0 2px rgba(245, 166, 35, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    align-self: flex-start;
    margin-top: 10px;
}

.form-success-message,
.form-error-message {
    padding: 15px;
    margin-top: 20px;
    border-radius: 4px;
    text-align: center;
}

.form-success-message {
    background-color: rgba(39, 174, 96, 0.2);
    border: 1px solid #27ae60;
    color: #2ecc71;
}

.form-error-message {
    background-color: rgba(231, 76, 60, 0.2);
    border: 1px solid #e74c3c;
    color: #e74c3c;
}

/* Footer */
footer {
    padding: 30px 0;
    background-color: rgba(0, 0, 0, 0.8);
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 48px;
    }
    
    .hero h2 {
        font-size: 24px;
    }
    
    .large-text {
        font-size: 80px;
    }
    
    header {
        flex-direction: column;
        padding: 15px;
    }
    
    nav ul {
        margin-top: 15px;
    }
    
    nav ul li {
        margin-left: 15px;
        margin-right: 15px;
    }
    
    .guild-logos {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero h2 {
        font-size: 20px;
    }
    
    .large-text {
        font-size: 60px;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 5px 0;
    }
}
