/* ============================================================
   Basic Reset
   ============================================================ */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #111;
    color: #fff;
}
h2 {
    font-family: 'Vecna', sans-serif !important;
    text-shadow: 0 0 10px #FFD700, 0 0 20px #FFD700;
}

p {
    font-family: 'Vecna', sans-serif !important;
    text-shadow: 0 0 10px #FFD700, 0 0 20px #FFD700;
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}

/* ============================================================
   General Header Styling
   ============================================================ */
header {
    background-color: #021528;
    font-family: 'Vecna', sans-serif !important;
    text-align: center;
    padding: 10px 0;
    position: relative;
    z-index: 10;
}

header h1 {
    font-family: 'Vecna', sans-serif !important;
    font-size: 3rem;
    color: #d2d2d2;
    margin: 0;
    text-shadow: 0 0 10px #FFD700, 0 0 20px #FFD700; /* Glowing effect */
}

header p {
    margin: 5px 0 20px;
    font-size: 1.5rem;
    color: #d2d2d2;
    font-family: 'Vecna', serif !important; /* Fantasy font */
}

/* ============================================================
   Navigation Styling
   ============================================================ */
nav {
    position: absolute;
    top: 10px;
    right: 20px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
}

nav li {
    display: inline;
}

nav a {
    font-family: 'Vecna', sans-serif !important;
    color: #FFD700;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 2px 4px;
    border-radius: 8px;
    font-family: 'Cinzel', serif; /* Fantasy font */
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

nav a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130%;
    height: 130%;
    background: #FFD70000;
    transition: all 0.3s ease;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
}

nav a:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

nav a:hover {
    background-color: transparent;
    color: #222;
    text-shadow: 0 0 10px #f4d03f, 0 0 20px #f4d03f; /* Glowing effect */
}

/* ============================================================
   Sticky Menu on Scroll
   ============================================================ */
.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.sticky + .content {
    padding-top: 60px; /* Prevent overlap of content */
}

/* ============================================================
   Mobile Adjustments
   ============================================================ */
@media (max-width: 768px) {
    header {
        padding: 40px 0;
    }

    nav ul {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    nav a {
        position: relative;
        padding: 5px;
        font-size: 0.8rem;
    }
}

/* ============================================================
   Slider Styling
   ============================================================ */
.slider {
    width: 100%;
    max-width: 1792px;
    height: 300px; /* Adjust height */
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.slides {
    display: flex;
    width: 100%;
    position: relative;
    height: 100%;
}

.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0; /* Start hidden */
    transition: opacity 1s ease-in-out; /* Fade transition */
}

.slide.active {
    opacity: 1; /* Show the active slide */
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay for the Slide */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay */
    z-index: 1;
    pointer-events: none; /* Allow clicks to pass through */
}

.slide-content {
    font-family: 'Vecna', sans-serif !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    z-index: 2; /* Ensure content appears above the overlay */
}

.slide-content h2 {
    margin-bottom: 10px;
    font-size: 1.8rem;
    color: #f4d03f;
}

.slide-content ul {
    list-style-type: disc;
    padding-left: 0px;
    text-align: center;
    margin: 10px 0 0;
}

@media (max-width: 600px) {
    .slide-content ul {
        padding-left: 20px;
    }
}

/* Slider Buttons */
.slider-buttons {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.slider-buttons button {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
}

.slider-buttons button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* ============================================================
   Footer Styling
   ============================================================ */
footer {
    text-align: center;
    padding: 20px;
    background: #333;
}

/* ============================================================
   About Section
   ============================================================ */
.about {
    text-align: center;
    margin: 20px auto;
    padding: 20px;
    max-width: 100%;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 10px black, 0 0 20px black, 0 0 5px black; /* Black outer glow */
    position: relative;
    z-index: 1;
}

.about::before {
    content: ''; /* Add an empty content box for the background */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('./imgs/About.webp'); /* Path to your local image */
    background-size: cover; /* Ensure the image covers the area */
    background-position: center; /* Center the background */
    background-attachment: fixed; /* Fix the background for the parallax effect */
    z-index: -1; /* Place the background behind the content */
}

@media (max-width: 600px) {
    .about::before {
        background-attachment: scroll; /* Disable parallax on small screens */
    }
}

/* ============================================================
   Features Section
   ============================================================ */
.features {
    margin: 10px 0;
    padding: 5%;
    text-align: center;
    background: rgba(0, 0, 0, 0.0); /* Dark overlay with transparency */
}

.features h2 {
    position: relative; /* Necessary for the overlay pseudo-element */
    background-size: 100% 150%; /* Stretch the image to fill the entire area */
    background-position: center; /* Centers the background image */
    color: white; /* Change text color for better contrast */
    padding: 5px; /* Adjust padding around the text */
    text-align: center; /* Centers the text inside the h2 */
    font-size: 2rem; /* Adjust font size as needed */
    border-radius: 8px; /* Optional: add border radius if you want rounded corners */
}

.features h2::before {
    content: ''; /* Creates an empty pseudo-element */
    position: absolute; /* Absolutely positioned within the h2 */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.0); /* Dark overlay with transparency */
    z-index: 1; /* Ensures the overlay is below the text */
    border-radius: 8px; /* Optional: match the border radius */
}

.features h2 * {
    position: relative; /* Ensures text appears above the overlay */
    z-index: 2; /* Moves the text above the overlay */
}

.feature-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

/* Feature Card */
.feature-card {
    text-align: center; /* Center align the content */
    background-image: url('./imgs/Parchment.png'); /* Path to your local image */
    background-size: 100% 100%; /* Stretch the image to fill the entire area */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent tiling */
    color: #fff; /* White text for contrast */
    padding: 3%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative; /* For overlay */
    overflow: hidden; /* Prevent child elements from spilling out */
}

/* Feature Card Overlay */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); /* Dark overlay */
    z-index: 1; /* Position the overlay below the text */
}

