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

html {
    scroll-behavior: smooth;
}

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

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #000;
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

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

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

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('Images/Image3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-content {
    position: absolute;
    top: 56%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.name-line {
    display: block;
    font-size: 6rem;
    letter-spacing: 3px;
    line-height: 0.9;
    margin-bottom: 10px;
}

.name-line:last-child {
    margin-bottom: 0;
}

/* Hero Star */
.hero-star {
    margin-top: 80px;
    display: flex;
    justify-content: center;
}

.spinning-star {
    width: 110px;
    height: 110px;
    color: #fff;
    animation: spin 4s linear infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

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

/* About Section */
.about {
    padding: 100px 0;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 80px;
    align-items: start;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.about-content {
    padding-top: 40px;
}

.about-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
    line-height: 1.2;
}

.about-text {
    font-size: 16px;
    line-height: 1.8;
    color: #e9e9e9;
    text-align: justify;
}

/* Film Grid Section */
.film-grid {
    padding: 50px 20px;
}

.two-images {
    display: flex;
    gap: 60px;
    max-width: 95%;
    margin: 0 auto;
    padding: 0 20px;
}

.image-item {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.image-item img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: filter 0.3s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all 0.3s ease;
}

.main-text {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: -20px;
    transition: transform 0.3s ease;
}

.sub-categories {
    display: flex;
    flex-direction: row;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    flex-wrap: wrap;
    justify-content: center;
}

.category-btn {
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 25px;
    text-align: center;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.1);
}

.category-btn:hover {
    background-color: #fff;
    color: #000;
    transform: scale(1.05);
}

.image-item:hover .main-text {
    transform: translateY(-30px);
}

.image-item:hover .sub-categories {
    opacity: 1;
    transform: translateY(0);
}

.image-item:hover .image-overlay {
    background-color: rgba(0, 0, 0, 0.8);
}

.image-item:hover img {
    filter: brightness(0.6);
}

/* Responsive layout */
@media screen and (max-width: 768px) {
    .two-images {
        flex-direction: column;
        gap: 30px;
        max-width: 90%;
    }
    
    .image-item img {
        height: 450px;
    }
    
    .main-text {
        font-size: 2rem;
        transform: translateY(-15px);
        margin-bottom: 15px;
    }
    
    .sub-categories {
        opacity: 1;
        transform: translateY(0);
    }
    
    .category-btn {
        font-size: 14px;
        padding: 6px 16px;
    }
    
    /* Disable hover effects on mobile */
    .image-item:hover .main-text {
        transform: translateY(-15px);
    }
    
    .image-item:hover .sub-categories {
        opacity: 1;
        transform: translateY(0);
    }
    
    .image-item:hover .image-overlay {
        background-color: rgba(0, 0, 0, 0.3);
    }
    
    .image-item:hover img {
        filter: none;
    }
}

/* Contact Section */
.contact {
    padding: 100px 0;
    color: #fff;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
    align-items: start;
}

.contact-image {
    position: relative;
}

.contact-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-content {
    padding-top: 40px;
}

.contact-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
    line-height: 1.2;
}

.contact-text {
    font-size: 16px;
    line-height: 1.8;
    color: #e9e9e9;
    margin-bottom: 30px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-info p {
    font-size: 16px;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.6;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.email-link {
    color: #fff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: #ccc;
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid #333;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #fff;
    color: #000;
    transform: translateY(-2px);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.copyright {
    text-align: center;
}

.copyright p {
    color: #999;
    font-size: 14px;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        gap: 30px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .name-line {
        font-size: 4rem;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-image img {
        height: 400px;
    }
    
    .contact-image img {
        height: 400px;
    }
    
    .about-title {
        font-size: 2.5rem;
    }
    
    .contact-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .name-line {
        font-size: 3rem;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .nav-container {
        gap: 20px;
    }
}

/* Section Separators */
.section-separator {
    height: 2px;
    background-color: #333;
    width: 50%;
    margin: 0 auto;
}

/* Gallery Pages Styles */
.page-header {
    padding: 150px 20px 80px;
    text-align: center;
}

.page-title h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: 2px;
}

.gallery-grid {
    padding: 80px 20px;
}

.grid-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.grid-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

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

/* Gallery Page Responsive */
@media screen and (max-width: 768px) {
    .page-title h1 {
        font-size: 2.5rem;
    }
    
    .grid-container {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .grid-item img {
        height: 250px;
    }
}

@media screen and (max-width: 480px) {
    .page-title h1 {
        font-size: 2rem;
    }
    
    .grid-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .grid-item img {
        height: 200px;
    }
    
    .social-links {
        gap: 15px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
    
    .social-link svg {
        width: 20px;
        height: 20px;
    }
}