@import url('https://fonts.googleapis.com/css2?family=Sen:wght@400;500;600;700;800&display=swap');

:root {
  --color-primary-dark: #1b3d5a;
}

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

html {
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: auto;
  font-size: 115%;
  zoom: 1.15;
}

/* Reset zoom for mobile devices */
@media (max-width: 1024px) {
  html {
    font-size: 100%;
    zoom: 1.15;
  }
}

html::-webkit-scrollbar {
  display: none;
}

body {
  font-family: 'Sen', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  background: #1a1a2e;
  color: #333;
  line-height: 1.6;
}

/* Background Sequence */
#sequence-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  filter: contrast(1.5);
  /* filter: blur(3px); */
  /* -webkit-filter: blur(3px); */
}

#white-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.45);
  pointer-events: none;
  z-index: -1;
}

/* Header */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none; /* Allow clicks through header */
}

/* Navigation */
#main-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 12px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  pointer-events: auto; /* Enable clicks on nav */
}

/* Logo inside nav (hidden on desktop) */
.nav-logo {
  display: none;
}

.nav-link {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link i {
  font-size: 13px;
  width: 16px;
  text-align: center;
  opacity: 0.8;
}

.nav-link:hover {
  background: rgba(52, 152, 219, 0.2);
  color: #2980b9;
}

.nav-link.active {
  background: rgba(41, 128, 185, 0.7);
  color: white;
}

/* Logo */
#logo {
  position: fixed;
  z-index: 100;
  pointer-events: auto; /* Enable clicks on logo */
  height: auto;
  
  /* Use right-based positioning for both states to avoid left/right switching jump */
  /* Initial state: centered using calc() with right positioning */
  top: 80px;
  right: calc(50% - 180px); /* 50% minus half the width (360/2) = centered */
  width: 360px;
  
  /* Smooth animation - only animatable properties */
  transition: 
    top 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#logo.scrolled {
  /* Scrolled state: move to top right */
  top: 15px;
  right: 30px;
  width: 200px;
}

/* Frosted Glass Effect */
.glass {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 2px solid rgba(215, 222, 255, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Main Content */
#content {
  position: relative;
  z-index: 1;
  padding-top: 120px;
}

/* Sections */
.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

/* Section-specific spacing adjustments */
#hero {
  min-height: 70vh;
}

#services {
  min-height: 80vh;
}

#reviews {
  min-height: 85vh;
  padding-top: 20px;
}

#contact {
  min-height: 50vh;
  padding: 20px;
}

.section-content {
  max-width: 900px;
  width: 100%;
  padding: 50px;
  border-radius: 20px;
  margin: 0 auto;
}

.section h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 20px;
  text-align: center;
}

.section h1.nowrap {
  white-space: nowrap;
  font-size: 2rem;
}

.section h2 {
  font-size: 2.2rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 15px;
  text-align: center;
}

.section-intro {
  text-align: center;
  color: #5d6d7e;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* Hero Section */
.hero-subtitle {
  font-size: 1.25rem;
  color: #5d6d7e;
  text-align: center;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(52, 152, 219, 0.4);
}

#hero .section-content {
  text-align: center;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.service-card {
  background: rgba(255, 255, 255, 0.5);
  padding: 25px;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h3 {
  color: #2980b9;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.service-card p {
  color: #5d6d7e;
  font-size: 0.95rem;
}

/* Price Table */
.price-table {
  margin-top: 20px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.price-row:last-child {
  border-bottom: none;
}

.price-service {
  font-weight: 500;
  color: #2c3e50;
}

.price-amount {
  font-weight: 600;
  color: #2980b9;
  font-size: 1.1rem;
}

/* Team Section */
.team-image {
  width: 100%;
  max-width: 700px;
  height: auto;
  border-radius: 5px;
  display: block;
  margin: 0 auto 25px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.team-description {
  text-align: center;
  color: #5d6d7e;
  font-size: 1.05rem;
}

/* Reviews Section */
.review-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.review-card {
  padding: 30px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 12px;
}

.review-stars {
  color: #f1c40f;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.review-text {
  font-style: italic;
  color: #5d6d7e;
  line-height: 1.8;
  margin-bottom: 15px;
}

.review-author {
  font-weight: 600;
  color: #2c3e50;
}

.review-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  max-height: 350px;
}

/* Location Section */
.map-container {
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.map-container iframe {
  display: block;
  border-radius: 5px;
}

.address-info {
  text-align: center;
  color: #5d6d7e;
}

.address-info p {
  margin: 5px 0;
}

/* Contact Section */
.contact-buttons {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.contact-button {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px 40px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(52, 152, 219, 0.3);
  border-radius: 15px;
  text-decoration: none;
  color: #2c3e50;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 300px;
}

.contact-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
  border-color: #3498db;
  background: rgba(255, 255, 255, 1);
}

.button-icon {
  font-size: 2.5rem;
  filter: grayscale(20%);
}

.button-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
}

.button-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2980b9;
}

.button-detail {
  font-size: 1rem;
  color: #555;
  user-select: text;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
}

/* Footer */
#footer {
  position: relative;
  z-index: 1;
  padding: 20px;
}

.footer-content {
  text-align: center;
  padding: 25px;
  border-radius: 15px;
  max-width: 900px;
  margin: 0 auto;
}

.footer-content p {
  color: #5d6d7e;
}

/* ============================================
   PRICE CALCULATOR - TYPEFORM STYLE
   ============================================ */

.calculator-container {
  max-width: 800px;
  overflow: hidden;
}

#calc-wizard {
  position: relative;
  min-height: 600px;
  height: 600px;
  overflow: hidden;
}

