:root {
  --primary: #0056b3;
  --secondary: #ff6600;
  --dark: #1a1a1a;
  --light: #f8f9fa;
  --gray: #6c757d;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  color: #333;
  line-height: 1.6;
  background-color: #fff;
}

header {
  background: var(--dark);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.top-bar {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 8px;
  font-weight: bold;
}

.top-bar a {
  color: #fff;
  text-decoration: underline;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

.logo span {
  color: var(--secondary);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--secondary);
}

.cta-btn {
  background: var(--secondary);
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.menu-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: #fff;
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
}

.menu-toggle.active .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media screen and (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    left: -100%;
    top: 0;
    flex-direction: column;
    background-color: var(--dark);
    width: 100%;
    height: 100vh;
    justify-content: center;
    transition: 0.3s ease-in-out;
    gap: 30px;
  }

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

  .nav-links a {
    font-size: 1.4rem;
  }
}

.hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
  color: #fff;
  padding: 100px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 25px;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

.btn-secondary {
  background: var(--secondary);
}

.page-header {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 50px 20px;
}

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

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

.card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 20px;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 15px;
}

.reviews-section {
  background: var(--light);
  padding: 50px 20px;
  margin-top: 40px;
  border-top: 2px solid #e9ecef;
}

.reviews-section h2 {
  text-align: center;
  margin-bottom: 30px;
}

.review-card {
  background: #fff;
  padding: 20px;
  border-left: 4px solid var(--secondary);
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.stars {
  color: #ffc107;
  margin-bottom: 10px;
}

.author {
  font-weight: bold;
  margin-top: 10px;
  color: var(--gray);
  font-size: 0.9rem;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

footer {
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: 25px 20px;
  margin-top: 50px;
}

footer a {
  color: var(--secondary);
}

/* Discount Popup Overlay Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.popup-modal {
    background: #ffffff;
    width: 90%;
    max-width: 480px;
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 3px solid #e63946;
    animation: popupScale 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popupScale {
    from { transform: scale(0.8); }
    to { transform: scale(1); }
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    line-height: 1;
}

.popup-close:hover {
    color: #000;
}

.popup-tag {
    background: #e63946;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
}

.popup-modal h2 {
    margin: 0 0 10px;
    font-size: 28px;
    color: #111;
}

.popup-modal h2 span {
    color: #e63946;
    font-size: 36px;
    display: block;
    margin-top: 5px;
}

.popup-modal p {
    color: #555;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.popup-cta {
    display: block;
    background: #e63946;
    color: #ffffff;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 18px;
    transition: background 0.2s ease;
}

.popup-cta:hover {
    background: #d62828;
}

.popup-dismiss {
    display: inline-block;
    margin-top: 12px;
    color: #777;
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
}