/* Base Styles and Variables */
:root {
    --primary-color: #d10a0a; /* Brighter blood red for better readability */
    --secondary-color: #222; /* Almost black */
    --accent-color: #4eff91; /* Readable green accent (replacing gold) */
    --teal-color: #005353; /* Dark teal */
    --neon-green: #39ff14; /* Neon green */
    --text-color: #f8f8f8;
    --background-color: #121212;
    --card-bg-color: rgba(20, 20, 20, 0.8);
    --footer-bg-color: #0a0a0a;
    --font-main: 'Poppins', sans-serif;
    --font-display: 'Creepster', cursive; /* Changed from Nosifer to Creepster */
    --font-heading: 'Eater', cursive; /* Added new font for certain headings */
    --border-radius: 5px;
    --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    background-image: url('https://placehold.co/1200x800/121212/222');
    background-attachment: fixed;
    background-size: cover;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.9));
    z-index: -1;
}

/* Stars background */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

.stars::before, .stars::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 25% 5%, white, transparent),
        radial-gradient(1px 1px at 50% 15%, white, transparent),
        radial-gradient(1px 1px at 75% 25%, white, transparent),
        radial-gradient(1.5px 1.5px at 10% 35%, var(--neon-green), transparent),
        radial-gradient(1.5px 1.5px at 30% 45%, white, transparent),
        radial-gradient(1px 1px at 50% 55%, white, transparent),
        radial-gradient(2px 2px at 85% 65%, var(--teal-color), transparent),
        radial-gradient(2.5px 2.5px at 15% 70%, white, transparent),
        radial-gradient(1px 1px at 35% 75%, var(--neon-green), transparent),
        radial-gradient(1px 1px at 65% 85%, white, transparent),
        radial-gradient(2px 2px at 90% 95%, var(--teal-color), transparent);
}

.stars::after {
    background-image: 
        radial-gradient(1px 1px at 10% 10%, white, transparent),
        radial-gradient(1px 1px at 35% 20%, white, transparent),
        radial-gradient(1px 1px at 65% 30%, white, transparent),
        radial-gradient(1.5px 1.5px at 20% 40%, var(--teal-color), transparent),
        radial-gradient(1.5px 1.5px at 40% 50%, white, transparent),
        radial-gradient(1px 1px at 60% 60%, white, transparent),
        radial-gradient(2px 2px at 75% 70%, var(--neon-green), transparent),
        radial-gradient(2.5px 2.5px at 25% 80%, white, transparent),
        radial-gradient(1px 1px at 45% 85%, var(--teal-color), transparent),
        radial-gradient(1px 1px at 80% 90%, white, transparent),
        radial-gradient(2px 2px at 95% 5%, var(--neon-green), transparent);
    animation: twinkle 8s ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover, a:focus {
    color: var(--accent-color);
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--primary-color);
    margin-bottom: 0.5em;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    letter-spacing: 1.5px;
    font-weight: normal;
    -webkit-text-stroke: 1px black;
    position: relative;
}

/* Blood drip effect for headings */
/* Removed blood drips */

/* Use the Eater font for section headings for variety */
section h2 {
    font-family: var(--font-heading);
    letter-spacing: 1.5px;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

/* Enhanced sub-headings */
h3 {
    font-size: 1.8rem;
    color: #b30000; /* Darker red for better visibility */
    margin-top: 1.5rem;
    border-bottom: 2px solid rgba(179, 0, 0, 0.3);
    padding-bottom: 0.3rem;
}

h4 {
    font-size: 1.4rem;
    color: #9932cc; /* Purple for contrast */
    margin-top: 1rem;
}

.instagram-gallery h2 {
    text-align: center;
}

img {
    max-width: 100%;
    height: auto;
}

button, .cta-button, .submit-button {
    cursor: pointer;
    border: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

button:focus, .cta-button:focus, .submit-button:focus,
input:focus, select:focus, textarea:focus {
    outline: 2px solid var(--accent-color);
}

/* Header Styles */
header {
    background-color: var(--secondary-color);
    background-image: linear-gradient(to right, #000000, #1a1a1a, #000000);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--primary-color);
}

/* Add decorative elements to header */
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent-color), transparent);
    opacity: 0.7;
    z-index: 1;
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--neon-green), transparent);
    opacity: 0.5;
    z-index: 1;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-container h1 {
    font-size: 2.5rem;
    margin-bottom: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(153, 50, 204, 0.7);
    position: relative;
    display: inline-block;
}

