/* Global Variables */
:root {
  --primary-color: #8B4513; /* Brown */
  --secondary-color: #A0522D; /* Sienna */
  --accent-color: #CD853F; /* Peru */
  --accent-color2: #ffb4a2;
  --accent-color3: #b5e48c;
  --dark-color: #5E3A1E; /* Dark brown */
  --light-color: #F5F5DC; /* Beige */
  --text-color: #3E2723; /* Dark brown for text */
  --background-color: #F5F5DC; /* Beige background */
  --border-color: #D7CCC8; /* Light brown border */
  --shadow-color: rgba(62, 39, 35, 0.2); /* Brown shadow */
  --retro-gradient: linear-gradient(45deg, #ff6b6b, #ffe66d, #4ecdc4);
  --cursive-font: 'Satisfy', cursive;
  --main-font: 'Courier New', monospace;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--main-font);
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Add vintage grain overlay to the entire page */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/png;base64,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');
  opacity: 0.05;
  pointer-events: none; /* Allow clicks to pass through */
  z-index: 1;
}

h1, h2, h3 {
  font-family: var(--cursive-font);
  margin-bottom: 1rem;
  color: var(--primary-color);
  text-shadow: 1px 1px 0 var(--shadow-color);
}

button, .start-btn, .action-btn {
  font-family: var(--main-font);
  cursor: pointer;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1.1rem;
  background-color: var(--primary-color);
  color: var(--light-color);
  border-radius: 25px;
  box-shadow: 0 2px 4px var(--shadow-color);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  text-decoration: none;
  text-align: center;
  margin: 0.5rem;
}

button:hover, .start-btn:hover, .action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px var(--shadow-color);
  background-color: var(--secondary-color);
}

button:active, .start-btn:active, .action-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px var(--shadow-color);
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
  width: 100%;
}

main.container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Header Styles */
.header {
  background-color: var(--light-color);
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  z-index: 10;
  text-align: center;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-size: 2.8rem;
  margin: 0;
  color: var(--primary-color);
  font-family: var(--cursive-font);
  letter-spacing: 2px;
  text-shadow: 2px 2px 3px var(--shadow-color);
  transform: rotate(-2deg);
  padding: 0.5rem 0;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  margin-right: 1rem;
}

.nav-link {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 1.4rem;
  transition: all 0.3s ease;
  position: relative;
  font-family: var(--cursive-font);
  padding: 0.3rem 0.8rem;
  margin-right: 1rem;
  border: 1px solid transparent;
  border-radius: 20px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--secondary-color);
  border-color: var(--border-color);
  background-color: rgba(255, 255, 255, 0.5);
}

.nav-link:hover::after {
  width: 100%;
}

/* Footer Styles */
.footer {
  background-color: var(--light-color);
  padding: 1rem 0;
  text-align: center;
  border-top: 1px solid var(--border-color);
  position: relative;
  z-index: 10;
}

.footer p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-color);
  opacity: 0.8;
  font-family: var(--cursive-font);
}

.footer a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer a:hover {
  text-decoration: underline;
}

/* Home Page Styles */
.home-page {
  position: relative;
  background-color: var(--background-color);
}

.home-container {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
}

.home-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.home-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  font-family: var(--cursive-font);
  text-shadow: 2px 2px 3px var(--shadow-color);
}

.home-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-color);
  max-width: 80%;
  font-family: var(--main-font);
}

.sample-strip {
  width: 100%;
  max-width: 250px;
  background-color: white;
  padding: 1rem;
  border-radius: 5px;
  box-shadow: 0 2px 10px var(--shadow-color);
  margin-bottom: 2rem;
  position: relative;
}

.sample-photos {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sample-photo {
  width: 100%;
  height: 150px;
  background-color: #f0f0f0;
  border-radius: 3px;
  overflow: hidden;
}

.sample-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sample-date {
  font-family: var(--cursive-font);
  text-align: center;
  margin-top: 0.8rem;
  font-size: 1.1rem;
  color: var(--primary-color);
  transform: rotate(-2deg);
}

.action-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.action-btn {
  min-width: 150px;
  font-family: var(--cursive-font);
}

.home-text {
  flex: 1;
  max-width: 500px;
}

.home-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--accent-color);
}

