/* Main CSS for Historically Provenance-Based Artifact Auctions */

/* Color Palette */
:root {
  --primary-1: #dbdbdb;
  /* Warm cream */
  --primary-2: #7c5857;
  /* Dusty rose */
  --primary-3: #b8a09a;
  /* Antique bronze */
  --primary-4: #523c34;
  /* Aged mahogany */
  --primary-5: #5c5252;
  /* Dark umber */

  /* Shades */
  --primary-1-light: #ffffff;
  --primary-2-light: #9f9f9f;
  --primary-3-light: #766c60;
  --primary-4-light: #a3553e;
  --primary-5-light: #513d37;

  /* Text colors */
  --text-dark: #1a1817;
  --text-medium: #9e9e9e;
  --text-light: #ffffff;

  /* Accents */
  --accent-gold: #a7997d;
  --accent-#ff1c00: #87462c;
  --accent-#077d23: #5da767;
}

/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Cormorant Garamond', serif;
  color: var(--text-dark);
  background-color: var(--primary-1-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  margin-bottom: 1.20rem;
  color: var(--primary-5);
}

p {
  margin-bottom: 1.26rem;
}

a {
  text-decoration: none;
  color: var(--primary-4);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-3);
}

section {
  padding: 5rem 0;
}

.btn {
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.88rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--primary-4);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--primary-5);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--primary-3);
  color: var(--primary-4);
}

.btn-outline:hover {
  background-color: var(--primary-3);
  color: var(--text-light);
}

/* Header Styles */
header {
  position: fixed;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 1.5rem 0;
  background-color: rgba(250, 207, 148, 0.90);
  backdrop-filter: blur(14px);
}

header.scrolled {
  padding: 0.8rem 0;
  background-color: rgba(248, 218, 181, 0.95);
  box-shadow: 0 14px 22px rgba(54, 54, 54, 0.10);
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.43rem;
  color: var(--primary-5);
  letter-spacing: 1px;
}

.nav-link {
  font-family: 'Cormorant Garamond', serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 1rem !important;
  margin: 0 0.3rem;
  position: relative;
  color: var(--primary-4) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  background-color: var(--primary-4);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 70%;
}

/* Hero Section Styles */
.hero-section {
  position: relative;
  height: 100vh;
  background-color: var(--primary-1);
  overflow: hidden;
}

.hero-slider {
  height: 100%;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero-slide {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  overflow: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease, z-index 0.1s ease;
  will-change: opacity, visibility, z-index;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.hero-slide:not(.swiper-slide-active) {
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
}

.swiper-slide-active {
  opacity: 1;
  visibility: visible;
  z-index: 5;
}

.swiper-slide-duplicate-active {
  opacity: 1;
  visibility: visible;
  z-index: 5;
}

.swiper-slide-prev,
.swiper-slide-next {
  opacity: 0;
  visibility: hidden;
  z-index: 1;
}

.hero-slide-content {
  position: relative;
  z-index: 10;
  max-width: 600px;
  padding: 0 23px;
}

.hero-slide-content h1 {
  font-size: 3.61rem;
  font-weight: 700;
  margin-bottom: 25.00px;
  color: var(--neutral-100);
  animation: fadeInUp 1s forwards;
  opacity: 0;
}

.hero-slide-content p {
  font-size: 1.34rem;
  color: var(--neutral-100);
  margin-bottom: 31.00px;
  animation: fadeInUp 1s 0.3s forwards;
  opacity: 0;
}

.hero-slide-content .btn {
  animation: fadeInUp 1s 0.6s forwards;
  opacity: 0;
}

.hero-slide-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 2;
}

.hero-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

/* Swiper Controls */
.swiper-button-next,
.swiper-button-prev {
  color: var(--neutral-100);
  transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: var(--accent-1);
  transform: scale(1.1);
}

.swiper-pagination-bullet {
  background: var(--neutral-100);
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background: var(--accent-1);
  opacity: 1;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(34px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .hero-slide-content {
    max-width: 100%;
    text-align: center;
    padding: 0 30px;
  }

  .hero-slide-content h1 {
    font-size: 2.57rem;
  }

  .hero-slide-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }

  .hero-slide-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
  }

  .hero-slide-content {
    z-index: 3;
    position: relative;
  }
}

