/* Base styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-size: cover;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    cursor: url('https://ani.cursors-4u.net/cursors/cur-13/cur1158.ani'), url('https://ani.cursors-4u.net/cursors/cur-13/cur1158.png'), auto !important;
}

/* Sticky navbar */
.sticky-navbar {
    position: sticky;
    top: 0;
    background-color: #333;
    padding: 10px 0;
    z-index: 1000;
}

.sticky-navbar a {
    color: white;
    text-decoration: none;
    padding: 14px 20px;
    display: inline-block;
}

.sticky-navbar a:hover {
    background-color: #ddd;
    color: black;
}

/* Scrollbar styles for Chrome, Edge and Safari */
*::-webkit-scrollbar {
    height: 15px;
    width: 15px;
}
*::-webkit-scrollbar-track {
    border-radius: 5px;
    background-color: #7F0202;
    border: 5px solid #601916;
}

*::-webkit-scrollbar-track:hover {
    background-color: #530303;
}

*::-webkit-scrollbar-track:active {
    background-color: #515556;
}

*::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background-color: #AE0A0A;
    border: 1px solid #840000;
}

*::-webkit-scrollbar-thumb:hover {
    background-color: #690000;
}

*::-webkit-scrollbar-thumb:active {
    background-color: #5C5C5C;
}

/* Backgrounds for different pages */
body.home-background {
    background: url('../images/home-background.png') no-repeat center center fixed;
    background-size: cover;
}

body.about-background {
    background: url('../images/about-background.png') no-repeat center center fixed;
    background-size: cover;
}

body.portfolio-background {
    background: url('../images/portfolio-background.png') no-repeat center center fixed;
    background-size: cover;
}

body.photo-manipulation-background {
    background: url('../images/photo-manipulation-background.jpg') no-repeat center center fixed;
    background-size: cover;
}

body.photography-background {
    background: url('../images/photography-background.jpg') no-repeat center center fixed;
    background-size: cover;
}

body.flyers-background {
    background: url('../images/flyers-background.png') no-repeat center center fixed;
    background-size: cover;
}

body.maternity-background {
    background: url('../images/maternity-background.jpg') no-repeat center center fixed;
    background-size: cover;
}

body.weddings-background {
    background: url('../images/weddings-background.jpg') no-repeat center center fixed;
    background-size: cover;
}

body.tributes-background {
    background: url('../images/tributes-background.jpg') no-repeat center center fixed;
    background-size: cover;
}

body.videos-background {
    background: url('../images/videos-background.png') no-repeat center center fixed;
    background-size: cover;
}

body.misc-background {
    background: url('../images/misc-background.jpg') no-repeat center center fixed;
    background-size: cover;
}

body.services-background {
    background: url('../images/services-background.png') no-repeat center center fixed;
    background-size: cover;
}

body.blog-background {
    background: url('../images/blog-background.png') no-repeat center center fixed;
    background-size: cover;
}

body.testimonials-background {
    background: url('../images/testimonials-background.jpg') no-repeat center csenter fixed;
    background-size: cover;
}

body.faqs-background {
    background: url('../images/faqs-background.jpg') no-repeat center center fixed;
    background-size: cover;
}

body.contact-background {
    background: url('../images/contact-background.png') no-repeat center center fixed;
    background-size: cover;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 200px;
    background: rgba(0, 0, 0, 0.7);
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 1000;
    position: relative;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
}

header nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    margin: 0;
    margin-left: auto;
}

header nav ul li {
    margin: 0 1rem;
    position: relative;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #e74c3c;
}

/* Dropdown menu */
header nav ul li .dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

header nav ul li .dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

header nav ul li .dropdown-content a:hover {
    background-color: #ddd;
    color: black;
}

header nav ul li:hover .dropdown-content {
    display: block;
}

header .logo-container {
    margin-left: left;
}

header .logo {
    max-height: 150px;
    width: auto;
}

header .social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 20px;
    gap: 10px;
    z-index: 1001;
}

