/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #a12525;
    --secondary-color: #c23a2c;
    --background-dark: #0a0a0a;
    --background-light: #1a1a1a;
    --text-light: #ffffff;
    --text-secondary: #e0e0e0;
    --accent-color: #ff6b6b;
}

/* ===== CSS RESET & BASE STYLES ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    color: #e0e0e0;
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: #ffffff;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #a12525, #c23a2c);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 4rem;
    color: #b0b0b0;
    line-height: 1.7;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 32px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    min-width: 160px;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, #a12525, #c23a2c);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(161, 37, 37, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(161, 37, 37, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #a12525;
}

.btn-secondary:hover {
    background: #a12525;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(161, 37, 37, 0.3);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #a12525;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin: 0;
    font-size: 1.5rem;
}

.nav-logo-img {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

.nav-logo-img:hover {
    transform: scale(1.05);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #a12525;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: #a12525;
}

/* Navigation Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    min-width: 200px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 10px 15px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: rgba(161, 37, 37, 0.2);
    color: #a12525;
    padding-left: 20px;
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    transition: 0.3s;
    border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
    object-position: center bottom;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="500" cy="500" r="400" fill="none" stroke="rgba(161, 37, 37, 0.1)" stroke-width="1"/><circle cx="500" cy="500" r="300" fill="none" stroke="rgba(161, 37, 37, 0.1)" stroke-width="1"/><circle cx="500" cy="500" r="200" fill="none" stroke="rgba(161, 37, 37, 0.1)" stroke-width="1"/></svg>') center/800px no-repeat;
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.5);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.title-line {
    display: block;
    font-weight: 400;
}

.title-line.highlight {
    background: linear-gradient(45deg, #a12525, #c23a2c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #e0e0e0;
    margin-bottom: 3rem;
    font-style: italic;
    opacity: 0;
    animation: fadeInUp 1s ease 0.8s forwards;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease 1.1s forwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeIn 1s ease 2s forwards;
    z-index: 3;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid #a12525;
    border-bottom: 2px solid #a12525;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
    padding: 100px 0;
    background: #111111;
}

/* Portfolio Filter Buttons */
.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: transparent;
    border: 2px solid #a12525;
    color: #a12525;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
    background: #a12525;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(161, 37, 37, 0.3);
}

/* Portfolio Animation */
.portfolio-item {
    transition: all 0.5s ease;
}

.portfolio-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.portfolio-item.show {
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
}

/* Featured Work Styling */
.portfolio-item.featured {
    position: relative;
    border: 2px solid #a12525;
    border-radius: 12px;
    overflow: hidden;
}

.portfolio-item.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(161, 37, 37, 0.1), transparent);
    z-index: 1;
    pointer-events: none;
}

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(45deg, #a12525, #c23a2c);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
}

.project-synopsis {
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.portfolio-item:hover .project-synopsis {
    max-height: 200px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #222222;
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

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

.portfolio-info {
    text-align: center;
    color: #ffffff;
    padding: 1rem;
}

.portfolio-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.portfolio-info p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.portfolio-link {
    color: #ffffff;
    text-decoration: none;
    border: 2px solid #ffffff;
    padding: 8px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: inline-block;
}

.portfolio-link:hover {
    background: #ffffff;
    color: #a12525;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 100px 0;
    background: #0a0a0a;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: linear-gradient(135deg, #1a1a1a, #111111);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(161, 37, 37, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(161, 37, 37, 0.3);
    box-shadow: 0 10px 30px rgba(161, 37, 37, 0.2);
}

.service-icon {
    color: #a12525;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-card p {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-card small {
    color: #a12525;
    font-weight: 600;
}

/* ===== AWARDS SECTION ===== */
.awards {
    background: var(--background-light);
    padding: 80px 0;
}

.awards-hero {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
}

.awards-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 1.5rem;
    border-radius: 20px;
    color: white;
    flex-shrink: 0;
}

.trophy-icon {
    font-size: 2.5rem;
}

.achievement-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    font-family: 'Playfair Display', serif;
}

.achievement-label {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
}

.awards-content {
    text-align: left;
}

.festival-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.festival-card {
    background: var(--background-dark);
    border: 2px solid rgba(161, 37, 37, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.festival-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.festival-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--primary-color);
}

.festival-card.featured:hover {
    transform: translateY(-5px) scale(1.07);
}

.festival-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.laurel-icon {
    font-size: 2rem;
}

