/* ================= RESET & BASE ================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(to bottom right, #dff7e0, #f0f4f1);
  background-image: url('https://www.transparenttextures.com/patterns/asfalt-dark.png');
  background-repeat: repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  transition: background 1s ease-in-out;
}

/* ================= HEADER ================= */
.site-header {
  width: 100%;
  text-align: center;
  margin-bottom: 40px;
  padding: 40px 0;
  background: linear-gradient(135deg, #2e4a1f, #1f2f13);
  border-radius: 25px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  border: 2px solid #4caf50;
  position: relative;
  overflow: hidden;
}

.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.12),
    rgba(255,255,255,0),
    rgba(255,255,255,0.12)
  );
  transform: skewX(-25deg);
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% { left: -75%; }
  100% { left: 125%; }
}

.site-header h1 {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: #39b54a;
  text-shadow:
    0 0 3px #39b54a,
    0 0 6px #39b54a,
    0 0 10px rgba(0,0,0,0.3);
}

.site-name {
  font-style: italic;
}

/* ================= CONTAINER ================= */
.booking-container {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(25px);
  padding: 50px;
  border-radius: 35px;
  width: 100%;
  max-width: 820px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  border: 2px solid #81c784;
}

/* ================= LANGUAGE ================= */
.language-selector {
  text-align: right;
  margin-bottom: 30px;
  font-weight: 600;
  color: #2e7d32;
}

.language-selector select {
  padding: 10px 18px;
  border-radius: 20px;
  border: 1px solid #4caf50;
  background: rgba(255,255,255,0.95);
  cursor: pointer;
}

.language-selector select:hover {
  box-shadow: 0 0 12px rgba(76,175,80,0.35);
  transform: scale(1.02);
}

/* ================= PROGRESS BAR ================= */
.progress-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 45px;
}

.progress-bar .step {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #a5d6a7;
  color: #fff;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  transition: all 0.4s;
  box-shadow: 0 5px 12px rgba(0,0,0,0.2);
}

.progress-bar .step.active {
  background: linear-gradient(135deg, #66bb6a, #2e7d32);
  transform: scale(1.15);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

/* ================= FORM STEPS ================= */
.form-step {
  display: none;
  flex-direction: column;
  gap: 20px;
}

.form-step.active {
  display: flex;
}

/* ================= HEADINGS ================= */
.form-step h2 {
  font-size: 1.8rem;
  color: #2e7d32;
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

/* ================= LABELS ================= */
label {
  font-weight: 600;
  color: #2e7d32;
  display: flex;
  align-items: center;
}

label i,
h2 i {
  margin-right: 10px;
  color: #a57c4e;
}

/* ================= INPUTS ================= */
input,
select,
textarea {
  width: 100%;
  padding: 16px;
  border-radius: 25px;
  border: 1px solid #4caf50;
  font-size: 1rem;
  background: rgba(255,255,255,0.96);
  transition: all 0.35s ease;
}

/* TEXTAREA FIX (WORD PROCESSOR BEHAVIOR) */
textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.6;
  white-space: pre-wrap;
}

textarea:focus,
input:focus,
select:focus {
  outline: none;
  border-color: #66bb6a;
  box-shadow: 0 0 18px rgba(102,187,106,0.4);
  transform: scale(1.02);
}

/* ================= STEP BUTTONS ================= */
.step-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  gap: 15px;
}

.step-buttons button {
  padding: 16px 32px;
  border: none;
  border-radius: 28px;
  background: linear-gradient(135deg, #66bb6a, #2e7d32);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: all 0.3s;
}

.step-buttons button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

/* ================= THANK YOU ================= */
#thankYou {
  display: none;
  text-align: center;
  margin-top: 60px;
  color: #1b5e20;
}

#thankYou.active {
  display: block;
}

#thankYou .check-icon {
  font-size: 3.8rem;
  color: #43a047;
  margin-bottom: 20px;
}

#thankYou h2 {
  font-size: 2.3rem;
  margin-bottom: 12px;
}

#thankYou p {
  font-size: 1.25rem;
  margin-bottom: 25px;
}

/* ================= ACTION LINKS ================= */
.thank-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.thank-actions a {
  padding: 14px 28px;
  border-radius: 25px;
  background: linear-gradient(135deg, #66bb6a, #2e7d32);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: all 0.3s;
}

.thank-actions a:hover {
  transform: translateY(-3px);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .booking-container { padding: 30px; }
  .progress-bar .step { width: 50px; height: 50px; font-size: 1rem; }
  .step-buttons { flex-direction: column; }
  .site-header h1 { font-size: 2.4rem; }
}
/* ===========================
   Delivery Buttons Styling - Centered
   =========================== */
.delivery-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* center horizontally */
  gap: 12px;
  margin-top: 20px;
}

.delivery-buttons button {
  background-color: #2d7a2d; /* green like submit button */
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.delivery-buttons button#sendEmail {
  background-color: #1d4ed8; /* blue for email */
}

.delivery-buttons button#sendBoth {
  background-color: #f59e0b; /* amber/orange for both */
}

.delivery-buttons button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.delivery-buttons button:active {
  transform: translateY(0);
  box-shadow: none;
}

.delivery-buttons button i {
  font-size: 18px;
}
