body {
    margin: 0;
    padding: 0;
    font-family: "Rubik", sans-serif;
}

html {
    scroll-behavior: smooth;
}

.navContainer {
    background-color: white;
    overflow: hidden;
    position: sticky;
    display: flex;
    justify-content: center;
    position: -webkit-sticky;
    top: 0;
    z-index: 1; /* Ensure the navbar stays on top */
    transition: background-color 1.5s ease; 
}

.navbar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    width: 100%;
    max-width: 73%;
}

.navbar img {
    max-width: 150px;
    height: auto;
}

.nav-options {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    list-style-type: none;
    margin-right: 0;
}
.nav-options a:hover{
    color: #283c5e;
    font-weight: 500;
    transform: scale(1.1);
}
.navbar a {
    text-decoration: none;
    margin-right: 2rem;
    font-size: 24px;
    color: black;
}

.nav-options a:not(:last-child) {
  border-right: 2px solid; 
  padding-right: 25px;  
}


/*-------------------------------------------------------------*/
.content {
    background-color: rgb(0, 0, 0);
    background-image: linear-gradient(rgba(0,0,0,1),rgba(0,0,0,0.8),rgba(0,0,0,1)), url(/image/computer.jpg);
    height: 50vh;
    background-size: cover;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    height: auto;
    text-align: center;
}

.first-content {
    display: grid;
    justify-items: center;
    margin-bottom: 5%;
}

#home-content {
    scroll-margin-top: 100px;
}

.heading {
    margin-bottom: -40px;
}
h1 {
    color: white;
    font-size: 110px;
    margin-bottom: -50px;
}
h2 {
    color: white;
    font-size: 45px;
    margin-bottom: 80px;
}

.resume-container {
    display: flex;
    gap: 20px;
    justify-content: start;

}
.resume {
    background-color: #283c5e;;
    height: 3.5rem;
    width: 15rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
    border-radius: 5px;
}
.resume:hover {
    background-color: rgb(94, 128, 224);
}
.resume-btn:hover, .resume-btn-2:hover {
    cursor: pointer;
    transform: scale(1.02);
}
.resume-btn-2 :hover {
    color: rgb(164, 185, 245);
}

.resume-btn-2 {
    text-decoration: none;
}
.resume-2 {
    border: solid 1px;
    height: 3.5rem;
    width: 15rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
    border-radius: 5px;
}


/*-------------------------------------------------------------*/
.about-me {
    scroll-margin-top: 100px;
    color: black;
    background-size: cover;
    height: 90vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: center ;
    padding-top: 5%;
    
}
.inside-about-me {
    height: 70%;
    width: 73%;
    display: flex;
    justify-content: space-between;
    margin-top: 3%;
}

.about {
    margin-left: 5%;

}
.about h1 {
    font-size: 30px;
    color: black;
    margin-bottom: 30px;
}
.about h3 {
    font-size: 24px;
    color: black;
    margin-bottom: -50px;
}
.about p {
    margin-top: 5rem;
    font-size: 20px;
    line-height: 1.7;
}

    
/*-------------------------------------------------------------*/
.skills-container {
    background-color: rgb(0, 0, 0);
    background-image: linear-gradient(rgba(0,0,0,1),rgba(0,0,0,0.8),rgba(0,0,0,1)), url(/image/program.png);
    height: 60vh;
    background-size: cover;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    justify-content: space-between;
}

.divskills {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    height: 60vh;
    width: 73%;
    justify-content: space-around;
    justify-items: center;
    margin: 2rem 3rem;
}

.skills:hover {
    cursor: pointer;
    transform: scale(1.1);
}

.skills {
    color: white;
    border: solid 1px;
    height: 3.4rem;
    width: 15rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
    border-radius: 5px;
    margin-top: 4rem;
}
/*-------------------------------------------------------------*/
.experience-container {
    scroll-margin-top: 100px;
    padding: 20px 18%;
}
.experience-container h1 {
    color: black;
    text-align: center;
}
.row {
    margin: 10% 0% 10% 2%;
    display: grid;
    grid-template-areas:
    "drawing singing gaming";
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 10px;

}
.row h3 {
    color: white;
    padding: 10px;
    margin-top: 0;
}
.h3-1 {    
    background-color: #121b35;
}
.h3-2 {
    background-color: #202f5e;
}
.h3-3 {
    background-color: #5172ce;
}