header .social-icon {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

header .social-icon:hover {
    color: #e74c3c;
}

main {
    flex: 1;
    padding: 2rem;
    padding-bottom: 100px;
}

.dialog-box {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 100%;
    margin: 20px auto;
}

.dialog-box h2 {
    margin-top: 0;
    font-size: 2rem;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 0.5rem;
}

.section-box {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.section-box h2 {
    margin-top: 0;
    font-size: 2rem;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 0.5rem;
}

.gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.gallery img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

footer {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    text-align: center;
    padding: 1rem;
    width: 100%;
    position: relative;
    bottom: 0;
    z-index: 1000;
}

/* Contact form styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form .form-group label {
    margin-bottom: 0.5rem;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    padding: 0.75rem;
    border-radius: 4px;
    border: none;
}

.contact-form .form-group textarea {
    resize: vertical;
    height: 150px;
}


.contact-form button {
        padding: 0.75rem 1.5rem;
        border: none;
        border-radius: 4px;
        background-color: #e74c3c;
        color: white;
        cursor: pointer;
        font-size: 1rem;
        transition: background-color 0.3s ease;
    }
    
    .contact-form button:hover {
        background-color: #c0392b;
    }
    
    /* Custom hover effect for navigation links */
    header nav ul li a:hover {
        color: #e74c3c;
        font-size: 1.4rem;
        border-bottom: 2px solid #e74c3c;
    }
    
    /* Responsive Design for Small Devices */
    @media (max-width: 768px) {
        header {
            flex-direction: column;
            height: auto;
            padding: 10px;
        }
    
        header nav ul {
            flex-direction: column;
            align-items: center;
        }
    
        header nav ul li {
            margin: 5px 0;
        }
    
        header .logo-container {
            margin: 10px 0;
        }
    
        main {
            padding: 1rem;
            height: auto;
            padding-bottom: 100px;
        }
    
        .dialog-box {
            padding: 1rem;
            width: 90%;
        }
    
        .section-box {
            width: 100%;
        }
    
        .gallery img {
            max-width: 100%;
        }
    
        /* Adjust dropdown menu for mobile */
        header nav ul li .dropdown-content {
            position: static;
            background-color: rgba(0, 0, 0, 0.9); /* Darker background for mobile */
            box-shadow: none;
        }
    
        header nav ul li .dropdown-content a {
            padding: 10px 20px;
        }
    
        header nav ul li:hover .dropdown-content {
            display: block;
        }
    }
    
    /* Responsive Design for Extra Small Devices */
    @media (max-width: 480px) {
        header {
            flex-direction: column;
            height: auto;
            padding: 10px;
        }
    
        header nav ul {
            flex-direction: column;
            align-items: center;
        }
    
        header nav ul li {
            margin: 5px 0;
        }
    
        header .logo-container {
            margin: 10px 0;
        }
    
        main {
            padding: 1rem;
            height: auto;
            padding-bottom: 100px;
        }
    
        .dialog-box {
            padding: 1rem;
            width: 90%;
        }
    
        .section-box {
            width: 100%;
        }
    
        .gallery img {
            max-width: 100%;
        }
    }
    
    /* Custom Styles for Music Controls */
    #music-controls {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin: 20px auto;
        padding: 10px;
        background: rgba(0, 0, 0, 0.7);
        border-radius: 8px;
        max-width: 300px;
        width: 100%;
    }
    
    #music-controls button {
        padding: 10px 20px;
        border: none;
        border-radius: 4px;
        background-color: #e74c3c;
        color: white;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    
    #music-controls button:hover {
        background-color: #c0392b;
    }
    
    .gallery {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .gallery-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 15px;
    }
    
    .gallery img {
        max-width: 200px;
        width: 100%;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .gallery img:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
        
    }
    .gallery-container {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
    
    .gallery-container a {
        flex: 1 1 calc(33.33% - 20px); /* Adjust this to control the size of the images */
        max-width: 300px; /* Ensure images don't stretch too much */
        box-sizing: border-box;
    }
    
    .gallery-container img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .gallery-container img:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    }
    
    