.nav-div {
    background-color: black;
    width: auto;
    height: 100px;
    color: white;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
}

.logo-div-main{
padding-left: 100px;
padding-top: 15px;
font-size: 36px;
font-weight: bold;
font-family: 'Inter', 'sans-serif';
}

.logo-div-subtitle{
padding-left: 50px;
padding-top: 0px;
}

.nav-buttons{  
display: flex;
color:white
}  

.nav-buttons-actual {
  margin-left: auto;
  margin-top: -50px;
  padding-right: 50px;
  display: flex;
  gap: 80px;
}

.nav-buttons-actual a {

  color: white;
  text-decoration: none;
  cursor: pointer;
  font-family: 'Helvetica', 'sans-serif';
  font-size: 18px;
  font-weight: lighter;
   will-change: filter;
  transition: filter 0.4s ease;
}

.nav-buttons-actual a:hover {
  filter: brightness(80%);
}

.resume {
  background: none;
  border: solid 1px white;
  border-radius: 10px;
  padding: 10px 40px 10px 40px;
  position: relative;
  left: 20px;
  bottom: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;      /* centers text vertically */
  justify-content: center;
  font-weight: normal !important;      /* undo bold from shared styles */
  line-height: 1;
  height: fit-content;      /* avoids stretching */
  transition: filter 0.4s ease;

}
.resume:hover {
  background-color: white;
  color: black;
  filter: brightness(100%) !important;
}

/* Header CSS Above ^^ */

.index_text{
display: flex;
flex-direction: column;
align-items: center;
position: relative;
top: 100px;
margin-bottom: 350px;
font-size: 40px;
font-weight: bold;
}

.custom-carousel {
  width: 800px;       
  height: 375px;     
  margin: 0 auto;    
  overflow: hidden;  
  position: relative;
  top:10px;
}

.custom-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* Cover fills container without distortion */
}

/* Footer CSS below */

.footer-div{
    background-color: black;
    width: auto;
    height: 100px;
    color: white;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;

}

.footer-div a{

  position: relative;
  left: 650px;
  top: 35px;
  display: inline-block;
  font-size: 2rem;
  cursor: pointer;
  color: white;
  margin-right: 20px;
  transition: transform 0.4s ease, filter 0.4s ease;

}

.footer-div a:hover{
  transform: scale(1.2);
  filter: brightness(0.8);
}

.footer-div a:active{
 transform: scale(0.95);
}

.photo-wrapper{
  display: flex;
  justify-content: center;
  align-items: center;
}


.photo-div{
  width:200px;
  height:150px;
  /* border: 1px solid red; */
  text-align: center;
  margin-top: 100px;
}
.photo-div img {
  width: 100%;
  height: 100%;
  border-radius: 60px;
  object-fit: cover; /* fill container while keeping proportions */
  display: block;
}

.paragraph-wrapper{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 80px;
}

.para-div{
  max-width: 750px;
  font-size: 15.5px;
  font-weight: 600;
  font-family: 'Helvetica', 'sans-serif';
}

/* Project Page CSS below */ 

.proj-wrapper{  /* Main Project Page*/
  display: flex;
  justify-content: center;
  align-items: center;
  border: 0px solid green;
  margin-bottom: 280px;
}

.proj-section{ /* Entire Content Section*/
  margin-top: 1.5%;
  /* border: 1px solid red; */
  max-width: 800px;
  width: 100%;
}
.proj-content{  /* To keep headings and also as another wrapper*/
  display: flex;
  flex-direction: column; /* or row, or grid */
  gap: 20px;
  max-width: 800px;
}

.project{ /* Actual Projects*/
   font-size: 15px;
   font-weight: normal;
   /* border: 1px solid blue; */
}


/* Books CSS */

/* Books Page Styles */
:root {
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(222.2, 84%, 4.9%);
    --muted-foreground: hsl(215.4, 16.3%, 46.9%);
    --primary: hsl(222.2, 47.4%, 11.2%);
    --border: hsl(214.3, 31.8%, 91.4%);
    --book-dropdown-bg: hsl(0, 0%, 95%);
    --book-dropdown-border: hsl(0, 0%, 80%);
    --book-cover-bg: hsl(0, 0%, 98%);
    --book-cover-border: hsl(0, 0%, 85%);
    --hover-bg: hsl(210, 40%, 96.1%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}

.books-container {
    max-width: 64rem;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Dropdown Styles */
.dropdown-container {
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.dropdown-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--book-dropdown-bg);
    border: 1px solid var(--book-dropdown-border);
    border-radius: 0.375rem;
    color: var(--foreground);
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.dropdown-button:hover {
    background-color: var(--hover-bg);
}

.dropdown-icon {
    transition: transform 0.2s ease;
}

.dropdown-button.open .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.25rem;
    /* background-color: var(--background); */
    background-color: white;
    border: 1px solid var(--book-dropdown-border);
    border-radius: 0.375rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    min-width: 200px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.2s ease;
}

.dropdown-menu.open {
    display: block;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0);
    z-index: 9999 !important;
}

.dropdown-item {
    width: 100%;
    padding: 0.5rem 1rem;
    text-align: left;
    background: none;
    border: none;
    /* color: var(--foreground); */
    color: black;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--hover-bg);
}

.dropdown-item:first-child {
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
}

.dropdown-item:last-child {
    border-bottom-left-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

/* Books List Styles */
.books-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 13%;
}

.book-item {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.book-cover {
    flex-shrink: 0;
    width: 8rem;
    height: 10rem;
    background-color: var(--book-cover-bg);
    border: 1px solid var(--book-cover-border);
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-foreground);
    font-size: 0.875rem;
    text-align: center;
    line-height: 1.4;
}

.book-details {
    flex: 1;
}

.book-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.book-authors {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.book-description {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.book-description .label {
    font-weight: 500;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    cursor: pointer;
    transition: text-decoration 0.2s ease;
}

.read-more:hover {
    text-decoration: underline;
}

/* No Books Message */
.no-books {
    text-align: center;
    color: var(--muted-foreground);
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .books-container {
        padding: 1rem;
    }
    
    .book-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .book-cover {
        width: 6rem;
        height: 8rem;
        align-self: flex-start;
    }
    
    .book-title {
        font-size: 1.125rem;
    }}