/*  Contact Page   */
*{ box-sizing: border-box; }

body{
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;

  background: url("bak.jfif") center/cover no-repeat fixed;
}

body::before{
  content:"";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55); 
  z-index: 0;
}

body > *{
  position: relative;
  z-index: 1;
}

/*  Navbar  */
.navbar{
  width: 100%;
  background: #2b2d42;
  padding: 12px 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar a{
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  padding: 10px 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  transition: 0.3s;
}

.navbar a:hover{ background: rgba(255,255,255,0.12); }
.navbar a.active{ background: rgba(255,255,255,0.18); }

.logo{
  margin-left: auto;
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255,255,255,0.9);
  padding: 6px;
}

/*  Header  */
.page-header{
  position: sticky;
  top: 0;
  z-index: 5;
  text-align: center;
  background: rgba(255,255,255,0.92);
  padding: 18px 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.page-header h1{
  margin: 0;
  font-size: 34px;
  letter-spacing: 0.3px;
}

.back-btn{
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #111;
  text-decoration: none;
  font-weight: 700;
  opacity: 0.9;
}

.back-btn:hover{
  text-decoration: underline;
  opacity: 1;
}

/*  Form Section  */
.form-wrapper{
  width: min(1100px, 92vw);
  margin: 28px auto 0;
}

.form-container{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  background: rgba(255,255,255,0.90);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,0.20);
  backdrop-filter: blur(6px);
}

.form-content{
  padding: 22px 22px 18px;
}

.form-content h2{
  margin: 0 0 14px;
  font-size: 22px;
  color: #2b2d42;
}

.row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.input-group label{
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #333;
  margin-bottom: 6px;
}

.input-group input,
.input-group textarea{
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.15);
  background: rgba(255,255,255,0.95);
  outline: none;
  font-size: 14px;
}

.input-group textarea{
  resize: vertical;
  min-height: 120px;
}

.input-group input:focus,
.input-group textarea:focus{
  border-color: rgba(33,150,243,0.65);
  box-shadow: 0 0 0 3px rgba(33,150,243,0.15);
}

.input-group.full{ grid-column: 1 / -1; }

.send-btn{
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(to right, #ff7e5f, #6a5af9);
  transition: 0.25s;
}

.send-btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.form-image{
  position: relative;
  min-height: 100%;
}

.form-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}

.form-image::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.18), rgba(0,0,0,0.05));
}

/*  Calendar  */
.calendar-wrapper{
  width: min(1100px, 92vw);
  margin: 18px auto 26px;
}

.js-calendar{
  background: rgba(255,255,255,0.90);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
  backdrop-filter: blur(6px);
}

.cal-header{
  display:flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-weight: 800;
  color: #2b2d42;
}

.cal-header button{
  width: 40px;
  height: 36px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background: rgba(43,45,66,0.10);
  font-size: 18px;
}

.cal-header button:hover{ background: rgba(43,45,66,0.16); }

.cal-days{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  font-weight: 800;
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: 8px;
}

.cal-dates{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.cal-dates div{
  background: rgba(0,0,0,0.04);
  border-radius: 10px;
  padding: 10px 0;
  text-align: center;
  font-weight: 700;
}

/*  Footer  */
footer{
  width: 100%;
  margin-top: 10px;
  padding: 18px 0 22px;
  text-align: center;
  color: #fff;
}

.footer-links{
  display:flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 8px;
}

.footer-links a{
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  opacity: 0.9;
}

.footer-links a:hover{
  text-decoration: underline;
  opacity: 1;
}

footer h6{
  margin: 0;
  font-weight: 600;
  opacity: 0.95;
}

/*  Responsive  */
@media (max-width: 900px){
  .form-container{ grid-template-columns: 1fr; }
  .form-image{ height: 220px; }
}

@media (max-width: 600px){
  .navbar{ padding: 12px 16px; flex-wrap: wrap; }
  .logo{ margin-left: 0; }
  .page-header h1{ font-size: 26px; }
  .back-btn{
    position: static;
    transform: none;
    display: inline-block;
    margin-top: 8px;
  }
  .row{ grid-template-columns: 1fr; }
}


.cal-days span{
  text-align: center;
  padding: 8px 0;
}

.cal-dates div{
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cal-dates .empty{
  background: transparent;
}

.cal-dates .today{
  background: rgba(255,126,95,0.22);
  border: 2px solid rgba(223, 95, 255, 0.55);
}