/* Updated Typography */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* Modern Color Palette */
:root {
  /* Dark theme (default) */
  --primary-green: #2ecc71;
  --primary-blue: #3498db;
  --accent-color: #e74c3c;
  --text-color: #f8f9fa;
  --dark-bg: #0a192f;
  --card-bg: #112240;
  --section-bg: #1a2b4c;
  --overlay-bg: rgba(10, 25, 47, 0.95);
  --button-color: #2ecc71;
  --button-hover: #27ae60;
  --link-color: #3498db;
  --link-hover-color: #2ecc71;
  --footer-bg: #112240;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  --gradient-1: linear-gradient(135deg, #2ecc71 0%, #3498db 100%);
  --gradient-2: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

/* Light theme variables */
[data-theme="light"] {
  --primary-green: #27ae60;
  --primary-blue: #2980b9;
  --accent-color: #c0392b;
  --text-color: #2d3436;
  --dark-bg: #f8f9fa;
  --card-bg: #ffffff;
  --section-bg: #e9ecef;
  --overlay-bg: rgba(255, 255, 255, 0.95);
  --button-color: #27ae60;
  --button-hover: #219a52;
  --link-color: #2980b9;
  --link-hover-color: #27ae60;
  --footer-bg: #e9ecef;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--dark-bg);
  background-image: 
    linear-gradient(135deg, rgba(10, 25, 47, 0.97) 0%, rgba(26, 43, 76, 0.97) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%233498db' fill-opacity='0.05'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0H5v5H0v1h5v94h1V6h94V5H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(46, 204, 113, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

header {
  text-align: center;
  margin-bottom: 30px;
  background-color: var(--section-bg);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-1);
  opacity: 0.1;
  z-index: 0;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 90px;
  font-weight: 700;
  font-style: italic;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.4);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  letter-spacing: -2px;
}

.logo-text:hover {
  transform: scale(1.05) translateY(-5px);
  text-shadow: 5px 5px 15px rgba(0, 0, 0, 0.6);
}

.tele {
  color: var(--primary-green);
}

.up {
  color: var(--primary-blue);
}

nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.nav-link {
  display: inline-block;
  width: 180px;
  padding: 15px 25px;
  background: var(--gradient-1);
  color: var(--dark-bg);
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.nav-link:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
}

.nav-link:hover::before {
  left: 100%;
}

/* Special styling for Play link */
.play-link {
  background: var(--gradient-2);
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
  position: relative;
  overflow: hidden;
  animation: pulse 2s infinite;
}

.play-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: 0.5s;
}

.play-link:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
  animation: none;
}

.play-link:hover::before {
  left: 100%;
}

.play-icon {
  fill: var(--dark-bg);
  margin-right: 6px;
  transform: translateY(2px);
  transition: transform 0.3s ease;
}

.play-link:hover .play-icon {
  transform: translateY(2px) scale(1.1) rotate(5deg);
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.5);
    transform: scale(1.03);
  }
  100% {
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    transform: scale(1);
  }
}

