/* 
========================================
GLOBAL IMPORTS & DEFAULTS
======================================== */

/* Import Gothic Font */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&display=swap');

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden; /* Prevents horizontal scrolling */
    margin: 0;
    padding: 0;
    background-color: black;
}

/* Global Styles */
body {
    height: 100vh;
    background: url("../images/background/Background2.webp") no-repeat center center fixed;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Cinzel Decorative', serif; /* Gothic-style font */
    margin: 0;
    padding-bottom: 0; /* Adjust if necessary */
    background-color: #0d0d0d; /* Deep black */
    color: #c5c5c5; /* Soft grey */
    min-height: 100vh; /* Ensures the body always covers the entire viewport */
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Adjust opacity if needed */
    z-index: -1;
}

/* ========================================
   HEADER & NAVBAR
   ======================================== */

/* Header */
header {
    background: #111; /* Slightly lighter black */
    color: #c5c5c5;
    padding: 20px;
    text-align: center;
    border-bottom: 2px solid #7b0202; /* Deep blood red */
    font-size: 1.5em;
}

/* Navigation */
nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Adds equal spacing between items */
}

nav ul li {
    display: flex;
    align-items: center;
}

nav ul li::after {
    content: "◆"; /* Gothic-style separator */
    color: #a30000; /* Deep red */
    margin: 0 15px; /* Space around the symbol */
}

nav ul li:last-child::after {
    content: ""; /* Removes the separator after the last item */
}

nav ul li a {
    color: #c5c5c5;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.3s ease-in-out;
    letter-spacing: 1px;
}

nav ul li a:hover {
    color: #a30000; /* Blood red */
    transform: scale(1.1); /* Subtle hover animation */
}

/* ========================================
   FOOTER
   ======================================== */

footer {
    background: #111;
    color: #c5c5c5;
    text-align: center;
    padding: 10px;
    font-size: 0.9em;
    border-top: 2px solid #7b0202;
    bottom: 0;
    width: 100%;
    position: relative !important; /* Keeps it below everything */
}

/* ========================================
   SCROLLBAR STYLES
   ======================================== */

/* Style for the scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

/* Scrollbar track */
::-webkit-scrollbar-track {
    background: #1a1a1a; /* Dark track */
    border-radius: 10px;
}

/* Scrollbar thumb */
::-webkit-scrollbar-thumb {
    background: #7b0202; /* Slightly lighter red to match the theme */
    border-radius: 10px;
}

/* Scrollbar thumb on hover */
::-webkit-scrollbar-thumb:hover {
    background: #ff4444; /* Lighter red when hovered */
}

/* Optional: style scrollbar for horizontal scrolling */
::-webkit-scrollbar-horizontal {
    height: 8px;
}

.emphasis {
    font-weight: bold;
    font-style:italic;
    text-shadow: 1px 1px 3px rgba(255, 68, 68, 0.5); /* Soft glow effect */
}

/* Remove default list styling for all unordered lists */
ul {
    list-style: none; /* Removes default bullets */
    padding-left: 0; /* Ensures no extra indentation */
}


/* ========================================
   RESPONSIVE DESIGN MEDIA QUERIES
   ======================================== */

/* Medium screens (laptops) */
@media (max-width: 1200px) {
    body {
        font-size: 16px;
    }
    header {
        padding: 15px;
        font-size: 1.4em;
    }
    nav ul {
        gap: 15px;
    }
    nav ul li a {
        font-size: 1em;
    }
    .button {
        padding: 10px 18px;
        font-size: 1em;
    }
}

/* Small screens (tablets) */
@media (max-width: 768px) {
    body {
        font-size: 14px;
        padding: 0 10px;
    }
    header {
        padding: 10px;
        font-size: 1.3em;
    }
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    nav ul li a {
        font-size: 1em;
    }
    .button {
        padding: 8px 16px;
        font-size: 0.9em;
    }
}

/* Extra small screens (phones) */
@media (max-width: 576px) {
    body {
        font-size: 12px;
        padding: 0 5px;
    }
    header {
        padding: 8px;
        font-size: 1.2em;
    }
    nav ul {
        /* Stack items vertically, center them horizontally */
        flex-direction: column;
        gap: 8px;
        align-items: center; /* Ensures the list items themselves are centered */
    }
    
    /* Override li display to block (not flex) for better centering */
    nav ul li {
        display: block;
    }
    
    /* Remove the default diamond after <li> for mobile and reset margin */
    nav ul li::after {
        content: none;
        margin: 0;
    }
    
    /* Center each link and add diamonds before & after */
    nav ul li a {
        display: inline-block; /* Ensures text + diamonds align together */
        text-align: center;    /* Center the text within the link */
        font-size: 0.9em;
        position: relative;    /* If needed for advanced styling */
    }
    
    nav ul li a::before {
        content: "◆";
        color: #a30000;
        margin-right: 5px;
    }
    
    nav ul li a::after {
        content: "◆";
        color: #a30000;
        margin-left: 5px;
    }
    
    /* If you have a ".button" class, shrink it on mobile */
    .button {
        padding: 6px 12px;
        font-size: 0.8em;
    }
}
