/* style.css - Modern Luxury Elegant */

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #fdfcfb, #e2d1c3);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #3e3e3e;
  padding: 1rem;
}

/* Container */
.profile-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  max-width: 1100px;
}

/* Cards */
.profile-card,
.post-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08),
              0 4px 10px rgba(212, 175, 55, 0.15);
  backdrop-filter: blur(8px);
  width: 100%;
  max-width: 400px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border 0.4s ease;
  opacity: 0;
  animation: fadeInUp 0.9s ease forwards;
}

.profile-card:hover,
.post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12),
              0 6px 16px rgba(212, 175, 55, 0.35);
  border: 1px solid rgba(212, 175, 55, 0.6);
}

/* Profile Picture */
.profile-pic {
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: url('https://i.postimg.cc/rKkzpzjK/IMG-20230503-075558-572.jpg') no-repeat center center;
  background-size: cover;
  margin: 0 auto 1.2rem;
  border: 4px solid #d4af37;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.profile-pic:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.7);
}

/* Username */
.username {
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
  color: #4a3b21;
  letter-spacing: 0.5px;
}

/* Follow Button */
.btn-follow {
  display: inline-block;
  padding: 0.6rem 1.6rem;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  background: linear-gradient(90deg, #f8e8b5, #d4af37);
  color: #3e3e3e;
  font-size: 1rem;
  box-shadow: 0 4px 8px rgba(212, 175, 55, 0.3);
  transition: all 0.3s ease;
}

.btn-follow:hover {
  background: linear-gradient(90deg, #d4af37, #f8e8b5);
  color: #fff;
  box-shadow: 0 6px 14px rgba(212, 175, 55, 0.5);
}

/* Reel Title */
.reel-title {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: #6a4e1f;
  font-weight: 600;
}

/* Instagram Embed */
.post-card iframe {
  border-radius: 16px;
  border: 2px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  margin-top: 0.5rem;
  width: 100%;
}

/* Animasi Fade-in */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.profile-card { animation-delay: 0.2s; }
.post-card { animation-delay: 0.5s; }

/* Responsive Layout */
@media (min-width: 600px) {
  .profile-card,
  .post-card {
    flex: 1 1 calc(50% - 2rem);
    max-width: none;
  }
}

@media (min-width: 900px) {
  .profile-card,
  .post-card {
    flex: 1 1 calc(33.333% - 2rem);
  }
}

/* Mobile Optimization */
@media (max-width: 599px) {
  body {
    padding: 0.5rem;
  }
  .profile-card,
  .post-card {
    padding: 1.2rem;
    border-radius: 16px;
  }
  .username {
    font-size: 1.25rem;
  }
  .btn-follow {
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
  }
}
