
/* GENERAL DESIGN */

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body{
    font-family: "Quintessential", serif;
    color: white;
    background-color: #002147;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
}


/*HEADER DESIGN */

header {
    background-color: #002147;
    padding: 1rem 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

h1{
    color: white;
    font-size: clamp(1.5rem, 2.5vw, 3rem);
}

h2{
    font-size: clamp(1.25rem, 3vw, 2rem);
}

a {
    color: white;
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav ul li {
    font-weight: 600;
}

ul li a:hover {
    color: #d2b48c;
    text-decoration: underline;
    transition: width 0.3s ease;
}

/* Basic navbar styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    flex-wrap: wrap; /* Allow wrapping for mobile */
}

.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.navbar li {
    position: relative;
}

/* Hide dropdown by default */
.navbar .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 0px 8px 16px #00000033;
    min-width: 200px;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0);
    box-shadow: none;
    border: none;
}

/* Style dropdown items */
.navbar .dropdown li {
    width: 100%;
}

.navbar .dropdown a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
}

.navbar .dropdown a:hover {
    background-color: #23364b;
}

/* Show dropdown on hover */
.navbar li:hover > .dropdown {
    display: block;
}

/* Hamburger icon */
.hamburger {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/* Responsive styles */
@media (max-width: 768px) {
    .navbar ul {
        flex-direction: column;
        width: 100%;
        display: none;
        margin-top: 1rem;
    }

    .navbar ul.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    /* Prevent hover dropdown on mobile */
    .navbar li:hover > .dropdown {
        display: none;
    }

    .navbar li.open > .dropdown {
        display: block;
        position: relative;
    }
}

.btn-primary {
    background: #d2b48c;
    color: #002147;
    border: none;
    padding: 0.5rem 2.0vw;
    border-radius: 25px;
    cursor: pointer;
    font-family: "Quintessential", serif;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.3s ease;
    margin-top: 1rem;
}

#btn-primary{
    color: #002147;
}

.btn-primary:hover {
    background: #8f7553;
}

.grid-images{
    border-radius: 12px;
}

section{
    background-color:white;
    color: #d2b48c;
}



/* FOOTER DESIGN */

footer{
    padding: 1.5rem 5vw;
    padding-bottom: 0.5rem;
    font-size: 1em;
    color: grey;
    font-weight: bold;
    text-align: center;
}

.footer-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    padding: 1rem 5vw;
}

.social-media{
    padding: 0%;
    margin: 0%;
}

.fa {
    padding: 10px;
    font-size: 30px;
    width: 50px;
    text-align: center;
    text-decoration: none;
}

.fa-linkedin {
    background: #3B5998;
    color: white;
}
  
.fa-github{
    background: black;
    color: white;
}



/* INDEX PAGE DESIGN */

.hero{
    background-color: #ebdac5;
    background-blend-mode: darken;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
              url("../images/DSCF2585-Ultra.JPG") top/contain no-repeat;
    max-height: 600px;    
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
}

.hero-text{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: row;
    padding: 4rem;
    gap: 1rem;
    height: 100vh;
    font-size: 2rem;
}

.slogan{
    padding: 1rem 5vw;
    background-color: white;
    color: #002147;
    text-align: center;
    line-height: 30px;
}

.grid-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem 5vw;
    align-items: center;
    text-align: center;
}

.grid-items img{
    height: 200px;
}

#btn-secondary{
    color: #002147;
}

.slogan,
.grid-container{
    background-color: lightgray;
}


/* PORTFOLIO PAGE */

.my-journey,
.my-approach,
.skills-tools,
.all-projects,
.role-header{
    padding: 1rem 5vw;
}

.role-header{
    font-size: 1.5rem;
}

.grid-section{
    border-radius: 12px;
    background-color: #002147;
}

.all-projects{
    background-color: #d2b48c;
    color: #002147;
}

.grid-container-2{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    padding: 1rem 5vw;
    align-items: top;
    text-align: center;
}

.my-role{
    padding-bottom: 1rem;
}

.project-outcome{
    padding-top: 1rem;
}



/* ABOUT ME PAGE */
.about-me-history,
.about-me-ethics{
    padding: 1rem 5vw;
    padding-bottom: 2rem;
}

.slogan-aboutme{
    padding: 1rem;
}


/* FORM DESIGN */
.contact-form{
    background-color: #d2b48c;
    color: #002147;
    padding-bottom: 1rem;
}

.contact-form-image{
    background-image: url("../images/DSCF2585-Ultra.JPG");
    height: 200px;
    object-fit: contain;
    object-position: center;
    background-color: #cccccc;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;  
}

.contact-form-text-1{
    font-weight: bold;
    font-size: clamp(1.0rem, 1.5rem, 1.125rem);
    padding-top: 0.85rem;
    text-align: center;
}

.contact-form-text-2{
    text-align: center;
    font-size: clamp(1.0rem, 1.5rem, 1.125rem);
    padding: 1.0rem;
}

.contact-form-cta{
    color: #002147;
    padding-top: 1.0rem;
    padding-bottom: 1.75rem;
}

.form{
    padding-top: 1.5rem;
    padding-bottom: 2.0rem;
    padding-left: 4.0rem;
    font-size: 1.0rem;
    background-color: #FAF9F6;
}

/* Container styling */
form {
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    background: #f4f4f4;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-family: "Quintessential", serif;
  }
  
  /* Label styling */
  form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #002147;
    gap: 10px;
  }
  
  /* Input fields and textarea */
  form input[type="text"],
  form input[type="email"],
  form input[type="tel"],
  form input[type="file"],
  form input[type="time"],
  form input[type="date"],
  form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color 0.3s;
  }
  
  .contact-reason{
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
  }

  option{
    font-family: "Quintessential", serif;
    font-size: 1.0rem;
    color: #002147;
  }

  form input:focus,
  form textarea:focus {
    border-color: #002147;
    outline: none;
  }
  
  /* Submit button */
  form button[type="submit"],
  form button[type="reset"]{
    background-color: #d2b48c;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s
  }
  
  form button[type="submit"]:hover {
    background-color: #8f7553;
  }

  form button[type="reset"]:hover {
    background-color: #8f7553;
  }



/*NAVBAR RESPONSIVENESS */