/* About Section */
.about-section {
  background-color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.about-image {
  position: relative;
}

.about-image img {
  border: 17px solid var(--primary-1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.about-image::before {
  content: '';
  position: absolute;
  width: 80%;
  height: 80%;
  border: 1px solid var(--primary-3);
  top: -30px;
  left: -30px;
  z-index: -1;
}

.about-content {
  padding-left: 2rem;
}

.section-title {
  font-size: 2.57rem;
  margin-bottom: 1.67rem;
  position: relative;
  padding-bottom: 1.10rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary-3);
}

.section-subtitle {
  font-size: 1.34rem;
  color: var(--primary-3);
  margin-bottom: 1.67rem;
}

/* Services Section */
.services-section {
  background-color: var(--primary-1-light);
}

.service-item {
  padding: 2rem;
  margin-bottom: 2.14rem;
  background-color: var(--text-light);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.service-item::before {
  content: '';
  position: absolute;
  width: 3px;
  height: 0;
  background-color: var(--primary-3);
  left: 0;
  top: 0;
  transition: all 0.3s ease;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.1);
}

.service-item:hover::before {
  height: 100%;
}

.service-icon {
  font-size: 2.57rem;
  margin-bottom: 1.67rem;
  color: var(--primary-4);
}

.service-title {
  font-size: 1.51rem;
  margin-bottom: 1.20rem;
}

/* Features Section */
.features-section {
  background-color: var(--primary-5);
  color: var(--text-light);
  position: relative;
}

.features-section .section-title::after {
  background-color: var(--primary-1);
}

.feature-item {
  margin-bottom: 3.14rem;
  position: relative;
  z-index: 2;
}

.feature-icon {
  font-size: 2.14rem;
  color: var(--accent-gold);
  margin-bottom: 1.20rem;
}

.feature-title {
  font-size: 1.43rem;
  margin-bottom: 1.20rem;
  color: var(--primary-1-light);
}

.feature-desc {
  color: var(--primary-1);
}

/* Price Plan Section */
.priceplan-section {
  background-color: var(--text-light);
  position: relative;
}

.price-card {
  background-color: #fff;
  padding: 2.5rem;
  border-radius: 5px;
  box-shadow: 0 17px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-bottom: 2.14rem;
  border: 1px solid var(--primary-1);
}

.price-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.price-header {
  position: relative;
  padding-bottom: 1.60rem;
  margin-bottom: 1.67rem;
  border-bottom: 1px solid var(--primary-1);
}

.price-tag {
  font-size: 2.57rem;
  font-weight: 700;
  color: var(--primary-4);
  margin-bottom: 0.62rem;
}

.price-period {
  font-size: 0.94rem;
  color: var(--text-medium);
}

.price-features {
  margin-bottom: 2.14rem;
}

.price-feature {
  margin-bottom: 0.96rem;
  display: flex;
  align-items: center;
}

.price-feature i {
  color: var(--primary-3);
  margin-right: 10px;
}

.price-footer {
  text-align: center;
}

.highlighted {
  border: 2px solid var(--primary-3);
}

.highlighted::before {
  content: 'Most Popular';
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--primary-3);
  color: var(--text-light);
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Team Section */
.team-section {
  background-color: var(--primary-1-light);
}

.team-member {
  position: relative;
  margin-bottom: 2.14rem;
  overflow: hidden;
}

.team-img {
  width: 100%;
  height: auto;
  transition: all 0.3s ease;
}

.team-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(19, 10, 12, 0.90), rgba(60, 47, 47, 0));
  transform: translateY(0);
  transition: all 0.3s ease;
}

.team-member:hover .team-info {
  transform: translateY(-10px);
}

.team-member:hover .team-img {
  transform: scale(1.05);
}

.team-name {
  font-size: 1.43rem;
  color: var(--text-light);
  margin-bottom: 0.43rem;
}

.team-role {
  font-size: 0.94rem;
  color: var(--primary-1);
}

/* Reviews Section */
.reviews-section {
  background-color: var(--primary-5);
  color: var(--text-light);
  position: relative;
}

.reviews-section .section-title::after {
  background-color: var(--primary-1);
}

.review-slider {
  position: relative;
  z-index: 1;
}

