/* Variabel Warna Utama */
:root {
  --primary-color: #597842;      /* Forest Green */
  --accent-blue: #007bff;        /* Sky Blue untuk "Halo saya" */
  --btn-purple: #300766;         /* Royal Purple */
  --btn-hover: #453db8;          /* Indigo Blue */
  --bg-dark: #202b17;            /* Dark Olive Navbar */
  --border-green: #354b25;       /* Dark Moss Green Border */
}

body {
  background-image: url("images/bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: #ffffff;
  min-height: 100vh;
}

/* Navbar */
.bg-darkgray {
  background-color: var(--bg-dark) !important;
}

.navbar .nav-link.active {
  background-color: var(--primary-color) !important;
}

/* Hero Section Responsif */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 40px;
}

.greeting {
  color: var(--accent-blue);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 600;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.8rem);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

/* Gambar Profil Responsif */
.rounded-image {
  width: clamp(200px, 35vw, 320px);
  height: clamp(200px, 35vw, 320px);
  border-radius: 50%;
  border: 4px solid var(--border-green);
  object-fit: cover;
  margin: 0 auto;
}

/* Tombol Custom */
.btn-green {
  background-color: var(--btn-purple);
  color: #ffffff;
  padding: 0.6rem 1.5rem;
  border: none;
  transition: all 0.3s ease;
}

.btn-green:hover {
  background-color: var(--btn-hover);
  color: #ffffff;
}

.btn-social {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 0;
}

/* Galeri Styling */
.gallery-card {
  overflow: hidden;
  border-radius: 12px;
  border: 3px solid var(--border-green);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-5px);
}

.gallery-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}