@font-face {
  font-family: "Hello-Notie";
  src: url("fonts/Hello-Notie.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

/* ===================== RESET — match index.html behaviour ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  font-family: "Encode Sans", sans-serif;
}

/* ===================== GLOBAL ===================== */
body {
  line-height: 1.6;
  background-color: #fcf9f3;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===================== FONTS ===================== */
.dm-serif-display-regular {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-style: normal;
}

.dm-serif-display-regular-italic {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-style: italic;
}


h1 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-style: normal;
  font-size: 4rem;
  margin-bottom: 20px;
  color: #28b88d;
}

h1.left-align {
  text-align: left;
  padding-left: 40px;
  color: #c0cedb;
}

h3 {
  font-family: 'Roboto', serif;
  font-weight: 300;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #162f59;
  padding-top: 20px;
}

.text-column p {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1.8;
  color: #162f59;
  margin-bottom: 1.4rem;
  max-width: 600px;
}

/* ================================ */
/*            HEADER                */
/* ================================ */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  background: #fcf9f300;
  z-index: 1000;
}

.header .brand {
  font-family: 'Hello-Notie', serif;
  font-size: 3rem;
  color: #162f59;
  text-decoration: none;
}

.brand:hover {
  color: #c0cedb;
}

.no-brand .brand {
  visibility: hidden;
}

.menu {
  margin-left: auto;
}

.menu ul {
  list-style: none;
  display: flex;
  gap: 50px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.menu a {
  font-family: "Roboto", serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: #162f59;
  transition: color 0.3s;
}

.menu a:hover {
  color: #c0cedb;
}

.hamburger {
  display: none;
  font-size: 2rem;
  color: #162f59;
  cursor: pointer;
}



/* ================================ */
/*   RESPONSIVE HEADER (MOBILE)     */
/* ================================ */
@media screen and (max-width: 768px) {
  .header .brand {
    /* move brand visually closer to the edge */
    transform: translateX(-20px); 
  }

  .header .hamburger {
      transform: translateX(20px);
  }

  /* If you want it slightly lower or higher, adjust: 80–160px */
  .overlay {
    position: fixed;
    inset: 0;
    background: transparent;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
  }

  .overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

 .menu {
    position: fixed;
    top: 0px;
    right: 0;
    height: 100vh;
    width: 50vw;
    background: #c0cedb;
    padding-top: 60px;
padding-right: 0px;
padding-bottom: 80px;
padding-left: 30px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    z-index: 1100; /* higher than overlay */
  }

  .menu.active {
    transform: translateX(0);
  }

  .menu ul {
    flex-direction: column;
    gap: 20px;
     align-items: flex-start;     /* left-align the items in the column */
  }

  .menu ul li a {
    color: #fcf9f3;
    font-size: 1.5rem;
    letter-spacing: 1px;
  }

  .hamburger {
    display: block;
    margin-left: auto;
  }
 }

/* ================================ */
/*           Blog sections         */
/* ================================ */
.blog-section {
  display: flex;
  width: 100%;
  gap: 20px;
  flex-direction: column;
    justify-content: flex-end; /* NEW — pushes gallery + text to the bottom */
   height: 100vh;
}

.text-column {
  width: 25%;
  height: 75vh;         /* matches 75vh */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  box-sizing: border-box;
}


/* Optional: spacing between stacked sections */
.blog-section + .blog-section {
  margin-top: 0; /* full viewport, no gap needed */
}

/* ==================  GALLERY ================== */
.gallery-container {
  width: 100%;
  display: flex;       /* side-by-side layout */
  gap: 20px;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.gallery-wrapper {
  width: 75%;
    height: 75vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
     position: relative;  /* makes it the positioning parent */
}

.gallery-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
    overflow-y: hidden;
  height: 100%; /* fill wrapper */
  align-items: stretch; /* important */
}

/* Hide scrollbars */
.gallery-track::-webkit-scrollbar {
  display: none;
}
.gallery-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.gallery-track::-moz-scrollbar {
  display: none; /* Firefox */
}

.gallery-item {
  flex: 0 0 auto;
  height: 100%;
}

.gallery-item img {
  height: 100%;
  width: auto;
  object-fit: cover;
}

/* ===================== ARROWS ===================== */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 20;
}

.arrow:hover {
  background: rgba(0, 0, 0, 0);
    transform: translateY(-50%) scale(1.3); /* ← grows 30% on hover */
}

.arrow.left {
  left: 10px;
}

.arrow.right {
  right: 10px;
}

.text-column h1 {
  margin-top: 0;
}

/* ================================ */
/*       RESPONSIVE BEHAVIOR Gallery        */
/* ================================ */

@media (max-width: 900px) {
    .blog-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;  /* pushes content to bottom */
    height: 100vh;              /* full viewport height */
  }

 .gallery-wrapper {
    width: 100%;
    height: 60vh;      /* ← make wrapper 70% of viewport height */
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
  }

  .text-column {
    width: 100%;
    height: 30vh;      /* ← make text column 30% of viewport height */
    padding: 20px;
    justify-content: flex-end;
  }

  .gallery-track {
        height: 100%;      /* ensure track fills wrapper */
        flex-direction: row; /* keep horizontal scrolling */
    }

        .gallery-item img {
        height: 100%;      /* image fills track */
        width: auto;
    }

  .gallery-container {
     height: 100%;
        flex-direction: column;   /* ← THIS is the missing rule */
     
  }

  /* ===================== MOBILE TEXT SIZING ===================== */
  .text-column h3 {
    font-size: 2rem;   /* from 3rem → softer for small screens */
  }

  .text-column p {
    font-size: 1.2rem;   /* from 1.5rem → more readable */
    line-height: 1.6;    /* reduce vertical stretching */
  }
    /* ===== MORE SPACE BETWEEN BLOG SECTIONS ===== */
  .blog-section {
    margin-bottom: 60px;   /* increase spacing */
  }
}

/* ===================== FOOTER ===================== */
.footer {
  background-color: #fcf9f3;   /* Footer background */
  color: #162f59;              /* Text color */
  text-align: center;
  padding: 40px 20px;
  margin-top: 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  font-family: "Hello-Notie", serif; /* Your brand font */
  font-size: 3rem;
  margin-bottom: 10px;
}


.footer-links a {
  font-family: "Roboto", sans-serif;
  color: #162f59;
  margin: 0 15px;
  text-decoration: none;
  transition: color 0.3s;
   font-size: 1.5rem;
   font-weight: 300;
}

.footer-links a:hover {
  color: #c0cedb; /* hover contrast */
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .center-button {
    padding: 12px 24px;
  }
}
@media (max-width: 768px) {
  /* Footer tweaks */
  .footer {
    text-align: center;
    padding: 50px 20px;
  }

  /* Hide original footer-brand text */
  .footer-brand {
    font-size: 0;  /* hide original text */
    position: relative; /* for pseudo element */
  }

  /* Inject "a." using ::after */
  .footer-brand::after {
    content: "a.";
    font-family: "Hello-Notie", serif;
    font-size: 6rem;
    color: #162f59;  /* adjust color */
    display: block;
  }

  /* Stack links underneath */
  .footer-links {
    display: flex;
     justify-content: center;   
    gap: 12px;
    margin-top: 10px;
  }

  .footer-links a {
    font-size: 1.4rem;
    color: #162f59;
  }
}