.logo-container h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--neon-green), transparent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.tagline {
    font-style: italic;
    color: var(--accent-color);
    font-size: 0.9rem;
    text-shadow: 0 0 5px rgba(57, 255, 20, 0.5);
    letter-spacing: 0.5px;
    margin-top: 0.3rem;
}

nav {
    display: flex;
    align-items: center;
    position: relative;
}

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

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    position: relative;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
}

.nav-links a:hover, .nav-links a:focus {
    color: var(--accent-color);
    text-decoration: none;
    text-shadow: 0 0 8px var(--accent-color);
}

.nav-links a.active, .nav-links a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 8px var(--accent-color);
}

.nav-links a.active {
    color: var(--accent-color);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
}

.menu-toggle {
    display: none;
    background: none;
    color: var(--text-color);
    font-size: 1.5rem;
    border: 1px solid var(--text-color);
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://placehold.co/1200x600/222/111');
    background-size: cover;
    background-position: center;
    color: var(--text-color);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://placehold.co/1200x600/222/111');
    opacity: 0.2;
    animation: floatBats 20s linear infinite;
    pointer-events: none;
}

@keyframes floatBats {
    0% { background-position: 0 0; }
    100% { background-position: 100px -100px; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    animation: textGlow 3s ease-in-out infinite alternate;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    transition: all 0.4s;
    z-index: -1;
}

.cta-button:hover::before {
    left: 0;
}

.cta-button:hover {
    color: var(--secondary-color);
    border-color: var(--accent-color);
}

/* Features Section */
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 4rem 2rem;
    background-color: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://placehold.co/1200x800/222/333');
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.feature-card {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    background-color: var(--card-bg-color);
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: 1;
    transition: var(--transition);
    /* Coffin shape using clip-path */
    clip-path: polygon(
        0% 15%,      /* top left indent */
        15% 0%,      /* top left corner */
        85% 0%,      /* top right corner */
        100% 15%,    /* top right indent */
        100% 90%,    /* bottom right - longer side */
        50% 100%,    /* bottom center - more tapered */
        0% 90%       /* bottom left - longer side */
    );
    border: 3px solid var(--primary-color);
}


.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.7);
    border-color: var(--accent-color);
}

/* Add a subtle glow effect to the coffin borders on hover */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    clip-path: inherit;
    background: transparent;
    border: 2px solid var(--primary-color);
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.feature-card:hover::before {
    opacity: 0.7;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 2rem;
    text-align: center;
    background-color: var(--background-color);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://placehold.co/1200x800/121212/222');
    background-size: cover;
    opacity: 0.05;
    z-index: 0;
}

.testimonials h2 {
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.testimonial-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    background-color: var(--card-bg-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--primary-color);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
}

.client-name {
    color: var(--accent-color);
    font-weight: 600;
    text-align: right;
}

