/* =========================================================
   ✨ Modernized & Beautified CSS Theme
   ========================================================= */

:root {
  --bg: #062e9b;
  --bg2: #0b3fc9;
  --text: #f3f6ff;
  --muted: #bcd2ff;
  --pill: #0e47e6;
  --card: #0a36b4;
  --card2: #0b3cc7;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --transition: all 0.3s ease;
}

/* Reset & Base
------------------------------------------------------------ */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  background: linear-gradient(160deg, var(--bg), var(--bg2));
  color: var(--text) !important;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: #8bf7ea;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 20px 80px;
}

/* Header
------------------------------------------------------------ */
header {
  position: sticky;
  top: 0;
  background: linear-gradient(180deg, rgba(5, 20, 70, 0.9), rgba(5, 20, 70, 0.6));
  backdrop-filter: blur(10px);
  z-index: 50;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dot {
  width: 12px;
  height: 12px;
  background: #65ffd9;
  border-radius: 50%;
  box-shadow: 0 0 10px #65ffd9, 0 0 25px rgba(101, 255, 217, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.6; }
}

.logo {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(22px, 4vw, 40px);
  letter-spacing: 0.4px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px;
}

.navbar .ghost span {
  font-size: 16px;
}

.navbar a.ghost {
  font-size: 24px;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  color: var(--text) !important;
}

.navbar a.btn.primary {
  align-content: center;
  font-size: 24px;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
}

/* Buttons
------------------------------------------------------------ */
.delete-logo, .delete-work-img {
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(6px);
}

@media (max-width: 768px) {
  .navbar .btn {
    padding: 10px !important;
    font-size: 12px;
  }

  .wrap {
    padding-left: 10px;
  }

  .navbar .ghost span {
    font-size: 10px;
  }

  .navbar a.ghost {
    font-size: 16px;
  }

  .navbar a.btn.primary {
    align-content: center;
    font-size: 16px;
  }
}

@media (max-width: 376px) {
  .navbar .btn {
    padding: 5px !important;
    font-size: 10px;
  }

  .wrap {
    padding-left: 5px;
  }

  .navbar .ghost span {
    font-size: 8px;
  }

  .navbar a.ghost {
    font-size: 12px;
  }

  .navbar a.btn.primary {
    align-content: center;
    font-size: 12px;
  }
}

/*.btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}*/

.btn.primary {
  background: linear-gradient(180deg, #8bf7ea, #4ce6d7);
  color: #053680;
  border: none;
  box-shadow: 0 10px 30px rgba(118, 242, 227, 0.35);
}

.btn.primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(118, 242, 227, 0.45);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: #4ce6d7;
  color: #c8dff2;
}

/* Pills & Chips
------------------------------------------------------------ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--pill);
  border: 1px solid var(--border);
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  transition: var(--transition);
}

.listing-info {
  color: #0a0a0a;
}

.pill:hover {
  background: #1557ff;
  color: #fff;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.chip:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Hero Section
------------------------------------------------------------ */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 32px 0 18px;
  border-bottom: 1px solid var(--border);
}

h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  line-height: 1.08;
  font-size: clamp(28px, 5.2vw, 56px);
  margin: 6px 0 12px;
  text-wrap: balance;
}

.lead {
  color: var(--muted);
  font-size: clamp(15px, 2.5vw, 18px);
  max-width: 60ch;
}

.cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Cards & Layouts
------------------------------------------------------------ */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
}

@media (min-width: 820px) {
  .grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.card {
  background: linear-gradient(180deg, var(--card), var(--card2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  transition: var(--transition);
  color: var(--text) !important;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.card .title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  margin: 6px 0 12px;
}

.porch-photo {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.porch-photo:hover {
  transform: scale(1.02);
}

/* Steps
------------------------------------------------------------ */
.steps .step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  margin: 10px 0;
  transition: var(--transition);
}

.steps .step:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.steps b {
  font-weight: 800;
}

/* Footer
------------------------------------------------------------ */
footer {
  margin-top: 40px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  color: var(--muted);
  text-align: center;
}

.dedication {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

/* reCAPTCHA Badge
------------------------------------------------------------ */
.grecaptcha-badge {
  opacity: 0.1 !important;
  bottom: 5px !important;
  left: 5px !important;
  right: auto !important;
  z-index: 10 !important;
  transition: opacity 0.3s ease;
}

.grecaptcha-badge:hover {
  opacity: 0.6 !important;
}

input, textarea {
  width:100%;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.06);
  color:var(--text);
  margin-top:10px;
  margin-bottom: 5px;
}

button {
  width:100%;
  justify-content:center;
  margin-top:10px;
}

.input-group button {
  width: auto;
}

.input-group input {
  margin-bottom: auto;
}

.form-check-label {
  display: inline;
}

input::placeholder, textarea::placeholder {
  color: var(--text);
  opacity: 1; /* Ensures color is not faded in some browsers */
}

select option {
  color: #000;
  background-color: #fff;
}

.error-text {
    color: #ff4d4d;
    font-size: 13px;
    margin-top: 0px;
    display: block;
}

.bg-light {
  background-color: #fcfcfc !important;
}

.form-check-label {
  margin-left: 5px;
  margin-top: 5px;
}
