@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Philosopher:wght@400;700&display=swap');

body {
    margin: 0;
    font-family: 'Philosopher', sans-serif;
    background-color: #0a0a0a;
    color: #e0e0e0;
    overflow-x: hidden;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
}
 
header {
    background-color: rgba(0, 0, 0, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-sizing: border-box;
    transition: transform 0.3s ease-in-out;
}

header.nav-up {
    transform: translateY(-100%);
}

.logo {
    width: 150px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #e0e0e0;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
}

nav {
    transition: transform 0.3s ease-in-out;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #e0e0e0;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #b8860b;
}


.hero p {
    text-align: center;
    margin: 20px auto; /* Center paragraphs with auto margins */
    max-width: 800px; /* Maximum width for better readability */
    padding: 0 20px; /* Padding for mobile screens */
    font-size: clamp(1rem, 2vw, 1.4rem); /* Responsive font size */
}

.hero {
    margin-top: 80px; /* Increased from the previous value to prevent header overlap */
    text-align: center;
    padding: 20px;
    background: url('../images/bk.png') no-repeat center center;
    background-size: cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    position: relative;
   
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero h1 {
    position: relative;
    z-index: 1;
    font-size: clamp(2rem, 5vw, 4rem); /* Responsive font size */
    text-align: center;
    margin-bottom: 30px;
    padding-top: 60px; 
}

h1 {
    font-size: 4em;
    margin: 0;
    font-family: 'Cinzel', serif;
    text-shadow: 0 0 10px rgba(184, 134, 11, 0.7);
}

p {
    margin: 20px 0;
    font-size: 1.4em;
    max-width: 800px;
    line-height: 1.6;
}

section {
    padding: 120px 50px;
    text-align: center;
    margin-top: -80px;
}

.the-path, .the-vault, .the-brotherhood, .ascension, .the-watchers, .council-of-shadows {
    background-color: rgba(17, 17, 17, 0.8);
    margin-bottom: 50px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(184, 134, 11, 0.3);
}

h2 {
    font-size: 3em;
    margin-bottom: 30px;
    font-family: 'Cinzel', serif;
    color: #b8860b;
    text-shadow: 0 0 5px rgba(184, 134, 11, 0.5);
}

.path-steps {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.step {
    text-align: center;
    margin: 20px auto;
    max-width: 350px;
}


.path-steps, .vault-grid, .brotherhood-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.step, .vault-item, .member {
    flex-basis: calc(33.33% - 40px);
    margin: 20px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover, .vault-item:hover, .member:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(184, 134, 11, 0.2);
}

.step h3, .vault-item h3, .member h3 {
    color: #d4af37;
    font-family: 'Cinzel', serif;
}

.cta-btn {
    background-color: #b8860b;
    color: #000;
    padding: 15px 30px;
    border: none;
    font-size: 1.2em;
    cursor: pointer;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-btn:hover {
    background-color: #d4af37;
    transform: scale(1.05);
}

footer {
    background-color: #000;
    padding: 20px;
    text-align: center;
    color: #999;
    font-family: 'Philosopher', sans-serif;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(184, 134, 11, 0.5);
}

.watcher-post {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

input, textarea {
    width: 100%;
    max-width: 400px;
    margin-bottom: 20px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #b8860b;
    color: #e0e0e0;
    font-family: 'Philosopher', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}
.path-heading {
    font-size: clamp(2rem, 4vw, 3.5rem);
    text-align: center;
    color: #b8860b;
    margin: 100px auto 40px;
    padding-top: 60px;
    text-shadow: 0 0 10px rgba(184, 134, 11, 0.7);
    font-family: 'Cinzel', serif;
}
@media (max-width: 768px) {
    header {
        padding: 10px;
    }

    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
    }

    nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.95);
        padding: 80px 40px;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }

    nav.active {
        transform: translateX(0);
    }

    nav ul {
        flex-direction: column;
        align-items: flex-end;
    }

    nav ul li {
        margin: 15px 0;
    }

    .logo {
        width: 120px;
        margin-left: 10px;
    }

    h1 {
        font-size: 2.5em;
    }

    .step, .vault-item, .member {
        flex-basis: 100%;
    }
    .hero h1 {
       margin-top: 60px;
        padding-top: 40px;
    }

    .path-steps {
        padding: 10px;
    }

    .step {
        margin: 10px auto;
        padding: 15px;
    }

    .hero {
        margin-top: 40px;
    }

    section {
        padding: 100px 20px;
    }
}