/* Progress Bar */
.calc-progress {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 40px;
}

.calc-progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.calc-progress-fill {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, #7bd5ff, #4b99ff);
  border-radius: 2px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.calc-progress-text {
  font-size: 0.85rem;
  color: #7f8c8d;
  white-space: nowrap;
}

/* Steps */
.calc-step {
  display: none;
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  padding: 0 5px;
}

.calc-step.active {
  display: block;
  position: relative;
  top: auto;
}

/* Only animate on initial page load for first step */
.calc-step.active:not(.slide-in-left):not(.slide-in-right):first-of-type {
  animation: fadeSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.calc-step.slide-out-left {
  animation: fadeSlideOutLeft 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.calc-step.slide-out-right {
  animation: fadeSlideOutRight 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.calc-step.slide-in-left {
  animation: fadeSlideInLeft 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.calc-step.slide-in-right {
  animation: fadeSlideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideOutLeft {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-30px);
  }
}

@keyframes fadeSlideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(30px);
  }
}

@keyframes fadeSlideInLeft {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeSlideInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Option Cards - Step 1 */
.calc-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.calc-option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px 20px;
  background: rgba(255, 255, 255, 0.6);
  border: 2px solid transparent;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  font-family: inherit;
}

.calc-option-card:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(52, 152, 219, 0.15);
}

.calc-option-card.selected {
  border-color: #3498db;
  background: rgba(52, 152, 219, 0.1);
  box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.15);
}

.option-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.option-title {
  font-weight: 600;
  color: #2c3e50;
  font-size: 1rem;
  margin-bottom: 5px;
  display: block;
}

.option-desc {
  color: #7f8c8d;
  font-size: 0.85rem;
  display: block;
}

/* Services List - Step 2 */
.calc-services-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 10px;
  margin-bottom: 25px;
}

.calc-services-list::-webkit-scrollbar {
  width: 6px;
}

.calc-services-list::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 3px;
}

.calc-services-list::-webkit-scrollbar-thumb {
  background: rgba(52, 152, 219, 0.3);
  border-radius: 3px;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.6);
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.service-item:hover {
  background: rgba(255, 255, 255, 0.85);
}

.service-item.selected {
  border-color: #3498db;
  background: rgba(52, 152, 219, 0.08);
}

.service-checkbox {
  width: 22px;
  height: 22px;
  border: 2px solid #bdc3c7;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.service-item.selected .service-checkbox {
  background: #3498db;
  border-color: #3498db;
}

.service-checkbox::after {
  content: '✓';
  color: white;
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s ease;
}

.service-item.selected .service-checkbox::after {
  opacity: 1;
  transform: scale(1);
}

.service-info {
  flex: 1;
}

.service-name {
  font-weight: 500;
  color: #2c3e50;
  display: block;
  margin-bottom: 2px;
}

.service-detail {
  font-size: 0.85rem;
  color: #95a5a6;
}

