/* ShoFilms Portfolio Theme Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e5e5;
    z-index: 1000;
    padding: 1.5rem 3rem;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
}

.logo img {
    max-height: 50px;
    width: auto;
    display: block;
}

/* Adjust logo size for your needs */
.custom-logo {
    max-height: 50px;
    width: auto;
}

nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

nav a {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #1a1a1a;
}

.social-link {
    color: #666;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #1a1a1a;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: #1a1a1a;
    transition: all 0.3s ease;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e5e5;
    padding: 2rem;
    z-index: 999;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 1rem 0;
    color: #666;
    text-decoration: none;
    font-size: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

/* Hero Section */
.hero {
    padding: 10rem 3rem 4rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    font-weight: 300;
    font-style: italic;
}

/* Portfolio Grid */
.portfolio-grid {
    padding: 3rem 3rem 6rem;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 3rem;
}

.portfolio-item {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

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

.portfolio-image {
    width: 100%;
    aspect-ratio: 2/3;
    overflow: hidden;
    margin-bottom: 1rem;
    background: #f5f5f5;
}

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

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

.portfolio-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.portfolio-role {
    font-size: 0.95rem;
    color: #666;
    font-weight: 300;
}

.no-portfolio {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
}

.no-portfolio p {
    font-size: 1.1rem;
    color: #666;
}

.no-portfolio a {
    color: #1a1a1a;
    text-decoration: underline;
}

/* Project Page */
.project-content {
    padding: 8rem 3rem 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.project-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.project-meta {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.project-meta strong {
    color: #1a1a1a;
    font-weight: 500;
}

.project-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin: 2rem 0;
    font-weight: 300;
}

.project-description p {
    margin-bottom: 1rem;
}

.project-credits {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #666;
    margin: 2rem 0;
}

.project-credits strong {
    color: #1a1a1a;
    font-weight: 500;
}

/* Video Container */
.video-container {
    margin: 3rem 0;
    width: 100%;
    max-width: 900px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
}

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

/* Photo Gallery */
.gallery-section {
    margin: 4rem 0;
}

.gallery-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

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

.gallery-item {
    width: 100%;
    overflow: hidden;
    background: #f5f5f5;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.bts-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.bts-gallery .gallery-item {
    aspect-ratio: auto;
}

/* Page Content */
.page-content {
    padding: 8rem 3rem 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.page-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.page-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
}

.page-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.page-content img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
}

/* Footer */
footer {
    border-top: 1px solid #e5e5e5;
    padding: 3rem;
    text-align: center;
    background: #fafafa;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-email {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: #1a1a1a;
}

.footer-social {
    margin-top: 1rem;
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.footer-social a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #1a1a1a;
}

.footer-credit {
    margin-top: 2rem;
    font-size: 0.85rem;
    color: #999;
}

/* Responsive */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 1.5rem;
    }

    nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        padding: 8rem 1.5rem 3rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem 4rem;
        gap: 2rem;
    }

    .project-content,
    .page-content {
        padding: 6rem 1.5rem 2rem;
    }

    .gallery-grid,
    .bts-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    footer {
        padding: 2rem 1.5rem;
    }
    
    .footer-social {
        flex-direction: column;
        gap: 1rem;
    }
}