.home-text p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

.features {
  display: flex;
  gap: 1.5rem;
  margin: 2rem 0;
}

.feature {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 1.5rem;
  border-radius: 8px;
  flex: 1;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--primary-color);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.feature h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.feature p {
  font-size: 1rem;
  margin-bottom: 0;
}

.pulse-btn {
  animation: pulse 2s infinite;
  font-size: 1.4rem;
  padding: 1rem 2rem;
  margin-top: 1rem;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
  }
  
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px rgba(255, 107, 107, 0);
  }
  
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
  }
}

/* Photo Booth Styles */
.photo-booth-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 500px;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.photo-booth {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background-color: #000;
  border: 5px solid white;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 4px 10px var(--shadow-color);
}

.photo-booth::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    repeating-linear-gradient(
      transparent, 
      transparent 2px, 
      rgba(0, 0, 0, 0.05) 2px, 
      rgba(0, 0, 0, 0.05) 4px
    );
  pointer-events: none;
  z-index: 2;
}

.camera-feed {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1); /* Mirror effect */
}

.countdown {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 3;
}

.countdown span {
  font-size: 6rem;
  color: white;
  animation: pulse 1s infinite;
}

.photo-count {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.photo-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.photo-indicator.taken {
  background-color: var(--accent-color);
  border-color: white;
}

.photo-indicator.current {
  transform: scale(1.2);
  box-shadow: 0 0 10px var(--accent-color);
}

.start-btn {
  margin-top: 1.5rem;
  background-color: var(--primary-color);
  font-size: 1.1rem;
  padding: 0.8rem 1.5rem;
  font-family: var(--cursive-font);
}

.back-btn {
  margin-top: 1.5rem;
  color: var(--primary-color);
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.back-btn:hover {
  opacity: 1;
  text-decoration: underline;
}

.loading-camera {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: var(--light-color);
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s linear infinite;
  margin-top: 1rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.photo-booth.flash::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: white;
  opacity: 0;
  z-index: 4;
  animation: flash 0.2s ease-out;
  pointer-events: none; /* Allow clicks to pass through */
}

@keyframes flash {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Filter Styles */
.filter-selector {
  margin-top: 1.5rem;
  width: 100%;
  text-align: center;
}

.filter-selector h3 {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
  color: var(--primary-color);
  font-family: var(--cursive-font);
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.filter-btn {
  background-color: white;
  color: var(--text-color);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  border-radius: 20px;
  font-family: var(--cursive-font);
}

.filter-btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.filter-btn.active {
  background-color: var(--primary-color);
  color: white;
  font-weight: bold;
  transform: scale(1.05);
  border-color: var(--primary-color);
}

/* Filter CSS Classes */
.filter-normal {
  filter: none;
}

.filter-bw {
  filter: grayscale(1);
}

.filter-sepia {
  filter: sepia(0.7) contrast(1.1);
}

.filter-grainy {
  filter: contrast(1.2) brightness(0.9) grayscale(0.3);
}

.filter-vhs {
  filter: saturate(1.3) hue-rotate(-10deg) brightness(1.1);
}

/* Photo Strip Styles */
.photo-strip-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 300px;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.photo-strip {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0 4px 10px var(--shadow-color);
  position: relative;
  margin-bottom: 1.5rem;
}

.photo-strip.white {
  background-color: white;
}

.photo-strip.black {
  background-color: black;
}

.photo-strip.black .strip-logo {
  color: var(--accent-color);
}

.photo-strip.white .strip-logo {
  color: var(--primary-color);
}

.strip-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 2px 5px var(--shadow-color);
  margin-bottom: 10px;
}

.strip-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1); /* Mirror effect */
}

.strip-logo {
  text-align: center;
  font-family: var(--cursive-font);
  font-size: 1.6rem;
  margin-top: 15px;
  margin-bottom: 5px;
  color: var(--primary-color);
  transform: rotate(-2deg);
  text-shadow: 1px 1px 2px var(--shadow-color);
}

.download-btn {
  background-color: var(--secondary-color);
  margin-top: 1rem;
  font-family: var(--cursive-font);
}

.reset-btn {
  background-color: var(--primary-color);
  margin-top: 0.5rem;
  font-family: var(--cursive-font);
}

/* Border Options */
.border-options {
  margin-top: 1.5rem;
  text-align: center;
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--shadow-color);
  width: 100%;
}