/* Instagram Gallery Section */
.instagram-gallery {
    padding: 4rem 0;
    background-color: var(--background-color);
    position: relative;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.instagram-feed {
    position: relative;
    margin: 2rem 0;
}

.gallery-carousel {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    gap: 1.5rem;
    padding: 1rem 0;
}

.gallery-item {
    flex: 0 0 300px;
    height: 300px;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

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

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.gallery-item:hover .gallery-image {
    filter: brightness(0.7);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.gallery-prev, .gallery-next {
    background-color: var(--card-bg-color);
    color: var(--accent-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.gallery-prev:hover, .gallery-next:hover {
    background-color: var(--accent-color);
    color: var(--card-bg-color);
    transform: scale(1.1);
}

.instagram-link {
    text-align: center;
    margin-top: 2rem;
}

.insta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #405DE6;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(64, 93, 230, 0.3);
}

.insta-button:hover {
    background-color: #5B6EF7;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(64, 93, 230, 0.4);
}

/* Page Header */
.page-header {
    padding: 4rem 2rem;
    text-align: center;
    background-color: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://placehold.co/1200x800/222/333?text=Gothic+Pattern');
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.page-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    color: var(--text-color);
}

.page-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Services Section */
.services {
    padding: 4rem 2rem;
}

.service-card {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    background-color: var(--card-bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--primary-color);
}

.service-icon {
    flex: 0 0 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-color);
    background-color: var(--primary-color);
}

.service-details {
    flex: 1;
    padding: 2rem;
}

.service-details h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.service-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-option {
    flex: 1;
    min-width: 200px;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 3px solid var(--accent-color);
}

.service-option h4 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.price {
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

/* CTA Section */
.cta-section {
    padding: 4rem 2rem;
    text-align: center;
    background-color: var(--secondary-color);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://placehold.co/1200x800/222/333');
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.cta-section h2 {
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    color: var(--text-color);
}

.cta-section p {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

/* About Page */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 4rem 2rem;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 3px solid var(--primary-color);
}

.about-text {
    flex: 2;
    min-width: 300px;
}

.about-text h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.values-list {
    list-style: none;
    margin-left: 1rem;
}

.values-list li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.values-list li::before {
    content: '\f6cf'; /* Font Awesome skull icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.values-list span {
    font-weight: 600;
    color: var(--accent-color);
}

/* Team Section */
.team {
    padding: 4rem 2rem;
    text-align: center;
    background-color: var(--secondary-color);
    position: relative;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://placehold.co/1200x800/222/333?text=Gothic+Pattern');
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.team h3 {
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
    color: var(--text-color);
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.team-member {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    background-color: var(--card-bg-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    border-bottom: 3px solid var(--primary-color);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member img {
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 2px solid var(--primary-color);
}

.team-member h4 {
    margin-bottom: 0.5rem;
}

.team-member p:first-of-type {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Contact Page */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 4rem 2rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background-color: var(--card-bg-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--primary-color);
}

.contact-info h3 {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 0.3rem;
}

.contact-social {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.contact-social a {
    font-size: 1.5rem;
    color: var(--text-color);
}

.contact-form-container {
    flex: 2;
    min-width: 300px;
    background-color: var(--card-bg-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border-right: 4px solid var(--accent-color);
}

.contact-form-container h3 {
    margin-bottom: 2rem;
}

.online-booking-btn {
    margin-bottom: 2rem;
    text-align: center;
}

.booking-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--accent-color);
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.booking-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    filter: brightness(1.1);
}

.booking-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    filter: brightness(1);
    color: var(--secondary-color);
}

.booking-note {
    margin-top: 0.75rem;
    font-style: italic;
    opacity: 0.8;
}

.form-divider {
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

.form-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

.form-divider span {
    position: relative;
    background-color: var(--card-bg-color);
    padding: 0 1rem;
    color: var(--accent-color);
}

.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.form-group {
    flex: 1 0 calc(50% - 0.75rem);
}

.full-width {
    flex: 0 0 100%;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input, select, textarea {
    width: 100%;
    padding: 0.8rem;
    border-radius: var(--border-radius);
    border: 1px solid #444;
    background-color: rgba(0, 0, 0, 0.3);
    color: var(--text-color);
    font-family: var(--font-main);
}

textarea {
    resize: vertical;
}

.submit-button {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.submit-button:hover::before {
    left: 100%;
}

.submit-button:hover {
    background-color: #a00000;
}

.map-container {
    padding: 2rem;
    text-align: center;
}

.map-container h3 {
    margin-bottom: 2rem;
}

.map-placeholder {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border: 3px solid var(--primary-color);
    position: relative;
}

.map-placeholder p {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 0.5rem;
    margin: 0 auto;
    width: 80%;
    border-radius: var(--border-radius);
}

/* Footer */
footer {
    background-color: var(--footer-bg-color);
    color: var(--text-color);
    padding: 3rem 2rem 1rem;
    border-top: 3px solid var(--primary-color);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 1.2rem;
    transition: var(--transition);
    border: 1px solid var(--primary-color);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Placeholder Images */
.placeholder-image {
    filter: sepia(0.3) hue-rotate(320deg);
    transition: var(--transition);
}

.placeholder-image:hover {
    filter: sepia(0) hue-rotate(0);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .logo-container h1 {
        font-size: 1.8rem;
    }
    
    nav {
        position: static;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: -2rem; /* Compensate for header padding */
        width: calc(100% + 4rem); /* Compensate for header padding */
        background-color: var(--secondary-color);
        background-image: linear-gradient(to right, #000000, #1a1a1a, #000000);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.7);
        z-index: 999;
        border-top: 2px solid var(--primary-color);
        margin: 0;
        box-sizing: border-box;
    }
    
    .nav-links.show {
        display: flex !important;
        animation: fadeIn 0.3s ease-in-out;
        opacity: 1;
        visibility: visible;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .nav-links li {
        margin: 0.8rem 0;
        margin-left: 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 0.7rem 0;
        font-size: 1.2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        transition: all 0.3s ease;
    }
    
    .nav-links li:last-child a {
        border-bottom: none;
    }
    
    .nav-links a:hover, .nav-links a:focus, .nav-links a.active {
        background-color: rgba(255, 255, 255, 0.05);
        transform: translateX(5px);
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    /* Hide floating icons on mobile */
    .floating-elements {
        display: none;
    }
    
    .feature-card, .testimonial, .service-option {
        min-width: 100%;
    }
    
    .service-icon {
        flex: 0 0 100%;
        padding: 2rem 0;
    }
    
    .form-group {
        flex: 0 0 100%;
    }
    
    .footer-section {
        flex: 0 0 100%;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Cursor trail effect removed */

/* Focus visible styles for keyboard navigation */
a:focus-visible, button:focus-visible, input:focus-visible, 
select:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* Gothic decorative elements */
.page-header::after,
.cta-section::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 40px;
    background-image: url('https://placehold.co/60x40/222/444');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
}

/* Add a subtle animation to the bat icon */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}


/* Floating elements in hero section */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

/* Floating elements styling */
.floating-ghost, .floating-ghost-2, .floating-ghost-3, .floating-ghost-4, .floating-ghost-5,
.floating-spider, .floating-spider-2, .floating-spider-3, .floating-spider-4,
.floating-skull, .floating-skull-2, .floating-skull-3,
.floating-bat, .floating-bat-2, .floating-bat-3, .floating-bat-4 {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.8;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease, opacity 2s ease-in-out;
    cursor: pointer;
    filter: drop-shadow(0 0 5px currentColor);
    pointer-events: all;
    animation: float-fade 8s infinite ease-in-out;
}

@keyframes float-fade {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.9;
    }
}

/* Ghost styling */
.floating-ghost, .floating-ghost-2, .floating-ghost-3, .floating-ghost-4, .floating-ghost-5 {
    color: var(--text-color);
    animation-delay: calc(var(--delay, 0) * 1s);
}

.floating-ghost:hover, .floating-ghost-2:hover, .floating-ghost-3:hover, .floating-ghost-4:hover, .floating-ghost-5:hover {
    color: var(--neon-green);
    transform: scale(1.3) rotate(10deg);
    text-shadow: 0 0 20px var(--neon-green);
}

/* Spider styling */
.floating-spider, .floating-spider-2, .floating-spider-3, .floating-spider-4 {
    color: #9932cc; /* Purple color for spiders */
}

.floating-spider:hover, .floating-spider-2:hover, .floating-spider-3:hover, .floating-spider-4:hover {
    color: var(--neon-green);
    transform: scale(1.3) rotate(45deg);
    text-shadow: 0 0 20px var(--neon-green);
}

/* Bat styling */
.floating-bat, .floating-bat-2, .floating-bat-3, .floating-bat-4 {
    color: #9932cc; /* Purple color for bats */
    font-size: 2.2rem; /* Slightly smaller than other icons */
    filter: drop-shadow(0 0 3px #9932cc);
}

.floating-bat:hover, .floating-bat-2:hover, .floating-bat-3:hover, .floating-bat-4:hover {
    color: var(--neon-green);
    transform: scale(1.3);
    text-shadow: 0 0 20px var(--neon-green);
    filter: drop-shadow(0 0 5px var(--neon-green));
}

/* Skull styling */
.floating-skull, .floating-skull-2 {
    color: var(--text-color);
}

.floating-skull:hover, .floating-skull-2:hover {
    color: var(--primary-color);
    transform: scale(1.3);
    text-shadow: 0 0 20px var(--primary-color);
}

/* Removed unused scissors and moon styling */

/* Positioning - keeping all elements around the edges */
/* Left side elements - scattered more */
.floating-ghost {
    top: 15%;
    left: 3%;
    animation: float 6s ease-in-out infinite;
}

.floating-skull {
    bottom: 12%;
    left: 12%;
    font-size: 3rem;
    animation: float 8s ease-in-out infinite 1s;
}

.floating-skull-2 {
    top: 35%;
    left: 2%;
    animation: float 6s ease-in-out infinite 2s;
}

.floating-bat {
    top: 55%;
    left: 8%;
    animation: float 7s ease-in-out infinite 0.7s;
}

.floating-spider-4 {
    bottom: 28%;
    left: 6%;
    animation: float 8.5s ease-in-out infinite 1.7s;
}

/* Right side elements - scattered more */
.floating-ghost-2 {
    top: 5%;
    right: 7%;
    animation: float 5s ease-in-out infinite 0.5s;
}

.floating-spider {
    top: 32%;
    right: 4%;
    animation: float 7s ease-in-out infinite reverse;
}

.floating-ghost-3 {
    top: 52%;
    right: 2%;
    animation: float 8s ease-in-out infinite 1s;
}

.floating-bat-2 {
    bottom: 18%;
    right: 9%;
    animation: float 6.5s ease-in-out infinite 2.3s;
}

.floating-ghost-5 {
    bottom: 3%;
    right: 15%;
    animation: float 9s ease-in-out infinite 2.5s;
}

/* Top edge elements - scattered more */
.floating-spider-2 {
    top: 8%;
    right: 38%;
    animation: float 7s ease-in-out infinite 1.5s;
}

.floating-bat-3 {
    top: 12%;
    left: 28%;
    animation: float 8s ease-in-out infinite 3.8s;
}

/* Bottom edge elements - moved away from middle button */
.floating-ghost-4 {
    bottom: 9%;
    left: 20%;
    animation: float 7s ease-in-out infinite 1.2s;
}

.floating-skull-3 {
    bottom: 7%;
    right: 20%;
    animation: float 6.5s ease-in-out infinite 0.3s;
    color: var(--text-color);
}

.floating-skull-3:hover {
    color: var(--primary-color);
    transform: scale(1.3);
    text-shadow: 0 0 20px var(--primary-color);
}

.floating-spider-3 {
    bottom: 25%;
    left: 15%;
    animation: float 5.5s ease-in-out infinite 0.7s;
}

.floating-bat-4 {
    bottom: 28%;
    right: 15%;
    animation: float 7.5s ease-in-out infinite 1.2s;
}

.page-header::after,
.cta-section::after {
    animation: float 4s ease-in-out infinite;
}

/* Add gothic border to some sections */
.hero::after,
.features::after,
.testimonials::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background-image: url('https://placehold.co/200x20/222/444');
    background-size: auto 100%;
    background-repeat: repeat-x;
    z-index: 2;
}
