:root {
  --bg-color: #0b0c0e;
  --card-bg: rgba(18, 20, 24, 0.82);
  --accent-amber: #d97706;
  --accent-amber-glow: rgba(217, 119, 6, 0.35);
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --border-subtle: rgba(255, 255, 255, 0.12);
  --modal-bg: #16181d;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  position: relative;
}

/* Background image & overlay */
.bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.bg-image {
  width: 100%;
  height: 100%;
  /* Replace images/kitchen-bg.jpg with your preferred interior kitchen image */
  background-image: url('images/kitchen-bg.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.4) contrast(1.1) blur(2px);
  transform: scale(1.03);
}

.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(11, 12, 14, 0.6) 0%, rgba(11, 12, 14, 0.92) 100%);
}

/* Main hero card */
.main-card {
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 680px;
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 50px 40px;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  margin: 20px 0;
}

/* Centered Logo Styling */
.logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.brand-logo-svg {
  width: 140px;
  height: 140px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.brand-logo-img {
  max-width: 160px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

/* Typography */
.brand-title {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  letter-spacing: 4px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.location-tag {
  font-size: 0.85rem;
  letter-spacing: 3px;
  color: var(--accent-amber);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
  opacity: 0.7;
}

.divider .line {
  height: 1px;
  width: 60px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.divider .saw-icon {
  color: var(--accent-amber);
  font-size: 1rem;
}

.tagline {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #f3f4f6;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 36px;
}

/* Primary Button */
.btn-primary {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #ffffff;
  border: none;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 20px var(--accent-amber-glow);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(217, 119, 6, 0.5);
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.arrow-icon {
  width: 18px;
  height: 18px;
}

/* Modal Verification & Contact Form */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--modal-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  width: 90%;
  max-width: 480px;
  padding: 36px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
}

.modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.modal-header h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 6px;
}

.modal-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.modal-saw-badge {
  font-size: 1.8rem;
  color: var(--accent-amber);
  margin-bottom: 8px;
}

/* Saw Track Slider */
.saw-track-container {
  position: relative;
  height: 60px;
  background: #0f1013;
  border-radius: 30px;
  border: 1px solid var(--border-subtle);
  margin: 30px 0 10px 0;
  display: flex;
  align-items: center;
  padding: 0 6px;
  overflow: hidden;
}

.timber-board {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 14px;
  background: #3a2b1d;
  border-radius: 4px;
  z-index: 1;
}

.cut-progress {
  position: absolute;
  left: 10px;
  height: 14px;
  width: 0px;
  background: #101114;
  z-index: 2;
}

.saw-handle {
  position: absolute;
  left: 6px;
  width: 48px;
  height: 48px;
  z-index: 3;
  cursor: grab;
  user-select: none;
}

.saw-handle:active {
  cursor: grabbing;
}

.saw-blade-svg {
  width: 100%;
  height: 100%;
}

.slide-instruction {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Contact Form Elements */
.hidden {
  display: none !important;
}

.form-group {
  margin-bottom: 18px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: #0f1013;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-amber);
}

.btn-primary.full-width {
  width: 100%;
  border-radius: 10px;
  margin-top: 10px;
}

.success-message {
  text-align: center;
  padding: 20px 0;
}

.check-icon {
  width: 50px;
  height: 50px;
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px auto;
}

@media (max-width: 600px) {
  .main-card {
    padding: 36px 24px;
  }
  .brand-title {
    font-size: 1.5rem;
  }
  .tagline {
    font-size: 1.25rem;
  }
}