:root {
  --emerald: #0f5c3b;
  --banner-height: 40px;
  --nav-height: 80px;
  --sapphire: #1b3b6f;
  --onyx: #1c1c1c;
  --gold: #ffd700;
  --gold-light: #fff4d6;
  --white: #ffffff;
  --gray-light: #f8f9fa;
  --gray-medium: #6c757d;
  --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.2);
}

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

:where([class^="ri-"])::before {
  content: "\f3c2";
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--onyx);
  overflow-x: hidden;
}

.font-serif {
  font-family: "Playfair Display", serif;
}

.hero {
  height: 100vh;
  background: linear-gradient(
    135deg,
    var(--onyx) 0%,
    var(--sapphire) 50%,
    var(--emerald) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("https://readdy.ai/api/search-image?query=luxury%20jewelry%20diamonds%20emeralds%20sapphires%20on%20elegant%20dark%20velvet%20background%20with%20golden%20light%20reflections%20and%20sparkles%2C%20premium%20jewelry%20store%20atmosphere%2C%20sophisticated%20lighting%2C%20high-end%20luxury%20aesthetic&width=1920&height=1080&seq=hero-bg&orientation=landscape")
    center/cover;
  opacity: 0.3;
  z-index: 1;
}

.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 50%;
  animation: sparkle 3s infinite;
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0;
    transform: scale(0);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-content {
  text-align: center;
  z-index: 3;
  position: relative;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(50px);
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--gold-light);
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(30px);
}

.cta-button {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: linear-gradient(45deg, var(--gold), #ffe55c);
  color: var(--onyx);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:hover::before {
  width: 300px;
  height: 300px;
}

.cta-button:hover {
  transform: translateY(-2px);
}

.section {
  padding: 6rem 0;
}

.container {
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
  margin-bottom: 4rem;
  color: var(--onyx);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.feature-card {
  background: var(--white);
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(50px);
}

.feature-card:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: var(--shadow-heavy);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  background: linear-gradient(45deg, var(--emerald), var(--sapphire));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--onyx);
}

.feature-description {
  color: var(--gray-medium);
  line-height: 1.7;
}

.showcase {
  background: var(--gray-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1) rotate(2deg);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(15, 92, 59, 0.8),
    rgba(27, 59, 111, 0.8)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.lightbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--emerald), var(--sapphire));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(50px);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: 0;
  margin-right: 60%;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 60%;
  margin-right: 0;
}

.timeline-content {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-medium);
  position: relative;
}

.timeline-year {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--emerald);
  margin-bottom: 1rem;
}

.timeline-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--onyx);
}

.timeline-description {
  color: var(--gray-medium);
  line-height: 1.7;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 2rem;
  width: 20px;
  height: 20px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateX(-50%);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-light);
}

.testimonials {
  background: var(--onyx);
  color: var(--white);
}

.testimonials .section-title {
  color: var(--white);
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  min-width: 100%;
  text-align: center;
  padding: 2rem;
}

.testimonial-quote {
  font-size: 1.3rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--gold-light);
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-info h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.testimonial-info p {
  color: var(--gray-medium);
  font-size: 0.9rem;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray-medium);
  cursor: pointer;
  transition: background 0.3s ease;
}

.dot.active {
  background: var(--gold);
}

.sticky-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--banner-height);
  background: var(--gold);
  color: var(--onyx);
  z-index: 1000;
}

.sticky-banner .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  overflow: hidden;
  margin: 0;
  width: 100%;
  padding: 0;
}

.sticky-banner .container p {
  text-align: center;
  white-space: nowrap;
  width: 100%;
}

.main-nav {
  position: fixed;
  top: var(--banner-height);
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--white);
  box-shadow: var(--shadow-light);
  z-index: 1000;
}

.main-nav .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 2rem;
  color: var(--onyx);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--onyx);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--emerald);
}

/* Hamburger Menu Styles */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background: var(--onyx);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

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

