:root {
  --primary-dark: #111111;
  --luxury-gold: #c5a059;
  --border-color: #e5e7eb;
  --leather-base: #f6f4ef;
  --leather-crease: rgba(120, 108, 92, 0.08);
  --leather-grain: rgba(255, 255, 255, 0.5);
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--primary-dark);
  background-color: var(--leather-base);
  background-image:
    radial-gradient(circle at 22% 18%, var(--leather-grain) 0%, transparent 34%),
    radial-gradient(circle at 78% 75%, var(--leather-crease) 0%, transparent 36%),
    radial-gradient(circle at 48% 56%, rgba(90, 78, 66, 0.05) 0%, transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(230, 224, 214, 0.45));
  background-size: 280px 280px, 320px 320px, 260px 260px, 100% 100%;
  -webkit-font-smoothing: antialiased;
}

.bg-white,
.contact-section {
  background-color: transparent !important;
}

.hero-header {
  background: url("../img/Title.webp") right / cover no-repeat;
}

.back-arrow-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--primary-dark);
  color: var(--primary-dark);
  text-decoration: none;
  margin-bottom: 1.25rem;
}

.back-arrow-link:hover {
  background: var(--primary-dark);
  color: #fff;
}

.back-arrow-link svg {
  width: 1.2rem;
  height: 1.2rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.02em;
}

/* Global Sharpness */

* {
  border-radius: 0 !important;
}

.section-padding {
  padding-top: 120px;
  padding-bottom: 120px;
}

.section-title {
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  font-weight: 700;
  color: #888;
  margin-bottom: 60px;
  font-family: 'Inter', sans-serif;
}

/* Navbar Customization */

.navbar {
  padding-top: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--primary-dark);
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar-brand {
  letter-spacing: 0.2em;
  font-size: 1.2rem;
}

.nav-link {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--primary-dark) !important;
  margin-left: 20px;
}

/* Luxury Buttons */

.btn-luxury {
  background-color: var(--primary-dark);
  color: #fff;
  padding: 18px 40px;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  border: 1px solid var(--primary-dark);
  transition: all 0.3s ease;
}

.btn-luxury:hover {
  background-color: transparent;
  color: var(--primary-dark);
}

.btn-outline-luxury {
  background-color: transparent;
  color: var(--primary-dark);
  padding: 12px 30px;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  border: 1px solid var(--primary-dark);
  transition: all 0.3s ease;
}

.btn-outline-luxury:hover {
  background-color: var(--primary-dark);
  color: #fff;
}

/* Uniform Card Body Size */

.card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 180px;
}

/* Swiper Styling */

.projectSwiper {
  width: 100%;
  max-width: 360px;
  padding-top: 30px;
  padding-bottom: 55px;
  overflow: visible;
}

.projectSwiper .swiper-slide {
  width: 320px;
  height: auto;
}

.project-stack-card {
  border: 1px solid var(--border-color);
  border-radius: 20px !important;
  overflow: hidden;
  min-height: 390px;
  background: #fff;
}

.project-stack-card .card-img-top {
  height: 185px;
  object-fit: cover;
}

.project-stack-card .card-body {
  min-height: 200px;
}

.project-stack-card h4 {
  font-size: 1rem;
  line-height: 1.35;
}

.swiper-button-next, .swiper-button-prev {
  color: var(--primary-dark) !important;
}

.swiper-pagination-bullet-active {
  background: var(--primary-dark) !important;
}

.btn-luxury-arrow {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary-dark);
  background: white;
  color: var(--primary-dark);
}

.btn-luxury-arrow:hover {
  background: var(--primary-dark);
  color: white;
}

/* Accordion Overrides */

.accordion-button {
  padding: 25px;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--primary-dark);
  background-color: transparent !important;
}

.accordion-button:not(.collapsed) {
  color: var(--primary-dark);
  box-shadow: none;
}

.accordion-button::after {
  filter: grayscale(1);
}

/* Form Styling */

.form-control {
  border: none;
  border-bottom: 1px solid var(--border-color);
  padding: 15px 0;
  font-weight: 300;
  color: var(--primary-dark);
  background: transparent;
}

