:root {
  --bg-color: #f1f5f9; /* Changed to a lighter grey to make polaroids pop */
  --text-dark: #1e293b;
  --main-color: #323232;
  --bg-white: #fff;
}

body {
  margin: 0;
  background: var(--bg-color);
  font-family: "Inter", sans-serif;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto; /* Allow scrolling for gallery */
}

/* --- Navigation (Keeping your existing styles) --- */
.nav-wrapper {
  --font-color-dark: #323232;
  --font-color-light: #fff;
  --bg-white: #fff;
  --main-color: #323232;
  --secondary-color: #505050;
  position: fixed; /* Fixed so it stays while scrolling */
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: 340px;
  height: 36px;
  background-color: var(--bg-white);
  border: 2px solid var(--main-color);
  border-radius: 34px;
  display: flex;
  flex-direction: row;
  box-shadow: 4px 4px var(--main-color);
}

.nav-option {
  margin-right: 5px;
  width: 80.5px;
  height: 28px;
  position: relative;
  top: 2px;
  left: 2px;
  border-radius: 34px;
  transition: 0.25s cubic-bezier(0, 0, 0, 1);
}

.nav-option:last-child {
  margin-right: 4px;
}

.nav-option:hover {
  background-color: var(--secondary-color);
}

.nav-option:hover .nav-span {
  color: var(--font-color-light);
}

.nav-input {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  appearance: none;
  cursor: pointer;
}

.nav-btn {
  width: 100%;
  height: 100%;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-span {
  color: var(--font-color-dark);
  font-size: 0.8rem;
  font-weight: 600;
}

.nav-input:checked + .nav-btn {
  background-color: var(--main-color);
  transition: 0.2s cubic-bezier(0, 0, 0, 1);
}

.nav-input:checked + .nav-btn .nav-span {
  color: var(--font-color-light);
  transition: 0.25s cubic-bezier(0, 0, 0, 1);
}

.settings-btn {
  position: fixed;
  top: 20px;
  left: calc(50% + 185px); /* Center + half nav width + gap */
  width: 36px;
  height: 36px;
  background-color: var(--bg-white);
  border: 2px solid var(--main-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 4px 4px var(--main-color);
  transition: 0.25s cubic-bezier(0, 0, 0, 1);
}

.settings-btn:hover {
  background-color: var(--secondary-color);
}

/* --- Gallery Styles --- */
.content-container {
  margin-top: 100px;
  padding: 40px 20px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.gallery-header {
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--main-color);
  margin-bottom: 50px;
  letter-spacing: -1px;
}

.polaroid-grid {
  column-count: 3;
  column-gap: 40px;
  padding-bottom: 50px;
}

.polaroid {
  background: white;
  padding: 15px 15px 30px 15px;
  border: 2px solid var(--main-color);
  box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  break-inside: avoid;
  margin-bottom: 40px;
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
}

/* Subtle tilts for that authentic look */
.polaroid:nth-child(even) {
  transform: rotate(2deg);
}
.polaroid:nth-child(odd) {
  transform: rotate(-1deg);
}

.polaroid:hover {
  transform: scale(1.05) rotate(0deg);
  box-shadow: 12px 12px 0px var(--main-color);
  z-index: 10;
}

.photo-placeholder {
  width: 100%;
  background: #e2e8f0;
  border: 1px solid #ddd;
  margin-bottom: 15px;
}

.caption {
  font-family: "Courier New", Courier, monospace; /* Handwritten feel */
  font-weight: bold;
  font-size: 0.9rem;
  color: #333;
  text-transform: uppercase;
}

/* --- About Us Section --- */
.about-section {
  margin: 80px auto 40px auto;
  padding: 40px;
  max-width: 900px;
  background: var(--bg-white);
  border: 2px solid var(--main-color);
  box-shadow: 12px 12px 0px var(--main-color);
  border-radius: 2px;
  transform: rotate(-1deg);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-section:hover {
  transform: rotate(0deg) scale(1.01);
  box-shadow: 16px 16px 0px var(--main-color);
}

.about-section::before {
  content: "ABOUT US";
  position: absolute;
  top: -25px;
  left: 20px;
  background: var(--main-color);
  color: white;
  padding: 5px 15px;
  font-weight: 800;
  font-size: 1.2rem;
  transform: rotate(2deg);
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-dark);
}

/* Responsive: 2 per row on small screens */
@media (max-width: 768px) {
  .polaroid-grid {
    column-count: 2;
  }
}