.hamburger-menu.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

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

/* Mobile Navigation Styles */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    box-shadow: var(--shadow-heavy);
    transition: right 0.3s ease;
    z-index: 1000;
    gap: 0;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links a:hover {
    color: var(--emerald);
    padding-left: 1rem;
    background: rgba(15, 92, 59, 0.05);
  }

  .hamburger-menu {
    display: flex;
  }

  /* Overlay for mobile menu */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

.go-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--emerald), #2dce89);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  border: none;
  box-shadow: 0 4px 15px rgba(45, 206, 137, 0.2);
  overflow: hidden;
}

.go-to-top::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-200%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

.go-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.go-to-top:hover {
  transform: translateY(-5px);
  background: linear-gradient(135deg, #2dce89, var(--emerald));
  box-shadow: 0 6px 20px rgba(45, 206, 137, 0.3);
}

.newsletter-input-group {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input-group input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid var(--gray-medium);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.newsletter-input-group input::placeholder {
  color: var(--gray-medium);
}

.newsletter-btn {
  padding: 0.75rem 1.5rem;
  background: var(--gold);
  color: var(--onyx);
  border: none;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-light);
}

.footer {
  background: var(--onyx);
  color: var(--white);
  padding: 4rem 0 2rem;
  margin-top: var(--nav-height);
}

.hero {
  margin-top: calc(var(--banner-height) + var(--nav-height));
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--gold);
}

.footer-section p,
.footer-section a {
  color: var(--gray-light);
  text-decoration: none;
  line-height: 1.7;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--gold);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--sapphire);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transition: left 0.3s ease;
}

.social-link:hover::before {
  left: 0;
}

.social-link i {
  position: relative;
  z-index: 1;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 2rem;
  text-align: center;
  color: var(--gray-medium);
}

/* Contact Section Styles */
.contact-section {
  background: linear-gradient(135deg, var(--gray-light) 0%, var(--white) 100%);
}

.contact-main-card {
  background: var(--white);
  border-radius: 25px;
  box-shadow: var(--shadow-heavy);
  overflow: hidden;
  margin-top: 3rem;
  opacity: 0;
  transform: translateY(30px);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: linear-gradient(135deg, var(--emerald) 0%, var(--sapphire) 100%);
  padding: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  color: var(--white);
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.contact-info-item:hover {
  transform: translateY(-3px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--white);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-details h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.contact-details p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
}

.contact-details .hours {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
}

.contact-form-section {
  padding: 2.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 0.95rem;
  background: var(--white);
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(15, 92, 59, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-focus-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(45deg, var(--emerald), var(--sapphire));
  transition: width 0.3s ease;
}

.form-group input:focus ~ .form-focus-border,
.form-group select:focus ~ .form-focus-border,
.form-group textarea:focus ~ .form-focus-border {
  width: 100%;
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  background: linear-gradient(45deg, var(--emerald), var(--sapphire));
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-top: 0.5rem;
}

.submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.submit-btn.loading {
  pointer-events: none;
}

.btn-icon {
  transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
  transform: translateX(5px);
}

/* Form validation styles */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-group.success input,
.form-group.success select,
.form-group.success textarea {
  border-color: #28a745;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

/* Shake animation for form validation */
@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

.contact-form.shake {
  animation: shake 0.5s ease-in-out;
}

@media (max-width: 768px) {
  .hero-content {
    padding: 0 1rem;
  }
  .section {
    padding: 4rem 0;
  }
  .container {
    padding: 0 1rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .timeline::before {
    left: 2rem;
  }
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 4rem;
    margin-right: 0;
    text-align: left;
  }
  .timeline-dot {
    left: 2rem;
  }
  .newsletter {
    position: relative;
    bottom: auto;
    right: auto;
    margin: 2rem 1rem;
    transform: none;
    max-width: none;
  }
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .contact-info-item {
    padding: 1rem;
  }
  .contact-form-section {
    padding: 2rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