.box {
    text-align: center;
    padding: 20px;
    max-width: 80%;
    box-shadow: 0px 0px 5px #4f4f4f;
    transition: transform .56s;
    &:hover {
        transform: scale(1.05);
        box-shadow: 2px 2px 8px #4f4f4f;
        
    }
}

.box-1 {
    border-top:#121b35 solid 7px;
}

.box-2 {
    border-top: #202f5e solid 7px;
}
.box-3 {
    border-top:#5172ce solid 7px;
}

.row img {
    width:100%;
    box-shadow: 2px 2px 10px #000000;
    
}

/*-------------------------------------------------------------*/
.contact-container {
    color: white;
    display: flex;
    justify-content: center;
    background-color: #000000;
    text-align: center;
}
.contact-1 {
    color: white;
    padding: 80px;
}

.contact-1 .fa {
    font-size: 30px;
    margin-right: 20px;
}
.contact-1 .fa:hover {
    cursor: pointer;
    transform: scale(1.15);
}

.contact-1 h3 {
    margin-bottom: 3rem;
}

footer {
    background-color: black;
    height: 150px;
}


/* Booking -------------------------------------------------------*/
.bookingContainer {
  font-family: 'Roboto', sans-serif;
  background: #10161f; /* dark slate blue */
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 1rem;
  color: #e2e8f0; /* light gray */
}

.form-container {
  background: #273449; /* dark blue-gray */
  padding: 2.5rem 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  width: 100%;
  max-width: 600px;
  transition: transform 0.3s ease;
}

.form-container:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.85);
}

.form-container h2 {
  text-align: center;
  font-weight: 700;
  color: #ffffff; /* soft blue */
  margin-bottom: 1.8rem;
  letter-spacing: 1px;
  font-size: 1.8rem;
}

input, textarea {
  width: 95%;
  padding: 0.9rem 1rem;
  margin-bottom: 1.3rem;
  border-radius: 10px;
  border: 1.5px solid #475569; /* slate gray */
  font-size: 1rem;
  background: #1e293b; /* match background */
  color: #e2e8f0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  font-family: 'Roboto', sans-serif;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #94a3b8; /* medium gray */
}

input:focus, textarea:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 8px rgba(96, 165, 250, 0.6);
  outline: none;
  background: #334155; /* slightly lighter bg on focus */
  color: #fff;
}

textarea {
  min-height: 100px;
}

button {
  width: 100%;
  padding: 1rem;
  background: #2563eb; /* blue */
  color: white;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 12px rgba(37, 99, 235, 0.7);
}

button:hover {
  background-color: #1e40af; /* darker blue */
  box-shadow: 0 10px 20px rgba(30, 64, 175, 0.9);
}

.hidden {
  display: none;
}

#confirmation {
  margin-top: 1.5rem;
  text-align: center;
  color: #22c55e; /* bright green */
  font-weight: 600;
  font-size: 1.1rem;
}


/* Tablet and Mobile Styles */
@media (max-width: 1024px) {
    .nav-options a {
        margin-right: 1rem;
    }

    .about-me {
        height: auto;
        padding: 2rem 1rem;
    }

    .inside-about-me {
        display: flex;
        flex-direction: column; /* Stack elements vertically on small screens */
        align-items: center; /* Center items */
        width: 100%; /* Take full width */
    }

    .myphoto {
        width: 80%; /* Make image responsive */
        max-width: 80%; /* Limit maximum size */
        height: auto; /* Maintain aspect ratio */
    }
    .about {
        margin-left: 0;
        text-align: center;
        max-width: 80%;
    }
    .about h1 {
        order: -1; /* Ensure h1 is the first element in .about */
        margin-bottom: 1rem; /* Space after h1 */
        font-size: 50px;
    }
    .about h3 {
        font-size: 24px;
    }

    .content {
        height: auto;
        padding: 2rem 1rem;
    }

    .first-content {
        width: 100%;
    }

    .heading h1 {
        font-size: 5rem;
    }

    .heading h2 {
        font-size: 2rem;
        margin-top: 50px;
    }

    .divskills {
        display: grid;
        grid-template-columns: 1fr 1fr;
        height: 60vh;
        width: 73%;
        margin-bottom: 10%;
    }
    .experience-container {     
        height: auto;
        padding: 5% 5%  5% 15%;
    }

    .experience-container h1 {
        margin-left: -8%;
        font-size: 80px;
    }

    .row {
        display: grid;
        grid-template-areas:
          "box-1"
          "box-2"
          "box-3";
        grid-template-columns: 1fr;
        width: 100%;
        margin-top: 10%;
    }

    .box {
        margin: 1rem 0;
    }

    .form-container {
    max-width: 90%;
    padding: 2rem 2rem;
    }
    
    .form-container h2 {
        font-size: 1.5rem;
    }

    input, textarea {
        font-size: 0.95rem;
    }

    button {
        font-size: 1rem;
        padding: 0.85rem;
    }

}