/* Page Intro Section Styles */
.page-intro {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.page-intro h2 {
  color: var(--primary-green);
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 15px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
}

.page-intro h2:hover {
  transform: scale(1.05);
  text-shadow: 3px 3px 8px rgba(46, 204, 113, 0.4);
}

.page-intro p {
  color: var(--text-color);
  font-size: 1.1rem;
  max-width: 80%;
  margin: 0 auto;
  line-height: 1.8;
  transition: all 0.4s ease;
}

.page-intro p:hover {
  transform: scale(1.02);
  color: var(--primary-blue);
}

/* Active Navigation Link */
.nav-link.active {
  background: linear-gradient(to right, var(--primary-green), var(--primary-blue));
  color: white;
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
}

.nav-link.active:hover {
  background: linear-gradient(to right, var(--primary-green), var(--primary-blue));
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(46, 204, 113, 0.6);
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--card-bg);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.main-image {
  position: relative;
  z-index: 1;
  max-width: 100%;
  height: auto;
  margin-bottom: 30px;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 3px solid rgba(255, 255, 255, 0.1);
  filter: brightness(0.95) contrast(1.05);
}

.main-image:hover {
  transform: scale(1.02) translateY(-5px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
  filter: brightness(1) contrast(1.1);
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.photo-item {
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background-color: var(--card-bg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.photo-item:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.photo-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: all 0.5s ease;
}

.photo-item:hover img {
  transform: scale(1.1);
}

.photo-caption {
  padding: 15px;
  background-color: var(--card-bg);
  color: var(--primary-green);
  font-weight: bold;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.photo-item:hover .photo-caption {
  background-color: var(--primary-green);
  color: var(--dark-bg);
}

/* Theme Toggle Button Styles */
#theme-toggle {
  background: var(--gradient-1);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
  margin-left: 20px;
}

#theme-toggle:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
}

.theme-toggle-icon {
  font-size: 1.5rem;
  transition: transform 0.4s ease;
}

#theme-toggle:hover .theme-toggle-icon {
  transform: rotate(180deg);
}

/* Enhanced Footer Styles */
footer {
  margin-top: 60px;
  text-align: center;
  background-color: var(--footer-bg);
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.footer-links a:not(.social-icon) {
  margin-bottom: 5px;
  padding: 5px 10px;
}

.footer-links .social-icon {
  display: inline-flex;
  margin: 0 5px;
}

/* Create a container for social icons */
.footer-links::after {
  content: "";
  display: flex;
  gap: 15px;
  justify-content: center;
}

.footer-links > * + * {
  margin-top: 5px;
}

.footer-links a {
  color: var(--link-color);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.footer-links a:not(.social-icon) {
  margin-bottom: 8px;
  padding: 5px 15px;
  border-radius: 5px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 0;
  margin-bottom: 5px;
  align-items: center;
}

.ssl-seal {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 5;
}

.ssl-seal a {
  display: inline-block;
  background: transparent !important;
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
}

.ssl-seal a:hover {
  transform: translateY(-5px);
  filter: brightness(1.1);
}

.ssl-seal img {
  max-width: 100%;
  height: auto;
  transition: all 0.3s ease;
  cursor: pointer;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: var(--gradient-1);
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin: 0 10px;
  position: relative;
  overflow: hidden;
}

.social-icon:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 20px rgba(46, 204, 113, 0.3);
}

.social-logo {
  width: 24px;
  height: 24px;
  fill: var(--dark-bg);
  transition: all 0.4s ease;
}

.social-icon:hover .social-logo {
  transform: scale(1.2);
}

/* Lightbox Styles */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-container {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox-overlay.active .lightbox-container {
  transform: scale(1);
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  border: 3px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  border-radius: 15px;
  transition: all 0.4s ease;
}

.lightbox-caption {
  color: white;
  font-size: 1.2rem;
  margin-top: 20px;
  text-align: center;
  padding: 12px 20px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 30px;
  max-width: 80%;
  backdrop-filter: blur(5px);
}

.lightbox-close {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 50px;
  height: 50px;
  background: var(--gradient-1);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.lightbox-close:hover {
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: var(--gradient-1);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.lightbox-prev {
  left: -80px;
}

.lightbox-next {
  right: -80px;
}

.lightbox-nav:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
}

/* Disclaimer Page Styles */
.disclaimer-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background-color: var(--card-bg);
  border-radius: 20px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.disclaimer-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-1);
  opacity: 0.05;
  z-index: 0;
}

.disclaimer-content h2 {
  color: var(--primary-green);
  margin-bottom: 30px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}

.disclaimer-content h2:hover {
  transform: scale(1.05);
  text-shadow: 3px 3px 8px rgba(46, 204, 113, 0.4);
}

.disclaimer-content p {
  margin-bottom: 20px;
  line-height: 1.8;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}

.disclaimer-content p:hover {
  transform: translateX(10px);
  color: var(--primary-blue);
}

.disclaimer-content a {
  color: var(--link-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.disclaimer-content a:hover {
  color: var(--link-hover-color);
  text-decoration: underline;
}

/* Disclaimer Date Styles */
.disclaimer-date {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: right;
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Add social media icons using Font Awesome Unicode */
.social-media a[aria-label="Visit our Facebook page"]::before {
  content: "\f09a";
  font-family: Arial, sans-serif;
}

.social-media a[aria-label="Visit our Twitter page"]::before {
  content: "\f099";
  font-family: Arial, sans-serif;
}

.social-media a[aria-label="Visit our Instagram page"]::before {
  content: "\f16d";
  font-family: Arial, sans-serif;
}

/* Add card hover effects */
.photo-item {
  position: relative;
  overflow: hidden;
}

.photo-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(46, 204, 113, 0.2), rgba(52, 152, 219, 0.2));
  opacity: 0;
  z-index: 2;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.photo-item:hover::before {
  opacity: 1;
}

/* Improve image loading animation */
@keyframes imageReveal {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

img[loading="lazy"] {
  animation: imageReveal 0.8s ease-out forwards;
}

/* Remove scroll indicator at top of page */
body::before {
  content: none;
}

/* Remove home-button styles since we're now using nav-link class */
.home-button {
  display: none; /* Hide any remaining instances but keep the class for backwards compatibility */
}

/* Add styling for the home button in the main section */
main .nav-link {
  margin-top: 30px;
}

/* Enhanced Footer Styles */
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 15px;
}

.footer-links a {
  color: var(--link-color);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 5px;
  display: flex;
  align-items: center;
}

.social-icon {
  padding: 8px !important;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50% !important;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease !important;
}

.social-icon:hover {
  background: var(--primary-green);
  transform: translateY(-3px);
}

.social-logo {
  width: 20px;
  height: 20px;
  fill: var(--text-color);
  transition: fill 0.3s ease;
}

.social-icon:hover .social-logo {
  fill: var(--card-bg);
}

/* Update light theme variables to handle social icons */
[data-theme="light"] .social-icon {
  background: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .social-icon:hover {
  background: var(--primary-green);
}

/* Responsive Design */
@media (min-width: 768px) {
  nav {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }
  
  .logo-text {
    font-size: 100px;
  }
  
  .nav-link {
    width: 200px;
  }
}

@media (max-width: 767px) {
  body {
    padding: 15px;
  }
  
  .logo-text {
    font-size: 60px;
  }
  
  header, main, footer {
    padding: 20px;
  }
  
  .photo-gallery {
    grid-template-columns: 1fr;
  }
  
  .nav-link {
    width: 100%;
    max-width: 300px;
  }
  
  .lightbox-close {
    top: -40px;
    right: -40px;
  }
  
  .lightbox-nav {
    width: 40px;
    height: 40px;
  }
  
  .lightbox-prev {
    left: -50px;
  }
  
  .lightbox-next {
    right: -50px;
  }
}

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-1);
  color: var(--dark-bg);
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
  z-index: 1000;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
}

/* Enhanced photo gallery */
.photo-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  background-color: var(--card-bg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.photo-item img {
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: brightness(0.95);
}

.photo-item:hover img {
  filter: brightness(1.1);
}

.photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
}

.photo-item:hover .photo-caption {
  transform: translateY(0);
  opacity: 1;
}

/* Image loading animation */
img {
  opacity: 1;
  transition: opacity 0.5s ease;
}

img.loaded {
  opacity: 1;
}

/* Enhanced navigation */
.nav-link {
  position: relative;
  overflow: hidden;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: all 0.4s ease;
  transform: translateX(-50%);
}

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

/* Logo animation */
.logo-text {
  position: relative;
  display: inline-block;
}

.logo-text::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.logo-text:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Page intro enhancement */
.page-intro {
  position: relative;
  padding: 40px;
  background: var(--card-bg);
  border-radius: 20px;
  margin-bottom: 40px;
  overflow: hidden;
}

.page-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-1);
  opacity: 0.05;
  z-index: 0;
}

.page-intro h2 {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  font-size: 2.5rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

/* Footer enhancement */
footer {
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-1);
  opacity: 0.05;
  z-index: 0;
}

/* Theme toggle enhancement */
#theme-toggle {
  position: relative;
  overflow: hidden;
}

#theme-toggle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

#theme-toggle:hover::before {
  width: 200%;
  height: 200%;
}

/* Responsive enhancements */
@media (max-width: 767px) {
  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .photo-caption {
    transform: translateY(0);
    opacity: 0.8;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  }
  
  .page-intro {
    padding: 30px 20px;
  }
  
  .page-intro h2 {
    font-size: 2rem;
  }
}

.footer-link {
  color: var(--link-color) !important;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 5px;
  display: inline-block;
}

.footer-link:hover {
  color: var(--link-hover-color) !important;
  text-decoration: underline;
  transform: translateY(-3px);
}

.footer-links a:not(.social-icon) {
  margin-bottom: 8px;
  padding: 5px 15px;
  border-radius: 5px;
}