:root {
  /* ["#0a0908","#22333b","#eae0d5","#c6ac8f","#5e503f"]*/
  --primary-color: #EAE0D5;
  --accent-color: #C6AC8F;
  --header-font: 'Playfair Display', serif;
  --content-font: 'Lora', serif;
  --background-color: #080808;
  --text-color-light: #f0f0f0;
  --text-color-dark: #333;
}
.header-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50vh;
  background-image: url("assets/header-image.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: -2;
}
body {
  font-family: var(--content-font);
  margin: 0;
  padding: 0;
  background-color: var(--background-color);
  color: var(--text-color-light);
  line-height: 1.6;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--header-font);
  color: var(--text-color-light);
  margin-bottom: 0.5em;
}
a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: var(--primary-color);
}
#background-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
} /* Glassmorphism Effect */
.glass-card {
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 48px 0 rgba(0, 0, 0, 0.45);
} /* Container for content */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
} /* Header Styling */
header {
  text-align: center;
  padding: 40px 20px;
  margin-top: 20vh;
  position: relative;
  z-index: 1;
}
.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.logo-image {
  max-height: 200px;
  margin-right: 15px;
  vertical-align: middle;
}
.subtitle {
  font-size: 1.2em;
  color: var(--primary-color);
  margin-top: -10px;
}
header h1 {
  font-size: 3em;
  margin-bottom: 5px;
}
header nav ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
  display: flex;
  justify-content: center;
  gap: 30px;
}
header nav li a {
  font-family: var(--header-font);
  font-size: 1.1em;
  padding: 8px 15px;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
header nav li a:hover {
  background-color: var(--accent-color);
  color: var(--text-color-light);
} /* Main Content Sections */
.content-section {
  padding: 40px;
  margin-top: 40px;
}
.section-title {
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 30px;
  color: var(--accent-color);
} /* Image Grid - Portrait Gallery */
.image-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* Individual grid items */
.grid-item {
  flex: 1 1 calc(33.333% - 40px); /* 3 columns on desktop */
  max-width: calc(33.333% - 40px);
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Image behavior */
.grid-item img {
  width: 100%;
  height: 400px; /* Fixed height for portrait */
  object-fit: cover;
  display: block;
  filter: grayscale(100%); /* Black & white by default */
  transition: filter 0.8s ease, transform 0.5s ease;
}

/* Hover state - full color and slight zoom */
.grid-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* Light overlay layer */
.grid-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--background-color);
  opacity: 0.65; /* soft light tint */
  transition: opacity 0.4s ease;
  pointer-events: none;
  mix-blend-mode: soft-light; /* optional subtle tint effect */
  border-radius: inherit;
}

/* Overlay fades away on hover */
.grid-item:hover::after {
  opacity: 0;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .grid-item {
    flex: 1 1 calc(50% - 30px); /* 2 columns on tablet */
    max-width: calc(50% - 30px);
  }
  .grid-item img {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .grid-item {
    flex: 1 1 100%; /* 1 column on mobile */
    max-width: 100%;
  }
  .grid-item img {
    height: 250px;
  }
}

/* Social Links (ul) with Image Icons */
.social-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 25px;
  padding: 0;
  margin: 20px 0;
}

.social-links li a {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icon {
  width: 35px;
  height: 35px;
  opacity: 0.85;
  filter: brightness(0) saturate(100%) invert(80%) sepia(10%) saturate(400%) hue-rotate(15deg) brightness(95%) contrast(90%);
  transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}

.social-links li a:hover .social-icon {
  transform: scale(1.1);
  opacity: 1;
  filter: brightness(1.2) saturate(120%);
}

/*adding scrolling images*/
.scroll-gallery {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 180px 20px;
  display: flex;
  flex-direction: column;
  gap: 180px;
  overflow: hidden;
}

/* Each image+text block */
.scroll-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 30px;
  opacity: 0;
  transform: translateY(120px) scale(0.95);
  transition: opacity 1.4s ease, transform 1.4s ease;
  will-change: transform, opacity;
}

/* Alternating layout */
.scroll-item.right {
  flex-direction: row-reverse;
}

/* Image styling */
.scroll-item img {
  width: 45%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
  transform: translateY(40px) scale(1.05);
  transition: transform 2s ease-out;
}

/* Text styling */
.scroll-text {
  flex: 1;
  font-family: var(--header-font);
  font-size: 1.6em;
  color: var(--accent-color);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 20px 25px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  transform: translateY(20px);
  transition: transform 2s ease-out;
}

/* Reveal Animation */
.scroll-item.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.scroll-item.visible img {
  transform: translateY(0) scale(1);
}
.scroll-item.visible .scroll-text {
  transform: translateY(0);
}

/* Subtle float/parallax effect during scroll */
.scroll-item.floating img {
  transform: translateY(var(--float-offset, 0px)) scale(1.03);
}

/* Styles for sketch2 canvas */
.sketch2-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw !important;
  height: 100vh !important;

  z-index: -1;
  pointer-events: none;

  opacity: 1;
}

/* Optional — smooth fade transitions */
.sketch2-canvas {
  transition: opacity 0.6s ease-out;
}

.delayed-appear {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInSmooth 1.2s ease-out forwards;
  animation-delay: 8s; /* appears after 8 seconds */
}

@keyframes fadeInSmooth {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Mobile layout */
@media (max-width: 768px) {
  .scroll-item,
  .scroll-item.right {
    flex-direction: column;
    text-align: center;
  }

  .scroll-item img {
    width: 90%;
  }

  .scroll-text {
    font-size: 1.2em;
    margin-top: 12px;
  }
}

/* Footer Styling */
footer {
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}
.footer p {
  margin: 0;
  font-size: 0.9em;
  color: var(--primary-color);
} /* Responsive Design */
@media (max-width: 768px) {
  header {
    padding: 30px 15px;
    margin-top: 15vh;
  }
  header h1 {
    font-size: 2.2em;
  }
  .subtitle {
    font-size: 1em;
  }
  header nav ul {
    flex-direction: column;
    gap: 10px;
  }
  header nav li a {
    padding: 6px 10px;
  }
  .content-section {
    padding: 25px;
  }
  .section-title {
    font-size: 1.8em;
  }
  .image-grid {
    gap: 15px;
  }
  .grid-item {
    flex: 1 1 calc(50% - 30px); /* 2 columns on tablet */
    max-width: calc(50% - 30px);
  }
  .grid-item img {
    height: 300px;
  }
}
@media (max-width: 480px) {
  header {
    padding: 20px 10px;
    margin-top: 10vh;
  }
  header h1 {
    font-size: 1.8em;
  }
  .logo-image {
    max-height: 200px;
    margin-right: 10px;
  }
  .subtitle {
    font-size: 0.9em;
  }
  header nav ul {
    gap: 8px;
  }
  header nav li a {
    font-size: 0.9em;
    padding: 5px 8px;
  }
  .content-section {
    padding: 15px;
  }
  .section-title {
    font-size: 1.5em;
  }
  .image-grid {
    gap: 10px;
  }
  .grid-item {
    flex: 1 1 100%; /* 1 column on mobile */
    max-width: 100%;
  }
  .grid-item img {
    height: 250px;
  }
}