@media (max-width: 768px) {
    .navContainer {
        position: relative; /* Ensure dropdown stays inside the navContainer */
    }

    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        position: relative;
        width: 100%;  /* Ensures the navbar spans the full width */
        max-width: 100%;  /* Ensures no max-width restriction */
    }

    .navbar img {
        max-width: 150px; /* Optional: Resize logo for better fit */
        height: auto;
    }
    
    /* Hamburger button */
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        margin-left: auto; /* Pushes hamburger to the far right */
        padding: 25px; /* Adds space around the hamburger icon */
        position: absolute;
        right: 10px; /* Aligns it to the top-right */
        top: 10px; /* Positions it near the top */
    }

    .hamburger div {
        width: 25px;
        height: 3px;
        background-color: black;
        transition: 0.3s;
    }

    /* Hide nav-options by default */
    .nav-options {
        display: flex;
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        width: 100%;
        background-color: rgb(255, 255, 255);
        transition: max-height 0.4s ease-out;
    }

    .nav-options a:hover {
        background-color: #283c5e ;
        color: white;
    }
    /* Show nav-options when active */
    .nav-options.active {
        max-height: 300px;
    }

    .nav-options a {
        padding: 15px;
        border-top: 1px solid #eee;
        text-align: center;
        color: black;
        text-decoration: none;
        width: 100%;
        max-width: 100%;
    }

    .nav-options a:not(:last-child) {
        border-right: 0px solid; 
    }
    
    .content {
        height: auto;
        text-align: center;
    }

    .first-content {
        display: grid;
        background-image: none;
        justify-items: center;
        margin-bottom: 5%;
    }

    .heading {
        display: grid;
        margin-top: -5%;
        margin-bottom: 5%;
        gap: 10px;
        border-bottom: 2px solid white; /* Add a border line */
        padding-bottom: 10px; /* Space between heading and line */
    }
    .content h1 {
        font-size: 50px;
        margin-bottom: -25px;
    }

    .content h2 {
        font-size: 20px;
        margin-bottom: 20px;
        margin-top: 20px;
    }
    
    .resume-container { 
        gap: 20px;
         flex-direction: column;
        align-items: center;
    }

    .resume, .resume-2 {
        width: 15rem;
    }
    

    .skills-container {
        height: auto;
        padding: 2rem 1rem;
    }

    .divskills {
        grid-template-columns: 1fr;
        width: 100%;
        margin-top: 10%;
    }

    .skills {
        width: 80%;
        margin: 1rem 0;
    }
    .skills-header {
        font-size: 50px;
        margin-bottom: 10px;
    }

    .experience-container {     
        height: auto;
        padding: 5% 5%  5% 15%;
    }

    .experience-container h1 {
        margin-left: -8%;
        font-size: 50px;
        margin-bottom: 10px;
    }

    .row {
        display: grid;
        grid-template-areas:
          "box-1"
          "box-2"
          "box-3";
        grid-template-columns: 1fr;
        width: 100%;
        margin-top: 10%;
    }

    .box {
        margin: 1rem 0;
    }

    .contact-container {
        flex-direction: column;
        padding: 2rem 1rem;
    }

    footer {
        height: auto;
        padding: 20px;
    }

    .bookingContainer {
    padding: 1rem;
    }
    
    .form-container {
        padding: 1.5rem 3rem;
    }

    .form-container h2 {
        font-size: 1.3rem;
    }

    input, textarea {
        font-size: 0.9rem;
    }

    button {
        font-size: 0.95rem;
        padding: 1rem;
    }
}
