/* General Styles */
body {
margin: 0;
padding: 0;
font-family: 'Inter', sans-serif;
background-color: #f6f1eb;
color: #333;
}

/* Header / Navbar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10px;
  background-color: transparent;
}


#footeraseli
footer {
  background: #e6ddd5;
  padding: 50px 100px 20px;
  margin-top: 100px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.footer {
  background-color: #e2d2c8;
  padding: 30px 40px 15px;
  font-family: sans-serif;
  color: #000;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-logo img {
  height: 115px;
  
}
.footer-social img {
  width: 32px;     
  height: 32px;    
  margin: 5px;  
}


.footer-nav {
  display: flex;
  gap: 30px;
}

.footer-nav a {
  text-decoration: none;
  color: #000;
  font-size: 15px;
  font-weight: 400;
}

.footer-social a {
  margin-left: 15px;
  color: #000;
  font-size: 16px;
  text-decoration: none;}

.footer hr {
  margin: 20px 0 10px;
  border: none;
  border-top: 1px solid #888;
}

.footer-bottom {
  font-size: 14px;
  color: #444;
}
/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 30px 20px 15px;
    }

    .footer-top {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .footer-social {
        justify-content: center;
    }
}


/* Menu Links */

.menu {
  display: flex;
  padding-left: 80px;
}


.menu a {
text-decoration: none;
color: #333;
font-size: 16px;
padding: 5px 15px;
border-radius: 10px;
transition: background 0.3s ease, color 0.3s ease;
}

/* Aktif dan Hover */
.menu a.active,
.menu a:hover {
background-color: #967F70;
color: #ffffff;
font-weight: bold;
}


/* RESET DAN DASAR */ 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    background-color: #f5f0ed;
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    align-items: center;
}

.hero-text {
    flex: 1;
    max-width: 600px;
    padding-left: 0px;
}

.hero-text p:first-child {
    font-size: 24px;
    color: #967F70;
    margin-bottom: 10px;
    font-family: 'Josefin Sans', sans-serif;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #000;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: bold;
}

.hero-text .desc {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 135%;
    height: auto;
    object-fit: contain;
    padding-left: 190px;
}


.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-icons img {
    width: 24px;
    height: 24px;
    transition: opacity 0.3s ease;
}

.social-icons img:hover {
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .hero-text {
        max-width: 100%;
        padding-left: 0;
    }

    .hero-image {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-image img {
        width: 100%;
        max-width: 400px;
        padding-left: 0;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text p:first-child {
        font-size: 20px;
    }

    .hero-text .desc {
        font-size: 14px;
    }

    .hero-image {
        max-width: 300px;
    }

    .hero-image img {
        max-width: 100%;
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 28px;
    }

    .hero-text p:first-child {
        font-size: 18px;
    }

    .hero-text .desc {
        font-size: 13px;
    }

    .hero-image {
        max-width: 220px;
    }

    .hero-image img {
        max-width: 100%;
        padding-left: 0;
    }

    .social-icons img {
        width: 20px;
        height: 20px;
    }
}





nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  background-color: transparent; /* atau warna navbar kamu */
}

.menu {
  display: flex;
  gap: 1rem;
}

.menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.search-bar {
  display: flex;
  align-items: center;
}

.search-form {
  position: relative;
  margin: 40px;
}


.search-form input {
  padding: 6px 32px 6px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
  width: 140px;
  margin: 0 0 0 20px;
}

.search-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #666;
}

/* Back to Top Button Styles */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background-color: transparent;
  color: rgb(0, 0, 0);
  padding: 12px 16px;
  border-radius: 50%;
  text-align: center;
  font-size: 20px;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s, transform 0.4s;
  box-shadow: 0 4px 10px rgba(157, 137, 125, 0.336);
}

.back-to-top:hover {
  background-color: #967F70;
  transform: scale(1.1);
}

/* Class untuk memunculkan tombol saat scroll */
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}



/* Global Reset */
* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Featured Projects */
.portfolio-section {
  padding: 80px 20px;
  text-align: center;
}

.section-title {
  font-size: 32px;
  margin-bottom: 40px;
  color: #333;
  font-family: 'Josefin Sans', sans-serif;
}

/* Grid Container */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 45px;
  padding: 40px 20px;
  background-color: #f6f1eb;
  max-width: 1280px;       
  margin: 0 auto;          
}

