/* Reset all margins and paddings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General Styling */
body, html {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    color: #ffffff;
}

/* Full-width background for Hero */
#hero {
    height: 100vh;
    background: url('background_10.png') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* Hero overlay for readability */
#hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.0); /* Dark overlay */
    z-index: 1;
}

/* Navigation Bar */
nav {
    position: absolute; /* Make sure it stays visible at the top */
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding: 30px;
    z-index: 100; /* Ensure the menu is above everything else */
    background-color: rgba(0, 0, 0, 0.1); /* Make the menu visible over the hero */
}

/* Container to hold both logo and nav */
.header-container {
    position: fixed; /* Make sure it stays visible at the top */
    top: 0;
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
    box-sizing: border-box;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
}

/* Adjust logo */
.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    position: absolute;
    left: 30px;
    top: 20px; /* Adjust this value to align with the hamburger menu */
    z-index: 100;
}

/* Navigation Menu */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: #ffffff;
    font-size: 1rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #0077B5;
}

/* Full Viewport Section */
section {
    width: 100vw;
    height: 100vh;
    padding: 100px 50px;
    box-sizing: border-box;
    text-align: center;
}

/* My Work Section */
#work {
    background-color: #fff;
    color: #333;
}

#work h2 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 20px;
}

#work p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.work-item {
    margin-bottom: 40px;
}

/* My Resume Section */
#resume {
    background-color: #f9f9f9;
    color: #333;
}

#resume h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

#resume p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.resume-btn {
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
}

.resume-btn:hover {
    background-color: #0077B5;
    color: #fff;
}

/* Contact Section */
#contact {
    background-color: #888;
    color: #fff;
}

#contact h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

#contact form {
    max-width: 600px;
    margin: 0 auto;
}

#contact input, #contact textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
}

#contact button {
    padding: 15px 30px;
    background-color: #fff;
    color: #0077B5;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
}

#contact button:hover {
    background-color: #0077B5;
    color: #fff;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #fff;
    color: #0077B5;
    padding: 10px 15px;
    border-radius: 50%;
    font-size: 1.5rem;
    text-align: center;
    display: none;
    z-index: 100;
    cursor: pointer;
}

.back-to-top:hover {
    background-color: #0077B5;
    color: #fff;
}

/* Media Queries */

/* Desktop Mode */
@media (min-width: 769px) {
    /* Hide the mobile menu on larger screens */
    .mobile-menu {
        display: none !important;
    }

    /* Hide the hamburger icon on larger screens */
    .hamburger {
        display: none !important;
    }

    /* Show the desktop menu */
    nav ul.nav-links {
        display: flex !important;
    }

    .hero-container {
        display: none;
    }
}

/* General Media Query for All Mobile Devices */
@media only screen and (max-width: 768px) {
    .hero-container {
        display: none;
    }

    #hero {
        background: url('mobile_background_01.png') no-repeat center center;
        background-size: cover;
        height: 100vh;
    }

    /* Hide normal nav for mobile */
    .header-container nav ul {
        display: none;
    }

    .hero-right h1 {
        font-size: 10px;
        font-weight: 50;
        color: #ffffff;
        margin-bottom: 10px;
        white-space: nowrap;
    }

    /* Show hamburger menu */
    .hamburger {
        display: block;
        cursor: pointer;
        font-size: 2rem;
        position: absolute;
        right: 30px;
        top: 15px;
        z-index: 100;
    }

    .mobile-menu {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 250px;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.9);
        z-index: 200;
        padding-top: 60px;
    }

    .mobile-menu ul {
        list-style-type: none;
        padding-left: 0;
        text-align: left;
    }

    .mobile-menu ul li {
        padding: 30px 40px;
        text-align: left;
    }

    .mobile-menu ul li a {
        color: #ffffff;
        text-decoration: none;
        font-size: 1.2rem;
    }

    .mobile-menu ul li a:hover {
        color: #0077B5;
    }

    .close-btn {
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 2rem;
        color: #fff;
        cursor: pointer;
    }

    /* Adjust layout for mobile */
    .hero-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0 15px;
        width: 100%;
        max-width: 1120px;
        margin: 0 auto;
    }

    /* Adjustments to other sections */
    section {
        padding: 50px 20px;
    }

    h2 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }

    .back-to-top {
        font-size: 1rem;
    }
}

/* Media Query for iPads and Tablets in Portrait Mode */
@media only screen and (min-width: 820px) and (max-width: 1180px) {
    #hero {
        background: url('background_10.png') no-repeat center center;
        background-size: cover;
        height: 100vh;
    }
}