.form-control:focus {
  box-shadow: none;
  border-color: var(--primary-dark);
  background: transparent;
}

/* Project Stacked Look */

.project-img-container {
  overflow: hidden;
  height: 600px;
}

.project-img-container img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  filter: grayscale(0.4) contrast(1.1);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-item:hover .project-img-container img {
  transform: scale(1.05);
}

.project-content-card {
  border: 1px solid var(--primary-dark);
  top: 50%;
  transform: translateY(-50%);
  margin-right: -5%;
  z-index: 10;
}

/* Adjustments for smaller screens */

@media (max-width: 991px) {
  .project-content-card {
    position: relative !important;
    transform: none !important;
    margin-right: 0;
    width: 100% !important;
    border-top: none;
  }
}

@media (max-width: 991px) {
  .project-img-container {
    height: 400px;
  }
}

.carousel-controls-container {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
}

.btn {
}

span {
}

#services .card-body svg {
  display: block;
  margin: 0 auto 1rem;
}

#services .card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(197, 160, 89, 0.3) !important;
  box-shadow: 0 12px 26px rgba(17, 17, 17, 0.08);
}

.contact-section {
  background-color: #fff;
}

.contact-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.contact-layout > .col-lg-8 {
  border-left: 2px solid var(--primary-dark);
  padding-left: 3rem;
}

.contact-social-list {
  font-size: 1.3rem;
  line-height: 1.8;
}

.contact-social-list a {
  color: var(--primary-dark);
  text-decoration: none;
}

.contact-social-list a:hover {
  text-decoration: underline;
}

.contact-template-form .form-label {
  font-size: 1.05rem;
  font-weight: 500;
}

.contact-form-control {
  border: 1px solid #aeb4bb;
  border-radius: 999px !important;
  background: #fff;
  min-height: 52px;
  padding: 0.7rem 1.2rem;
  font-size: 1rem;
}

textarea.contact-form-control {
  border-radius: 26px !important;
  min-height: 110px;
  resize: vertical;
}

.project-page {
  max-width: 1240px;
}

.project-grid .card {
  border: 1px solid var(--border-color);
  overflow: hidden;
  border-radius: 16px !important;
}

.project-grid .card-img-top {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.project-grid .card-body {
  min-height: unset;
  padding: 1.15rem;
}

.project-grid .card-body h4 {
  font-size: 1.1rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.project-grid .card-body .card-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-grid time {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: #707070;
}

.project-article {
  max-width: 980px;
}

.project-article-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
  margin-bottom: 1rem;
}

.project-article-lead,
.project-article-body {
  font-size: 1.08rem;
  line-height: 1.75;
  color: #2c2c2c;
}

.project-article-image {
  width: 100%;
  border-radius: 16px !important;
  margin: 1.25rem 0 1rem;
  object-fit: cover;
}

.project-related {
  max-width: 1240px;
}

.contact-submit-btn {
  border-radius: 999px !important;
  border: 1px solid var(--primary-dark);
  min-height: 52px;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  background: var(--primary-dark);
}

@media (max-width: 991px) {
  .contact-layout > .col-lg-8 {
    border-left: 0;
    padding-left: calc(var(--bs-gutter-x) * .5);
  }
}

@media (max-width: 767px) {
  .hero-header {
    background-image: url("../img/hor-title.png");
    align-items: flex-start !important;
    min-height: 100svh;
    background-position: center bottom;
    background-size: cover;
  }

  .hero-header .container {
    padding-top: 2rem !important;
    padding-bottom: 14rem !important;
  }

  .hero-header h1 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
    line-height: 1.05;
  }

  .project-page h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .project-grid .card-body {
    padding: 1rem;
  }

  .project-grid .card-body h4 {
    font-size: 1rem;
  }

  .project-article-title {
    margin-bottom: 0.8rem;
  }

  .project-article-lead,
  .project-article-body {
    font-size: 1rem;
    line-height: 1.65;
  }

  .project-article-image {
    margin: 1rem 0 0.85rem;
    border-radius: 12px !important;
  }
}