.border-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.border-btn {
  padding: 0.5rem 1rem;
  border: 2px solid transparent;
  border-radius: 20px;
  font-family: var(--cursive-font);
}

.border-btn.white {
  background-color: white;
  color: var(--text-color);
}

.border-btn.black {
  background-color: black;
  color: white;
}

.border-btn.active {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

/* Add a retro film strip effect */
.photo-strip::before,
.photo-strip::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 15px;
  background-image: 
    linear-gradient(
      to right,
      transparent 0%,
      transparent 20%,
      rgba(0, 0, 0, 0.2) 20%,
      rgba(0, 0, 0, 0.2) 40%,
      transparent 40%,
      transparent 60%,
      rgba(0, 0, 0, 0.2) 60%,
      rgba(0, 0, 0, 0.2) 80%,
      transparent 80%,
      transparent 100%
    );
  background-size: 20% 100%;
  z-index: 1;
}

.photo-strip::before {
  top: 0;
}

.photo-strip::after {
  bottom: 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .home-content {
    padding: 1.5rem;
  }
  
  .sample-strip {
    max-width: 220px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }
  
  button, .start-btn, .action-btn {
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
  }
  
  .logo {
    font-size: 2.2rem;
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .header-container {
    justify-content: center;
  }
  
  .nav-links {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
  }
  
  .home-title {
    font-size: 2.2rem;
  }
  
  .home-subtitle {
    font-size: 1rem;
    max-width: 95%;
  }
  
  .sample-strip {
    max-width: 200px;
  }
  
  .sample-photo {
    height: 120px;
  }
  
  .photo-booth {
    border-width: 4px;
  }
  
  .countdown span {
    font-size: 4rem;
  }
  
  .photo-indicator {
    width: 10px;
    height: 10px;
  }
  
  .filter-options {
    gap: 0.5rem;
  }
  
  .filter-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .photo-strip {
    padding: 12px;
    gap: 8px;
  }
  
  .strip-logo {
    font-size: 1.3rem;
  }
  
  .border-options {
    padding: 1rem;
  }
  
  .nav-links {
    gap: 1rem;
  }
  
  .nav-link {
    font-size: 1.2rem;
    padding: 0.2rem 0.5rem;
  }
  
  .photo-booth-container h2, .photo-strip-container h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
}

/* Photo Strip Templates in Polaroid */
.strip-templates {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 10px;
}

.strip-template {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px;
  border-radius: 8px;
  width: 45%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.strip-template.white {
  background-color: white;
}

.strip-template.black {
  background-color: black;
}

.template-photo {
  aspect-ratio: 4/3;
  border-radius: 4px;
}

.strip-template.white .template-photo {
  background-color: #333;
}

.strip-template.black .template-photo {
  background-color: #eee;
}

.template-logo {
  text-align: center;
  font-family: 'Permanent Marker', cursive;
  font-size: 0.8rem;
  margin-top: 5px;
  transform: rotate(-3deg);
}

.strip-template.white .template-logo {
  color: var(--primary-color);
}

.strip-template.black .template-logo {
  color: var(--accent-color);
}

.photo-strip.black .strip-date {
  color: var(--accent-color);
}

.photo-booth-container h2, .photo-strip-container h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  text-align: center;
  text-shadow: 1px 1px 2px var(--shadow-color);
}

.strip-date {
  font-family: var(--cursive-font);
  text-align: center;
  margin-top: 15px;
  margin-bottom: 10px;
  font-size: 1.3rem;
  color: var(--primary-color);
  transform: rotate(-2deg);
  text-shadow: 1px 1px 2px var(--shadow-color);
}

.photo-strip.black .strip-date {
  color: var(--accent-color);
}

.timestamp-options {
  margin-top: 1rem;
  text-align: center;
  width: 100%;
}

.timestamp-options h3 {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
  color: var(--primary-color);
  font-family: var(--cursive-font);
}

.timestamp-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.timestamp-btn {
  padding: 0.5rem 1rem;
  border: 2px solid transparent;
  border-radius: 20px;
  font-family: var(--cursive-font);
  background-color: white;
  color: var(--text-color);
}

.timestamp-btn.active {
  border-color: var(--primary-color);
  transform: scale(1.05);
  background-color: var(--primary-color);
  color: white;
}

@media (max-width: 768px) {
  .strip-date {
    font-size: 0.9rem;
    margin-top: 10px;
  }
  
  .timestamp-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
}

.placeholder-photo {
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-color);
  font-family: var(--cursive-font);
  font-size: 1.2rem;
  text-align: center;
  padding: 1rem;
  opacity: 0.9;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.placeholder-photo span {
  transform: rotate(-5deg);
}

@media (max-width: 768px) {
  .placeholder-photo {
    font-size: 0.9rem;
  }
}

.logo-link {
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease;
}

.logo-link:hover {
  transform: scale(1.02) rotate(-3deg);
}

.about-section {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border-color);
  width: 100%;
  text-align: left;
}