.festival-badge {
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.festival-card h3 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.film-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.selection-type {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.festival-note {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-style: italic;
    opacity: 0.8;
}

/* ===== RENAISSANCE SECTION ===== */
.renaissance {
    background: var(--background-dark);
    padding: 80px 0;
}

.renaissance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.experience-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 1.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    color: white;
    flex-shrink: 0;
}

.years {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    font-family: 'Playfair Display', serif;
}

.years-label {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
}

.renaissance-content {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 3rem;
    align-items: start;
}

.renaissance-text {
    text-align: left;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.skill-item {
    text-align: left;
}

.skill-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.skill-item h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.skill-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.experience-highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.experience-text {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.renaissance-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.filmmaker-image {
    width: min(260px, 80vw);
    height: min(300px, 90vw);
    max-width: 260px;
    max-height: 300px;
    border-radius: 15px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    background: var(--background-light);
}

.role-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.role-badge {
    background: rgba(161, 37, 37, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.role-badge.primary {
    background: var(--primary-color);
    transform: scale(1.1);
}

.role-badge:hover {
    background: var(--primary-color);
    transform: scale(1.05);
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 100px 0;
    background: #111111;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M0 50L25 25L50 50L75 25L100 50L75 75L50 50L25 75Z" fill="none" stroke="rgba(161, 37, 37, 0.05)" stroke-width="0.5"/></svg>') repeat;
    opacity: 0.3;
}

.contact-content {
    position: relative;
    z-index: 2;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #a12525;
    box-shadow: 0 0 0 3px rgba(161, 37, 37, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #ffffff;
    font-weight: 400;
    padding: 0.5rem 0;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    margin-right: 0.75rem;
    transition: all 0.3s ease;
}

.checkbox-label:hover .checkmark {
    border-color: #a12525;
}

.checkbox-label input:checked ~ .checkmark {
    background: #a12525;
    border-color: #a12525;
}

.checkmark::after {
    content: '';
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input:checked ~ .checkmark::after {
    display: block;
}

.submit-btn {
    grid-column: 1 / -1;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.submit-btn.loading .btn-text {
    opacity: 0;
}

.submit-btn.loading .btn-loader {
    opacity: 1;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ===== FOOTER ===== */
.footer {
    background: #0a0a0a;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #a12525;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #b0b0b0;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    color: #b0b0b0;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section ul li:hover {
    color: #a12525;
    cursor: pointer;
}

.footer-cta {
    color: #a12525;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.footer-cta:hover {
    border-color: #a1252a;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #777777;
}

/* ===== RESPONSIVE DESIGN ===== */
/* ===== TABLET STYLES ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .renaissance-content {
        grid-template-columns: 2fr 1fr;
        gap: 2rem;
    }
    
    .awards-hero {
        gap: 2rem;
    }
}

/* ===== MOBILE STYLES ===== */
@media (max-width: 768px) {
    .hero-video {
        object-fit: contain;
        height: 100%;
        width: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .hamburger {
        display: flex;
        z-index: 1001; /* Ensure it's above the nav menu */
    }
    
    .nav-logo-img {
        height: 35px;
    }
    
    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(20, 20, 20, 0.95);
        box-shadow: none;
        border-radius: 0;
        margin-top: 10px;
    }
    
    .portfolio-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        margin-bottom: 2rem;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .filter-btn {
        padding: 12px 16px;
        font-size: 0.9rem;
        text-align: center;
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .awards {
        padding: 60px 0;
    }
    
    .awards-hero {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .awards-badge {
        align-self: center;
    }
    
    .trophy-icon {
        font-size: 2.5rem;
    }
    
    .achievement-number {
        font-size: 2.5rem;
    }
    
    .festival-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: none;
    }
    
    .festival-card.featured {
        transform: none;
    }
    
    .festival-card:hover, .festival-card.featured:hover {
        transform: translateY(-3px);
    }
    
    .renaissance {
        padding: 60px 0;
    }
    
    .renaissance-header {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .renaissance-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .renaissance-text {
        order: 2;
    }
    
    .renaissance-visual {
        order: 1;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .skill-item {
        text-align: center;
    }
    
    .filmmaker-image {
        width: min(220px, 70vw);
        height: min(260px, 80vw);
        max-width: 220px;
        max-height: 260px;
    }
    
    .hero-video {
        object-fit: contain; /* Shows full video without cropping on mobile */
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0; /* Align to the top */
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.98);
        width: 100%;
        height: 100vh; /* Full height */
        text-align: center;
        transition: left 0.3s ease-in-out; /* Smoother transition */
        backdrop-filter: blur(10px);
        padding-top: 70px; /* Add padding to avoid content overlap */
        z-index: 1000; /* Ensure it's below the hamburger */
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 2rem 0;
        gap: 1.5rem; /* Increased gap for better touch targets */
    }

    .nav-link {
        font-size: 1.2rem; /* Larger font for better readability */
        padding: 0.5rem 1rem; /* Larger touch targets */
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 32px; /* Larger buttons */
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        margin: 0 1rem;
        padding: 2rem 1.5rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    html {
        font-size: 15px; /* Slightly larger base font size */
    }
    
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
}

/* ===== SMALL MOBILE STYLES ===== */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .contact-form-container {
        padding: 1.5rem 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .awards-badge {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .trophy-icon {
        font-size: 2rem;
    }
    
    .achievement-number {
        font-size: 2rem;
    }
    
    .renaissance-header {
        gap: 1.5rem;
    }
    
    .filter-buttons {
        gap: 0.5rem;
        max-width: 100%;
    }
    
    .filter-btn {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
}

/* ===== EXTRA SMALL MOBILE ===== */
@media (max-width: 360px) {
    html {
        font-size: 13px;
    }
    
    .container {
        padding: 0 0.5rem;
    }
    
    .filter-btn {
        padding: 8px 10px;
        font-size: 0.75rem;
    }
    
    .filmmaker-image {
        width: min(180px, 60vw) !important;
        height: min(220px, 70vw) !important;
    }
}

/* ===== SCROLL ANIMATIONS ===== */
@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #111111;
}

::-webkit-scrollbar-thumb {
    background: #a12525;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c23a2c;
}

/* ===== SELECTION ===== */
::selection {
    background: rgba(161, 37, 37, 0.3);
    color: #ffffff;
}