@import url("https://fonts.googleapis.com/css?family=Roboto:400,700|Playfair+Display:700&display=swap");

:root {
  --background-root: #f8f9fa;
  --background-dimmer: #f4f5f7;

  --accent-default: #e67e22;
  --accent-dimmer: #e28431;
  --accent-dimmest: #ce7324;

  --text-blue-muted: #3c5c77;
  --text-blue-default: #e9ecef;

  --success-default: #8ae95e;
  --success-dimmer: #72ca49;

  --limited-bg: rgba(230, 125, 34, 0.59);
}

body {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  background: var(--background-root);
}

body.modal-open {
  overflow: hidden;
}

.text-accent {
  color: var(--accent-default);
}

.bg-accent {
  background: var(--accent-default);
}

.text-box {
  background: var(--text-blue-default);
  border-radius: 8px;
  color: var(--text-blue-muted);
  padding: 16px;
  margin: 15px 0;
}

.w-fit {
  width: fit-content;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: none;
}

.overlay.active {
  display: block;
}

.hero-section {
  background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)),
    url("/public/cegesbuli3.avif") center/cover;
  padding: 120px 0;
  height: 80vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 30px;
}

.cookie-notice {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  color: #333;
  padding: 30px;
  border-radius: 8px;
  z-index: 1001;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 500px;
  width: 90%;
}

.cookie-notice .button-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.cookie-notice button {
  padding: 10px 25px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  min-width: 150px;
  height: 45px;
  transition: all 0.5s ease;
  white-space: nowrap;
  min-width: 180px;
}

.cookie-notice button.btn-success:hover {
  background: var(--success-default);
  transform: translateY(-2px);
}

.cookie-notice button.btn-danger {
  background: #e74c3c;
  color: white;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notification-prompt {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  text-align: center;
  max-width: 500px;
  width: 90%;
}

.notification-prompt button {
  margin: 10px;
  padding: 10px 25px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  background: var(--accent-default);
  color: white;
  font-weight: bold;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  min-width: 120px;
}

.notification-prompt button:hover {
  background: #d35400;
  transform: translateY(-2px);
}

@keyframes fluctuate {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.limited-offer {
  background: var(--limited-bg); /* Changed to red */
  backdrop-filter: blur(10px);
  color: white;
  padding: 15px;
  text-align: center;
  position: relative;
  top: 0;
  z-index: 100;
  width: 100%;
  height: 110px;
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
  text-decoration: none;
  position: fixed;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
}

.line-clamp-1 {
  display: -webkit-box;
  overflow: hidden;
  width: fit-content;
  word-break: break-all;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  text-overflow: ellipsis;
}

.limited-offer .countdown {
  color: #fff;
  font-size: 1.2em;
  margin-left: 10px;
}

.plan-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.plan-card.featured {
  border: 2px solid var(--accent-default);
  box-shadow: 0 6px 12px rgba(230, 126, 34, 0.2);
}

.plan-card .card-title {
  color: var(--primary-color);
  font-size: 1.4rem;
}

.plan-card .card-text {
  color: var(--text-blue-muted);
}

.ribbon {
  position: absolute;
  top: 20px;
  right: -35px;
  transform: rotate(45deg);
  background: var(--accent-default);
  color: white;
  padding: 5px 40px;
  font-size: 0.8em;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.price-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.original-price {
  text-decoration: line-through;
  color: var(--text-blue-muted);
  font-size: 0.9rem;
}

.current-price {
  color: var(--primary-color);
  font-size: 1.3rem;
  font-weight: bold;
}

.savings-badge {
  background: var(--success-dimmer);
  color: white;
  display: inline-block;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
}

.select-plan-btn {
  background-color: var(--accent-default);
  color: white;
  border-radius: 25px;
  padding: 10px 25px;
  font-weight: bold;
  transition: all 0.3s ease;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.select-plan-btn:hover {
  background-color: #d35400;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  color: white;
}

.img-placeholder {
  background: var(--text-blue-default);
  border: 2px dashed #ced4da;
  padding: 100px 20px;
  text-align: center;
  border-radius: 8px;
  color: var(--text-blue-muted);
  font-weight: bold;
  margin: 15px 0;
}

.icon-placeholder {
  background: #ffffff;
  border: 2px dashed #ced4da;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-blue-muted);
  font-size: 0.8em;
}

.feature-card {
  padding: 30px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: transform 0.3s ease;
}

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

.btn {
  padding: 10px 25px;
  border-radius: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background-color: var(--accent-default);
  border-color: var(--accent-default);
}

.btn-link {
  color: var(--accent-default);
  text-decoration: none;
}

.btn-link:hover {
  color: #d35400;
  text-decoration: underline;
}

.buy-now-btn {
  background: var(--accent-dimmest);
  color: white;
  padding: 15px 30px;
  border-radius: 10px;
  font-size: 1.2em;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  display: inline-block;
  border: 2px solid transparent; /* Added white outline */
  animation: fluctuate 1.5s infinite ease-in-out; /* Added fluctuation animation */
}

.buy-now-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  background: var(--accent-dimmer);
  color: white;
  text-decoration: none;
  border-color: #ffffff;
}

/* Floating Chat Styles */
.floating-chat-icon {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 80px; /* Doubled from 60px */
  height: 80px; /* Doubled from 60px */
  background-color: var(--accent-default);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-chat-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.floating-chat-icon svg {
  width: 40px; /* Adjusted to match the new container size */
  height: 40px; /* Adjusted to match the new container size */
}

.floating-chat-window {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 350px;
  height: 450px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-header {
  background-color: var(--accent-default);
  color: white;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h4 {
  margin: 0;
  font-size: 1.2rem;
}

.close-chat {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.chat-messages {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
}

.chat-message {
  margin-bottom: 10px;
  padding: 8px 12px;
  background-color: #f1f1f1;
  border-radius: 8px;
  max-width: 80%;
}

.chat-message:nth-child(even) {
  background-color: #e6f7ff;
  margin-left: auto;
}

.chat-input-area {
  padding: 15px;
  border-top: 1px solid #eee;
  display: flex;
}

.chat-input-area input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-right: 10px;
}

.chat-input-area button {
  background-color: var(--accent-default);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 10px 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.chat-input-area button:hover {
  background-color: #d35400;
}

.customer-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0;
  }

  .display-2 {
    font-size: 2.5rem;
  }

  .img-placeholder {
    padding: 60px 20px;
  }

  .floating-chat-icon {
    width: 90px; /* Slightly smaller on mobile but still larger than original */
    height: 90px;
    bottom: 20px;
    right: 20px;
  }

  .floating-chat-icon svg {
    width: 45px;
    height: 45px;
  }

  .floating-chat-window {
    width: 90%; /* Make chat window responsive */
    height: 400px;
    bottom: 120px; /* Position above the icon */
    right: 5%;
    left: 5%;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .floating-chat-icon {
    width: 80px;
    height: 80px;
    bottom: 15px;
    right: 15px;
  }

  .floating-chat-icon svg {
    width: 40px;
    height: 40px;
  }

  .floating-chat-window {
    height: 350px;
    bottom: 110px;
  }
}
