/* Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #8b5a2b;
  --secondary-color: #d4af37;
  --accent-color: #a67c52;
  --text-color: #333;
  --light-text: #f5f5f5;
  --background-color: #f9f5f0;
  --card-bg: #fff;
  --header-bg: #1a1a1a;
  --footer-bg: #1a1a1a;
  --border-radius: 8px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  background-color: var(--background-color);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
  transition: var(--transition);
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  color: var(--primary-color);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--secondary-color);
}

/* Custom Cursor */
.cursor {
  width: 12px;
  height: 12px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
}

.cursor-follower {
  width: 40px;
  height: 40px;
  border: 2px solid var(--secondary-color);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
}

.cursor-active {
  transform: translate(-50%, -50%) scale(1.5);
  background-color: transparent;
  border: 1px solid var(--secondary-color);
}

.cursor-follower-active {
  transform: translate(-50%, -50%) scale(0.5);
  background-color: rgba(212, 175, 55, 0.1);
}

/* Header Styles */
.header {
  background-color: var(--header-bg);
  padding: 1rem 5%;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--light-text);
  letter-spacing: 1px;
}

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

.main-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin: 0 1.2rem;
}

.nav-links a {
  color: var(--light-text);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: var(--light-text);
  margin: 5px;
  transition: all 0.3s ease;
}

/* Mobile Navigation Styles */
.nav-active {
  display: flex !important;
}

.nav-active li {
  opacity: 1 !important;
  animation: fadeIn 0.5s ease forwards;
}

/* Set animation delay for each list item */
.nav-active li:nth-child(1) { animation-delay: 0.1s; }
.nav-active li:nth-child(2) { animation-delay: 0.2s; }
.nav-active li:nth-child(3) { animation-delay: 0.3s; }
.nav-active li:nth-child(4) { animation-delay: 0.4s; }
.nav-active li:nth-child(5) { animation-delay: 0.5s; }
.nav-active li:nth-child(6) { animation-delay: 0.6s; }
.nav-active li:nth-child(7) { animation-delay: 0.7s; }

.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
  opacity: 0;
}

.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero {
  height: 60vh;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/feedback-hero.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--light-text);
  margin-top: 70px;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--light-text);
  position: relative;
  padding-bottom: 20px;
}

.hero-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Feedback Section */
.feedback-section {
  padding: 6rem 0;
  background-color: var(--background-color);
  background-image: url('images/subtle-pattern.png');
  position: relative;
  overflow: hidden;
  color: var(--text-color);
}

.feedback-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(139, 90, 43, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
  z-index: 1;
}

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

.section-title {
  margin-bottom: 1.5rem;
  text-align: center;
}

.section-title .highlight {
  color: var(--secondary-color);
  position: relative;
}

.section-title .highlight::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--secondary-color);
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: var(--text-color);
  font-size: 1.1rem;
  line-height: 1.6;
}

.feedback-form-container {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 3.5rem;
  box-shadow: var(--box-shadow);
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background-image: linear-gradient(to bottom, #fff, #f9f7f2);
}

.form-decorations {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
}

.decoration-item {
  position: absolute;
  font-size: 2rem;
  color: rgba(212, 175, 55, 0.15);
  animation: float 6s ease-in-out infinite;
}

.decoration-1 {
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  animation-delay: 0s;
}

.decoration-2 {
  bottom: 40px;
  left: 25px;
  font-size: 2.2rem;
  animation-delay: 1.5s;
}

.decoration-3 {
  top: 50%;
  right: 40px;
  font-size: 2.3rem;
  animation-delay: 3s;
}

.decoration-4 {
  bottom: 80px;
  right: 60px;
  font-size: 2rem;
  animation-delay: 4.5s;
}

@keyframes float {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

#feedback-form {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px dashed rgba(139, 90, 43, 0.2);
}

.form-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  display: inline-block;
  background: rgba(212, 175, 55, 0.1);
  width: 70px;
  height: 70px;
  line-height: 70px;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.form-header h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.form-header p {
  color: #777;
  font-size: 0.9rem;
}

.required-mark {
  color: #e74c3c;
  font-weight: bold;
}

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

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 500;
  color: var(--text-color);
  font-size: 1.05rem;
}

.input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1rem;
  color: var(--primary-color);
  font-size: 1rem;
  z-index: 1;
}

.textarea-icon {
  top: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1rem 1rem 2.8rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background-color: rgba(255, 255, 255, 0.8);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
  background-color: #fff;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: var(--accent-color);
}

/* Rating styles */
.rating-group {
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.rating-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-start;
  gap: 0.3rem;
}

.rating input {
  display: none;
}

.rating label {
  cursor: pointer;
  font-size: 2rem;
  color: #ddd;
  transition: var(--transition);
}

.rating label:hover,
.rating label:hover ~ label,
.rating input:checked ~ label {
  color: var(--secondary-color);
  transform: scale(1.1);
}

