@import url("Kingred/stylesheet.css");
/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background-color: #1a1a1a;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: white;
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid #b8860b;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.logo p {
	font-size: 0.9rem;
	opacity: 0.9;
	margin-top: -5px;
	color: #CDB991;
}

/* Enhanced 3D Animated MEMORIALISE Logo Styles */
.animated-logo,
.animated-title {
	font-family: Kingred !important;
	color: #b8860b;
	background-color: #FFC900;
	background-size: 200% 200%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-shadow: 0 1px 0 #FEFC02,0 2px 0 #7a5c12,0 3px 0 #6b4f10,0 4px 1px rgba(0, 0, 0, 0.1),0 0 8px rgba(184, 134, 11, 0.4),0 1px 3px rgba(0, 0, 0, 0.3),0 3px 5px rgba(0, 0, 0, 0.2),inset 0 1px 0 rgba(255, 255, 255, 0.3);
	position: relative;
	font-weight: 900;
	letter-spacing: 3px;
	filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
}

.animated-title {
	font-size: 4rem;
	text-transform: uppercase;
	/* Remove glow effects for main title */
	animation: none;
	text-shadow: 0 1px 0 #CC9917,0 2px 0 #7a5c12,0 3px 0 #6b4f10,0 4px 1px rgba(0, 0, 0, 0.1),0 1px 3px rgba(0, 0, 0, 0.3),0 3px 5px rgba(0, 0, 0, 0.2),inset 0 1px 0 rgba(255, 255, 255, 0.3);
	font-family: kingred;
}

