body {
    background-color: #121212;
    color: #ffffff;
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding-top: 60px; 
}

:root {
    --header-height: 160px;
}

.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #1e1e1e;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    z-index: 1000;
    padding: 18px 0 14px 0;
    min-height: var(--header-height);
}

.sticky-header nav {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.sticky-header nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
}

.sticky-header nav ul li {
    margin: 0;
}

.sticky-header nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    transition: color 0.3s;
}

.sticky-header nav ul li a:hover {
    color: #bbbbbb;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin-top: var(--header-height);
}

main h1, main h2 {
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
}

main h1 {
    font-size: 1.6rem;
    color: #ffd700;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 15px;
}

main h2 {
    font-size: 1.2rem;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 30px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
}

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: transform 0.2s;
}

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

/* Gallery Styles */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding: 40px 0 40px 0;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    background: #222;
}

.gallery-thumb:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

/* Image Loading Placeholders */
.image-placeholder {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #444;
    transition: all 0.3s ease;
}

.image-placeholder:hover {
    border-color: #666;
    background: linear-gradient(135deg, #333 0%, #222 100%);
}

.placeholder-content {
    text-align: center;
    color: #888;
}

.placeholder-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #444;
    border-top: 3px solid #ffd700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px auto;
}

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

.image-placeholder.error {
    border-color: #ff4444;
    background: linear-gradient(135deg, #2a1a1a 0%, #1a0a0a 100%);
}

.image-placeholder.error .placeholder-content {
    color: #ff6666;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.92);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0;
}

.modal-content {
    display: block;
    margin: 40px auto 0 auto;
    max-width: 90vw;
    max-height: 70vh;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.7);
    background: #181818;
}

.modal .close {
    position: absolute;
    top: 18px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s;
}
.modal .close:hover {
    color: #bbb;
}

.modal .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 48px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    z-index: 10;
    padding: 0 18px;
    transition: color 0.2s;
}
.modal .arrow.left {
    left: 10px;
}
.modal .arrow.right {
    right: 10px;
}
.modal .arrow:hover {
    color: #1da1f2;
}

.cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.cast-member {
    background-color: #1e1e1e;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    text-align: center;
    padding: 15px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cast-member:hover {
    transform: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.cast-member img {
    width: 300px;
    height: 300px;
    border-radius: 10%;
    object-fit: cover;
    margin-bottom: 15px;
}

.cast-member h3 {
    margin: 0 0 5px 0;
    font-family: 'Montserrat', sans-serif;
}

.cast-member p {
    margin: 0;
    color: #bbbbbb;
    font-size: 14px;
}

.cast-description {
    display: block;
    text-align: left;
    padding: 15px 0 0 0;
    border-top: 1px solid #333;
    margin-top: 15px;
}

.cast-description p {
    font-size: 14px;
    line-height: 1.6;
    color: #dddddd;
    visibility: hidden;
    height: 1px;
}

.cast-age {
    display: block;
    font-size: 0.98rem;
    color: #a0a0a0;
    margin-bottom: 4px;
    margin-top: 1px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.crew-list {
    width: 80%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.crew-member {
    display: flex;
    align-items: center;
    background-color: #1e1e1e;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    margin-bottom: 20px;
    padding: 15px;
}

.crew-member img {
    width: 200px;
    height: 200px;
    border-radius: 10%;
    object-fit: cover;
    margin-right: 20px;
}

.crew-info {
    flex-grow: 1;
}

.crew-info h3 {
    margin: 0 0 5px 0;
    font-family: 'Montserrat', sans-serif;
}

.crew-info p {
    margin: 0;
    color: #bbbbbb;
    font-size: 16px;
}

.crew-description {
    margin: 10px 0 8px 0;
    color: #dddddd;
    font-size: 15px;
    line-height: 1.6;
    visibility: hidden;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.social-links a {
    color: #bbbbbb;
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

.social-links a:hover {
    color: #1da1f2;
}

.social-links svg {
    width: 24px;
    height: 24px;
    display: block;
} 

.main-nav-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 100%;
    position: relative;
}

.main-nav-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    padding-bottom: 0;
}

.nav-logo-row {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 4px;
}

.nav-logo {
    height: 40px;
    width: auto;
    display: block;
    margin-left: 24px;
    margin-top: 12px;
}

.nav-logo-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 2rem;
    color: #fff;
    text-decoration: none;
    letter-spacing: 2px;
    margin: 0;
    display: block;
    transition: color 0.2s;
}
.nav-logo-link:hover {
    color: #1da1f2;
}

.nav-subtitle {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    color: #bbbbbb;
    margin-top: 2px;
    margin-bottom: 6px;
    letter-spacing: 1px;
    text-align: center;
    font-weight: 400;
}

.main-nav-flex ul {
    flex: 1;
} 

.crew-cast-name-kn {
    display: block;
    font-size: 1.25rem;
    color: #ffd700;
    font-weight: bold;
    font-style: normal;
    margin-top: 2px;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.18);
} 

.nav-logo-kn {
    font-family: 'Noto Sans Kannada', 'Montserrat', sans-serif;
    font-size: 3.10rem;
    color: #ffd700;
    font-weight: bold;
    margin-top: 12px;
    margin-bottom: 1px;
    letter-spacing: 1px;
    text-align: center;
    display: block;
}

.nav-logo-description {
    max-width: 900px;
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
    padding: 2px 12px;
}
.nav-logo-description .desc-en { display: inline; }
.nav-logo-description .desc-kn { display: none; }

/* On hover over the description, swap to Kannada */
.nav-logo-description:hover .desc-en { display: none; }
.nav-logo-description:hover .desc-kn { display: inline; }

/* Also allow hover via the whole logo row area */
.nav-logo-row:hover .nav-logo-description .desc-en { display: none; }
.nav-logo-row:hover .nav-logo-description .desc-kn { display: inline; }

.synopsis-section {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0 60px 0;
    background: rgba(30,30,30,0.98);
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.12);
}
.synopsis-section h1 {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 24px;
    color: #ffd700;
}
.synopsis-text {
    font-size: 1.18rem;
    line-height: 1.8;
    color: #eaeaea;
    font-family: 'Lato', sans-serif;
    text-align: justify;
    padding: 24px;
} 

.synopsis-highlight {
    color: #ffd700;
    font-weight: bold;
    text-decoration: underline;
}

.synopsis-quote {
    background: #232323;
    border-left: 5px solid #ffd700;
    margin: 24px 0 24px 0;
    padding: 18px 22px;
    font-size: 1.08em;
    color: #ffe;
    font-style: italic;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
} 

.image-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
    margin: 24px auto;
    padding: 32px 0;
}

.image-stack img {
    width: 80%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    margin: 0 auto;
    display: block;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.2rem;
    cursor: pointer;
    position: absolute;
    top: 18px;
    right: 24px;
    z-index: 2001;
}

@media (max-width: 900px) {
    .nav-toggle {
        display: block;
    }
    .main-nav-vertical {
        position: relative;
    }
    .main-nav-vertical .nav-links {
        display: none;
        flex-direction: column;
        align-items: center;
        background: #232323;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100vw;
        box-shadow: 0 4px 16px rgba(0,0,0,0.18);
        padding: 18px 0 18px 0;
        margin: 0;
        z-index: 2000;
    }
    .main-nav-vertical.nav-open .nav-links {
        display: flex;
    }
    .main-nav-vertical .nav-links li {
        margin: 10px 0;
    }
    .main-nav-vertical ul {
        gap: 0;
    }
}

@media (min-width: 901px) {
    .nav-toggle {
        display: none !important;
    }
    .main-nav-vertical .nav-links {
        display: flex !important;
        position: static;
        flex-direction: row;
        background: none;
        box-shadow: none;
        padding: 0;
        width: auto;
    }
    .main-nav-vertical .nav-links li {
        margin: 0;
    }
}

