/* Base Reset and Body Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #fafafa;
    color: #333;
    line-height: 1.6;
    font-size: 1rem;
}

a {
    text-decoration: none;
    color: #007bff;
    transition: color 0.3s;
}

a:hover {
    color: #0056b3;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
}


/* Slider */
.slider {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 40px;
}

.slider img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.slider .caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(0,0,0,0.6);
    color: #fff;
    padding: 15px;
    border-radius: 5px;
    font-size: 1.4rem;
}

/* Films Grid */
.films-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.film-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.film-card:hover {
    transform: translateY(-5px);
}

.film-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.film-card .film-info {
    padding: 15px;
}

.film-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.film-card p {
    font-size: 0.95rem;
    color: #555;
}

.film-card a {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #007bff;
    color: #fff;
    border-radius: 5px;
}

/* About Section */
.about {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 40px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.about img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    margin-top: 20px;
}

/* Call-to-Action Section */
.cta {
    background-color: #007bff;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 40px;
}

.cta h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.cta button {
    background-color: #fff;
    color: #007bff;
    padding: 12px 25px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cta button:hover {
    background-color: #f0f0f0;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.pagination a {
    padding: 10px 15px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    color: #007bff;
}

.pagination a:hover {
    background-color: #f0f0f0;
}

/* Contact Form */
form {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: auto;
}

form input, form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

form button {
    padding: 12px 25px;
    font-size: 1rem;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
}

/* Admin Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

table th, table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table th {
    background-color: #007bff;
    color: #fff;
}

/* Media Queries */
@media(min-width: 600px) {
    .films-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about {
        flex-direction: row;
        gap: 20px;
    }
}

@media(min-width: 900px) {
    .films-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(min-width: 1200px) {
    .films-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Simple Slider Animation */
@keyframes slideAnimation {
    0% { transform: translateX(0); }
    20% { transform: translateX(-100%); }
    40% { transform: translateX(-200%); }
    60% { transform: translateX(-300%); }
    80% { transform: translateX(-400%); }
    100% { transform: translateX(0); }
}

/* About Section Styles */
.home-about {
    padding: 50px 20px;
}

.home-about h1 {
    font-size: 2rem;
    text-align: center;
    color: #007bff;
    margin-bottom: 30px;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.about-text {
    font-size: 1.1rem;
    max-width: 800px;
    text-align: justify;
}

.about-content img {
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
    .about-content {
        flex-direction: row;
        align-items: flex-start;
    }
}

/* Call to Action Section */
.home-cta {
    background: #007bff;
    color: #fff;
    padding: 50px 20px;
    text-align: center;
}

.home-cta h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.btn-primary {
    background-color: #fff;
    color: #007bff;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-right: 10px;
}

.btn-primary:hover {
    background-color: #0056b3;
    color: #fff;
}

.btn-secondary {
    background-color: #0056b3;
    color: #fff;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.btn-secondary:hover {
    background-color: #004080;
}












/* Header Styles */
.site-header {
    background-color: #1a1a1a;
    color: #fff;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
}

.site-header .logo a {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
}

.site-nav a {
    color: #ddd;
    margin-left: 20px;
    text-decoration: none;
    font-weight: 500;
}

.site-nav a:hover {
    color: #007bff;
}

/* Footer Styles */
.site-footer {
    background-color: #1a1a1a;
    color: #aaa;
    padding: 20px 0;
    text-align: center;
    font-size: 0.95rem;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .site-nav {
        margin-top: 10px;
    }

    .site-nav a {
        display: block;
        margin: 10px 0;
    }
}
/* About Page Styles */
.about-page {
    padding: 40px 20px;
}

.about-page h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #007bff;
    text-align: center;
}

.about-page-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    text-align: justify;
}

.about-image {
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
    .about-page-content {
        flex-direction: row;
        align-items: flex-start;
    }

    .about-text {
        flex: 1;
    }

    .about-image {
        flex: 1;
    }
}


/* Films Page Styles */
.films-page {
    padding: 40px 20px;
}

.films-page h1 {
    font-size: 2rem;
    text-align: center;
    color: #007bff;
    margin-bottom: 30px;
}

.films-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.film-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.film-card:hover {
    transform: translateY(-5px);
}

.film-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.film-card .film-info {
    padding: 15px;
}

.film-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.film-card p {
    font-size: 1rem;
    color: #555;
}

.film-card a {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #007bff;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
}

.film-card a:hover {
    background-color: #0056b3;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination a {
    padding: 10px 15px;
    background: #fff;
    color: #007bff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-decoration: none;
}

.pagination a.active {
    background-color: #007bff;
    color: #fff;
}

@media (min-width: 600px) {
    .films-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .films-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .films-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Film Details Page Styles */
.film-details {
    padding: 40px 20px;
}

.film-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.film-header img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.film-info {
    max-width: 800px;
}

.film-info h1 {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 15px;
}

.film-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.songs-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

.song-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.song-card h3 {
    font-size: 1.3rem;
    color: #007bff;
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .film-header {
        flex-direction: row;
        align-items: flex-start;
    }

    .film-header img {
        flex: 1;
    }

    .film-info {
        flex: 2;
    }

    .songs-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .songs-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Search Page Styles */
.search-page {
    padding: 40px 20px;
}

.search-page h1 {
    font-size: 2rem;
    text-align: center;
    color: #007bff;
    margin-bottom: 30px;
}

.search-form {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.search-form input[type="text"] {
    width: 70%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
    font-size: 1rem;
}

.search-form button {
    padding: 12px 20px;
    border: none;
    background-color: #007bff;
    color: #fff;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.search-form button:hover {
    background-color: #0056b3;
}

.no-results {
    text-align: center;
    font-size: 1.2rem;
    color: #555;
}

@media (max-width: 768px) {
    .search-form {
        flex-direction: column;
        align-items: center;
    }

    .search-form input[type="text"] {
        width: 100%;
        border-radius: 5px;
        margin-bottom: 10px;
    }

    .search-form button {
        width: 100%;
        border-radius: 5px;
    }
}
/* Contact Page Styles */
.contact-page {
    padding: 40px 20px;
    text-align: center;
}

.contact-page h1 {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 30px;
}

.contact-form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    width: 100%;
}

.contact-form button {
    padding: 12px;
    background-color: #007bff;
    color: #fff;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #0056b3;
}

.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 1rem;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
}

.alert.error {
    background-color: #f8d7da;
    color: #721c24;
}

@media (max-width: 768px) {
    .contact-form {
        padding: 0 10px;
    }
}
