/* ========== GLOBAL PAGE BACKGROUND ========== */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-image: url("SoulCats .png");   /* <-- background image */
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    color: white;
}

/* ========== HEADER + NAVIGATION ========== */
header {
    width: 100%;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allows navigation items to wrap on smaller screens */
}

header img {
    vertical-align: middle;
}

nav {
    width: 100%;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-start; /* Left-aligned on desktop */
    gap: 20px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap; /* Allows wrapping for smaller screens */
}

nav ul li {
    margin-left: 0; /* No left margin for mobile */
}

nav ul li a {
    text-decoration: none;
    color: white;
    padding: 8px 14px;
    border-radius: 4px;
    transition: 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    background: white;
    color: black;
}

/* ========== HERO SECTION ========== */
.hero {
    text-align: center;
    padding: 40px 0;
}

.hero img {
    width: 80%;
    border-radius: 10px;
}

.hero-text {
    font-size: 40px;
    font-weight: bold;
    margin-top: 20px;
    color: white;
}

/* ========== WHITE CONTENT BOXES ========== */
.intro,
.content-box,
.section-box {
    background: white;
    color: black;
    padding: 20px;
    margin: 30px auto;
    width: 85%;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.5);
}

/* ========== SOCIAL MEDIA BUTTONS ========== */
.social-button {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s;
}

/* Facebook Button */
.social-button.facebook {
    background-color: #3b5998; /* Facebook Blue */
}

/* Instagram Button */
.social-button.instagram {
    background-color: #E4405F; /* Instagram Pink */
}

/* Hover effect */
.social-button:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

/* ========== BACK TO TOP BUTTON ========== */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    color: black;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0px 0px 8px black;
}

/* ========== MOBILE VIEW (screen width <= 768px) ========== */
@media only screen and (max-width: 768px) {
    /* Stack navigation items vertically on mobile */
    nav ul {
        flex-direction: column;  /* Stack items vertically */
        align-items: center;     /* Center-align the navigation items */
    }

    /* Stack social media buttons vertically for mobile */
    .social-button {
        display: block;
        width: 80%; /* Makes the buttons wider on mobile */
        margin: 10px auto; /* Centers the buttons */
    }

    /* Adjust button padding for mobile */
    .social-button {
        padding: 15px 0;
        font-size: 18px;
    }
}

/* ========== DESKTOP VIEW (screen width > 768px) ========== */
@media only screen and (min-width: 769px) {
    /* Display navigation items horizontally for desktop */
    nav ul {
        flex-direction: row;  /* Display items in a row */
        justify-content: flex-start; /* Left-align by default */
    }

    /* Display social media buttons inline for desktop */
    .social-button {
        display: inline-block;
        width: auto;
        padding: 10px 20px;
        font-size: 16px;
    }
}

/* ========== OPTIONAL TABLET VIEW (screen width 768px - 1024px) ========== */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    /* Display navigation items inline (row) on tablet */
    nav ul {
        flex-direction: row;
        justify-content: center;  /* Center-align on tablet */
    }

    .social-button {
        display: inline-block;
        width: 45%; /* Make buttons a bit smaller on tablet */
        margin: 10px;
    }
}
/* ========== FOOTER STYLES ========== */
footer {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    padding: 15px 20px;
    position: relative;
    bottom: 0;
    width: 100%;
}
footer p {
    margin: 5px 0;
}
footer .social-button {
    margin: 5px;
}
/* Social Media Buttons in Footer */
footer .social-button.facebook {
    background-color: #3b5998; /* Facebook Blue */
}
footer .social-button.instagram {
    background-color: #E4405F; /* Instagram Pink */
}
footer .social-button:hover {
    opacity: 0.8;
    transform: scale(1.1);
}
/* ========== END OF STYLE.CSS ========== */
