/* Importing Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* CSS Variables */
:root {
  --primary-moss: #4A5D4E;
  --primary-dark: #3B4A3E;
  --primary-light: #6E8472;
  --bg-cream: #FDFBF7;
  --bg-cream-warm: #F4EFEA;
  --accent-gold: #C5A059;
  --accent-gold-dark: #A37F3F;
  --accent-green: #8A9A86;
  --text-dark: #2C3E35;
  --text-muted: #5C6E63;
  --text-white: #FFFFFF;
  --shadow-sm: 0 4px 8px rgba(74, 93, 78, 0.05);
  --shadow-md: 0 12px 24px rgba(74, 93, 78, 0.08);
  --shadow-lg: 0 20px 40px rgba(74, 93, 78, 0.12);
  --font-title: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
}

/* Reset Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.2;
}

p {
  color: var(--text-muted);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-cream-warm);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-moss);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Layout Utilities */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-padding {
  padding: 6rem 0;
}

.text-center {
  text-align: center;
}

.section-title-wrapper {
  margin-bottom: 4rem;
  text-align: center;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--accent-gold);
}

.section-subtitle {
  font-style: italic;
  color: var(--accent-gold-dark);
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background-color: var(--primary-moss);
  color: var(--text-white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-moss);
  border: 2px solid var(--primary-moss);
}

.btn-secondary:hover {
  background-color: var(--primary-moss);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background-color: var(--accent-gold);
  color: var(--text-white);
}

.btn-gold:hover {
  background-color: var(--accent-gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Sticky Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background-color: rgba(74, 93, 78, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.85rem 0;
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-svg {
  width: 40px;
  height: 40px;
  fill: var(--text-white);
  transition: transform 0.4s ease;
}

.logo-text {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text-white);
}

/* In initial transparent navbar mode on white background, it might need text colors. 
   But wait, the Hero section will have a dark image background or a moss green overlay 
   OR the initial hero is creamy. Let's make navbar elements default to white text if the 
   Hero background is moss-green, OR we can default navbar text to moss green and change to white on scroll!
   Wait, if initial background is Cream, navbar text should be Moss Green, and when scrolled, background is Moss Green and text changes to Cream/White!
   Let's check:
   Yes! Let's make:
   Default: text/logo color is `--primary-moss`.
   When scrolled: text/logo color is `white`, background is `--primary-moss` with blur.
   Let's style it dynamically to be super elegant.
*/

.navbar .logo-text, .navbar .nav-link {
  color: var(--primary-moss);
}
.navbar .logo-svg {
  fill: var(--primary-moss);
}

.navbar.scrolled .logo-text, .navbar.scrolled .nav-link {
  color: var(--text-white);
}
.navbar.scrolled .logo-svg {
  fill: var(--text-white);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  opacity: 0.85;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-moss);
  margin: 5px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled .mobile-nav-toggle span {
  background-color: var(--text-white);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-cream-warm) 100%);
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}

/* Hero decorative background blobs */
.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
}

.hero::before {
  width: 300px;
  height: 300px;
  background: rgba(197, 160, 89, 0.1);
  top: 10%;
  right: -5%;
}

.hero::after {
  width: 400px;
  height: 400px;
  background: rgba(74, 93, 78, 0.08);
  bottom: -10%;
  left: -10%;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-gold-dark);
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-title span {
  color: var(--accent-gold);
}