/* Enhanced header logo specific styles */
.logo .animated-logo {
  color: #b8860b;
  font-size: 2rem;
  text-shadow:
    0 1px 0 #8b6914,
    0 2px 0 #7a5c12,
    0 3px 0 #6b4f10,
    0 4px 1px rgba(0, 0, 0, 0.1),
    0 0 8px rgba(184, 134, 11, 0.4),
    0 1px 3px rgba(0, 0, 0, 0.3),
    0 3px 5px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Fallback for browsers that don't support the effects */
@supports not (text-shadow: 0 0 10px gold) {
  .animated-logo,
  .animated-title {
    color: #b8860b;
    font-weight: 900;
  }
}

/* Responsive adjustments for the animated text */
@media (max-width: 768px) {
  .animated-logo {
    font-size: 1.5rem;
  }

  .animated-title {
    font-size: 2.5rem;
  }

  .logo .animated-logo {
    font-size: 1.6rem;
  }
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.nav-menu a:hover {
  opacity: 0.8;
}

/* Enhanced Hero Section with dynamic gradients */
.hero {
	background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
	padding: 120px 0 80px;
	text-align: center;
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid #b8860b;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(184, 134, 11, 0.1) 0%, transparent 70%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.03) 2px,
    rgba(255, 255, 255, 0.03) 4px
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-title {
	font-size: 4rem;
	font-weight: 900;
	letter-spacing: 3px;
	color: #b8860b;
	margin-bottom: 0.5rem;
	text-shadow: 0px 2px 0px rgba(137,108,17,1.00);
	font-family: kingred;
}

.hero-subtitle {
	font-size: 1.4rem;
	font-weight: 600;
	color: #CDB991;
	margin-bottom: 2rem;
	letter-spacing: 1px;
	text-align: center;
}

.hero-message {
	max-width: 900px;
	color: #e5e5e5;
	font-style: italic;
	line-height: 1.8;
	font-size: x-large;
	height: auto;
	width: auto;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 4rem;
	margin-left: auto;
}

.hero-images {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.memory-card {
	background: #f4f1e8; /* Old beige parchment color */
	border-radius: 6px;
	padding-top: 8px;
	padding-right: 8px;
	padding-left: 8px;
	padding-bottom: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	transform: rotate(-2deg);
	transition: transform 0.3s ease;
	border: 2px solid #d4c5a0; /* Darker beige border */
}

.memory-card:nth-child(2) {
  transform: rotate(1deg);
}

.memory-card:nth-child(3) {
  transform: rotate(-1deg);
}

.memory-card:hover {
  transform: rotate(0deg) scale(1.05);
}

.memory-photo {
	width: 260px;
	height: 180px;
	object-fit: cover;
	border-radius: 2px;
	border-collapse: collapse;
	float: none;
}

.hero-tagline {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 3rem;
  letter-spacing: 1px;
}

/* Gold accent dots */
.section-divider {
  text-align: center;
  padding: 2rem 0;
  position: relative;
}

.section-divider::before {
  content: "●";
  color: #b8860b;
  font-size: 1.5rem;
  margin: 0 1rem;
}

.section-divider::after {
  content: "●";
  color: #b8860b;
  font-size: 1rem;
  margin: 0 0.5rem;
}

/* Enhanced Services Section with lighter background */
.services {
  padding: 80px 0;
  background: linear-gradient(45deg, #2a2a2a 0%, #3d3d3d 50%, #2a2a2a 100%);
  position: relative;
  border-top: 1px solid #b8860b;
  border-bottom: 1px solid #b8860b;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(184, 134, 11, 0.08) 50%, transparent 100%);
  animation: slideGradient 8s linear infinite;
}

@keyframes slideGradient {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #daa520; /* Optimized gold contrast */
  margin-bottom: 3rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-item {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #404040;
  position: relative;
  overflow: hidden;
}

.service-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(184, 134, 11, 0.1), transparent);
  transition: left 0.5s ease;
}

.service-item:hover::before {
  left: 100%;
}

.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(184, 134, 11, 0.15), 0 8px 25px rgba(0, 0, 0, 0.4);
  border-color: #daa520;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-item h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
}

.service-item p {
  color: #cccccc;
  line-height: 1.6;
}

/* Pricing Section */
.pricing {
  padding: 80px 0;
  background: #1a1a1a;
  border-bottom: 1px solid #b8860b;
}

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

.pricing-card {
  background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
  padding: 2.5rem 2rem;
  border-radius: 15px;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #daa520, #cfb53b, #b8860b, #daa520);
  background-size: 300% 300%;
  border-radius: 15px;
  z-index: -1;
  opacity: 0;
  animation: rotateBorder 3s linear infinite;
  transition: opacity 0.3s ease;
}

.pricing-card:hover::before {
  opacity: 0.6;
}

@keyframes rotateBorder {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.pricing-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  color: #daa520; /* Optimized gold contrast */
  background: linear-gradient(145deg, #daa520, #b8860b, #8b6914, #b8860b);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 1px 0 #8b6914, 0 2px 0 #7a5c12, 0 3px 0 #6b4f10, 0 4px 1px rgba(0, 0, 0, 0.2), 0 0 5px
    rgba(184, 134, 11, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  margin-bottom: 0.5rem;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
}

.price-detail {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 2rem;
}

.features {
  list-style: none;
  text-align: left;
}

.features li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #daa520;
  font-weight: bold;
}

.delivery-options {
  text-align: center;
  background: #2d2d2d;
  padding: 2rem;
  border-radius: 15px;
  margin-top: 2rem;
  color: #ffffff;
  border: 1px solid #b8860b;
}

.delivery-options h3 {
  color: #daa520;
  margin-bottom: 1rem;
}

/* Care Assurance Section */
.care-assurance {
  padding: 80px 0;
  background: #0f0f0f;
  border-bottom: 1px solid #b8860b;
}

.assurance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.assurance-item {
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #b8860b;
}

.assurance-item h3 {
  font-size: 1.3rem;
  color: #daa520;
  margin-bottom: 1rem;
}

.assurance-item p {
  color: #cccccc;
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background: linear-gradient(45deg, #1a1a1a 0%, #0f0f0f 50%, #1a1a1a 100%);
  position: relative;
  border-bottom: 1px solid #b8860b;
}

.testimonials::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: conic-gradient(
    from 0deg at 50% 50%,
    transparent 0deg,
    rgba(184, 134, 11, 0.05) 90deg,
    transparent 180deg,
    rgba(184, 134, 11, 0.05) 270deg,
    transparent 360deg
  );
  animation: rotateGradient 20s linear infinite;
}

@keyframes rotateGradient {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.testimonial-card {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid #b8860b;
  position: relative;
  z-index: 2;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(45deg, #daa520, transparent, #daa520);
  background-size: 200% 200%;
  border-radius: 20px;
  z-index: -1;
  animation: testimonialBorder 4s ease-in-out infinite;
}

@keyframes testimonialBorder {
  0%,
  100% {
    background-position: 0% 50%;
    opacity: 0.3;
  }
  50% {
    background-position: 100% 50%;
    opacity: 0.6;
  }
}

.testimonial-text {
  margin-bottom: 2rem;
}

.testimonial-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #e5e5e5;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.customer-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #daa520;
}

.author-info h4 {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.author-info p {
  color: #cccccc;
  font-size: 0.9rem;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  color: white;
  position: relative;
  border-top: 2px solid #b8860b;
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(184, 134, 11, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(184, 134, 11, 0.05) 0%, transparent 50%);
}

.contact .section-title {
  color: #daa520;
}

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

.contact-item {
  text-align: center;
  background: rgba(184, 134, 11, 0.1);
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(184, 134, 11, 0.2);
}

.contact-item h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #daa520;
}

.contact-item a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.contact-item a:hover {
  text-decoration: underline;
  color: #cfb53b;
}

.cta-section {
  text-align: center;
  background: rgba(184, 134, 11, 0.15);
  padding: 3rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(184, 134, 11, 0.3);
}

.cta-section h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #daa520;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(45deg, #b8860b, #cfb53b, #b8860b);
  background-size: 200% 200%;
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(184, 134, 11, 0.3);
  animation: buttonGradient 3s ease-in-out infinite;
}

@keyframes buttonGradient {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(184, 134, 11, 0.4);
  background: linear-gradient(45deg, #cfb53b, #daa520, #cfb53b);
}

/* Footer */
.footer {
  background: #0f0f0f;
  color: white;
  padding: 3rem 0 1rem;
  border-top: 2px solid #b8860b;
}

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

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  color: #daa520;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #b8860b;
  color: #bdc3c7;
}

/* Gold accent dots between sections */
.section-dots {
  text-align: center;
  padding: 1rem 0;
  font-size: 1.2rem;
  color: #b8860b;
}

.section-dots::before {
  content: "● ● ●";
  letter-spacing: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hero-title {
    font-size: 2.5rem;
  }

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

  .hero-message {
    font-size: 1rem;
  }

  .hero-images {
    flex-direction: column;
    align-items: center;
  }

  .memory-photo {
    width: 200px;
    height: 150px;
  }

  .services-grid,
  .pricing-grid,
  .assurance-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-author {
    flex-direction: column;
    text-align: center;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
