@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Open+Sans:wght@400;600&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Baloo Thambi 2', cursive;
    background-color: #d5d7c3;  
    color: #1f1f1f;
}

header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
}

/* Logo */
.logo img {
    height: 50px;
}

/* Navigation Menu */
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: black;
    font-weight: 400;
    transition: 0.3s;
}

.nav-links li a.active {
    font-weight: 700;
}

.nav-links li a:hover {
    font-weight: 700;
}

/* Contact Section Layout */
.contact-section {
  max-width: 1200px;  /* atau 90% jika ingin fleksibel */
  margin: 50px auto;
  padding: 0 3rem;     /* spasi kiri-kanan */
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}


/* Header */
.contact-section h2 {
    font-size: 5rem;
    font-family: 'Bigshot One', cursive;
    color: #000;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
}

/* Subtitle */
.subtitle {
    font-size: 2.5rem;
    margin-bottom: 60px;
    line-height: 1.4;
}

.subtitle span {
    color: #5e633c;
    font-style: italic;
}

/* Layout Container */
.contact-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Form and Info widths */
.contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Form Input Styles */
.contact-form input,
.contact-form textarea {
    background-color: #b5b89e;
    border: none;
    padding: 18px 20px;
    border-radius: 20px;
    font-size: 1.2rem;
    color: #ffffff;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #1f1f1f;
}

.contact-form label {
    width: 100%;
}

.contact-form textarea {
    height: 240px;
    resize: none;
}

/* Autofill background fix */
.contact-form input:-webkit-autofill,
.contact-form input:-webkit-autofill:hover,
.contact-form input:-webkit-autofill:focus,
.contact-form textarea:-webkit-autofill,
.contact-form textarea:-webkit-autofill:hover,
.contact-form textarea:-webkit-autofill:focus {
    background-color: #b5b89e !important;
    -webkit-box-shadow: 0 0 0px 1000px #b5b89e inset !important;
    color: #1f1f1f !important;
    transition: background-color 5000s ease-in-out 0s;
    font-family: 'Open Sans', sans-serif;
}

/* Button */
.contact-form button {
    display: none;  
}

/* Contact Info */
.contact-info {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.info-box {
    background-color: #e5e5e5;
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Icon Style */
.info-box i {
    font-size: 24px;
    margin-bottom: 15px;
    color: #000;
}

/* Layout dua kolom */
.contact-container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
}

/* Form dan info ukuran masing-masing */
.contact-form {
  flex: 8;
}

.contact-info {
  flex: 1;
  flex-direction: column;
}


/* Animations */
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}

footer {
  background-color: #ffffff;
  padding: 30px 6%;
  font-family: 'Playfair Display', serif;
  margin-top: 60px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}

/* LOGO + ICON */
.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo img {
  width: 140px; 
  margin-bottom: 15px;
}

.social-icons a {
  margin-right: 10px;
  font-size: 1.3rem;
  color: #2f2f2f;
}

/* NAVIGASI */
.footer-nav-title {
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  gap: 25px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 6px;
}

.footer-links ul li a {
  text-decoration: none;
  color: #333;
  font-size: 0.95rem;
}

/* KONTAK */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-item {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: #333;
}

.contact-item i {
  margin-right: 10px;
  color: #2f2f2f;
}

/* COPYRIGHT */
.copyright {
  text-align: center;
  padding: 12px;
  font-size: 0.8rem;
  color: #5e6650;
  background-color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-info {
    flex-direction: column;
  }
  
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .footer-contact {
    align-items: center;
  }

  .social-icons {
    justify-content: center;
    margin-top: 10px;
  }
}

/* Form Input Styles */
.contact-form input,
.contact-form textarea {
    background-color: #b5b89e;
    border: none;
    padding: 18px 20px;
    border-radius: 20px;
    font-size: 1.2rem;
    color: #1f1f1f;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #1f1f1f;
}

.contact-form label {
    width: 100%;
}

.contact-form textarea {
    height: 240px;
    resize: none;
}

/* Button */
.contact-form button {
    background-color: #545748;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s;
    width: auto;
    display: inline-block;
}

.contact-form button:hover {
    background-color: #3e4135;
}