/* ---------- Global Styles ---------- */
html {
    overflow-y: scroll;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #dcd2c5, #f8f4ef);
    color: #333333;
}

header {
    display: flex;
    justify-content: center;
    background-color: transparent;
    padding: 0;
}

.header-image {
    width: 100%;
    height: auto;
    max-width: 1200px;
}

hr {
    border: none;
    border-top: 1px solid #6e6255;
    width: 80%;
    margin: 2rem auto;
    opacity: 0.7;
}

* {
    box-sizing: border-box;
}

/* Base social link */
.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 6px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s ease,
                border-color 0.2s ease;
}

.social-link:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.45);
}

/* ---------- Navigation Styles ---------- */
body.home .top-nav a[href="/index.html"],
body.traveller .top-nav a[href="/TheTraveller.html"],
body.frankenstein .top-nav a[href="/Frankenstein.html"],
body.library .top-nav a[href="/Library.html"],
body.blogs .top-nav a[href="/blogs.html"],
body.support .top-nav a[href="/Support.html"] {
    background-color: rgba(255, 255, 255, 0.12);
    border-bottom: 2px solid currentColor;
}

.top-nav {
    display: flex;
    justify-content: center;
    background: transparent;
    padding: 0;
    margin: 0;
    margin-bottom: 20px;
}

.top-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0;
    margin: 10px auto;
    border-radius: 8px;
    overflow: hidden;
    max-width: 1200px;
    width: 100%;
}

.top-nav ul li {
    margin: 0;
}

.top-nav ul li a {
    display: block;
    padding: 14px 20px;
    color: inherit;
    text-decoration: none;
    font-weight: bold;
}

.top-nav ul li a:hover,
.top-nav ul li a:focus {
    background-color: #ddd;
    outline: none;
}

@media (max-width: 600px) {
    .top-nav ul {
        flex-direction: column;
        align-items: center;
        max-width: 90%;
    }

    .top-nav ul li a {
        padding: 12px;
        font-size: 1rem;
        text-align: center;
        width: 100%;
    }
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.carousel-section {
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
}

.intro-section {
    display: flex;
    justify-content: center;
    padding: 10px 20px;
}

.intro-container {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px;
    max-width: 1200px;
    width: 100%;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

@media (max-width: 600px) {
    .intro-container {
        padding: 20px;
        font-size: 0.95rem;
    }

    .intro-container h1 {
        font-size: 1.4rem;
    }
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.6rem;
}

h3 {
    font-size: 1.2rem;
}

a {
    color: #cfd8e3;
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.35);
}

a:hover {
    color: #ffffff;
    text-decoration-color: rgba(255,255,255,0.8);
}

/* Foot alignments */
footer {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

.site-footer {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    font-size: 0.9rem;
}

.footer-right img {
    height: 28px;
    width: auto;
    opacity: 0.85;
}

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

