/* General reset */
* {
    margin: 0;
    padding: 0;
}

body, html {
    margin: 0;
    padding: 0;
    position: relative;
    color: #d4af37;
    background-color: black;
}

@font-face {
    font-family: 'Bungee'; /* Name for the font */
    src: url('../fonts/Bungee-Regular.ttf') format('truetype'); /* Path to the font file */
    font-weight: normal;
    font-style: normal;
}

/* Apply the font to your body */
body {
    font-family: 'Bungee', sans-serif;
}

/* Header */
header {
    width: 100%;
    padding: 20px 0;
    background-color: rgba(0, 0, 0, 0.8);
    text-align: center;
    position: relative;
    top: 0;
    left: 0;
}

.socials-container {
    display: none; /* Hidden by default on larger screens */
}

/* Navigation */
.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.nav-list li a {
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    color: #FEF8AC;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-list li a:hover {
    color: rgb(255, 0, 0); /* Adjust hover color */
}

/* Background Section */
.background-section {
    margin-top: 0px; /* Ensure it doesn't overlap with navbar */
    height: 100vh; 
    background-image: url('../photos/updatedBackround.png'); /* For desktop */
    background-size: cover; 
    background-repeat: no-repeat;
    background-position: center;
    background-color: #000000; /* Fallback color */
    display: flex;
    align-items: center; /* Vertically centers the content */
    justify-content: center; /* Horizontally centers the content */
}

/* Black Panel Styling */
.black-panel {
    position: fixed;
    right: 0;
    top: 0;
    width: 100px; /* Adjust width as needed */
    height: 100vh;
    background-color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    color: #d4af37; /* Text color */
    font-family: 'Bungee', sans-serif;
    z-index: 1000; /* Ensure it stays on top */
}

.black-panel p {
    margin-bottom: 20px;
    text-align: center;
    font-size: 1em;
}

.social-icon {
    width: 95px; /* Adjust icon size */
    height: 95px;
    margin: 55px 0;
    border-radius: 50%; /* Make the icons circular */
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
}


/* Media Query Adjustments */
@media (max-width: 1024px) {
    /* Scale down font size for tablets */
    .nav-list li a {
        font-size: 16px; /* Smaller font size */
    }
}

@media (max-width: 768px) {
    /* Adjust for smaller devices like large phones or small tablets */
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .nav-list li a {
        font-size: 16px; /* Even smaller font size */
    }

    .background-section {
        background-size: cover; /* Ensure the image fits within the screen on smaller devices */
        background-attachment: scroll; /* Disable fixed background for mobile */
        background-position: center top;
        height: auto;
        min-height: 100vh; /* Ensures background covers at least the viewport height */
    }
    .black-panel {
        display: none;
    }

    /* Display the bottom container on small screens */
    .socials-container {
        display: flex;
        justify-content: center;
        gap: 0px; /* Adjusted spacing between icons */
        background-color: black;
        padding: 10px 0; /* Reduced padding to make black area smaller */
        bottom: 0;
        width: 100%;
    }

    .socials-container p {
        display: none; /* Hide the text on small screens */
    }

    .social-icon {
        width: 95px; /* Adjust size for smaller screens */
        height: 95px;
        margin: 0; /* Remove extra margins around icons */
    }
}

@media (max-width: 480px) {
    header {
        padding: 0px 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 5px;
    }
    
     .nav-list li a {
        font-size: 14px; /* Smaller font size for mobile */
    }

    .background-section {
        background-image: url('../photos/phoneBackround.png'); /* Different image for mobile */
        background-size: contain;
        background-position: center top;
        min-height: 100vh;
    }
    .nav-list li a {
        font-size: 14px;
    }
    .socials-container {
        padding: 5px 0; /* Further reduce padding for smaller screens */
        height: auto; /* Allow height to adjust based on content */
    }

    .social-icon {
        width: 110px; /* Same size for icons */
        height: 110px;
    }
}