.service-price {
  font-weight: 600;
  color: #2980b9;
  font-size: 1.05rem;
  white-space: nowrap;
}

/* Navigation Buttons */
.calc-nav {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 10px;
}

.calc-back-btn,
.calc-next-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.calc-back-btn {
  background: rgba(0, 0, 0, 0.05);
  color: #7f8c8d;
}

.calc-back-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #5d6d7e;
}

.calc-next-btn {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  margin-left: auto;
}

.calc-next-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.35);
}

.calc-next-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Details Form - Step 3 */
.calc-details-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
}

.detail-card {
  padding: 20px 25px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.detail-card label {
  font-weight: 500;
  color: #2c3e50;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.8);
  padding: 5px;
  border-radius: 10px;
}

.qty-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: rgba(52, 152, 219, 0.1);
  color: #3498db;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: #3498db;
  color: white;
}

.qty-value {
  min-width: 30px;
  text-align: center;
  font-weight: 600;
  font-size: 1.1rem;
  color: #2c3e50;
}

.no-details-placeholder {
  flex-direction: column;
  text-align: center;
  padding: 35px;
  gap: 15px;
}

.no-details-placeholder .option-icon {
  font-size: 2.5rem;
  margin-bottom: 0;
}

.no-details-placeholder p {
  color: #7f8c8d;
  margin: 0;
}

/* Result Card - Step 4 */
.calc-result-card {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 20px;
  max-height: 460px;
  overflow-y: auto;
}

.result-summary {
  margin-bottom: 25px;
}

.result-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 180px;
  overflow-y: auto;
  padding-right: 5px;
}

.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.result-item-name {
  color: #5d6d7e;
}

.result-item-price {
  font-weight: 500;
  color: #2c3e50;
}

.result-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 20px 0;
}

