* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: radial-gradient(#111, #000);
  font-family: 'Segoe UI', sans-serif;
  color: #fff;
  overflow-x: hidden;
}

header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.4);
  z-index: 1000;
  padding: 1rem 2rem;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav h1 {
  font-size: 1.5rem;
  color: #0ff;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #0ff;
}

.about {
  padding: 2rem;
  text-align: center;
}

.gallery-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 4rem 2rem;
}

.card {
  width: 280px;
  height: 180px;
  perspective: 1000px;
}

.inner-card {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.card:hover .inner-card {
  transform: rotateY(180deg);
}

.front, .back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

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

.back {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.back p {
  font-size: 1rem;
  color: #fff;
  text-align: center;
}

footer {
  text-align: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
  margin-top: 4rem;
}
/* Social Media Section */
.socials {
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  margin-top: 2rem;
}

.socials h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #0ff;
}

.social-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.icon {
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  border: 2px solid #0ff;
  color: #0ff;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.icon:hover {
  background: #0ff;
  color: #000;
  box-shadow: 0 0 20px #0ff, 0 0 40px #0ff;
}
