@import url('https://fonts.googleapis.com/css2?family=Nexa:wght@400;700&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: 'Nexa', sans-serif;
  background-color: #f2eded;
}

#first-look {
  background-color: #161515;
  color: #f2eded;
  height: auto;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 60px;
  margin-top: 20px;
}

.logo img {
  height: 100px; /* or whatever size suits */
  width: auto;
  display: block;
}

.nav-menu a:focus {
  outline: none;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-menu a {
  position: relative;
  text-decoration: none;
  color: #f2eded;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 1px;
  display: inline-block;
  transition: transform 0.3s ease;
  line-height: 1; /* keeps space consistent */
  padding: 0px 20px;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background-color: #f2eded;
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  transform: scale(1.1); /* instead of font-size change */
}

.nav-menu a:hover::after {
  width: 100%;
}

.hamburger {
  display: none; /* hidden by default */
} 

.logo {
  font-size: 18px;
  line-height: 1.2;
  font-weight: bold;
  color: #f2eded;
}


/* Main design */
h2 {
    color: #161515;
    font-size: 50px;
    text-align: center;
}

h3 {
  font-size: 25px;
  text-align: center;
  font-weight: 400;
  margin-top: -35px;
}

.faq {
    width: 70% !important;
    margin: 60px auto;
}

.item {
    flex: 1 1 calc(50% - 15px); /* 2 columns */
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    padding: 20px;
}

.point {
    background-color: none !important;
    color: #161515;
    padding: 15px;
    font-size: 25px;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: background 0.5s ease;
    font-weight: 700;
}

.point:hover {
    background-color: #dedede;
}

.plus {
    position: relative;
    width: 20px;
    height: 20px;
    float: right;
}

.plus::before,
.plus::after {
    content: '';
    position: absolute;
    background-color: black;
    transition: transform 0.3s ease;
}

/* Horizontal bar */
.plus::before {
    width: 100%;
    height: 1px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

/* Vertical bar */
.plus::after {
    width: 1px;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Open state: Rotate the vertical bar to form a minus */
.plus.open::after {
    transform: translateX(-50%) rotate(90deg);
}

/* Hover effect when in the open state */
.plus.open:hover {
    transform: scale(1.2); 
}

.ans {
    display: none;
    background-color: #fff;
    padding: 15px;
    color: #444;
}

.ans p {
    margin: 0;
    font-weight: 500;
}

.last {
  background-color: #161515;
  color: #f2eded;
  text-align: center; /* optional for h3 if used later */
  padding: 15px;
}

.contact-info {
  display: flex;
  justify-content: center; /* centers horizontally */
  gap: 60px; /* spacing between Phone, Email, Home */
  flex-wrap: wrap; /* wraps on small screens */
  font-size: 16px;
  align-items: center;
}

.contact-info p {
  margin: 0;
}

.home-link {
  color: #f2eded;
  text-decoration: none;
  font-weight: bold;
}

.home-link:hover {
  text-decoration: underline;
}


/* Tablet View (max-width: 992px) */
@media (max-width: 1024px) {
  h2 {
    font-size: 36px; /* smaller but bold */
    line-height: 1.3;
  }

  h3 {
    font-size: 20px;
    margin-top: -20px;
  }

  .faq {
    width: 90% !important; /* more width for smaller screens */
    margin: 40px auto;
  }

  .item {
    flex: 1 1 100%; /* ✅ one item per row */
    padding: 18px;
  }

  .point {
    font-size: 20px; /* slightly smaller */
    padding: 12px;
  }

  .ans {
    font-size: 16px;
    padding: 12px;
  }
}

/* Mobile View (max-width: 576px) */
@media (max-width: 786px) {
  h2 {
    font-size: 26px; /* compact for small screens */
    line-height: 1.3;
    padding: 0 10px; /* little breathing space on sides */
  }

  h3 {
    font-size: 16px;
    margin-top: -10px;
    padding: 0 10px;
    line-height: 1.4;
  }

  .faq {
    width: 95% !important;
    margin: 30px auto;
  }

  .item {
    flex: 1 1 100%; /* ✅ one item per row */
    padding: 15px;
  }

  .point {
    font-size: 18px;
    padding: 10px;
  }

  .ans {
    font-size: 14px;
    padding: 10px;
    line-height: 1.5;
  }

  .plus {
    width: 16px;  /* smaller plus icon */
    height: 16px;
  }
}