/* Discount Toggles */
.discount-toggles {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.toggle-container {
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  padding: 15px 20px;
  background: rgba(46, 204, 113, 0.05);
  border-radius: 12px;
  transition: all 0.25s ease;
}

.toggle-container:hover {
  background: rgba(46, 204, 113, 0.1);
}

.toggle-container input {
  display: none;
}

.toggle-slider {
  width: 50px;
  height: 28px;
  background: #bdc3c7;
  border-radius: 14px;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  background: white;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.toggle-container input:checked + .toggle-slider {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.toggle-container input:checked + .toggle-slider::before {
  transform: translateX(22px);
}

.toggle-label {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.toggle-title {
  font-weight: 500;
  color: #2c3e50;
}

.toggle-discount {
  font-weight: 600;
  color: #27ae60;
  font-size: 0.95rem;
}

/* Adjustments */
.result-adjustments h4 {
  font-size: 0.9rem;
  color: #95a5a6;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.adjustments-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.adjustment-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
}

.adjustment-item label {
  color: #5d6d7e;
  font-size: 0.95rem;
}

.adjustment-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

.adjustment-control select {
  padding: 8px 30px 8px 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237f8c8d' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 10px center;
  font-family: inherit;
  font-size: 0.95rem;
  color: #2c3e50;
  cursor: pointer;
  appearance: none;
  transition: all 0.2s ease;
}

.adjustment-control select:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
}

.adjustment-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.adjustment-qty button {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 6px;
  background: rgba(52, 152, 219, 0.1);
  color: #3498db;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.adjustment-qty button:hover {
  background: #3498db;
  color: white;
}

.adjustment-qty span {
  min-width: 25px;
  text-align: center;
  font-weight: 500;
  color: #2c3e50;
}

.adjustment-remove {
  background: none;
  border: none;
  color: #e74c3c;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 5px;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.adjustment-remove:hover {
  opacity: 1;
}

/* Total */
.total-breakdown {
  margin-bottom: 15px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  color: #7f8c8d;
}

.breakdown-row.discount .discount-value {
  color: #27ae60;
}

.total-final {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(46, 204, 113, 0.1));
  border-radius: 12px;
}

.total-final span:first-child {
  font-weight: 500;
  color: #2c3e50;
}

.total-amount {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2980b9;
}

/* Result Actions */
.result-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.result-actions .cta-button {
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.reset-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 25px;
  background: transparent;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  color: #7f8c8d;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.reset-btn:hover {
  border-color: #3498db;
  color: #3498db;
}

.reset-btn span {
  font-size: 1.2rem;
}

/* Fine Print */
.calc-fine-print {
  text-align: center;
  font-size: 0.85rem;
  color: #ffffff;
  line-height: 1.6;
  padding: 0 20px;
  text-shadow: 0 0px 15px rgb(23, 23, 39), rgb(167, 167, 167) 2px 0px 0px, rgb(167, 167, 167) 1.75517px 0.958851px 0px, rgb(167, 167, 167) 1.0806px 1.68294px 0px, rgb(167, 167, 167) 0.141474px 1.99499px 0px, rgb(167, 167, 167) -0.832294px 1.81859px 0px, rgb(167, 167, 167) -1.60229px 1.19694px 0px, rgb(167, 167, 167) -1.97998px 0.28224px 0px, rgb(167, 167, 167) -1.87291px -0.701566px 0px, rgb(167, 167, 167) -1.30729px -1.5136px 0px, rgb(167, 167, 167) -0.421592px -1.95506px 0px, rgb(167, 167, 167) 0.567324px -1.91785px 0px, rgb(167, 167, 167) 1.41734px -1.41108px 0px, rgb(167, 167, 167) 1.92034px -0.558831px 0px;
}

/* Hamburger Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  pointer-events: auto;
  z-index: 1002;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.8);
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2.5px;
  background: #2c3e50;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hamburger animation to X */
.menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(46deg) translate(6px, 6px);
}

.menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu overlay */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-overlay.active {
  display: block;
  opacity: 1;
}

/* Responsive Design */

/* Tablet styles */
@media (max-width: 1024px) {
  .section-content {
    max-width: 95%;
    padding: 40px 30px;
  }

  .section h1 {
    font-size: 2.5rem;
  }

  .section h1.nowrap {
    white-space: normal;
    font-size: 2rem;
  }

  .calculator-container {
    max-width: 95%;
  }
}

/* Mobile styles - 768px and below */
@media (max-width: 768px) {
  /* Hamburger Menu Mobile */
  .menu-toggle {
    display: flex;
    position: fixed;
    top: 15px;
    left: 15px;
  }

  #header {
    padding: 10px 15px;
    flex-direction: column;
    align-items: flex-start;
  }

  #main-nav {
    position: fixed;
    top: 0;
    left: -280px;
    width: 260px;
    height: 100vh;
    padding: 100px 20px 30px;
    gap: 5px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.15);
    border-radius: 0;
    overflow-y: auto;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
  }

  #main-nav.open {
    left: 0;
  }

  .nav-link {
    font-size: 16px;
    padding: 28px 18px;
    border-radius: 10px;
  }

  .nav-link i {
    font-size: 16px;
    width: 40px;
  }

  .nav-link:hover {
    background: rgba(52, 152, 219, 0.15);
  }

  #logo {
    position: static;
    display: block;
    width: 150px;
    margin: 0 auto 20px;
  }

  /* No scroll animation needed - logo scrolls with content */
  #logo.scrolled {
    position: static;
    width: 150px;
  }

  #content {
    padding-top: 20px;
  }

  /* Nav logo in sidebar */
  .nav-logo {
    display: block;
    width: 160px;
    height: auto;
    margin: 0 auto 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .section {
    padding: 40px 12px;
    min-height: auto;
  }

  #hero {
    min-height: 60vh;
    padding-top: 80px;
  }

  #services,
  #prices,
  #calculator,
  #team,
  #reviews,
  #location,
  #contact {
    min-height: auto;
  }

  .section-content {
    padding: 25px 18px;
    border-radius: 15px;
  }

  .section h1 {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .section h1.nowrap {
    white-space: normal;
    font-size: 1.5rem;
  }

  .section h2 {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }

  .section-intro {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .cta-button {
    padding: 12px 30px;
    font-size: 1rem;
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .service-card {
    padding: 20px;
  }

  .service-card h3 {
    font-size: 1.1rem;
  }

  .service-card p {
    font-size: 0.9rem;
  }

  /* Price Table */
  .price-row {
    padding: 12px 15px;
    flex-wrap: wrap;
    gap: 5px;
  }

  .price-service {
    font-size: 0.95rem;
  }

  .price-amount {
    font-size: 1rem;
  }

  /* Team Section */
  .team-image {
    border-radius: 10px;
  }

  .team-description {
    font-size: 0.95rem;
  }

  /* Reviews */
  .review-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .review-image {
    order: -1;
    max-height: 250px;
  }

  .review-card {
    padding: 20px;
  }

  .review-stars {
    font-size: 1.3rem;
  }

  .review-text {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  /* Location */
  .map-container iframe {
    height: 300px;
  }

  .address-info {
    font-size: 0.95rem;
  }

  /* Contact */
  .contact-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
  }

  .contact-button {
    min-width: auto;
    width: 100%;
    padding: 20px 25px;
    gap: 15px;
  }

  .button-icon {
    font-size: 2rem;
  }

  .button-title {
    font-size: 1.1rem;
  }

  .button-detail {
    font-size: 0.85rem;
  }

  /* Calculator Mobile */
  .calculator-container {
    padding: 25px 18px;
  }

  #calc-wizard {
    min-height: 550px;
    height: auto;
  }

  .calc-progress {
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .calc-progress-text {
    font-size: 0.8rem;
  }

  .calc-options {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .calc-option-card {
    padding: 18px 15px;
    flex-direction: row;
    text-align: left;
    gap: 15px;
  }

  .option-icon {
    font-size: 1.6rem;
    margin-bottom: 0;
  }

  .option-title {
    font-size: 0.95rem;
  }

  .option-desc {
    font-size: 0.8rem;
  }

  .calc-services-list {
    max-height: 350px;
    margin-bottom: 20px;
  }

  .service-item {
    padding: 14px 15px;
    gap: 12px;
  }

  .service-name {
    font-size: 0.95rem;
  }

  .service-price {
    font-size: 0.95rem;
  }

  .calc-nav {
    gap: 10px;
  }

  .calc-back-btn,
  .calc-next-btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .detail-card {
    flex-direction: column;
    gap: 15px;
    text-align: center;
    padding: 18px 15px;
  }

  .detail-card label {
    font-size: 0.95rem;
  }

  .calc-result-card {
    padding: 20px;
    max-height: none;
  }

  .toggle-container {
    flex-wrap: wrap;
    padding: 12px 15px;
  }

  .toggle-label {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }

  .toggle-title {
    font-size: 0.9rem;
  }

  .toggle-discount {
    font-size: 0.85rem;
  }

  .adjustment-item {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    padding: 10px 12px;
  }

  .adjustment-item label {
    font-size: 0.9rem;
  }

  .total-final {
    padding: 12px 15px;
  }

  .total-amount {
    font-size: 1.4rem;
  }

  .result-actions {
    flex-direction: column;
    gap: 12px;
  }

  .result-actions .cta-button,
  .reset-btn {
    width: 100%;
    padding: 14px 25px;
  }

  .calc-fine-print {
    font-size: 0.8rem;
    padding: 0 10px;
  }

  /* Footer */
  .footer-content {
    padding: 20px 15px;
  }

  .footer-content p {
    font-size: 0.9rem;
  }
}

/* Small mobile styles - 480px and below */
@media (max-width: 480px) {
  #header {
    padding: 8px 10px;
  }

  #main-nav {
    padding: 8px 10px;
    gap: 3px;
  }

  .nav-link {
    font-size: 21px;
    padding: 8px 18px;
    gap: 5px;
  }

  .nav-link i {
    font-size: 21px;
    width: 36px;
  }

  #logo {
    width: 120px;
    margin: 0 auto 15px;
  }

  /* No scroll animation needed - logo scrolls with content */
  #logo.scrolled {
    width: 120px;
  }

  #content {
    padding-top: 15px;
  }

  /* Nav logo in sidebar - smaller screens */
  .nav-logo {
    width: 140px;
    margin-bottom: 15px;
    padding-bottom: 12px;
  }

  .section {
    padding: 30px 10px;
  }

  #hero {
    padding-top: 60px;
    min-height: 50vh;
  }

  .section-content {
    padding: 20px 15px;
    border-radius: 12px;
  }

  .section h1 {
    font-size: 1.35rem;
  }

  .section h1.nowrap {
    font-size: 1.25rem;
  }

  .section h2 {
    font-size: 1.25rem;
  }

  .section-intro {
    font-size: 0.9rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .cta-button {
    padding: 10px 25px;
    font-size: 0.95rem;
  }

  /* Services */
  .service-card {
    padding: 15px;
  }

  .service-card h3 {
    font-size: 1rem;
  }

  .service-card p {
    font-size: 0.85rem;
  }

  /* Price Table */
  .price-row {
    padding: 10px 12px;
  }

  .price-service {
    font-size: 0.9rem;
    flex: 1;
  }

  .price-amount {
    font-size: 0.95rem;
  }

  /* Reviews */
  .review-card {
    padding: 15px;
  }

  .review-text {
    font-size: 0.9rem;
  }

  .review-image {
    max-height: 200px;
  }

  /* Location */
  .map-container iframe {
    height: 250px;
  }

  /* Contact */
  .contact-button {
    padding: 15px 20px;
    gap: 12px;
  }

  .button-icon {
    font-size: 1.8rem;
  }

  .button-title {
    font-size: 1rem;
  }

  .button-detail {
    font-size: 0.85rem;
    word-break: break-all;
  }

  /* Calculator */
  .calculator-container {
    padding: 20px 12px;
  }

  #calc-wizard {
    min-height: 500px;
  }

  .calc-option-card {
    padding: 15px 12px;
  }

  .option-icon {
    font-size: 1.4rem;
  }

  .option-title {
    font-size: 0.9rem;
  }

  .option-desc {
    font-size: 0.75rem;
  }

  .calc-services-list {
    max-height: 300px;
  }

  .service-item {
    padding: 12px;
  }

  .service-checkbox {
    width: 20px;
    height: 20px;
  }

  .service-name {
    font-size: 0.9rem;
  }

  .service-detail {
    font-size: 0.8rem;
  }

  .service-price {
    font-size: 0.9rem;
  }

  .calc-back-btn,
  .calc-next-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  .detail-card {
    padding: 15px 12px;
  }

  .quantity-selector {
    gap: 10px;
  }

  .qty-btn {
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }

  .calc-result-card {
    padding: 15px;
  }

  .result-adjustments h4 {
    font-size: 0.8rem;
  }

  .toggle-container {
    padding: 10px 12px;
  }

  .toggle-slider {
    width: 44px;
    height: 24px;
  }

  .toggle-slider::before {
    width: 18px;
    height: 18px;
  }

  .toggle-container input:checked + .toggle-slider::before {
    transform: translateX(20px);
  }

  .breakdown-row {
    font-size: 0.9rem;
  }

  .total-final {
    padding: 10px 12px;
  }

  .total-final span:first-child {
    font-size: 0.9rem;
  }

  .total-amount {
    font-size: 1.25rem;
  }

  .result-actions .cta-button,
  .reset-btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .reset-btn span {
    font-size: 1rem;
  }

  /* Footer */
  .footer-content {
    padding: 15px 12px;
  }
}
/* Social Icons */
.social-icon {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(59, 89, 152, 0.9);
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(59, 89, 152, 0.4);
}

.social-icon:hover {
  background: rgba(59, 89, 152, 1);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(59, 89, 152, 0.6);
}

.social-icon svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 640px) {
  .social-icon {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }

  .social-icon svg {
    width: 20px;
    height: 20px;
  }
}

/* Opening Hours Styling */
.opening-hours {
  margin-top: 20px;
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
}

.hours-row .day {
  font-weight: 500;
  color: #2c3e50;
}

.hours-row .time {
  color: #5d6d7e;
  font-weight: 400;
}

/* Footer Hours */
.footer-hours {
  margin-bottom: 20px;
}

.footer-content .hours-list {
  max-width: 400px;
  margin: 10px auto;
}

@media (max-width: 640px) {
  .hours-row {
    padding: 6px 10px;
    font-size: 0.9rem;
  }
}

/* Custom Right-Click Menu */
.custom-menu {
  position: fixed;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 8px 0;
  display: none;
  z-index: 999999;
  min-width: 160px;
}

.menu-item {
  display: block;
  width: 100%;
  padding: 10px 16px;
  background: none;
  border: none;
  text-align: left;
  font-size: 14px;
  color: #2c3e50;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.menu-item:hover {
  background-color: rgba(52, 152, 219, 0.1);
}