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

body, html {
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: rgb(0, 0, 0);
}

.hero-section {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 100vh;
    position: relative;
    padding: 0 5%; 
    color: whitesmoke;
}

.navbar {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
}

.logo{
    margin-bottom: 200px;
}
.logo img {
    width: 150px;
    height: auto;
    filter: brightness(1); 
    animation: glowLogo 2s ease-in-out infinite alternate;
    position: relative;
    transition: transform 2.5s ease-out; 
}
/* Keyframes for glowing effect */
@keyframes glowLogo {
    0% {
        filter: brightness(1) drop-shadow(0 0 5px rgb(255, 1, 1)); 
    }
    100% {
        filter: brightness(1.5) drop-shadow(0 0 20px rgb(241, 4, 4)); 
    }
}
/* Right-Side Menu Bar Styling */
.menu-toggle {
    top: 20px;
    cursor: pointer; 
}
.menu-toggle:hover {
    right: 0; 
}
.side-menu {
    position: fixed;
    right: -150px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #660000;
    padding: 20px;
    z-index: 1000;
    border-radius: 10px 0 0 10px;
    transition: right 0.3s ease; 
}

.side-menu:hover {
    right: 0;
}

.side-menu ul {
    list-style: none;
    padding: 0;
}
.side-menu ul li {
    margin: 15px 0;
}

.side-menu ul li a {
    text-decoration: none;
    font-size: 18px;
    color: white;
    font-weight: bold;
    padding: 10px 15px;
    display: block;
    transition: all 0.3s ease;
}

.side-menu ul li a:hover {
    background-color: #ff4d4d;
    border-radius: 5px;
}
@media (max-width: 768px) {
    .side-menu {
        display: block;
    }
    .side-menu {
        position: fixed;
        right: -160px;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(102, 0, 0, 0.7); /* Dark red with 70% opacity */
        padding: 20px;
        z-index: 1000;
        border-radius: 10px 0 0 10px;
        transition: right 0.3s ease;
    }
    .menu-toggle i {
        display: none; /* This hides the arrow icon */
    }
}
/* Menu Icon */
.menu-icon {
    display: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    padding: 8px 15px;
    transition: background-color 0.3s ease;
}

.nav-links li a:hover {
    background-color: #555;
    border-radius: 4px;
}
.menu-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}

.hero-content {
    max-width: 50%; 
}

.hero-content h2 {
    font-size: 24px;
    letter-spacing: 2px;
}
.word {
    opacity: 0; 
    display: inline-block; 
    font-size: 56px;
    font-weight: bold;
    letter-spacing: 2px;
    color: whitesmoke;
    animation: fadeInWord 1s forwards, shineEffect 2s 1.5s linear forwards; /* Shine effect after fade in */
    background: linear-gradient(90deg, rgba(160, 28, 28, 0.308) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(160, 28, 28, 0.308) 100%);
    background-size: 200%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent; 
}

.word:nth-child(1) {
    animation-delay: 0.5s, 2.5s; 
}

.word:nth-child(2) {
    animation-delay: 1s, 3s;
}

.word:nth-child(3) {
    animation-delay: 1.5s, 3.5s; 
}

.word:nth-child(4) {
    animation-delay: 2s, 4s;
}

@keyframes fadeInWord {
    from {
        opacity: 0;
        transform: translateY(20px); 
    }
    to {
        opacity: 1;
        transform: translateY(0); 
    }
}

@keyframes shineEffect {
    0% {
        background-position: 200%;
        color: transparent; 
    }
    50% {
        background-position: 0%;
        color: transparent; 
    }
    100% {
        background-position: 0%; 
        color: whitesmoke; 
    }
}

.hero-content h1 {
    font-size: 56px;
    font-weight: bold;
    letter-spacing: 2px;
}

.hero-content p {
    margin-top: 20px;
    font-size: 16px;
}

.scroll-indicator {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    cursor: pointer;
    z-index: 10;
}

#scrollIcon {
    font-size: 30px;
    color: red; 
    transition: color 0.3s ease;
}

#scrollMessage {
    margin-left: 10px;
    font-size: 16px;
    color: white;
}

.scroll-indicator.active #scrollIcon {
    color: green;
}

.hero-image {
    flex-shrink: 0; 
    max-width: 45%; 
}