/* Card */
.portfolio-item {
  background: #efe6e1;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #000000;
  width: 100%;
  max-width: 100%;        
  height: 570px;
}

/* Image */
.portfolio-image {
  width: 100%;
  height: 296px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.portfolio-image img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

/* Content */
.portfolio-content h3 {
  font-size: 24px;
  color: #333;
  margin-bottom: 15px;
  font-weight: bold;
}

.portfolio-content p {
  color: #666;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 22px;
}

.view-more {
  color: #967F70;
  text-decoration: none;
  margin-top: auto;
  font-size: 14px;
}

.view-more:hover {
  text-decoration: underline;
}

/* View All Section */
.view-all-container {
  text-align: center;
  padding: 0 0 40px !important;
  margin-top: -30px !important;
}

.view-all {
  display: inline-flex;
  align-items: center;
  padding: 12px 30px;
  color: #967F70;
  background-color: #fff;
  border: 2px solid #967F70;
  border-radius: 10px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.view-all:hover {
  transform: translateX(5px);
  background-color: #967F70;
  color: white;
}

/* Panah */
.arrow {
  margin-left: 10px;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.view-all:hover .arrow {
  transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .portfolio-item {
    height: auto;
    padding: 20px;
  }

  .portfolio-image {
    height: 200px;
  }

  .portfolio-content p {
    font-size: 16px;
  }
}




/* SECTION ARTICLES */
.articles {
  padding: 100px 20px;
  text-align: center;
  max-width: 1280px;
  margin: 0 auto;
}

.articles h2 {
  font-size: 32px;
  color: #333;
  margin-bottom: 40px;
  font-weight: 600;
  font-family: 'Josefin Sans', sans-serif;
}

/* WRAPPER KARTU */
.article-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin-bottom: 30px;
}

/* KARTU UMUM */
.article-cards .card {
  background: #f6f1eb;
  border-radius: 28px;
  padding: 35px;
  width: 530px;
  max-width: 100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: left;
  position: relative;
  box-sizing: border-box;
  flex: 1 1 530px;
}

/* KARTU BLOG KHUSUS */
.card.blog {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex: 1 1 100%;
  gap: 30px;
  background: #f6f1eb;
  border-radius: 28px;
  padding: 35px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  flex-wrap: wrap;
}

/* GAMBAR BLOG */
.card.blog .blog-images {
  width: 45%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.blog-images img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
}

/* KONTEN TEKS BLOG */
.card.blog .blog-content {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

/* JUDUL ARTIKEL */
.article-cards .card h3 {
  font-size: 24px;
  color: #000;
  margin-bottom: 15px;
  font-weight: 600;
  font-family: 'Josefin Sans', sans-serif;
}

/* TEKS RINGKASAN */
.article-cards .card p {
  color: #666;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* TOMBOL VIEW MORE */
.view-more {
  background: #967F70;
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  font-size: 18px;
  margin-top: 15px;
  display: inline-block;
  transition: all 0.3s ease;
  text-decoration: none;
}

.view-more:hover {
  background-color: #9e7d56;
  transform: translateX(5px);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .card.blog {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }

  .card.blog .blog-content,
  .card.blog .blog-images {
    width: 100%;
  }

  .blog-images {
    grid-template-columns: repeat(2, 1fr);
    max-width: 400px;
    margin: 0 auto 20px;
  }

  .article-cards .card {
    width: 90%;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .articles {
    padding: 40px 20px;
  }

  .article-cards .card {
    width: 100%;
    max-width: 100%;
    padding: 25px;
  }

  .card.blog {
    padding: 25px;
    gap: 20px;
  }

  .card.blog .blog-images {
    max-width: 100%;
  }

  .article-cards .card p {
    font-size: 16px;
  }

  .view-more {
    font-size: 16px;
  }
}


/* About Section */
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: #f6f1eb;
    color: #333;
}

.about-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 40px;
}

/* Intro Section */
.intro-section {
    display: flex;
    gap: 80px;
    align-items: flex-start;
    margin-bottom: 90px;
}

.intro-content {
    flex: 1;
}

.intro-content h1 {
    font-size: 48px;
    margin-bottom: 30px;
    font-weight: bold;
    font-family: 'Josefin Sans', sans-serif;

}

.intro-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #444;
}

.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 30px;
    overflow: hidden;
}

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

/* Skills Section */
.skills-content-section {
    padding: 40px 0px;
    margin-bottom: 90px;
}

.skills-wrapper {
    display: flex;
    gap: 30px;
    margin-left: auto; /* Geser ke kanan */
    align-items: flex-start;
    justify-content: flex-end; /* Konten ke kanan */
    flex-wrap: nowrap;
}

.skills-content {
    flex: 1;
    min-width: 200px;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.graph-image {
    flex: 1;
    min-width: 400px;
    max-width: 500px;
    display: flex;
    justify-content:flex-end;
    align-items: center; /* Optional: jika mau vertikal tengah juga */
    margin:  auto; /* Jika ingin .graph-image sendiri di tengah */
}

.graph-image img {
    width: 100%;
    height: auto;
    display: block;
    width: 75%;
    height: auto;
}
.skills-section {
    margin-bottom: 100px;
}

.skills-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.skills-header h2 {
    font-size: 48px;
    font-weight: bold;
    font-family: 'Josefin Sans', sans-serif;

}


.skill-item {
    max-width: 800px;
}

.skill-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
    font-family: 'Josefin Sans', sans-serif;

}

.skill-item p {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
    font-family: 'Josefin Sans', sans-serif;
    
}


/* Experience Section */
.experience-section {
    padding: 40px 0px;
    margin-bottom: 90px;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.experience-header h2 {
    font-size: 48px;
    font-weight: bold;
    font-family: 'Josefin Sans', sans-serif;
}

.experience-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: flex-start; /* lebih aman */
    flex-wrap: wrap
}

.experience-content {
    flex: 1;
    min-width: 200px;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.experience-item {
    max-width: 800px;
}

.experience-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
    font-family: 'Josefin Sans', sans-serif;
}

.experience-item ul {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
    padding-left: 20px;
}

.certificate-image-wrapper {
    display: flex;
    gap: 30px;
    margin-left: auto; /* Geser ke kanan */
    align-items: flex-start;
    justify-content: flex-end; /* Konten ke kanan */
    flex-wrap: nowrap;
}

.certificate-image {
    flex: 1;
    min-width: 400px;
    max-width: 50px;
    display: flex;
    justify-content:flex-end;
    align-items: center; /* Optional: jika mau vertikal tengah juga */
    margin:  auto; /* Jika ingin .graph-image sendiri di tengah */
}


.certificate-image img {
    width: 100%;
    height: auto;
    display: block;
    width: 75%;
    height: auto;
}


/* Education Section */
.education-content-section {
    padding: 40px 0px;
    margin-bottom: 90px;
}

.education-content-section h2 {
    font-size: 48px;
    font-weight: bold;
    font-family: 'Josefin Sans', sans-serif;
    margin-bottom: -40px;
}

.education-wrapper {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.education-content {
    flex: 1;
    min-width: 200px;
    max-width: 610px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.education-item {
    max-width: 800px;
}

.education-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
    font-family: 'Josefin Sans', sans-serif;
}

.education-item p {
    font-size: 18px;
    color: #444;
    font-family: 'Josefin Sans', sans-serif;
}

.education-image {
    flex: 0 0 auto;
    width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}


.education-image img {
    width: 120%;
    height: auto;
    display: block;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .intro-section {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .profile-image {
        width: 250px;
        height: 250px;
    }

    .skills-header, .section-header {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .graph-image, .certificate-image, .education-icon {
        width: 250px;
    }

    .skills-content, .experience-content, .education-content {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-container {
        padding: 20px;
    }

    .intro-content h1, .skills-header h2, .section-header h2 {
        font-size: 36px;
    }
}


#portofolio
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.projects h1 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 20px;
    font-family: 'Josefin Sans', sans-serif;
    
}

.subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #0d0d0d;
    line-height: 1.6;
    font-size: 20px;
    font-family: 'Josefin Sans', sans-serif;
}

.project-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.project-card {
    background: #e6ddd5;
    border-radius: 15px;
    padding: 30px;
    display: flex;
    gap: 30px;
    transition: transform 0.3s ease;
    border: 2px solid #101010;
    position: relative; 
    min-height: 200px;   
    width: 100%; 
    max-width: 800px; 
    min-height: 200px; 
    height: auto; 
    margin-left: auto;
    margin-right: auto;
}

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

.project-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.project-content h2 {
    font-size: 1.5em;
    margin-bottom: 15px;
    font-family: 'Josefin Sans', sans-serif;
}

/* Tombol diletakkan di pojok kiri bawah */
.view-details {
    position: absolute;
    bottom: 20px;
    left: 30px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    background-color: #f2eae3;
    padding: 10px 15px;
    border-radius: 8px;
    transition: background-color 0.3s ease, text-decoration 0.3s ease;
}

.view-details:hover {
    text-decoration: underline;
    background-color: #d0c4ba;
}


.project-image {
    flex: 0 0 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 20px;
}

.project-image img {
    max-width: 100%;
    height: auto;
}

#blog
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f5f0ed;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 45px;
}

.logo img {
    max-height: 150px;       
    display: block;         
    margin: 0;
    padding: 0;
}


/* === WELCOME SECTION === */
.welcome-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #f6f1eb, #f4ede7);
  padding: 60px 80px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  margin: 40px auto;
  max-width: 1200px;
}

/* === TEXT === */
.welcome-content {
  max-width: 55%;
}

.welcome-content h1 {
  font-size: 60px;
  font-weight: 700;
  color: #6b5645;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.2);
  font-family: 'Josefin Sans', sans-serif;
}

.welcome-content p {
  font-size: 20px;
  line-height: 1.7;
  color: #1e1e1e;
  font-family: 'Josefin Sans', sans-serif;
}

/* === IMAGE (Single collage image) === */
.welcome-gallery img {
  width: 340px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  object-fit: cover;
}


.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.gallery-grid img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.gallery-next {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    background: #967F70;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Josefin Sans', sans-serif;
    visibility: hidden; 
}

.gallery-next:hover {
    background: #876f61;
    transform: translateY(-50%) scale(1.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .welcome-section {
        margin: 40px;
        flex-direction: column;
        text-align: center;
    }

    .welcome-content p {
        max-width: 100%;
    }

    .welcome-gallery {
        width: 100%;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .welcome-section {
        margin: 20px;
        padding: 30px;
    }

    .welcome-content h1 {
        font-size: 32px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}



/* Container Kategori */
.blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 25px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

/* Item Kategori */
.blog-categories a {
    display: inline-block;
    text-decoration: none;
    color: #555;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background-color: transparent;;
    border: 1px solid transparent;;
    font-family: 'Josefin Sans', sans-serif;
}

/* Hover State */
.blog-categories a:hover {
    color: #967F70;
    background-color: transparent;
    border-color: transparent;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Active State */
.blog-categories a.active {
    color: #000000;
    background-color: transparent;
    border-color: transparent;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(188, 192, 198, 0.3);
    font-family: 'Josefin Sans', sans-serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-categories {
        gap: 8px;
        margin: 20px 0;
        padding-bottom: 15px;
    }
    
    .blog-categories a {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

/* Animation untuk Active State */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(44, 123, 229, 0); }
    100% { box-shadow: 0 0 0 0 rgba(44, 123, 229, 0); }
}

.blog-categories a.active {
    animation: pulse 1.5s ease-in-out;
}

.blog-posts {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px;
    margin: 0 100px;
    padding: 20px 0;
}

.blog-card {
    background: #f8f8f8; /* Warna background sesuai gambar */
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
}

.blog-card img {
    width: 100%;
    height: 300px; 
    object-fit: cover;
    display: block;
}

.blog-card .post-date {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.blog-card .more-options {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #333;
    font-size: 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Josefin Sans', sans-serif;
}

.blog-card h2 {
    padding: 20px 20px 10px;
    margin: 0;
    font-size: 20px;
    color: #000;
    line-height: 1.4;
    font-weight: bold;
    font-family: 'Josefin Sans', sans-serif;
}

.blog-card p {
    padding: 0 20px 20px;
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    font-family: 'Josefin Sans', sans-serif;
}

.post-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-top: 1px solid #eee;
}

.action-icons {
    display: flex;
    gap: 20px;
}

.action-icons i, .like i {
    font-size: 18px;
    color: #666;
}

.action-icons span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.like {
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.like:hover, .action-icons span:hover {
    color: #ff4b6e; }

@media (max-width: 1024px) {
    .blog-posts {
        margin: 0 50px;
    }
}

@media (max-width: 768px) {
    .blog-posts {
        grid-template-columns: 1fr;
        margin: 0 20px;
    }

    .blog-categories {
        margin: 20px 50px;
    }

    .blog-card h2 {
        font-size: 18px;
        font-family: 'Josefin Sans', sans-serif;
    }
}





* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Josefin Sans', sans-serif;
}

body {
    background-color: #f5f0ed;
}



main {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1;
}

h2 {
    font-size: 48px;
    margin-bottom: 40px;
    font-family: 'Josefin Sans', sans-serif;
    
}

.info-item {
    margin-bottom: 25px;
}

.info-item h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.info-item p {
    color: #000000;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.social-links a {
    color: #000000;
    text-decoration: none;
}

.social-links a:hover {
    color: #333;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #000000;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #000000;
    border-radius: 5px;
    background-color: #e6ddd5;
}

textarea {
    height: 150px;
    resize: vertical;
}

.contact-form {
    flex: 1;
}

.submit-container {
    display: flex;
    justify-content: center;  
    margin-top: 20px;        
}

button {
    background-color: #e6ddd5;
    color: #000000;
    border: 1px solid #000000;
    padding: 10px 25px;
    border-radius: 10px;
    cursor: pointer;
}

button:hover {
    background-color: #c4b6aa;
  }


.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #fff;
    font-family: Arial, sans-serif;
}

.breadcrumb {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #967F70;
}

.post-header {
    margin-bottom: 30px;
}

.post-header h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.post-meta {
    font-size: 14px;
    color: #666;
    display: flex;
    gap: 20px;
}

.post-meta .author {
    font-weight: 500;
}

.post-content {
    line-height: 1.8;
}

.featured-image {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
    border-radius: 8px;
}

.post-content p {
    color: #333;
    font-size: 16px;
    margin-bottom: 20px;
}

.engagement {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.engagement > div {
    display: flex;
    align-items: center;
    gap: 5px;
}

.engagement img {
    width: 20px;
    height: 20px;
    opacity: 0.7;
}

.engagement span {
    color: #666;
    font-size: 14px;
}

.comments-section {
    margin-top: 50px;
}

.comments-section h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.comment-form textarea {
    width: 100%;
    min-height: 100px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: vertical;
    font-family: inherit;
    font-size: 14px;
}

.comment-form textarea:focus {
    outline: none;
    border-color: #967F70;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-post {
        padding: 20px 15px;
    }

    .post-header h1 {
        font-size: 28px;
    }

    .post-content p {
        font-size: 15px;
    }
}

.body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f6f1eb;
}

.blog-post {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 36px;
    height: 36px;
    background-color: #967F70;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.author-meta {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 500;
    color: #333;
    margin-bottom: 2px;
}

.post-details {
    display: flex;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.more-options {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0 10px;
}

.post-title {
    font-size: 36px;
    color: #333;
    margin: 20px 0 30px;
    line-height: 1.3;
}

.featured-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 30px;
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.benefits-list li {
    margin-bottom: 15px;
    padding-left: 10px;
}

.conclusion {
    margin: 30px 0;
    font-weight: 500;
}

.cta {
    font-size: 18px;
    color: #967F70;
    text-align: center;
    margin: 40px 0;
}

.engagement {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin: 30px 0;
}

.stats {
    display: flex;
    gap: 20px;
}

.stats span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 14px;
}

.stats img, .like-btn img {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

.like-btn {
    background: none;
    border: none;
    cursor: pointer;
}

.comments-section {
    margin-top: 40px;
}

.comments-section h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
}

.post-link {
    text-decoration: none;
    color: inherit;
}

.post-link:hover {
    text-decoration: underline;
}

.comment-form textarea {
    width: 100%;
    min-height: 100px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: vertical;
    font-family: inherit;
    margin-bottom: 30px;
}


@media (max-width: 768px) {
    .blog-post {
        margin: 20px auto;
        padding: 0 15px;
    }

    .post-title {
        font-size: 28px;
    }

    .article-content {
        font-size: 15px;
    }
}

/* ... existing code ... */

.recent-posts {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 20px;
    color: #333;
    font-weight: 500;
}

.see-all {
    color: #967F70;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.see-all:hover {
    color: #7a6759;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.post-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

.post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-card h3 {
    padding: 16px;
    margin: 0;
    font-size: 16px;
    color: #333;
    line-height: 1.4;
}

.post-stats {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-top: 1px solid #eee;
    gap: 16px;
}

.post-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #666;
    font-size: 14px;
}

.post-stats img {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

.like-btn {
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    transition: transform 0.2s ease;
}

.like-btn:hover {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .post-grid {
        grid-template-columns: 1fr;
    }

    .post-card img {
        height: 180px;
    }

    .section-header h2 {
        font-size: 18px;
    }
}
.stats span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 14px;
}

.stats i, .like-btn i {
    font-size: 16px;
    color: #666;
}

.like-btn {
    background: none;
    border: none;
    cursor: pointer;
}

.like-btn:hover i {
    color: #967F70;
    transform: scale(1.1);
}

/* Untuk animasi ketika di-like */
.like-btn.active i {
    color: #967F70;
    font-weight: 900; /* Solid heart ketika aktif */
}

/* Related Posts Section */
.related-posts {
  max-width: 800px;
  margin: 40px auto 0;
  padding: 20px 0;
  border-top: 1px solid #eee;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: -75px;
}

.section-header h2 {
  font-size: 1.2rem;
  margin: 0;
  color: #333;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-header .see-all {
  font-size: 0.9rem;
  color: #000000;
  text-decoration: none;
  font-weight: 500; 
  letter-spacing: 0.3px; 
  padding: 6px 12px; 
  border-radius: 20px; 
  transition: all 0.3s ease; 
  border: 1px solid transparent; 
  display: inline-flex;
  align-items: center;
  gap: 4px; 
}

.section-header .see-all:hover {
  color: #967F70;
  background-color: rgba(13, 13, 13, 0.08); 
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px); 
}

/* Opsi dengan icon panah */
.section-header .see-all::after {
  content: "→";
  font-size: 0.9em;
  transition: transform 0.3s ease;
}

.section-header .see-all:hover::after {
  transform: translateX(2px);
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.post-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

.post-card:hover {
  transform: translateY(-3px);
}

.post-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.card-content {
  padding: 16px;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: #d11414;
  line-height: 1.4;
}

.card-title a {
  color: inherit;
  text-decoration: none;
}

.card-title a:hover {
  color: #967F70;
}

.card-meta {
  font-size: 0.8rem;
  color: #888;
  margin-top: 8px;
}

/* Base Styles */
.portfolio-detail {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  color: #333;
  line-height: 1.6;
}

/* Project Header */
.project-header {
  text-align: center;
  margin: 60px 0 40px;
}

.project-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin: 0 0 10px;
  color: #000;
  line-height: 1.2;
}

.project-type {
  display: inline-block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #967F70;
  font-weight: 600;
  margin-bottom: 5px;
  padding: 4px 12px;
  background: rgba(150, 127, 112, 0.1);
  border-radius: 20px;
}

.project-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin: 0 0 20px;
}

.project-link {
  display: inline-block;
  padding: 10px 24px;
  background: #967F70;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-top: 15px;
}

.project-link:hover {
  background: #7a6659;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(150, 127, 112, 0.2);
}
.card.blog {
  display: flex;
  align-items: center; 
  gap: 16px; 
}

.blog-cover {
  width: 500px; 
  height: auto;
}

.blog-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.blog-text h3 {
  margin: 0;
  text-align: left;
}

.blog-text p {
  margin: 4px 0 0;
}


/* Project Description */
.project-description {
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
  text-align: center;
  color: #444;
}

/* Project Gallery */
.project-gallery {
  display: flex;
  justify-content: center;
  margin: 30px 0 40px;
}

.project-gallery img {
  width: auto; 
  max-width: 600px; 
  max-height: 400px; 
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  object-fit: contain;
}

.project-gallery img:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Project Details */
.project-details {
  max-width: 800px;
  margin: 0 auto;
}

.detail-section {
  margin-bottom: 50px;
}

.detail-section h2 {
  font-size: 1.8rem;
  color: #000;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}

.detail-section p {
  margin-bottom: 20px;
}

.detail-section ul {
  padding-left: 20px;
  margin: 20px 0;
}

.detail-section li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.detail-section li::before {
  content: "•";
  color: #967F70;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Project Navigation */
.project-navigation {
  display: flex;
  justify-content: space-between;
  margin: 80px 0 40px;
  padding: 30px 0;
  border-top: 1px solid #eee;
}

.nav-button {
  padding: 12px 25px;
  background: #f5f5f5;
  color: #333;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-button:hover {
  background: #967F70;
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .project-header h1 {
    font-size: 2.2rem;
  }
  
  .project-description {
    font-size: 1rem;
  }
  
  .project-gallery {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .project-navigation {
    flex-direction: column;
    gap: 15px;
    margin: 60px 0 30px;
  }
  
  .nav-button {
    text-align: center;
  }
  
  .detail-section h2 {
    font-size: 1.5rem;
  }
}