/* General */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #141414;
  color: #f0f0f0;
  text-align: center;
}
html {
  scroll-behavior: smooth;
}

/* Glow Colors */
:root {
  --glow-main: #385f92;
  --glow-accent: #2740b0;
}
.glow {
  color: #fff;
  text-shadow: 0 0 6px var(--glow-main), 0 0 12px var(--glow-accent);
  transition: text-shadow 0.3s ease;
}
.glow:hover {
  text-shadow: 0 0 15px var(--glow-main), 0 0 25px var(--glow-accent);
}

/* Hero */
.hero {
  min-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-bottom: 20px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}
.hero-content {
  animation: fadeIn 2s ease-in-out;
}
.hero-photo {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 3px solid var(--glow-main);
  box-shadow: 0 0 20px var(--glow-main);
  margin-bottom: 20px;
  transition: transform 0.6s ease, box-shadow 0.4s ease;
  transform: scale(0) rotateY(0deg);
  animation: heroSpin 2s ease forwards;
}
.hero-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px var(--glow-main), 0 0 40px var(--glow-accent);
}

/* Hero spin animation (subtle) */
@keyframes heroSpin {
  0%   { transform: scale(0) rotateY(0deg); }
  50%  { transform: scale(1) rotateY(20deg); }
  100% { transform: scale(1) rotateY(0deg); }
}

/* Buttons */
.glow-btn {
  background: transparent;
  border: 2px solid var(--glow-main);
  padding: 10px 25px;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 15px;
  border-radius: 15px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}
.glow-btn:hover {
  color: var(--glow-accent);
  border-color: var(--glow-accent);
  box-shadow: 0 0 15px var(--glow-main), 0 0 25px var(--glow-accent);
}

/* Sections */
.section {
  padding: 60px 20px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}
.section-title {
  margin-bottom: 20px;
  font-size: 2rem;
  color: var(--glow-main);
  text-shadow: 0 0 10px var(--glow-accent);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
  justify-items: center;
  margin: 0 auto;
  max-width: 900px;
}
.gallery img {
  width: 100%;
  max-width: 280px;
  border-radius: 15px;
  border: 2px solid #222;
  opacity: 0;
  transition: opacity 0.6s ease-in-out, transform 0.3s ease;
  transform: scale(0.9);
}
.gallery img.loaded {
  opacity: 1;
  transform: scale(1);
}
.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px var(--glow-main), 0 0 25px var(--glow-accent);
}

/* Cards */
.cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}
.card {
  background: #1c1c1c;
  padding: 20px;
  border-radius: 15px;
  width: 250px;
  transition: box-shadow 0.3s ease, border 0.3s ease;
  color: #ddd;
  border: 1px solid #2a2a2a;
}
.glow-hover:hover {
  box-shadow: 0 0 15px var(--glow-main), 0 0 30px var(--glow-accent);
  border: 1px solid var(--glow-main);
}
.cards a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Footer */
.footer {
  background: #0a0a0a;
  padding: 40px 20px;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}
.footer a {
  color: var(--glow-main);
  text-decoration: none; /* Prevent underlining */
}
.footer a:hover {
  color: var(--glow-accent);
}

/* Social Icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}
.icon-box {
  width: 60px;
  height: 60px;
  background: #1c1c1c;
  border: 2px solid var(--glow-main);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  color: var(--glow-main);
  font-size: 1.8rem;
  transition: all 0.3s ease;
}
.icon-box:hover {
  background: #222;
  color: var(--glow-accent);
  box-shadow: 0 0 15px var(--glow-main), 0 0 25px var(--glow-accent);
  transform: scale(1.1);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(10,10,10,0.95);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.lightbox.show {
  display: block;
  opacity: 1;
}
.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
  border: 3px solid var(--glow-main);
  box-shadow: 0 0 25px var(--glow-main), 0 0 40px var(--glow-accent);
  border-radius: 10px;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}
.lightbox.show .lightbox-content {
  transform: scale(1);
}
.lightbox .close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: var(--glow-main);
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.lightbox .close:hover {
  color: var(--glow-accent);
  text-shadow: 0 0 15px var(--glow-main);
}
.arrow {
  position: absolute;
  top: 50%;
  font-size: 50px;
  color: var(--glow-main);
  padding: 8px;
  cursor: pointer;
  user-select: none;
  border: 2px solid var(--glow-main);
  border-radius: 10px;
  transition: all 0.3s ease;
  transform: translateY(-50%);
  z-index: 1001;
}
.arrow.left { left: 20px; }
.arrow.right { right: 20px; }
.arrow:hover {
  color: var(--glow-accent);
  border-color: var(--glow-accent);
  box-shadow: 0 0 15px var(--glow-main), 0 0 25px var(--glow-accent);
}
.lightbox-content.fade-in { animation: fadeImage 0.4s ease; }
@keyframes fadeImage {
  from { opacity:0; transform:scale(0.95);}
  to { opacity:1; transform:scale(1);}
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 40px;
  background: rgba(10,10,10,0.6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1100;
  backdrop-filter: blur(6px);
}
.site-header .logo {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--glow-main);
  transform: translateY(-50px);
  opacity: 0;
  transition: all 1s ease;
}

/* Navigation */
.nav-links {
  display: flex;
  gap: 25px;
  justify-content: flex-end;
  flex-wrap: wrap;
  padding-right: 70px;
  border-radius: 10px;
  transform: translateY(-50px);
  opacity: 0;
  transition: all 1s ease;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  position: relative;
  transition: all 0.3s ease;
}
.nav-links a::after {
  content:"";
  position: absolute;
  left:0;
  bottom:-5px;
  width:100%;
  height:2px;
  background: var(--glow-main);
  transform: scaleX(0);
  transform-origin:right;
  transition: transform 0.3s ease;
}
.nav-links a:hover {
  color: var(--glow-main);
}
.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin:left;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1200;
  margin-right: 60px;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity:0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile Styles */
@media(max-width:768px){
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 60px;
    right: -250px;
    flex-direction: column;
    gap: 20px;
    background: rgba(10,10,10,0.6);
    width: 200px;
    padding: 20px;
    transition: right 0.4s ease;
    border-radius: 10px;
  }
  .nav-links.show { right: 0; }
}

/* Animations */
@keyframes fadeIn {
  from{opacity:0; transform:translateY(20px);}
  to{opacity:1; transform:translateY(0);}
}