.rating-text {
  font-size: 0.9rem;
  color: #777;
  font-style: italic;
}

/* Checkbox styles */
.checkbox-group {
  margin-bottom: 2rem;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.checkbox-container input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary-color);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.checkbox-container input[type="checkbox"]:checked {
  background-color: var(--primary-color);
}

.checkbox-container input[type="checkbox"]:checked::before {
  content: '\2713';
  position: absolute;
  color: white;
  font-size: 14px;
  font-weight: bold;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.checkbox-container label {
  cursor: pointer;
  margin-bottom: 0;
  line-height: 1.4;
}

/* Button styles */
.form-buttons {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  justify-content: center;
}

.submit-btn,
.reset-btn {
  padding: 1rem 2.5rem;
  border-radius: var(--border-radius);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.submit-btn {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: var(--light-text);
  border: none;
  flex: 2;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
  transition: width 0.5s ease;
  z-index: -1;
}

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

.reset-btn {
  background-color: transparent;
  color: var(--text-color);
  border: 1px solid #ddd;
  flex: 1;
}

.submit-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(139, 90, 43, 0.3);
}

.reset-btn:hover {
  background-color: #f5f5f5;
  transform: translateY(-3px);
  border-color: #ccc;
}

/* Testimonials section */
.testimonials {
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(139, 90, 43, 0.1);
}

.testimonials-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--primary-color);
  position: relative;
}

.testimonials-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: var(--secondary-color);
}

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

.testimonial-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  position: relative;
  transition: var(--transition);
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 4rem;
  font-family: 'Georgia', serif;
  color: rgba(212, 175, 55, 0.2);
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: rgba(212, 175, 55, 0.3);
}

.testimonial-rating {
  margin-bottom: 1rem;
  color: var(--secondary-color);
  font-size: 1.2rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: var(--text-color);
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
  text-align: right;
}

/* Footer Styles */
.footer {
  background-color: var(--footer-bg);
  color: var(--light-text);
  padding-top: 4rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 3rem;
}

.footer-section {
  flex: 1;
  min-width: 300px;
  margin-bottom: 2rem;
  padding: 0 1.5rem;
}

.footer-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  color: var(--light-text);
}

.footer-section h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--secondary-color);
}

.footer-section p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: #aaa;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 1.5rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--light-text);
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-5px);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-item i {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--secondary-color);
}

.contact-item span {
  color: #aaa;
}

.newsletter-form {
  display: flex;
  margin-top: 1.5rem;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.newsletter-form input {
  flex: 1;
  padding: 1rem;
  border: none;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--light-text);
  font-family: inherit;
}

.newsletter-form input::placeholder {
  color: #aaa;
}

.newsletter-form button {
  padding: 0 1.5rem;
  background-color: var(--primary-color);
  color: var(--light-text);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background-color: var(--secondary-color);
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  text-align: center;
  padding: 1.5rem 0;
}

.footer-bottom p {
  color: #aaa;
  font-size: 0.9rem;
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
  .footer-content {
    padding: 0 5% 3rem;
  }
}

@media screen and (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .feedback-form-container {
    padding: 2rem;
  }
  
  .footer-section {
    min-width: 250px;
  }
}

@media screen and (max-width: 768px) {
  .header {
    padding: 1rem 5%;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--header-bg);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }
  
  .nav-links.nav-active {
    display: flex !important;
  }
  
  .nav-links li {
    margin: 1rem 0;
  }
  
  .burger {
    display: block;
  }
  
  .hero {
    height: 50vh;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .feedback-section {
    padding: 4rem 0;
  }
  
  .section-description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .feedback-form-container {
    padding: 2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .form-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
  }
  
  .form-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 2rem;
  }
  
  .form-header h3 {
    font-size: 1.5rem;
  }
  
  .decoration-item {
    font-size: 1.5rem;
  }
  
  .decoration-1 {
    font-size: 2rem;
  }
  
  .rating label {
    font-size: 1.8rem;
  }
  
  .testimonial-cards {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-section {
    width: 100%;
    padding: 0;
    margin-bottom: 3rem;
  }
  
  .footer-section:last-child {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 576px) {
  .logo {
    font-size: 1.5rem;
  }
  
  .hero {
    height: 40vh;
  }
  
  .hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .feedback-form-container {
    padding: 1rem;
  }
  
  .form-buttons {
    flex-direction: column;
  }
  
  .submit-btn, .reset-btn {
    width: 100%;
  }
  
  .footer {
    padding-top: 3rem;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 1s ease forwards;
}

.slide-up {
  animation: slideUp 0.8s ease forwards;
}

.slide-in-left {
  animation: slideInLeft 0.8s ease forwards;
}

.slide-in-right {
  animation: slideInRight 0.8s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes slideInLeft {
  from { transform: translateX(-50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Custom Cursor Animation */
@keyframes cursorPulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
}

.cursor-pulse {
  animation: cursorPulse 2s infinite;
}
