/**************************************************************
* Clearfix
***************************************************************/
.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    clear: both;
    *zoom: 1;
}

/**************************************************************
* Base
***************************************************************/
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-family: 'Playfair', 'Times New Roman', sans-serif;
  font-size: 1rem;
  min-height: 100vh;
  /* background: linear-gradient(135deg, #1A1B3A 0%, #2D1B69 50%, #0F0F23 100%); */
}

html {
  scroll-behavior: smooth;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  /* border: 2px solid red; */
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { 
  font-size: 2.5rem;
}
h2 { 
  font-size: 2rem;
}
h3 { 
  font-size: 1.5rem; 
}
h4 { 
  font-size: 1.25rem; 
}

p {
  margin-bottom: 1rem;
}

/**************************************************************
* Accessibility
***************************************************************/
  @media (prefers-reduced-motion: reduce) {
    * {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }
  .skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 100;
    background: #fff;
    color: black;
    padding: 0.5em 1em;
    border-radius: 4px;
  }
  .skip-link:focus {
    left: 1em;
    top: 1em;
    width: auto;
    height: auto;
    outline: 2px solid #fff;
  }

  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
  }
/**************************************************************
* Header
***************************************************************/
.header {
  background: #fff;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid #D4AF37;
  filter: drop-shadow(0 0 8px rgba(139, 69, 19, 0.6));
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  /* border: 2px solid red; */
}

/* .navbar {
  border: 2px solid red;
} */

.nav-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  /* padding: 0.5rem; */
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 33px;
  height: 21px;
  z-index: 1001;
}

.nav-toggle:focus-visible {
  outline: 2px solid #D4AF37;
  outline-offset: 4px;
  border-radius: 4px;
}

.nav-toggle .bar {
  /* display: block; */
  width: 100%;
  height: 3px;
  background-color: #8B4513;
  transition: all 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .3rem 1rem;
  /* border: 2px solid red; */
}

.nav-brand a {
  text-decoration: none;
  color: inherit;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  /* border: 2px solid red; */
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #8B4513;
}

.nav-link::after, 
.footer-section ul li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #D4AF37;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after,
.footer-section ul li a:hover::after,
.footer-section ul li a.active::after {
    width: 100%;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #D4AF37;
  font-size: 1.5rem;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
  filter: drop-shadow(0 0 8px rgba(139, 69, 19, 0.4));
}

.logo-text {
  font-size: 1.5rem;
}

/**************************************************************
* Hero
***************************************************************/
.hero {
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* border: 2px solid red; */
}

.hero-content {
  padding: 0 2rem;
  /* border: 2px solid red; */
}

.hero-title {
  font-size: 3rem;
  color: #E8E9F3;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #666;
  margin-bottom: 2rem;
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
  /* border: 2px solid red; */
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  /* border: 2px solid red; */
}

.hero-image {
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  /* border: 2px solid red; */
}

.hero-image {
  display: flex;
  justify-content: space-evenly;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hero-image:hover img {
  transform: scale(1.02);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  /* border: 2px solid red; */
}

.btn-primary {
  background: #8B4513;
  color: #fff;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
  background: #D4AF37;
  color: #fff;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover, .btn-secondary:hover {
  transform: translateY(-2px);
}

.hero-title {
  font-size: 3rem;
  color: #8B4513;
  margin-bottom: 1rem;
}
.image-comparison-slider {
  /* border: 2px solid gold; */
  width: 75%;
  height: 75%;
  position: relative;
  user-select: none;
}

.image-comparison-container {
  /* border: 2px solid red; */
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.image-comparison-before,
.image-comparison-after {
  /* border: 2px solid green; */
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-comparison-before {
  position: relative;
}

.image-comparison-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
}

.image-comparison-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image-comparison-slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: #fff;
  cursor: ew-resize;
  z-index: 3;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.slider-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, 
    rgba(255,255,255,0) 0%, 
    rgba(255,255,255,0.8) 45%, 
    rgba(255,255,255,1) 50%, 
    rgba(255,255,255,0.8) 55%, 
    rgba(255,255,255,0) 100%);
}

.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.slider-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.slider-button i {
  font-size: 14px;
  color: #8B4513;
}