@media (max-width: 900px) {
    :root {
        --header-height: 160px;
    }
    .main-nav-vertical ul {
        gap: 16px;
        font-size: 1rem;
    }
    .nav-logo-link {
        font-size: 1.4rem;
    }
    .nav-logo-kn {
        font-size: 1.3rem;
    }
    .nav-subtitle {
        font-size: 0.95rem;
    }
    .synopsis-section {
        padding: 24px 0 36px 0;
    }
}

@media (max-width: 700px) {
    :root {
        --header-height: 160px;
    }
    .main-nav-vertical {
        padding-bottom: 0;
    }
    .main-nav-vertical ul {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        padding: 0;
    }
    .sticky-header {
        padding: 10px 0 8px 0;
        min-height: var(--header-height);
    }
    .nav-logo-link {
        font-size: 1.1rem;
    }
    .nav-logo-kn {
        font-size: 1.1rem;
    }
    .nav-subtitle {
        font-size: 0.85rem;
    }
    .synopsis-section {
        padding: 12px 0 18px 0;
    }
    .synopsis-text {
        padding: 10px;
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    :root {
        --header-height: 160px;
    }
    .main-nav-vertical ul {
        font-size: 0.98rem;
    }
    .nav-logo-link {
        font-size: 1rem;
    }
    .nav-logo-kn {
        font-size: 1rem;
    }
    .nav-subtitle {
        font-size: 0.8rem;
    }
    .synopsis-section {
        max-width: 99vw;
        border-radius: 0;
        box-shadow: none;
    }
    .gallery {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 10px 0 20px 0;
    }
    .gallery-thumb {
        height: 120px;
    }
    .cast-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        width: 98%;
        padding: 8px;
    }
    .cast-member img, .crew-member img {
        width: 250px;
        height: 250px;
    }
    .crew-list {
        width: 99vw;
        padding: 8px;
    }
    .crew-member {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }
    .crew-info {
        width: 100%;
        margin-top: 8px;
    }
    main {
        margin-top: var(--header-height);
        padding: 8px;
    }
    .site-footer {
        font-size: 0.95rem;
        padding: 18px 0 10px 0;
    }
    .footer-content {
        width: 99vw;
    }
}

@media (max-width: 400px) {
    :root {
        --header-height: 160px;
    }
    .nav-logo-link, .nav-logo-kn {
        font-size: 0.85rem;
    }
    .main-nav-vertical ul {
        font-size: 0.85rem;
    }
    .synopsis-section h1 {
        font-size: 1.1rem;
    }
} 

.site-footer {
    width: 100%;
    background: #181818;
    color: #eee;
    padding: 32px 0 18px 0;
    margin-top: 48px;
    border-top: 1px solid #222;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.10);
}
.footer-content {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.footer-contact {
    text-align: center;
    line-height: 1.7;
}
.footer-contact-header {
    font-size: 1.3rem;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 2px;
}
.footer-contact-name {
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 2px;
}
.footer-contact-address {
    margin-bottom: 2px;
}
.footer-contact-email a, .footer-contact-phone a {
    color: #1da1f2;
    text-decoration: none;
    font-weight: 500;
}
.footer-contact-email a:hover, .footer-contact-phone a:hover {
    text-decoration: underline;
} 

.error-page {
    text-align: center;
    padding: 60px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.error-page h1 {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.error-page h2 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 30px;
    font-family: 'Montserrat', sans-serif;
}

.error-page p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 40px;
    line-height: 1.6;
}

.error-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.error-link {
    display: inline-block;
    padding: 12px 24px;
    background: #1da1f2;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s;
}

.error-link:hover {
    background: #0d8bd9;
}

@media (max-width: 600px) {
    .error-page h1 {
        font-size: 2.5rem;
    }
    .error-page h2 {
        font-size: 1.3rem;
    }
} 