/* TEST DESKTOP / IPAD s */


.social-icons {
    list-style: none;
    padding: 0;
    margin-top: -20px;
    display: flex;
    justify-content: flex-start;
}

.social-icons li {
    margin-right: 15px;
}

.social-icons a {
    color: #ffffff;
    font-size: 2.5rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #0077B5;
}

/* Left Side (Name & Social Media) */
.hero-left {
    flex: 1;
    align-self: flex-start; /* Aligns the left side to the top of the container */
    text-align: left;
    padding-left: 0px;
}

.hero-right h1 {
    font-size: 50px;
    font-weight: 50;
    color: #ffffff;
    margin-bottom: 10px;
    white-space: nowrap;
}

/* Right Side (Introduction) */
.hero-right {
    flex: 1;
    text-align: left;
    margin-top: 50px; /* Adjust this value to move the right side div down */
    padding-right: -100px;
    padding-left: 100px;
    color: #ffffff;
}

.hero-right p {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero-right h3 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-right .description {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.hero-right .button-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
}

.hero-right .button-link:hover {
    background-color: #0077B5; 
    color: #fff !important;
}

@media only screen and (min-width: 701px) {

.hero-container {
    position: relative;
    max-width: 1120px; /* Ensure it doesn't go beyond 1120px width */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Aligns the children (hero-left and hero-right) at the top */
    padding: 30px; /* Add padding so that the content doesn’t touch the edges */
    box-sizing: border-box;
    width: 100%;
    z-index: 50;
}

.hero-right sepa {

    height: 120px; /* Set the height, adjust as per your requirement */
    margin-top: 20px; /* Space above the sepa */
    margin-bottom: 20px; /* Space below the sepa */
    background-color: transparent; /* You can set a background color if needed, otherwise keep it transparent */
}


}


/* Media Query to hide hero-container for devices with width < 700px */
@media only screen and (max-width: 700px) {
    .hero-container {
        display: none;
    }


.hero-container {
    position: relative;
    max-width: 700px; /* Ensure it doesn't go beyond 1120px width */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Aligns the children (hero-left and hero-right) at the top */
    padding: 30px; /* Add padding so that the content doesn’t touch the edges */
    box-sizing: border-box;
    width: 100%;
    z-index: 50;
}


    /* Target the h1 within hero-right for smaller devices */
    .hero-right h1 {
        font-size: 2rem; /* Set smaller size for h1 */
        color: #fff;
        margin-bottom: 10px;
        white-space: nowrap;
        margin-bottom: 10px;
    }

    .hero-right p {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero-right h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-right sepa {

    height: 120px; /* Set the height, adjust as per your requirement */
    margin-top: 20px; /* Space above the sepa */
    margin-bottom: 20px; /* Space below the sepa */
    background-color: transparent; /* You can set a background color if needed, otherwise keep it transparent */
}

 
.hero-right .description {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}


}



/* Media Query to hide hero-container for devices with width < 370px */
@media only screen and (max-width: 370px) {
    .hero-container {
        display: none;
    }


.hero-container {
    position: relative;
    max-width: 370px; /* Ensure it doesn't go beyond 1120px width */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Aligns the children (hero-left and hero-right) at the top */
    padding: 30px; /* Add padding so that the content doesn’t touch the edges */
    box-sizing: border-box;
    width: 100%;
    z-index: 50;
}


    /* Target the h1 within hero-right for smaller devices */
    .hero-right h1 {
        font-size: 1.5rem; /* Set smaller size for h1 */
        color: #fff;
        margin-bottom: 10px;
        white-space: nowrap;
        margin-bottom: 10px;
    }

    .hero-right p {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero-right h3 {
    font-size: 1.0rem;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-right sepa {

    height: 120px; /* Set the height, adjust as per your requirement */
    margin-top: 20px; /* Space above the sepa */
    margin-bottom: 20px; /* Space below the sepa */
    background-color: transparent; /* You can set a background color if needed, otherwise keep it transparent */
}

 
.hero-right .description {
   display: none;
}


}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed; /* Make the banner stick to the bottom of the viewport */
    bottom: 0; /* Align it to the bottom */
    left: 0;
    width: 100%; /* Full width of the viewport */
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 15px;
    z-index: 1000; /* Ensure it stays above other content */
    display: none; /* Initially hidden until script shows it */
}

.cookie-consent button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    margin-left: 10px;
}

.cookie-consent button:hover {
    background-color: #45a049;
}