/* Ensure text is above the overlay */
.feature-card h3, .feature-card p {
    position: relative;
    z-index: 2;
    color: #000; /* Change text color to black */
}

.feature-card h3, .feature-card p {
    font-family: 'Vecna', sans-serif !important;
    position: relative;
    z-index: 2;
    color: #000;
}

/* ============================================================
   Testimonials Section
   ============================================================ */
.testimonials {
    background-image: url('./imgs/Testimonials.jpg'); /* Path to your local image */
    background-size: cover; /* Make sure the image covers the entire container */
    background-position: center; /* Center the image */
    background-attachment: fixed; /* Fix the image in place for parallax effect */
    padding: 5% 10%;
}

.testimonials h2 {
    font-size: 40px;
    color: #000000;
    background-image: url(./imgs/Testimonials.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 0% 0%;
    text-shadow: 0 0 10px #FFD700, 0 0 20px #FFD700;
}

.testimonial {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ============================================================
   Utility Classes
   ============================================================ */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.ctags {
    text-shadow: 0 0 10px #FFD700, 0 0 20px #FFD700;
}

/* ============================================================
   Footer Classes
   ============================================================ */


footer {
    background-color: #021528; /* Dark background */
    color: #d2d2d2; /* Light gray text color */
    text-align: center; /* Center the text */
    padding: 20px 0; /* Padding on top and bottom */
    font-family: 'Vecna', serif; /* Fantasy font */
    font-size: 1rem; /* Set a font size */
    margin-top: 20px; /* Space between footer and content above */
}

footer p {
    margin: 0; /* Remove default margin from the paragraph */
    text-shadow: 0 0 7px #FFD700, 0 0 10px #FFD700; /* Optional glowing text effect */
}



/* ============================================================
   Custom Fonts
   ============================================================ */

/* Vecna custom font */
@font-face {
    font-family: 'Vecna';
    src: url('./Fontz/VecnaBold-4YY4.ttf') format('truetype');
    font-weight: bold;
}

/* Dragon Hunter Font */
@font-face {
    font-family: 'DragonHunter';  /* Name the second font */
src: url('./Fontz/DragonHunter-9Ynxj.otf') format('opentype');
}

/* Breath Of Zelda Font */
@font-face {
    font-family: 'TheWildBreathOfZelda';
    src: url('./Fontz/TheWildBreathOfZelda-15Lv.ttf') format('truetype');
}

/* Dragonit Font */
@font-face {
    font-family: 'Dragonit';
    src: url('./Fontz/Dragonit-4ned6.otf') format('opentype');
}