.hero-image img {
    width: 100%; 
    height: auto;
    padding-top: 200px;
    filter: brightness(1)  saturate(3); 
    animation: glowEyes 2s ease-in-out infinite alternate; 
}
@keyframes glowEyes {
    0% {
        filter: brightness(1)  saturate(3);
    }
    100% {
        filter: brightness(2)  saturate(3);
    }
}
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 7, 7, 0.6);
    opacity: 0; 
    transition: opacity 0.3s ease; 
    pointer-events: none;
}

.image-overlay.active {
    opacity: 1; 
    pointer-events: auto; 
}

.toggle-overlay-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(45deg, #af4c4c, #df0c16); 
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    border-radius: 25px; 
    color: white;
    font-weight: bold;
    transition: background 0.3s ease; 
}

.toggle-overlay-btn:hover {
    background: linear-gradient(45deg, #ff415b, #b61010);
}



.toggle-overlay-btn:hover {
    background-color: #4caf50; 
    color: white; 
}

/* About Us Section */
#about-us {
    background-color: white; 
    background-size: cover; 
    background-position: center; 
    padding: 80px 20px; 
    color: white; 
    position: relative 
    
}

.spider-image {
    position: absolute;
    padding-bottom: 270px;
    right: 0;
    bottom: 0;
    max-width: 300px;
    opacity: 0.8; 
    z-index: 1; 
}

.about-us-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;

}

.about-text {
    margin-left: 30px;
    max-width: 600px;
}

.about-text h2 {
    font-size: 32px;
    font-family: 'Spooky Webbie';
    color: black;
    margin-bottom: 15px;
}

.about-text p {
    font-size: 18px;
    color: black;
    line-height: 1.6;
}
.filter-buttons {
    margin: 20px 0; /* Space above and below the filter buttons */
}

.filter-button {
    background-color: #ff4d4d; /* Button color */
    color: #ffffff; /* Text color */
    border: none; /* No border */
    border-radius: 5px; /* Rounded corners */
    padding: 10px 15px; /* Padding for better click area */
    cursor: pointer; /* Pointer on hover */
    margin: 0 5px; /* Space between buttons */
    transition: background-color 0.3s; /* Transition for background color */
}

.filter-button:hover {
    background-color: #b30000; /* Darken on hover */
}

.filter-button.active {
    background-color: #b30000; /* Active button color */
}
.gallery-container {
    padding: 40px;
    text-align: center;
}

.title {
    font-size: 28px;
    letter-spacing: 2px;
    margin-bottom: 30px;
}
/* .gallery-container {
    text-align: center;
    padding: 50px 20px;
    background-color: #1a1a1a; 
} */

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease-in-out, filter 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.8), saturate(6);

}
/* Caption styling */
.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6); 
    color: white;
    padding: 10px;
    text-align: center;
    opacity: 0;
    transform: translateY(100%); 
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Show the caption on hover */
.gallery-item:hover .image-caption {
    opacity: 1;
    transform: translateY(0);
}
.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::before {
    opacity: 1;
}
/* Add this CSS to styles.css */
.see-more-btn {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.see-more-btn:hover {
    background-color: #0056b3;
}
.modal {
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0, 0, 0, 0.8); 
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
}

.rating-container {
    text-align: center;
    color: white;
    margin-top: 20px;
}

.stars {
    display: flex;
    justify-content: center;
    cursor: pointer;
}

.stars span {
    font-size: 30px;
    color: gold;
    margin: 0 5px;
}

.stars span:hover {
    color: orange;
}

.close {
    color: white;
    font-size: 30px;
    position: absolute;
    top: 10px;
    right: 25px;
    cursor: pointer;
}
/* General Horror Theme */
#order-sketch {
    /* background-color: #111; */
    padding: 50px 20px;
    color: #fff; 
    position: relative;
    font-family: 'Creepster', cursive; 
    text-align: center;
}

#order-sketch h1 {
    font-size: 3rem;
    color: #e63946; 
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}

#order-sketch p {
    font-size: 1.2rem;
    color: #f1faee; 
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.order-sketch-content {
    background-color: rgba(255, 0, 0, 0.1); 
    padding: 30px;
    border: 1px solid #e63946;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

/* Spider Web Decoration */
.order-sketch-content::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 150px;
    height: 150px;
    background: url('images/spider-web.png') no-repeat;
    background-size: cover;
    opacity: 0.7;
}