.review-item {
  padding: 3rem;
  position: relative;
}

.review-text {
  font-size: 1.22rem;
  line-height: 1.8;
  margin-bottom: 2.14rem;
  font-style: italic;
  position: relative;
}

.review-text::before {
  content: '"';
  font-size: 5.01rem;
  position: absolute;
  top: -40px;
  left: -20px;
  opacity: 0.1;
  color: var(--primary-1);
}

.review-author {
  display: flex;
  align-items: center;
}

.review-author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 1rem;
  border: 3px solid var(--primary-3);
}

.review-author-name {
  font-size: 1.22rem;
  font-weight: 600;
  margin-bottom: 0.40rem;
  color: var(--primary-1-light);
}

.review-author-title {
  font-size: 0.94rem;
  color: var(--primary-2);
}

/* Core Info Section */
.coreinfo-section {
  background-color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.coreinfo-item {
  padding: 2rem;
  margin-bottom: 2.14rem;
  background-color: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-left: 3px solid var(--primary-3);
}

.coreinfo-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.coreinfo-icon {
  font-size: 2.14rem;
  color: var(--primary-4);
  margin-bottom: 1.67rem;
}

.coreinfo-title {
  font-size: 1.43rem;
  margin-bottom: 1.20rem;
}

/* Contact Section */
.contact-section {
  background-color: var(--primary-1-light);
  position: relative;
}

.contact-form {
  padding: 3rem;
  background-color: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: relative;
}

.form-group {
  margin-bottom: 1.67rem;
}

.form-control {
  height: auto;
  padding: 1rem;
  border: 1px solid var(--primary-1);
  border-radius: 0;
  font-size: 1.01rem;
  background-color: var(--text-light);
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-3);
  box-shadow: none;
}

textarea.form-control {
  min-height: 150px;
}

.contact-info {
  padding: 3rem;
  background-color: var(--primary-5);
  color: var(--text-light);
  height: 100%;
}

.contact-info-item {
  margin-bottom: 2.14rem;
  display: flex;
  align-items: flex-start;
}

.contact-info-icon {
  font-size: 1.51rem;
  color: var(--primary-1);
  margin-right: 1rem;
}

.contact-info-content h4 {
  font-size: 1.22rem;
  margin-bottom: 0.62rem;
  color: var(--primary-1-light);
}

.contact-info-content p {
  color: var(--primary-1);
}

/* Footer */
.footer {
  background-color: var(--primary-5);
  color: var(--text-light);
  padding: 4rem 0 2rem;
  position: relative;
}

.footer-heading {
  font-size: 1.43rem;
  margin-bottom: 1.67rem;
  color: var(--primary-1-light);
  position: relative;
  padding-bottom: 0.94rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-3);
}

.footer-text {
  color: var(--primary-1);
  margin-bottom: 1.67rem;
}

.footer-links {
  padding: 0;
  list-style: none;

}

.footer-links li {
  margin-bottom: 0.96rem;
}

.footer-links a {
  color: var(--primary-1);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-1);
  padding-left: 5px;
}

.copyright {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(234, 177, 167, 0.10);
  margin-top: 3.06rem;
  text-align: center;
  color: var(--primary-1);
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* Utilities */
.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(124, 104, 107, 0.70);
  z-index: 0;
}

.section-spacing {
  padding: 6rem 0;
  padding: 50px;
  padding-top: 150px;
}

.text-primary {
  color: var(--primary-3) !important;
}

.bg-primary {
  background-color: var(--primary-3) !important;
}

.artifact-box {
  position: relative;
  margin-bottom: 31.00px;
  overflow: hidden;
}

.artifact-box img {
  width: 100%;
  transition: all 0.5s ease;
}

.artifact-info {
  position: absolute;
  bottom: -70px;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(29, 19, 15, 0.90), rgba(60, 47, 47, 0));
  transition: all 0.3s ease;
}

.artifact-box:hover .artifact-info {
  bottom: 0;
}

.artifact-box:hover img {
  transform: scale(1.1);
}

.artifact-title {
  font-size: 1.34rem;
  color: var(--text-light);
  margin-bottom: 0.62rem;
}

.artifact-period {
  font-size: 0.94rem;
  color: var(--primary-1);
}