/* ===================================
   Reset & Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #181b25;
    --secondary-dark: #1f2230;
    --primary-light: #ffffff;
    --text-light: #e8e8e8;
    --text-muted: #a0a0a0;
    --accent-color: #f66061;
    --accent-hover: #ff7576;
    --transition-speed: 0.3s;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--primary-dark);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed) var(--transition-smooth);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.grecaptcha-badge {
    display: none!important;
}

/* ===================================
   Navigation
   =================================== */
header {
    background-color: var(--secondary-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow var(--transition-speed) var(--transition-smooth);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header:hover {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

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

.logo a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.5px;
    transition: transform var(--transition-speed) var(--transition-smooth);
    display: inline-block;
}

.logo a:hover {
    transform: translateY(-2px);
    color: var(--accent-color);
}

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

.nav-menu a {
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width var(--transition-speed) var(--transition-smooth);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-light);
    transition: all var(--transition-speed) var(--transition-smooth);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    padding: 2rem;
    background-image: url('media/production2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    animation: fadeIn 1s var(--transition-smooth);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(24, 27, 37, 0.85) 0%,
        rgba(31, 34, 48, 0.75) 50%,
        rgba(24, 27, 37, 0.85) 100%
    );
    z-index: 1;
}

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

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-image {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    transition: transform var(--transition-speed) var(--transition-smooth),
                box-shadow var(--transition-speed) var(--transition-smooth);
}

.hero-image::after {
    content: none;
}

.hero-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
    transition: transform 0.6s var(--transition-smooth);
}

.hero-image:hover img {
    transform: scale(1.03);
}

.hero-text {
    padding: 2rem 0;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0;
    animation: slideInRight 0.8s var(--transition-smooth) 0.2s forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-text .mission-text {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-light);
    font-weight: 300;
    opacity: 0;
    animation: slideInRight 0.8s var(--transition-smooth) 0.4s forwards;
    font-style: italic;
}

.hero-text .mission-text p {
    margin-bottom: 1.5rem;
}

.hero-text .mission-text .emphasis {
    color: var(--accent-color);
    font-size: 1.15rem;
}

.hero-text .mission-text .identity {
    margin-top: 2rem;
    padding-left: 1rem;
    border-left: 2px solid var(--accent-color);
}

.hero-text .mission-text .closing {
    text-align: center;
    margin-top: 2rem;
    color: var(--accent-color);
    font-size: 0.95rem;
    letter-spacing: 2px;
}

/* ===================================
   Bio Section
   =================================== */
.bio {
    padding: 6rem 2rem;
    animation: fadeIn 1s var(--transition-smooth) 0.3s backwards;
}

.bio h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-light);
    position: relative;
}

.bio h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.bio-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.bio-images {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.bio-photo {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: transform var(--transition-speed) var(--transition-smooth),
                box-shadow var(--transition-speed) var(--transition-smooth);
}

.bio-photo:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
}

.bio-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.bio-text p {
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s var(--transition-smooth) 0.5s forwards;
}

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

.bio-text .mission-statement {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--accent-color);
    padding: 1.5rem;
    border-left: 4px solid var(--accent-color);
    background-color: var(--secondary-dark);
    margin-bottom: 2rem;
}

.bio-text h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--text-light);
}

.education {
    margin-top: 2rem;
}

/* ===================================
   Page Header
   =================================== */
.page-header {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
    text-align: center;
    animation: fadeIn 0.6s var(--transition-smooth);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.page-intro {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ===================================
   Gallery
   =================================== */
.gallery {
    padding: 4rem 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item,
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: transform var(--transition-speed) var(--transition-smooth),
                box-shadow var(--transition-speed) var(--transition-smooth);
    animation: fadeInUp 0.6s var(--transition-smooth) backwards;
}

.gallery-item:nth-child(1),
.portfolio-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2),
.portfolio-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3),
.portfolio-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4),
.portfolio-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5),
.portfolio-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6),
.portfolio-item:nth-child(6) { animation-delay: 0.6s; }
.gallery-item:nth-child(7),
.portfolio-item:nth-child(7) { animation-delay: 0.7s; }
.gallery-item:nth-child(8),
.portfolio-item:nth-child(8) { animation-delay: 0.8s; }

.gallery-item:hover,
.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

.gallery-item img,
.portfolio-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.6s var(--transition-smooth);
}

.gallery-item:hover img,
.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

.gallery-caption,
.portfolio-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform var(--transition-speed) var(--transition-smooth);
}

.gallery-item:hover .gallery-caption,
.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
}

.gallery-caption h3,
.portfolio-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.production-venue,
.client {
    font-size: 0.9rem;
    opacity: 0.9;
    color: var(--accent-color);
    font-weight: 600;
}

.portfolio-content p:not(.client) {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    opacity: 0.85;
}

.portfolio-link {
    display: inline-block;
    margin-top: 0.8rem;
    padding: 0.4rem 1rem;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background var(--transition-speed);
}

.portfolio-link:hover {
    background: var(--primary-color);
}