.slider-button i:first-child {
  margin-right: -2px;
}

.slider-button i:last-child {
  margin-left: -2px;
}

.image-comparison-labels {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
  z-index: 4;
}

.label-before,
.label-after {
  background: rgba(255, 255, 255, 0.9);
  color: #8B4513;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  backdrop-filter: blur(10px);
}

/**************************************************************
* Why Choose Us
***************************************************************/
.why-choose-us {
  background: #f8f9fa;
}

.features-grid {
  display: flex;
  justify-content: center;
  /* display: grid; */
  /* grid-template-rows: auto 200px 1fr auto; */
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #8B4513, #A0522D);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.feature-icon i {
  font-size: 2rem;
  color: #fff;
}

.feature-card h3 {
  color: #8B4513;
  margin-bottom: 1rem;
}

.feature-card p {
  margin-bottom: 1.5rem;
}

.feature-card .btn {
  margin-top: auto;
  width: 100%;
  max-width: 200px;
}

section {
  padding: 4rem 0;
}

.section-header {
  /* border: 2px solid red; */
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  /* border: 2px solid red; */
  color: #8B4513;
}

.section-subtitle {
  /* border: 2px solid red; */
  text-align: center;
  color: #666;
  margin-bottom: 3rem;
}

/**************************************************************
* Contact
***************************************************************/
.contact {
  background: #fff;
  /* border: 2px solid red; */
}

.contact-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  padding: 2rem;
  border: 1px solid rgba(139, 69, 19, 0.12);
  /* border: 2px solid red; */
}

.contact-form {
  /* border: 2px solid red; */
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form .form-row {
  /* border: 2px solid red; */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.contact-form .form-group {
  /* border: 2px solid red; */
  display: flex; 
  flex-direction: column;
  gap: 0.35rem;
}

.contact-form label {
  /* border: 2px solid red; */
  font-weight: 600;
  color: #8B4513;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  color: #333;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
  /* border: 2px solid red; */
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #D4AF37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
  /* border: 2px solid red; */

}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
  /* border: 2px solid red; */

}

.contact-form .btn {
  align-self: flex-start;
}


/**************************************************************
* Footer
***************************************************************/

.footer {
  background: #333;
  color: #fff;
  padding: 3rem 0 1rem;
  /* border: 2px solid red; */
}

.footer-content {
  /* border: 2px solid red; */
  display: flex;
  justify-content: space-evenly;
  gap: 2rem;
  margin-bottom: 1rem;
}

.footer-section h3 {
  /* border: 2px solid red; */
  color: #D4AF37;
}

.footer-section h4 {
  /* border: 2px solid red; */
  color: #D4AF37;
}

.footer-section ul {
  /* border: 2px solid red; */
  list-style: none;
  padding-left: 0;
}

.footer-section ul li {
  /* border: 2px solid red; */
  margin-bottom: 0.5rem;
}

.footer-section a {
  /* border: 2px solid red; */
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.footer-section a:hover {
  color: #D4AF37;
}

.contact-info i {
  /* border: 2px solid red; */
  color: #D4AF37;
}

.footer-bottom {
  /* border: 2px solid red; */
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #555;
  color: #ccc;
}

address {
  font-style: normal;
}

address a {
  color: #ccc;
  text-decoration: none;
}

address a:hover {
  color: #D4AF37;
}

/**************************************************************
* Media queries
***************************************************************/
@media (max-width: 768px) {
  
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-h, 60px);
    left: -100%;
    width: 100%;
    background: #fff;
    transition: left 0.3s ease;
    z-index: 999;
    
  }

  header {
    filter: none !important;
  }

  .nav-menu.is-active {
    left: 0;
  }

  .nav-list {
    flex-direction: column;
    padding: 1rem;
    gap: 0;
  }

  .nav-list li {
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  .nav-link {
    display: block;
    padding: 1rem;
    width: 100%;
  }
  
  .hero {
    height: 100vh;
  }

  .hero-title {
    font-size: 2rem;
    /* border: 2px solid red; */
  }

  .hero-buttons {
      justify-content: center;
    /* border: 2px solid red; */
  }

  .footer-content {
    /* border: 2px solid red; */
    display: block;
  }

}