.order-sketch-content::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: -10px;
    width: 150px;
    height: 150px;
    background: url('images/spider-web.png') no-repeat;
    background-size: cover;
    opacity: 0.7;
}

.order-sketch-content form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    font-size: 1.2rem;
    color: #e63946;
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #e63946; 
    background-color: #222; 
    color: #fff;
    border-radius: 5px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #ccc;
    font-family: 'Creepster', cursive;
}

.order-btn {
    background-color: #e63946; 
    color: white;
    padding: 10px 20px;
    font-size: 1.2rem;
    font-family: 'Creepster', cursive;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.order-btn:hover {
    background-color: #b51c29; 
    transform: scale(1.05);
}
#footer {
    background-color: #000;
    color: #ffffff;
    padding: 40px 20px; 
    text-align: center;
    position: relative; 
    overflow: hidden; 
}

.footer-content h3 {
    font-size: 28px; 
    margin-bottom: 10px; 
    color: #d9e4e4; 
    text-shadow: 0 0 5px rgba(204, 41, 41, 0.7), 0 0 10px rgba(219, 35, 97, 0.5);
}

.footer-content p {
    font-size: 16px; 
    margin: 10px 0; 
}

.social-icons {
    margin: 20px 0; 
}

.social-icons a {
    color: #c4dddd; 
    margin: 0 15px; 
    font-size: 24px;
    transition: color 0.3s ease; 
}

.social-icons a:hover {
    color: #ff0000; 
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.8), 0 0 10px rgba(255, 0, 0, 0.5); 
}

#footer p {
    margin-top: 20px; 
    font-size: 14px; 
}

/* Responsive adjustments */
/* Responsive adjustments */
/* Hide scroll indicator on mobile */
@media (max-width: 768px) {
    .scroll-indicator {
        display: none; 
    }
}

/* Show scroll indicator on screens wider than 768px */
@media (min-width: 769px) {
    .scroll-indicator {
        display: flex; 
        align-items: center; 
        justify-content: center;
    }

    #scrollMessage {
        display: block; 
    }
}

@media (max-width: 768px) {
  
    
    .hero-image img {
        width: 130%; 
        height: auto; 
        padding: 0; 
        padding-right: 20px;
        filter: brightness(0.8); /* Slightly less dark on mobile for better visibility */
    }
    .hero-content h1 {
        font-size: 36px; /* Adjust font size */
        margin-top: 40px;
        z-index: 3; 
    }
    .hero-content h2 h1{
        color: white;
    }

    .title {
        font-size: 24px; 
    }
    /* .gallary-container{
        padding: 40px;
    } */
    /* .modal-content {
        max-width: 95%;
        max-height: 90%;
    } */

    .close{
        color: black;
    }
    .logo img {
        width: 120px; /* Adjust logo size for mobile */
    }
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .about-us-content {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .about-text h2 {
        font-size: 28px;
        padding-top: 20px;
    }

    .about-text p {
        font-size: 14px;
        margin-right: 30px;
    }

    .about-image img {
        width: 70%;
    }
    .spider-image {
        max-width: 30%; /* Ensure the spider image is not too large */
        padding-bottom: 190px;
    }
}

/* Extra Small Devices (Mobile Phones) */
@media (max-width: 480px) {
    #about-us {
        padding: 50px 10px;
    }

    .about-text h2 {
        font-size: 24px;
    }

    .about-text p {
        font-size: 13px;
    }

    .about-image img {
        width: 90%;
    }
}
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets/mobile */
        gap: 15px;
    }

    .image-caption {
        font-size: 14px; 
        padding: 4px;
    }
}

@media (max-width: 480px) {
    .gallery {
        grid-template-columns: 1fr; /* Stack images in a single column on very small screens */
        gap: 10px;
    }

    .image-caption {
        font-size: 12px; /* Even smaller font for very small screens */
        padding: 3px;
    }

    .gallery-container {
        padding: 10px; /* Reduce padding for mobile */
    }

    .title {
        font-size: 18px; /* Smaller title size */
        margin-bottom: 10px;
    }

    .see-more-btn {
        font-size: 14px;
        padding: 8px 16px;
        margin-top: 20px;
    }
}
@media (max-width: 600px) {
    .filter-buttons {
        display: flex;
        flex-direction: row; /* Stack buttons vertically on small screens */
        align-items: center; 
    }

    .filter-button {
        width: 25%; 

    }
}