/* ===================================
   Lightbox
   =================================== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s var(--transition-smooth);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    animation: zoomIn 0.3s var(--transition-smooth);
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: color var(--transition-speed);
}

.lightbox-close:hover {
    color: var(--accent-color);
}

.lightbox-caption {
    text-align: center;
    color: #f1f1f1;
    padding: 20px;
    font-size: 1.2rem;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 40px;
    font-weight: bold;
    padding: 20px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    transition: background-color var(--transition-speed);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(246, 96, 97, 0.8);
}

.lightbox-prev {
    left: 0;
}

.lightbox-next {
    right: 0;
}

/* ===================================
   Resume Section
   =================================== */
.resume {
    padding: 4rem 2rem 6rem;
}

.resume h2 {
    font-size: 2.2rem;
    margin: 3rem 0 2rem;
    color: var(--text-light);
    position: relative;
    padding-bottom: 0.5rem;
}

.resume h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.physical-info {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background-color: var(--secondary-dark);
    border-radius: 8px;
    animation: fadeInUp 0.6s var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.physical-info p {
    font-size: 1.1rem;
}

.credits-list {
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.credit-item {
    display: grid;
    grid-template-columns: 2fr 1.5fr 2fr 1.5fr;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    background-color: var(--secondary-dark);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-speed) var(--transition-smooth);
}

.credit-item:hover {
    background-color: rgba(255, 255, 255, 0.03);
    transform: translateX(5px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.credit-item > div {
    display: flex;
    flex-direction: column;
}

.credit-item > div::before {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.credit-production::before {
    content: 'Production';
}

.credit-role::before {
    content: 'Role';
}

.credit-venue::before {
    content: 'Venue/Company';
}

.credit-director::before {
    content: 'Director';
}

.credit-item > div {
    font-size: 1rem;
    color: var(--text-light);
}

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

.education-item {
    padding: 1.5rem;
    background-color: var(--secondary-dark);
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    transition: transform var(--transition-speed) var(--transition-smooth);
    animation: fadeInUp 0.6s var(--transition-smooth) backwards;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--accent-color);
}

.education-item:nth-child(1) { animation-delay: 0.1s; }
.education-item:nth-child(2) { animation-delay: 0.2s; }
.education-item:nth-child(3) { animation-delay: 0.3s; }

.education-item:hover {
    transform: translateX(10px);
}

.education-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

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

.skill-category {
    padding: 1.5rem;
    background-color: var(--secondary-dark);
    border-radius: 8px;
    transition: transform var(--transition-speed) var(--transition-smooth);
    animation: fadeInUp 0.8s var(--transition-smooth) backwards;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.skill-category:nth-child(1) { animation-delay: 0.2s; }
.skill-category:nth-child(2) { animation-delay: 0.3s; }

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.skill-category h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.skill-category p {
    line-height: 1.8;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: 5rem 2rem;
    background-color: var(--secondary-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.contact-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s var(--transition-smooth);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-light);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color var(--transition-speed);
    background-color: var(--primary-dark);
    color: var(--text-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: var(--primary-dark);
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed) var(--transition-smooth);
}

.btn-submit:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* qikAdmin Contact Form Styles */
.qikadmin-contact-form {
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s var(--transition-smooth);
}

.qikadmin-form-group {
    margin-bottom: 1.5rem;
}

.qikadmin-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-light);
}

.qikadmin-required {
    color: var(--accent-color);
}

.qikadmin-form-group input,
.qikadmin-form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color var(--transition-speed);
    background-color: var(--primary-dark);
    color: var(--text-light);
}

.qikadmin-form-group input:focus,
.qikadmin-form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.qikadmin-submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: var(--primary-dark);
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed) var(--transition-smooth);
}

.qikadmin-submit-btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.qikadmin-form-messages {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.95rem;
}

.qikadmin-form-messages.success {
    background-color: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.5);
    color: #4caf50;
}

.qikadmin-form-messages.error {
    background-color: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.5);
    color: #f44336;
}

.qikadmin-recaptcha-notice {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.qikadmin-recaptcha-notice a {
    color: var(--accent-color);
    text-decoration: underline;
}

.qikadmin-recaptcha-notice a:hover {
    color: var(--accent-hover);
}

/* ===================================
   Footer
   =================================== */
footer {
    background-color: rgba(0, 0, 0, 0.3);
    color: var(--text-muted);
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer p {
    opacity: 0.9;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--secondary-dark);
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
        transition: max-height var(--transition-speed) var(--transition-smooth);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-menu.active {
        max-height: 300px;
    }

    .nav-menu li {
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-menu a::after {
        display: none;
    }

    .hero {
        background-attachment: scroll;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text .subtitle {
        font-size: 1.4rem;
    }

    .bio-content {
        grid-template-columns: 1fr;
    }

    .bio-images {
        flex-direction: row;
        gap: 1rem;
    }

    .bio-photo {
        max-width: calc(50% - 0.5rem);
        flex: 1;
        object-fit: cover;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .credit-item {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1rem;
    }

    .credit-item > div::before {
        font-size: 0.7rem;
    }

    .physical-info {
        flex-direction: column;
        gap: 1rem;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 30px;
        padding: 10px;
    }

    .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 35px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .bio h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    .bio-images {
        flex-direction: column;
        gap: 1rem;
    }

    .bio-photo {
        max-width: 100%;
    }
}
