:root {
  --primary: #22223b;
  --accent: #9a8c98;
  --background: #f2e9e4;
  --text: #22223b;
  --white: #fff;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Quicksand', 'Segoe UI', Arial, sans-serif;
  background: var(--background);
  color: var(--text);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  height: 100vh;
}
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  flex: 1 0 auto;
}
.navbar {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.logo {
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--white);
  text-decoration: none;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--accent);
}
.hero {
  flex: 1 0 auto;
  min-height: 0;
  padding: 0;
  margin: 0;
  position: relative;
  width: 100vw;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
}
.slider {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  margin: 0;
}

.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  display: none;
}

.slide.active {
  display: block;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(34,34,59,0.7);
  color: var(--white);
  border: none;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
  transition: background 0.2s;
}
.slider-btn:hover {
  background: var(--accent);
}
#prevBtn {
  left: 1rem;
}
#nextBtn {
  right: 1rem;
}
.hero-text {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 1rem;
  backdrop-filter: blur(10px);
}
.hero-text h1 {
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: 600;
}
.hero-text p {
  font-size: 1.2rem;
  color: var(--white);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
.about-section, .portfolio-section, .contact-section {
  padding: 2rem 0;
}
.about-section h1, .portfolio-section h1, .contact-section h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Gallery Intro Styling */
.gallery-intro {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 0 1rem;
}

.gallery-intro h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #22223b;
  margin-bottom: 0.8rem;
  letter-spacing: -0.5px;
}

.gallery-intro p {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #666;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Responsive adjustments for gallery intro */
@media (max-width: 768px) {
  .gallery-intro h2 {
    font-size: 1.5rem;
  }
  
  .gallery-intro p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .gallery-intro h2 {
    font-size: 1.3rem;
  }
  
  .gallery-intro p {
    font-size: 0.95rem;
  }
}


/* Folder Navigation Styles */
.folder-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem 0;
  border-bottom: 2px solid var(--accent);
}

.folder-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--white);
  border: 2px solid var(--accent);
  border-radius: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Quicksand', sans-serif;
  font-weight: 500;
  color: var(--text);
  box-shadow: var(--shadow);
}

.folder-btn:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.folder-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.folder-icon {
  font-size: 1.2rem;
}

.folder-name {
  font-size: 0.9rem;
}

.photo-count {
  background: var(--accent);
  color: var(--white);
  padding: 0.2rem 0.5rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: bold;
  min-width: 1.5rem;
  text-align: center;
}

.folder-btn:hover .photo-count,
.folder-btn.active .photo-count {
  background: var(--white);
  color: var(--primary);
}



.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: start;
}
.gallery-item {
  background: var(--white);
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}
.gallery-item:hover {
  transform: scale(1.03);
}
.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease;
  aspect-ratio: 4/3;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item {
  position: relative;
}

.image-overlay {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(34, 34, 59, 0.8);
  color: var(--white);
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .image-overlay {
  opacity: 1;
}

.no-images {
  text-align: center;
  padding: 3rem;
  color: var(--accent);
}

.no-images code {
  background: var(--background);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-family: monospace;
}

/* Lightbox styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  cursor: pointer;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-content img {
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 0.5rem;
}

.lightbox-image-container {
  position: relative;
  display: inline-block;
}

.watermark {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-family: 'Fredoka', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: rotate(-5deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 10;
  transition: all 0.3s ease;
  cursor: pointer;
  user-select: none;
}

.watermark:hover {
  transform: rotate(0deg) scale(1.05);
  background: rgba(0, 0, 0, 0.8);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: var(--primary);
  color: var(--white);
  border: none;
  font-size: 2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: var(--accent);
}
.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-form label {
  font-weight: 500;
}
.contact-form input, .contact-form textarea {
  padding: 0.75rem;
  border: 1px solid var(--accent);
  border-radius: 0.5rem;
  font-size: 1rem;
  resize: none;
}
.contact-form button {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}
.contact-form button:hover {
  background: var(--accent);
  color: var(--primary);
}
.footer {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}
.about-text {
  font-size: 1.25rem;
  line-height: 1.7;
}
.about-photo-float {
  float: right;
  margin-left: 2rem;
  margin-bottom: 1rem;
  max-width: 320px;
  width: 40vw;
  height: auto;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  display: block;
}

.about-card {
  background: var(--white);
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px rgba(34,34,59,0.08), 0 1.5px 6px rgba(34,34,59,0.04);
  padding: 2.5rem 2rem;
  max-width: 800px;
  margin: 2rem auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2rem;
}

.about-card h1 {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  color: var(--primary);
  flex-basis: 100%;
}

.about-photo-float {
  float: right;
  margin-left: 2rem;
  margin-bottom: 1rem;
  max-width: 320px;
  width: 40vw;
  height: auto;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  display: block;
}

.about-text {
  font-size: 1.18rem;
  line-height: 1.8;
  color: var(--text);
  margin: 0;
}

.about-highlight {
  color: var(--accent);
  font-weight: 600;
  font-size: 1.1em;
}

/* About Header with Social Links */
.about-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.about-header h1 {
  margin: 0;
  min-width: 200px;
}

/* Contact Header with Social Links */
.contact-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.contact-header h1 {
  margin: 0;
  min-width: 200px;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  border-radius: 50%;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(34,34,59,0.15);
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(34,34,59,0.25);
  background: var(--accent);
}

.social-link.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}