.about-section h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.about-content {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 1rem;
}

.about-content p {
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-color);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.social-links a {
  color: var(--primary-color);
  text-decoration: none;
  font-family: var(--cursive-font);
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
  border: 2px solid var(--primary-color);
  border-radius: 25px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: var(--light-color);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .about-section {
    margin-top: 3rem;
    padding-top: 1.5rem;
  }
  
  .about-section h2 {
    font-size: 1.8rem;
  }
  
  .about-content p {
    font-size: 1rem;
  }
  
  .social-links {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .social-links a {
    font-size: 1.1rem;
    padding: 0.4rem 0.8rem;
  }
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-center {
  text-align: center;
  margin-bottom: 0.2rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.creator-link {
  color: var(--primary-color);
  text-decoration: none;
  font-family: var(--cursive-font);
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
  border: 2px solid var(--primary-color);
  border-radius: 25px;
  transition: all 0.3s ease;
}

.creator-link:hover {
  background-color: var(--primary-color);
  color: var(--light-color);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .footer-content {
    gap: 0.4rem;
  }
  
  .creator-link {
    font-size: 1.1rem;
    padding: 0.4rem 0.8rem;
  }
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.footer-social a {
  color: var(--primary-color);
  text-decoration: none;
  font-family: var(--cursive-font);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  color: var(--secondary-color);
  transform: translateY(-2px);
}

.about-page main {
  min-height: calc(100vh - 200px);
  padding: 4rem 0;
}

.about-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.nav-link.active {
  background-color: var(--primary-color);
  color: var(--light-color);
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .about-container {
    padding: 1.5rem;
  }
}

.photo-count-options {
  margin-top: 1rem;
  text-align: center;
  width: 100%;
}

.photo-count-options h3 {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
  color: var(--primary-color);
  font-family: var(--cursive-font);
}

.count-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.count-btn {
  padding: 0.5rem 1rem;
  border: 2px solid var(--primary-color);
  border-radius: 20px;
  font-family: var(--cursive-font);
  background-color: white;
  color: var(--primary-color);
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.count-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px var(--shadow-color);
}

.count-btn.active {
  background-color: var(--primary-color);
  color: var(--light-color);
}

@media (max-width: 768px) {
  .count-buttons {
    gap: 0.8rem;
  }
  
  .count-btn {
    padding: 0.4rem 0.8rem;
    font-size: 1rem;
  }
  
  .photo-count-options h3 {
    font-size: 1.1rem;
  }
}

/* Pretty Transition Animations */

/* Page transitions */
.booth-page, .home-page, .about-page {
  animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Button hover animations */
.action-btn, .start-btn, .filter-btn, .border-btn, .timestamp-btn, .count-btn, .download-btn, .reset-btn {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.action-btn:hover, .start-btn:hover, .download-btn:hover, .reset-btn:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 10px 20px rgba(139, 69, 19, 0.2);
}

/* Photo strip reveal animation */
.photo-strip {
  animation: revealStrip 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  transform-origin: top center;
}

@keyframes revealStrip {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Individual photo reveal in strip */
.strip-photo {
  animation: revealPhoto 0.5s ease-out;
  animation-fill-mode: both;
}

.strip-photo:nth-child(1) { animation-delay: 0.1s; }
.strip-photo:nth-child(2) { animation-delay: 0.2s; }
.strip-photo:nth-child(3) { animation-delay: 0.3s; }
.strip-photo:nth-child(4) { animation-delay: 0.4s; }

@keyframes revealPhoto {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Date stamp animation */
.strip-date {
  animation: fadeInRotate 0.6s ease-out;
  animation-delay: 0.5s;
  animation-fill-mode: both;
}

@keyframes fadeInRotate {
  from { opacity: 0; transform: rotate(-5deg) scale(0.8); }
  to { opacity: 1; transform: rotate(-2deg) scale(1); }
}

/* Flash effect enhancement */
.photo-booth.flash::after {
  animation: enhancedFlash 0.3s ease-out;
}

@keyframes enhancedFlash {
  0% { opacity: 0; }
  40% { opacity: 1; }
  60% { opacity: 1; }
  100% { opacity: 0; }
}

/* Countdown number animation */
#countdown-number {
  animation: pulseGrow 1s infinite;
}

@keyframes pulseGrow {
  0% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 0.9; }
}

/* Photo indicator animation */
.photo-indicator.taken {
  animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
  0% { transform: scale(0); }
  70% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Navigation link hover effect */
.nav-link {
  position: relative;
  overflow: hidden;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.nav-link:hover::after {
  transform: translateX(0);
}

/* Logo hover animation */
.logo-link:hover .logo {
  animation: wiggle 0.5s ease-in-out;
}

@keyframes wiggle {
  0% { transform: rotate(-2deg); }
  25% { transform: rotate(3deg); }
  50% { transform: rotate(-3deg); }
  75% { transform: rotate(2deg); }
  100% { transform: rotate(-2deg); }
}

/* Filter transition */
.camera-feed {
  transition: filter 0.5s ease;
}

/* Photo booth container transition */
.photo-booth-container, .photo-strip-container {
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Sample strip hover effect on home page */
.sample-strip {
  transition: all 0.5s ease;
}

.sample-strip:hover {
  transform: translateY(-5px) rotate(1deg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Get Ready Notification */
.get-ready {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 3;
  animation: fadeInOut 2s ease-in-out;
}

.get-ready-text {
  font-size: 3rem;
  color: white;
  font-family: var(--cursive-font);
  margin-bottom: 0.5rem;
  animation: pulseText 1s infinite;
}

.get-ready-subtitle {
  font-size: 1.5rem;
  color: white;
  font-family: var(--main-font);
}

@keyframes fadeInOut {
  0% { opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes pulseText {
  0% { transform: scale(1); text-shadow: 0 0 10px rgba(255, 255, 255, 0.5); }
  50% { transform: scale(1.05); text-shadow: 0 0 20px rgba(255, 255, 255, 0.8); }
  100% { transform: scale(1); text-shadow: 0 0 10px rgba(255, 255, 255, 0.5); }
}

@media (max-width: 768px) {
  .get-ready-text {
    font-size: 2.2rem;
  }
  
  .get-ready-subtitle {
    font-size: 1.2rem;
  }
} 