/* style.css
    Author: Emily Sanchez
    Date: 10-24-2025
    Last revised: 11-29-2025
    Description: Styling for About page
*/


/*Maintains spacing for header*/
*{
  margin: 0;
  padding:0;
  box-sizing: border-box
}


/* Ensure full height layout*/
body {
  font-family: "Georgia", serif;
  background-color: #5c614c;
  color: #333;
}


/*Nav bar setup*/
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #5c614c;
  color: #fff;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  flex-wrap: wrap;
}


/* Style for nav links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}


/* How the nav links look normally */
.nav-links a {
  color: #eaeaea;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: bold;
}


/* Change color when active or hovered */
.nav-links a:hover {
  color: #d6d6FF;
}


/* Website title in the corner of the nav */
.website-title {
  font-family: "Brush Script MT", cursive;
  font-size: 2rem;
  text-align: center;
  position:relative;
}

/* Hamburger Icon */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/******************************************************/
/* Image and words at top of screen */

.img-top {
    height: 450px;
    background-image: url("../images/dardar-Copy.jpg"); 
    background-attachment: fixed; /*Does the parallax effect */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


h1{
    text-align: center;
    font-size: 50px;
    font-family: "Brush Script MT", cursive;
    color:#fff;
}

h2{
    font-family: "Georgia", serif;
    font-size: 20px;
    font-style:italic;
    margin-bottom: 2%;
    color:#fff;
    margin-right:2%;
    text-align: center;
}

/* Formatted image of Ms. Darlene and about her section*/
.content {
  background: #f8f5ed;
  padding: 45px;
  font-size: 20px;
}

p{
    font-size: 20px;
    font-family: "Georgia", serif;
    text-indent: 10px;
    margin-right:10%;
    margin-left: 10%;
    margin-top:5px;
     line-height: 1.5;   
}

.img-right {
    margin-top: 2px;;
    width: 25%;
    margin-left: 2%;
    margin-right:10%;
    float: right;
    display:block;
    border-radius: 10px;

    
}

/* Youtube video and description on side*/
.featured-section {
    width:100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    background: #f8f5ed;

}

.video-left {
    width: 35%;      
    aspect-ratio: 16/9;
    display: block;
    border-radius: 10px;
    background: #f8f5ed;
    margin-left: 10%;
}

.featured-text {
    width: 65%;             
    font-size: 20px;
    font-family: "Georgia", serif;
    text-indent: 10px;
    line-height: 1.5;
    
}


/*  FOOTER  */
footer {
  background-color: #5c614c;
  color: #fff;
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.9rem;
}

footer a {
  color: #d6d6ff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}



/* MOBILE MEDIA */

/* Get rid of parallax and formats media better*/
@media (max-width: 768px) {
    .img-top {
        background-attachment: scroll;  
        height: 350px;                  
        background-position: center center;
        background-size: cover;
    }

    /* Ms. Darlene's photo */
    .img-right {
        width: 80%;        
        float: none;       
        display: block;
        margin: 20px auto; 
    }

    /* Embedded video */
    .video-left {
        width: 90%;         
        margin: 0 auto;     
        aspect-ratio: 16/9; 
    }

    /* Vertical stack */
    .featured-section {
        flex-direction: column;
        gap: 25px;
        padding: 20px 0;
    }
  
    .navbar {
      position: relative;
      width: 100%;
      padding-right: 2.5rem;  
    }

  /* Put the hamburger in the top-right corner */
  .menu-toggle {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #fff;
    z-index: 999;
  }

  /* Hide nav links initially */
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #4c5041;
    margin-top: 3.5rem;
    padding: 1rem 0;
    border-radius: 5px;
  }

  /* Show when toggled */
  .nav-links.active {
    display: flex;
    gap: 0.75rem;
  }

  .nav-links li {
    text-align: center;
  }

  /* Title centered */
  .website-title {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
  }
}