.social-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.social-link span {
  font-family: 'Quicksand', sans-serif;
  font-weight: 500;
}

/* Responsive design for about and contact headers */
@media (max-width: 768px) {
  .about-header,
  .contact-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .about-header h1,
  .contact-header h1 {
    min-width: auto;
  }
  
  .social-links {
    gap: 0.5rem;
  }
  
  .social-link {
    width: 36px;
    height: 36px;
  }
  
  .social-icon {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 480px) {
  .about-header {
    gap: 0.75rem;
  }
  
  .social-link {
    width: 32px;
    height: 32px;
  }
  
  .social-icon {
    width: 12px;
    height: 12px;
  }
}

/* Gallery Loader */
.gallery-loader {
  display: none; /* Start hidden by default */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  color: #666;
  font-family: 'Quicksand', sans-serif;
}

.gallery-loader.show {
  display: flex; /* Show when this class is added */
}

.gallery-loader.hidden {
  display: none;
}

.gallery-loader p {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 500;
  color: #888;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f0f0f0;
  border-top: 3px solid #22223b;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Lightbox Navigation */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  font-size: 32px;
  padding: 20px 16px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
  z-index: 1001;
  min-width: 60px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-nav:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

/* Responsive design for tablets */
@media (max-width: 1024px) {
  .lightbox-nav {
    font-size: 28px;
    padding: 18px 14px;
    min-width: 55px;
    min-height: 55px;
  }
  
  .lightbox-prev {
    left: 25px;
  }
  
  .lightbox-next {
    right: 25px;
  }
}

/* Responsive design for mobile */
@media (max-width: 768px) {
  .lightbox-nav {
    font-size: 24px;
    padding: 16px 12px;
    min-width: 50px;
    min-height: 50px;
    border-radius: 6px;
  }
  
  .lightbox-prev {
    left: 15px;
  }
  
  .lightbox-next {
    right: 15px;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .lightbox-nav {
    font-size: 20px;
    padding: 14px 10px;
    min-width: 45px;
    min-height: 45px;
  }
  
  .lightbox-prev {
    left: 10px;
  }
  
  .lightbox-next {
    right: 10px;
  }
}

@media (max-width: 700px) {
  .navbar .container {
    flex-direction: column;
    gap: 0.5rem;
  }
  .nav-links {
    gap: 1rem;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
  .hero-text p {
    font-size: 1rem;
  }
  .folder-navigation {
    gap: 0.5rem;
    margin-bottom: 1rem;
  }
  .folder-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  .folder-icon {
    font-size: 1rem;
  }
  .folder-name {
    font-size: 0.8rem;
  }
  .photo-count {
    font-size: 0.7rem;
    min-width: 1.2rem;
  }
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }
  .gallery-item {
    min-height: 200px;
  }
  .gallery-item img {
    height: 200px;
  }
  .contact-form {
    padding: 1rem;
  }
  .about-photo-float {
    float: none;
    display: block;
    margin: 0 auto 1.5rem auto;
    width: 90vw;
    max-width: 100%;
  }
  .about-text {
    font-size: 1.05rem;
  }
}

@media (max-width: 480px) {
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
  }
  .gallery-item {
    min-height: 150px;
  }
  .gallery-item img {
    height: 150px;
  }
  .folder-navigation {
    justify-content: center;
  }
  .folder-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
  }
}

@media (max-width: 900px) {
  .about-card {
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    gap: 1.2rem;
  }
  .about-photo-float {
    float: none;
    margin: 0 auto 1.5rem auto;
    width: 90vw;
    max-width: 100%;
    display: block;
  }
  .about-card h1 {
    text-align: center;
  }
} 