

@font-face {
  font-family: "Hello-Notie";
  src: url("fonts/Hello-Notie.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}
/* ===================== RESET DEFAULT STYLES ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body, html {
  height: 100%;
  font-family: 'Encode Sans', sans-serif;
  scroll-behavior: smooth; /* smooth scrolling when clicking menu links */
   overflow-x: hidden; /* stops horizontal scrolling */
     background-color: #fcf9f3;
}
/* ===================== Text ===================== */
h2 {
  font-family: 'Encode Sans', sans-serif;
  font-weight: 400; /* normal */
  font-style: normal;
  font-size: 3rem;
  margin-bottom: 20px;
}

h1 {
  font-family: 'Roboto', serif;
  font-weight: 300; /* normal */
  font-style: normal;
  font-size: 3rem;
  margin-bottom: 20px;
  color: #162f59;
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.5rem;     /* mobile size */
  }
}

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

h1.left-align {
  font-family: 'Roboto', sans-serif;
  text-align: left;
  padding-left: 40px;  /* optional, to match header padding */
    color: #162f59;
      font-size: 2.2rem;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

/* Mobile text */
@media (max-width: 768px) {
 
  h1.left-align {
    padding-left: 20px; /* less padding on mobile */
  }
  h3 {
    font-size: 1rem; /* smaller on mobile */
    text-align: center;
  }
  }

/* ===================== 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;
}

.encode-sans-regular {
  font-family: "Encode Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

/* ===================== HERO SECTION ===================== */
.hero {
  background-image: url('img/P3.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh; /* fallback */
  height: 100dvh; /* full dynamic viewport height (fixes iPhone issue) */
  display: flex;
  align-items: flex-end;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

/* mobile hero */
@media (min-width: 1024px) {
  .hero {
    background-attachment: fixed;
  }
}
.brand-text {
   font-family: 'Hello-Notie', sans-serif;
  font-weight: 400; /* normal */
  font-style: normal;
  font-size: 8rem;
  color: #c0cedb;
}
@media screen and (max-width: 480px) {
  .brand-text {
    font-size: 4rem;
  }
}

/* ===================== SCROLLABLE SECTIONS index.html ===================== */
  .section {
min-height: 100vh;
  padding: 100px 40px;
  background-color: #fcf9f3;
  color: #3911c7;
  text-align: left;
}
@media (max-width: 600px) {
  .section {
    padding: 40px 20px;
  }
}
/* optional alternating background */
.section:nth-of-type(even) {
  background-color: #fcf9f3; 
}

.section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
/* ===================== 2 BOXES SECTION index.html ===================== */
/* Container holding both boxes */
.container {
  display: flex;
  justify-content: space-between;
  gap: clamp(20px, 10vw, 200px);
  flex-wrap: wrap;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

/* Each box */
.box {
  flex: 1;
  background-color: #faf1e000;
  overflow: hidden; /* keeps image inside rounded corners */
  min-width: 300px;
  display: flex;
  flex-direction: column; /* image on top, text below */
}

/* Image fills the top area */
.box-image {
  width: 100%;
  height: 75vh;      /* 75% of the screen height */
  object-fit: cover;
  display: block;
}

/* Text area */
.box h2 {
  font-family: "Encode Sans", sans-serif;
  font-size: 1.8rem;
  margin: 20px 0px 10px;
  color: #333;
}

.box p {
  font-family: "Encode Sans", sans-serif;
  font-size: 1rem;
  margin: 0 0px 20px;
  color: #444;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .box-image {
    height: 40vh;   /* mobile: 40% of viewport height */
  }
}
/* ===================== HEADER / MENU ===================== */
.header {
  display: flex;
  align-items: center;       /* vertically center items */
  justify-content: space-between;  /* brand left, menu/hamburger right */
  padding: 0 40px;           /* horizontal spacing */
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  background: #fcf9f300;
  z-index: 1000;
}

/* Brand styling */
.header .brand {
  font-family: 'Hello-Notie', sans-serif; /* same as site */
  font-size: 3rem; /* same height as header text */
  color: #c0cedb; /* adjust as needed */
  text-decoration: none; /* remove underline */
}

.brand:hover {
  color: #162f59; /* same hover color as menu links */
}

.no-brand .brand { /* hidden on index.html */
  visibility: hidden;
}

/* Menu container */
.menu {
  margin-left: auto;
}
/* Menu unorganised list */
.menu ul {
  list-style: none; /* remove bullets */
  display: flex; /* next to each other row */
  gap: 50px; /* space between items */
    margin: 0; 
  padding: 0; 
    align-items: center; 
}

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

.menu a:hover {
  color: #162f59;
}

/* Hamburger button (hidden on desktop) */
.hamburger {
  display: none; /* show only on small screens */
  font-size: 2rem;
  color: #c0cedb;
  cursor: pointer;
}

/*  MOBILE RESPONSIVE header/menu */
@media screen and (max-width: 768px) {
    /* Match blog2: visually shift brand & hamburger 20px */
  .header .brand {
    transform: translateX(-20px);
  }

  .header .hamburger {
    transform: translateX(20px);
  }
  .overlay {
    position: fixed;
    inset: 0;
    background: transparent;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 10;
  }

  .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;
  }
  /* Show hamburger button */
  .hamburger {
    display: block;
    margin-left: auto; /* push to right */
  }
}

/* ===================== SPACERS ===================== */
.spacer {
  height: 40px; /* adjust as needed */
  
}

.spacer-small {
  height: 20px;
   
}

.spacer-large {
  height: 200px;
    
}

@media (max-width: 768px) {
  .spacer {
    height: 20px; /* smaller for mobile */
  }

  .spacer-small {
    height: 10px;
  }

  .spacer-large {
    height: 80px; /* depends on what you want */
  }
}

/* ===================== 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 */
}

/* ===================== PARALAX Section 3,4 and 5 ===================== */
#section_three,
#section_four, 
#section_five {
  background-size: cover; /* normal scroll for mobile */
  background-position: center; /* center the image */
  background-repeat: no-repeat; /* prevent tiling */
  min-height: 100vh; /* full viewport height */
  background-attachment: scroll; /* normal scroll for mobile */
}

