/* Reset and base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.visually-hidden {
  position: absolute;
  left: -9999px;
}

html {
  font-size: 16px;
   font-family: "lato", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
}

/* Navbar */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #211c17;
  color: #f2eeeb;
  z-index: 1000;
}
.visually-hidden {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}

.zoom{height:100px;width:300px;background-color:#dd5817;position:absolute;top:80px; border-radius:0px 50px 50px 0px;}
.zoom h1 {margin-left:25px;font-size:2.5em;margin-top:15px; color:#f2eeeb;}
.zoom a{text-decoration:none;}
a {color:#0b83b2;}
#projects a{color: #af1a0b;
    font-weight:bold;
}
#projects strong {color: #000;
        font-size: 1.5em;
}
#calendar a{color:#c15a0e;}
.navbar {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  justify-content: space-between;
  height: 60px;
}
.columns li {list-style-type: none;}
.logo {
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  text-decoration: none;
  user-select: none;

}


.mobile-logo {
  display: none;
}
 #home {

  background: url('images/hero.jpg') center center/cover no-repeat;
margin-top: 0px;

}
img {
    max-width: 100%; /* The image will shrink if the screen is narrower than its original width */
    height: auto;    /* This maintains the aspect ratio, preventing the image from being squashed or stretched */
    display: block;  /* Helps with centering and removing extra space below the image */
    margin: 0 auto;  /* Centers the image within its container */
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  padding: 0.5rem;
}

.nav-links li a:hover,
.nav-links li a:focus {
  background-color: #444;
  border-radius: 25px;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #dd5817;
  cursor: pointer;
}

/* Sections */
.section {
  min-height: 750px;
  width: 100vw;
  padding: 100px 5% 2rem 5%; /* padding-top to offset navbar + side margins */
  color: #111;
}

.section-title {
    color: #8c857b;
  margin-bottom: 1.5rem;
  padding-top: 0; /* Because section has top padding */
}
#evaluation  .section-title  {
    color:#211c17;
  margin-bottom: 1.5rem;
  padding-top: 0; /* Because section has top padding */
}
/* Columns for desktop */
.columns {
  display: flex;
  gap: 5%;
}

.column {
  width: 47.5%;
}

/* Home section - fullscreen background image */
/*#home {
  width: 100%;
  height: 100vh; /* full viewport height */
  margin-top: 60px;
 

  /* Background image settings */
  background-image: url('../images/hero.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;

  /* Optional: make text inside scale nicely */
  display: flex;
  align-items: center;
  justify-content: center;
}*/


/* Introduction: light grey */
.introduction {
  background-color: #f2eeeb;
}

/* Calendar: slightly darker */
.calendar {
  background-color: #dbd6d1;
  color: #222;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 150px;
  gap: 1rem;
  margin-top: 1rem;
}

.day-header {
  font-weight: bold;
  font-size: 1.1rem;
  text-align: center;
  border-bottom: 2px solid #444;
  padding-bottom: 0.5rem;
}

.date-cell {
  background-color: white;
  border-radius: 6px;
  padding: 0.5rem;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.date-cell:focus {
  outline: 3px solid #0066cc;
}

.date-number {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  user-select: none;
  color:#8c857b;
}

.date-content {
  flex-grow: 1;
  overflow: hidden;
  max-height: 3rem;
  transition: max-height 0.3s ease;
}

.date-cell.expanded .date-content {
  max-height: 100vh;
  overflow: auto;
}

/* Projects: darker */
.projects {
  background-color: #ccc5be;
  color: #222;
}

/* Evaluation: even darker */
.evaluation {
  background-color: #bfbbb6;
  color: #211c17;
}

/* Policies: lighter for contrast */
.policies {
  background-color: #f2eeeb;
  color: #222;
}

/* Footer */
footer {
  background-color: #595248;
  color: white;
  text-align: center;
  padding: 1rem 0;
  user-select: none;
}

/* Responsive and mobile-first styles */
@media (max-width: 768px) {
  .columns {
    flex-direction: column;
  }
.zoom{height:50px;width:150px;background-color:#dd5817;position:absolute;top:315px; border-radius:0px 25px 25px 0px;}
.zoom h1 {margin-left:25px;font-size:1em;margin-top:12px; color:#f2eeeb;}
.zoom a{text-decoration:none;}
  .column {
    width: 100%;
    margin-bottom: 1rem;
  }
 #home {

  background: url('images/hero.jpg') center center/cover no-repeat;
margin-top: 60px; padding-top: 30px;
background-color: #211c17;
}
.section {
  min-height: 750px;
  width: 100vw;
  padding: 80px 5% 2rem 5%; /* padding-top to offset navbar + side margins */
  color: #111;
}

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #222;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .desktop-logo {
    display: none;
  }

  .mobile-logo {
    display: block;
  }

  .date-number {
    font-size: 1.5rem;
  }
}
/* DESKTOP: always show full calendar content */
@media (min-width: 769px) {
  .date-content {
    max-height: none;
    overflow: visible;
  }

  .date-cell {
    cursor: default;
  }
}
/* -----------------------------
   MOBILE CALENDAR OVERLAY
----------------------------- */
@media (max-width: 768px) {

  /* Dark backdrop */
  .calendar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    display: none;
  }

  .calendar-overlay.active {
    display: block;
  }

  /* Magnified date cell */
  .date-cell.expanded {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    max-height: 80vh;
    z-index: 1000;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  }

  .date-cell.expanded .date-content {
    max-height: none;
    overflow: visible;
  }
}

