/* ===== GLOBAL ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  width: 100%;
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
}

/* ===== NAVBAR ===== */
nav {
  position: sticky;
  top: 0;
  width: 100%;
  height: 70px;
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 60px;
  border-radius: 50%;
}

.logo h2 {
  margin-left: 10px;
  color: #6f4e37;
  font-size: 24px;
  font-weight: bold;
}

.navbar {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
}

.navbar a {
  text-decoration: none;
  color: #6f4e37;
  font-weight: bold;
  position: relative;
  padding: 10px 0;
  transition: color 0.3s ease;
}

.navbar a:hover,
.navbar a.active {
  color: #d9a066;
}

.navbar a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 3px;
  bottom: -4px;
  left: 0;
  background: linear-gradient(to right, #6f4e37, #d9a066);
  transition: width 0.4s ease;
}

.navbar a:hover::after,
.navbar a.active::after {
  width: 100%;
}

/* ===== NAV ICONS ===== */
.nav-icons {
  display: flex;
  gap: 20px;
}

.nav-icons a {
  position: relative;
  text-decoration: none;
  color: #5d4037;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Bounce + Color Change */
.nav-icons a:hover {
  color: #d9a066;
  animation: iconBounce 0.5s ease;
}

@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px) scale(1.2); }
}

.nav-icons .badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: red;
  color: white;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 50%;
}

.profile-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #aca09c;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.profile-icon:hover {
  background: #8d6e63;
  transform: rotate(10deg) scale(1.1);
}

/* ===== MENU ICON ===== */
.menu-icon {
  display: none;
  font-size: 30px;
  color: #6f4e37;
  cursor: pointer;
}
/* ===== HERO SECTION ===== */
.hero {
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
              url("../img/contactPage/background.png") no-repeat center/cover;
  color: white;
  padding: 20px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  
  z-index: 1;
}

.hero > * {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
}

/* ===== CONTACT SECTION ===== */
.contact {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #fff 0%, #f8f5f1 100%);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(199, 125, 54, 0.3), transparent);
}

.contact h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #c77d36;
  font-weight: 700;
}

.contact p {
  margin-bottom: 50px;
  font-size: 16px;
  color: black;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== CONTACT CONTAINER ===== */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-image {
  object-fit: cover;
  width: 100%;
  height: 400px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* ===== CONTACT INFO ===== */
.contact-info {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  text-align: left;
}

section h2 {
  font-size: 2.5rem;
  color: #6f4e37;
  margin-bottom: 40px;
  text-align: center;
  font-weight: 700;
  position: relative;
  transition: transform 0.3s ease;
}
section h2:hover {
  transform: scale(1.02);
}

section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #6f4e37, #d9a066);
  border-radius: 2px;
  transition: width 0.3s ease;
}

section h2:hover::after {
  width: 100px;
}
.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: #c77d36;
  font-weight: 600;
  position: relative;
}

.contact-info h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #c77d36, #d9a066);
  border-radius: 2px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(199, 125, 54, 0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(199, 125, 54, 0.1);
  transform: translateX(5px);
}

.contact-item i {
  font-size: 24px;
  color: #c77d36;
  width: 30px;
  text-align: center;
}

.contact-item p {
  margin: 0;
  font-size: 15px;
  color: black;
  font-weight: 500;
}


/* ===== SOCIAL ICONS ===== */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  justify-content: center;
  align-items: center;
}

.social-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(45deg, #c77d36, #d9a066);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 20px rgba(199, 125, 54, 0.3);
  background: linear-gradient(45deg, #d9a066, #c77d36);
}
/* ===== CONTACT FORM ===== */
.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e0d7d1;
  border-radius: 12px;
  background: #faf8f6;
  font-size: 15px;
  outline: none;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #c77d36;
  background: #fff;
  box-shadow: 0 0 8px rgba(199, 125, 54, 0.2);
}

.form-group label {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  font-size: 14px;
  color: #888;
  pointer-events: none;
  transition: 0.3s ease all;
}

/* Floating label effect */
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -10px;
  left: 12px;
  font-size: 12px;
  color: #c77d36;
  background: #fff;
  padding: 0 5px;
  border-radius: 4px;
}

/* Submit Button */
.submit-btn {
  background: linear-gradient(45deg, #c77d36, #d9a066);
  color: white;
  border: none;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: linear-gradient(45deg, #d9a066, #c77d36);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(199, 125, 54, 0.3);
}

.submit-btn i {
  font-size: 18px;
}

/* ===== FOOTER ===== */
footer {
  background: #6f4e37;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  opacity: 0;
  transform: translateY(50px);
  animation: slideUp 1s ease-out forwards;
}

footer ul {
  list-style: none;
  display: flex;
  gap: 15px;
}

footer ul li a {
  color: white;
  font-size: 24px;
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
}

footer ul li a:hover {
  transform: scale(1.3) rotate(-10deg);
  color: #ffcc70;
  text-shadow: 0 0 10px rgba(255, 204, 112, 0.8);
}

/* ===== ANIMATIONS ===== */
@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    display: none;
  }

  .navbar.show {
    display: flex;
  }

  .menu-icon {
    display: block;
  }

  .nav-icons {
    display: none;
  }
}
@media (max-width: 768px) {
  footer {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding: 20px;
  }

  footer ul {
    justify-content: center;
    flex-wrap: wrap; /* allow icons wrap */
  }

  footer .left,
  footer .right {
    font-size: 0.9rem;
  }
}


/* ===== ANIMATIONS ===== */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-image {
    height: 250px;
  }
}
@media (max-width: 768px) {
  .navbar {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    display: none;
  }

  .navbar.show {
    display: flex;
  }

  .menu-icon {
    display: block;
  }

  .nav-icons {
    display: none;
  }
}