/* Section-specific images */
#section_three {
  background-image: url('img/C26.jpg');
}

#section_four {
  background-image: url('img/C32.jpg');
}
#section_five {
  background-image: url('img/C16.jpg');
}

/* fixed backgrounds only on large screens */
@media (min-width: 1024px) {
  #section_three {
      background-attachment: fixed; /* parallax effect for desktop */
  }

  #section_four {
    object-position: right;
      background-attachment: fixed; /* parallax effect for desktop */
  }
}

/* mobile focus positions sections 3,4,5 */
@media (max-width: 768px) {
  #section_three { background-position: left center; }
  #section_four  { background-position: right center; }
  #section_five  { background-position: center center; }

  /* mobile gaps */
  #section_three,
  #section_four {
    margin-bottom: 20px;
    background-position: center center; 
  }

  #section_five {
    margin-bottom: 0; /* ensure no gap */
    background-position: left center;
  }
}

/* ===================== OBJECT POSITION CLASSES ===================== */
.center { object-position: center; }
.right  { object-position: right; }
.left   { object-position: left; }
.top    { object-position: top; }
.bottom { object-position: bottom; }

/* ===================== BUTTON STYLING ===================== */
.btn {
  color: #162f59;
  display: inline-block;
   width: fit-content;   
  margin-top: 10px;
  padding: 10px 10px;
  background-color: #c0cedb00;
  border: 1px solid #162f59;
  text-decoration: none;
  font-family: "Roboto", serif;
  letter-spacing: 0.5px;
  
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  border: 2px solid #c0cedb;
  background-color: #c0cedb00;
  color: #c0cedb;
    transform: scale(1.08);      /* enlarge smoothly */
}
.image-wrapper {
   position: relative;
  width: 100%;
  height: 100%;
  display: block;   /* not inline-block */
}
.image-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  font-family: "Hello-Notie", sans-serif;
  font-size: 3rem;

  color: #fcf9f3;           /* white-ish, since text is on images */
  text-decoration: underline;
    text-underline-offset: 6px;   /* <-- underline gap */
  text-decoration-thickness: 4px; /* optional: thicker underline */

  background: transparent;  /* remove button box */
  padding: 0;
  border: none;

  cursor: pointer;
  transition: opacity 0.2s ease;
}

.image-button:hover {
  opacity: 0.7;
}