.hero-desc {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

.hero-cta {
  display: flex;
  gap: 1rem;
}

/* Floating Logo Hero */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-logo-wrapper {
  animation: float 6s ease-in-out infinite;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-svg {
  width: 250px;
  height: 250px;
  fill: var(--primary-moss);
  filter: drop-shadow(0 15px 30px rgba(74, 93, 78, 0.15));
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(1deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

/* About Section */
.about {
  background-color: var(--bg-cream-warm);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 60%, rgba(44, 62, 53, 0.4));
}

.about-image {
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.about-image-wrapper:hover .about-image {
  transform: scale(1.05);
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-history h3 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.about-vision-mission {
  margin-top: 1rem;
}

.vm-tab-container {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(74, 93, 78, 0.15);
  padding-bottom: 0.5rem;
}

.vm-tab {
  font-family: var(--font-body);
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 1rem;
  color: var(--text-muted);
  position: relative;
  transition: all 0.3s;
}

.vm-tab.active {
  color: var(--primary-moss);
}

.vm-tab.active::after {
  content: '';
  position: absolute;
  bottom: -9px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent-gold);
}

.vm-content {
  display: none;
  animation: fadeIn 0.5s ease forwards;
}

.vm-content.active {
  display: block;
}

.vm-content ul {
  list-style: none;
  padding-left: 0;
}

.vm-content li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

.vm-content li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-weight: bold;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Anggota Section */
.anggota {
  background-color: var(--bg-cream);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem;
}

/* Specific Grid for Members to allow smaller layout (30+ members) */
.anggota-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.anggota-card {
  background-color: var(--bg-cream-warm);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(74, 93, 78, 0.05);
}

.anggota-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(197, 160, 89, 0.2);
}

.anggota-img-wrapper {
  height: 320px;
  overflow: hidden;
  position: relative;
}

/* Specific height for member card image in members grid */
.anggota-grid .anggota-img-wrapper {
  height: 220px;
}

.anggota-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.anggota-card:hover .anggota-img {
  transform: scale(1.08);
}

.anggota-info {
  padding: 1.5rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Specific padding for members grid */
.anggota-grid .anggota-info {
  padding: 1rem;
}

.anggota-name {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
  color: var(--primary-dark);
}

/* Specific font size for member name in members grid */
.anggota-grid .anggota-name {
  font-size: 1.1rem;
}

.anggota-role {
  font-size: 0.85rem;
  color: var(--accent-gold-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

/* Specific spacing for member role in members grid */
.anggota-grid .anggota-role {
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
}

.anggota-btn-wrapper {
  margin-top: auto;
}

/* Smaller button style for members grid */
.anggota-grid .btn {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}

/* Berita & Kegiatan Section */
.berita {
  background-color: var(--bg-cream-warm);
}

.berita-card {
  background-color: var(--bg-cream);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(74, 93, 78, 0.03);
}

.berita-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(197, 160, 89, 0.15);
}

.berita-img-wrapper {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.berita-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.berita-card:hover .berita-img {
  transform: scale(1.06);
}

.berita-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--primary-moss);
  color: var(--text-white);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.berita-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.berita-date {
  font-size: 0.8rem;
  color: var(--accent-gold-dark);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.berita-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 3.24rem; /* fallback for box-orient support */
  line-height: 1.2;
}

.berita-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 4.3rem;
  line-height: 1.6;
}

.berita-card .btn {
  width: 100%;
  margin-top: auto;
}

/* Modal Pop-up Berita */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(44, 62, 53, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background-color: var(--bg-cream);
  border-radius: var(--border-radius-lg);
  width: 100%;
  max-width: 750px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(197, 160, 89, 0.15);
}

.modal-overlay.open .modal-container {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(253, 251, 247, 0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 10;
  transition: all 0.3s;
}

.modal-close-btn:hover {
  background-color: var(--accent-gold);
  color: var(--text-white);
  transform: rotate(90deg);
}

.modal-close-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.modal-image-wrapper {
  height: 350px;
  overflow: hidden;
  position: relative;
}

.modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-header-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem 2rem 1rem;
  background: linear-gradient(to top, rgba(44, 62, 53, 0.9) 0%, transparent 100%);
  color: var(--text-white);
}

.modal-badge {
  background-color: var(--accent-gold);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.modal-date {
  font-size: 0.8rem;
  opacity: 0.9;
  margin-bottom: 0.25rem;
}

.modal-title {
  font-size: 1.8rem;
  color: var(--text-white);
}

.modal-body {
  padding: 2rem;
}

.modal-body p {
  color: var(--text-dark);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  white-space: pre-line;
}

/* Detail Anggota Page Styles */
.detail-page {
  background-color: var(--bg-cream);
  min-height: 100vh;
}

.detail-nav {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(74, 93, 78, 0.1);
  background-color: var(--bg-cream);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-moss);
  font-weight: 600;
  font-size: 0.95rem;
}

.back-link:hover {
  color: var(--accent-gold-dark);
  transform: translateX(-3px);
}

.profile-section {
  padding: 4rem 0 3rem;
  background: linear-gradient(180deg, var(--bg-cream-warm) 0%, var(--bg-cream) 100%);
}

.profile-grid {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 4rem;
  align-items: start;
}

.profile-photo-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(197, 160, 89, 0.2);
}

.profile-photo {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.profile-info h1 {
  font-size: 3rem;
  margin-bottom: 0.25rem;
  color: var(--primary-dark);
}

.profile-role {
  font-size: 1.1rem;
  color: var(--accent-gold-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  display: block;
}

.profile-bio {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.social-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-dark);
  font-weight: 500;
}

.contact-item svg {
  width: 20px;
  height: 20px;
  fill: var(--primary-moss);
}

.contact-item a:hover {
  color: var(--accent-gold);
}

.prokja-section {
  background-color: var(--bg-cream-warm);
}

.prokja-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.prokja-card {
  background-color: var(--bg-cream);
  padding: 2rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--primary-moss);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.prokja-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.prokja-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.prokja-status {
  align-self: flex-start;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.prokja-status.berjalan {
  background-color: rgba(74, 93, 78, 0.1);
  color: var(--primary-dark);
}

.prokja-status.selesai {
  background-color: rgba(197, 160, 89, 0.15);
  color: var(--accent-gold-dark);
}

.prokja-status.perencanaan {
  background-color: #ECE7DF;
  color: #7A746B;
}

.goals-section {
  background-color: var(--bg-cream);
}

.goals-list {
  max-width: 800px;
  margin: 0 auto;
  list-style: none;
}

.goal-item {
  background-color: var(--bg-cream-warm);
  padding: 1.5rem 2rem;
  border-radius: var(--border-radius-md);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: transform 0.3s;
}

.goal-item:hover {
  transform: translateX(10px);
}

.goal-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-moss);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.goal-text {
  font-size: 1.05rem;
  color: var(--text-dark);
  font-weight: 500;
}

/* Footer Section */
.footer {
  background-color: var(--primary-dark);
  color: var(--text-white);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-white);
}

.footer-logo .logo-svg {
  fill: var(--text-white);
  width: 45px;
  height: 45px;
}

.footer-logo-text {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.footer-links h4, .footer-contact h4 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.footer-nav-link:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-gold);
  flex-shrink: 0;
}

.footer-socials {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.footer-social-link:hover {
  background-color: var(--accent-gold);
  transform: translateY(-3px);
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
  fill: var(--text-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* Animations for scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: all 0.9s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.reveal.reveal-left {
  transform: translateX(-40px);
}

.reveal.reveal-right {
  transform: translateX(40px);
}

.reveal.active {
  opacity: 1;
  transform: translate(0);
}

/* Mobile Responsiveness styling */
@media (max-width: 992px) {
  html {
    font-size: 15px;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 4rem;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-logo-svg {
    width: 200px;
    height: 200px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-image {
    height: 350px;
  }
  
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .profile-photo-wrapper {
    max-width: 300px;
    margin: 0 auto;
  }
  
  .profile-photo {
    height: 360px;
  }
  
  .social-contacts {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .navbar {
    background-color: var(--bg-cream-warm);
    padding: 1rem 0;
  }
  
  .navbar.scrolled {
    background-color: var(--primary-moss);
  }
  
  .navbar.scrolled .mobile-nav-toggle span {
    background-color: var(--text-white);
  }
  
  .mobile-nav-toggle {
    display: block;
    z-index: 1001;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-cream-warm);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease;
  }
  
  .navbar.scrolled .nav-links {
    background-color: var(--primary-dark);
  }
  
  .nav-links.open {
    right: 0;
  }
  
  .nav-link {
    font-size: 1.1rem;
    display: block;
    width: 100%;
  }
  
  .navbar.scrolled .nav-link {
    color: var(--text-white);
  }
  
  .navbar:not(.scrolled) .nav-link {
    color: var(--primary-moss);
  }
  
  /* Hambuger Icon Transformations */
  .mobile-nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
}

/* Sideways Slide Animation for New Items */
@keyframes slideInFromRight {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.slide-in-right {
  animation: slideInFromRight 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