@media (max-width: 768px) {
   .image-button {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem; /* smaller font */
  }
}
/* ===================== TITLE LINK STYLING ===================== */
.title-link {
  text-decoration: none;   /* removes underline */
  color: #162f59;          /* pick your color */
}


/* ===================== LIGHTBOX STYLING ===================== */
.lightbox {
  display: flex; /* hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
   opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 9999;
}
.lightbox.active {
  opacity: 1;
  visibility: visible;
}
.lightbox img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  cursor: zoom-out;
   transform: scale(0.95);
  transition: transform 0.4s ease;
}
.lightbox.active img {
  transform: scale(1);
}

/* ===================== PAGE TRANSITION EFFECT ===================== */
.fade {
  opacity: 0;
  transition: opacity 0.6s ease;
}

body.fade-active {
  opacity: 1;
  transition: opacity 0.6s ease;
}

/* ===================== All images ===================== */
.img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.img-container img:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ===================== Galleries ===================== */
/* ===================== PRINT GALLERY (random layout) ===================== */

.print-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 2rem 40px;
  position: relative;
}

.img-container.portrait {
  width: 525px;
  height: 700px;
  overflow: hidden;
}

/* Landscapes — rotated equivalent size */
.img-container.landscape {
    width: 700px;
  height: 525px;
  overflow: hidden;
}

/* PLACEHOLDERS Print gallery */
.placeholder {
  display: block;
  flex: 0 0 auto; /* don’t stretch or shrink */
  overflow: hidden;
  visibility: hidden; /* hidden but keeps space */
}

/* Match portrait proportions */
.placeholder.portrait {
 width: 525px;
  height: 700px;
}

/* Match landscape proportions */
.placeholder.landscape {
   width: 700px;
  height: 525px;
}

.print-gallery .img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/*  MOBILE: stack images */
@media (max-width: 900px) {
  .print-gallery {
    display: flex;
    flex-direction: column;  /* stack one per row */
    gap: 20px;               /* smaller gap */
    padding: 20px;           /* optional padding */
  }

  /* Keep the original dimensions */
  .img-container.portrait {
    width: 100%;       /* full width of container */
    aspect-ratio: 3 / 4; 
    max-width: 525px;  /* optional to prevent being too wide */
    margin: 0 auto;    /* center images */
  }

  .img-container.landscape {
    width: 100%;
    aspect-ratio: 4 / 3;
    max-width: 700px;  /* optional */
    margin: 0 auto;
  }

  /* Remove placeholders completely on mobile */
  .placeholder {
    display: none;
  }
}

/* ===================== Galleries 3 in a row ===================== */
.gallery {
      display: grid;
      grid-template-columns: repeat(3, 1fr); /* max 3 per row */
      gap: 80px;
        padding-left: 40px;   /* match header and text */
  padding-right: 40px;  /* optional, for symmetry */
  padding-top: 2rem;    /* adjust spacing above gallery */
  padding-bottom: 2rem; /* adjust spacing below gallery */
    }

/* Portrait container */
.gallery .img-container {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
}

/* Images inside container */
.gallery .img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Focus classes */
.gallery .img-container img.left {
  object-position: left center;
}
.gallery .img-container img.center {
  object-position: center center;
}
.gallery .img-container img.right {
  object-position: right center;
}


/* staggering */
.img-container:nth-child(3n-1) {
  transform: translateY(40px);
}

/* Mobile: stack one per row */
@media (max-width: 900px) {
  .gallery {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }

   /* Keep portrait and landscape aspect ratios */
  .img-container.portrait {
    width: 100%;
    aspect-ratio: 525 / 700; /* height / width from original */
  }

  .img-container.landscape {
    width: 100%;
    aspect-ratio: 700 / 525; /* maintain landscape */
  }

    /* Remove any transform on all img-containers */
  .img-container {
    transform: none !important;
  }
}
#section_three {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.center-button {
  font-family: "Hello-Notie", sans-serif;
  font-size: 3rem;

  color: #fcf9f3;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 4px;

  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;

  transition: opacity 0.2s ease;
}

.center-button:hover {
  opacity: 0.7;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .center-button {
    font-size: 2rem;
    text-underline-offset: 4px;text-decoration-thickness: 4px;
  }
}


/* 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;
  }
}
