/**
 * Main CSS file for HO BAR theme
 */

/* Variables */
:root {
  --primary-color: #000000;
  --secondary-color: #F8D568; /* Gold accent color */
  --text-color: #333333;
  --text-light: #ffffff;
  --light-gray: #f5f5f5;
  --dark-gray: #333333;
  --overlay-color: rgba(0, 0, 0, 0.7);
  --font-main: 'Assistant', sans-serif;
  --font-accent: 'Playfair Display', serif;
  --transition: all 0.3s ease;
  --section-spacing: 120px;
  --border-radius: 10px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

img {
  max-width: 100%;
  height: auto;
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title {
  font-family: var(--font-accent);
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.section-title span {
  color: var(--secondary-color);
}

.section-subtitle {
  font-size: 24px;
  font-weight: 400;
  margin-top: 5px;
  position: relative;
}

/* Button Styles */
.cta-button,
.about-button,
.alcohol-button,
.submit-button,
.more-button {
  display: inline-block;
  padding: 14px 32px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 16px;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(248, 213, 104, 0.3);
}

.cta-button:hover,
.about-button:hover,
.alcohol-button:hover,
.submit-button:hover,
.more-button:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Header Styles */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
  transition: var(--transition);
}

.site-header.scrolled {
  background-color: var(--primary-color);
  position: fixed;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-branding {
  max-width: 200px;
}

.site-title {
  margin: 0;
  font-size: 24px;
  color: var(--text-light);
  font-weight: 700;
  letter-spacing: 1px;
}

.site-title a {
  color: var(--text-light);
}

.main-navigation {
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-light);
  margin: 5px 0;
  transition: var(--transition);
}

#primary-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

#primary-menu li {
  margin: 0 15px;
}

#primary-menu a {
  color: var(--text-light);
  font-weight: 500;
  padding: 5px 0;
  position: relative;
  font-size: 17px;
}

#primary-menu a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

#primary-menu a:hover:after {
  width: 100%;
}

.header-contact {
  margin-right: 30px;
}

.header-contact .phone-number {
  color: var(--text-light);
  font-weight: 700;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 8px 20px;
  border-radius: 50px;
  display: inline-block;
  transition: var(--transition);
}

.header-contact .phone-number:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

/* Hero Section */
.hero-section {
  height: 100vh;
  min-height: 700px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  overflow: hidden;
}

.hero-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
  animation: fadeIn 2s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-title {
  font-size: 68px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-title span {
  color: var(--secondary-color);
  position: relative;
  display: inline-block;
}

.hero-title span:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--secondary-color);
  bottom: -5px;
  left: 0;
}

.hero-subtitle {
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 15px;
  opacity: 0.9;
}

.hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about-section {
  padding: var(--section-spacing) 0;
  background-color: #fff;
  position: relative;
}

.about-section:before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background-color: rgba(248, 213, 104, 0.05);
  border-radius: 50%;
  top: -250px;
  left: -250px;
  z-index: 0;
}

.about-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
}

.about-text {
  flex: 1;
  min-width: 300px;
  padding-left: 60px;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 17px;
}

.about-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
  position: relative;
}

.about-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  position: relative;
  z-index: 1;
}

.about-image:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--secondary-color);
  border-radius: var(--border-radius);
  top: 20px;
  right: 20px;
  z-index: 0;
}

.about-button {
  margin-top: 30px;
}

/* Services Section */
.services-section {
  padding: var(--section-spacing) 0;
  background-color: var(--light-gray);
  position: relative;
  overflow: hidden;
}

.services-section:after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background-color: rgba(0, 0, 0, 0.03);
  border-radius: 50%;
  bottom: -150px;
  right: -150px;
}

/* Bar Service Items */
.bar-service-item {
  display: flex;
  align-items: center;
  margin-bottom: 100px;
  position: relative;
}

.bar-service-item:last-child {
  margin-bottom: 0;
}

.bar-service-item:nth-child(even) {
  flex-direction: row-reverse;
}

.bar-service-item:nth-child(even) .bar-service-content {
  padding-left: 0;
  padding-right: 50px;
}

.bar-service-image {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.bar-service-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.bar-service-content {
  flex: 1;
  min-width: 300px;
  padding-left: 50px;
}

.bar-service-title {
  font-size: 32px;
  font-family: var(--font-accent);
  margin-bottom: 20px;
  display: inline-block;
}

.bar-service-title span {
  color: var(--secondary-color);
}

.bar-service-text {
  margin-bottom: 25px;
  font-size: 17px;
}

.more-button {
  padding: 10px 25px;
  font-size: 14px;
}

/* Additional Services Grid */
.additional-services {
  padding-top: 80px;
}

.additional-services-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-item {
  position: relative;
  height: 250px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.service-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-item:hover img {
  transform: scale(1.1);
}

.service-item:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}

.service-title {
  position: absolute;
  bottom: 20px;
  right: 20px;
  color: var(--text-light);
  font-size: 20px;
  font-weight: 600;
  z-index: 2;
}

/* Why Us Section */
.why-us-section {
  padding: var(--section-spacing) 0;
  background-color: #fff;
  position: relative;
}

.why-us-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/pattern-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  z-index: 0;
}

.why-us-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.why-us-box {
  background-color: #fff;
  padding: 40px 30px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why-us-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.why-us-box:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 5px;
  background-color: var(--secondary-color);
  top: 0;
  left: 0;
}

.box-number {
  display: inline-block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-size: 24px;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(248, 213, 104, 0.3);
}

.box-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.box-text {
  color: #666;
}

/* Customers Section */
.customers-section {
  padding: var(--section-spacing) 0;
  background-color: var(--light-gray);
  position: relative;
}

.customers-logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.customer-logo {
  padding: 15px;
  flex: 1;
  min-width: 150px;
  max-width: 180px;
  text-align: center;
}

.customer-logo img {
  max-height: 60px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

.customer-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.05);
}

/* Gallery Section */
.gallery-section {
  padding: var(--section-spacing) 0;
  background-color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--border-radius);
  height: 250px;
  box-shadow: var(--box-shadow);
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover:before {
  opacity: 1;
}

.gallery-item:before {
  content: '+';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}

/* Contact Section */
.contact-section {
  padding: var(--section-spacing) 0;
  background-color: var(--light-gray);
  background-size: cover;
  background-position: center;
  position: relative;
}

.contact-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 100%);
}

.contact-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  background-color: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.contact-info {
  flex: 1;
  min-width: 300px;
  padding: 60px 50px;
  background-color: var(--primary-color);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.contact-info:before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  top: -150px;
  left: -150px;
}

.contact-title {
  font-size: 28px;
  margin-bottom: 30px;
  position: relative;
}

.contact-details {
  list-style: none;
  position: relative;
}

.contact-details li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.contact-details li strong {
  min-width: 80px;
  display: inline-block;
}

.contact-details a {
  color: var(--text-light);
  transition: var(--transition);
}

.contact-details a:hover {
  color: var(--secondary-color);
}

.contact-form {
  flex: 1;
  min-width: 300px;
  padding: 60px 50px;
  background-color: #fff;
}

.form-group {
  margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid #eee;
  border-radius: 5px;
  font-family: var(--font-main);
  font-size: 16px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 2px rgba(248, 213, 104, 0.2);
  outline: none;
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.form-submit {
  text-align: left;
}

.submit-button {
  padding: 15px 35px;
}

/* Footer Styles */
.site-footer {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding-top: 80px;
  position: relative;
}

.site-footer:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--secondary-color) 0%, rgba(248, 213, 104, 0.5) 100%);
}

.footer-widgets {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-widget {
  margin-bottom: 30px;
}

.widget-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
  color: var(--secondary-color);
}

.widget-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-description {
  margin-bottom: 15px;
  opacity: 0.8;
}

.footer-text {
  margin-bottom: 20px;
  opacity: 0.7;
  font-size: 15px;
  line-height: 1.7;
}

.footer-menu,
.services-menu,
.footer-contact-info {
  list-style: none;
}

.footer-menu li,
.services-menu li {
  margin-bottom: 12px;
}

.footer-menu a,
.services-menu a {
  color: var(--text-light);
  opacity: 0.7;
  transition: var(--transition);
}

.footer-menu a:hover,
.services-menu a:hover {
  color: var(--secondary-color);
  opacity: 1;
  padding-right: 5px;
}

.footer-contact-info li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  opacity: 0.8;
}

.footer-contact-info li strong {
  min-width: 70px;
  display: inline-block;
  color: var(--secondary-color);
}

.footer-contact-info a {
  color: var(--text-light);
}

.footer-contact-info a:hover {
  color: var(--secondary-color);
}

.site-info {
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.copyright,
.credits {
  margin: 5px 0;
  opacity: 0.7;
  font-size: 14px;
}

.credits {
  color: var(--secondary-color);
}

/* Modal/Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
  position: relative;
  margin: auto;
  padding: 0;
  width: 80%;
  max-width: 1000px;
  height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-lightbox {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  z-index: 2;
}

.close-lightbox:hover,
.close-lightbox:focus {
  color: var(--secondary-color);
  text-decoration: none;
  cursor: pointer;
}

.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-caption {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  text-align: center;
  color: white;
  padding: 10px 0;
  background-color: rgba(0, 0, 0, 0.7);
}

/* Animation Classes */
.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.fadeInUp {
  animation-name: fadeInUp;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Contact Form 7 Styling */
.wpcf7-form {
  width: 100%;
}

.wpcf7-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.wpcf7-form .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 20px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid #eee;
  border-radius: 5px;
  font-family: var(--font-main);
  font-size: 16px;
  transition: var(--transition);
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 2px rgba(248, 213, 104, 0.2);
  outline: none;
}

.wpcf7-form textarea {
  height: 150px;
  resize: vertical;
}

.wpcf7-form input[type="submit"] {
  display: inline-block;
  padding: 15px 35px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 16px;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(248, 213, 104, 0.3);
}

.wpcf7-form input[type="submit"]:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.wpcf7-not-valid-tip {
  color: #dc3232;
  font-size: 14px;
  margin-top: 5px;
}

div.wpcf7-response-output {
  margin: 20px 0;
  padding: 15px;
  border-radius: 5px;
}

div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing {
  border: 2px solid #ffb900;
  background-color: rgba(255, 185, 0, 0.1);
}

div.wpcf7-mail-sent-ok {
  border: 2px solid #46b450;
  background-color: rgba(70, 180, 80, 0.1);
}

/* Page Title Styles */
.page-header {
  padding: 120px 0 60px;
  background-color: var(--primary-color);
  color: var(--text-light);
  margin-bottom: 60px;
  text-align: center;
  position: relative;
}

.page-header:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
}

.page-title {
  font-size: 42px;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.archive-description {
  max-width: 800px;
  margin: 20px auto 0;
  position: relative;
  z-index: 2;
}

/* Blog Styles */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.entry-title {
  font-size: 24px;
  margin-bottom: 15px;
}

.entry-title a {
  color: var(--primary-color);
}

.entry-title a:hover {
  color: var(--secondary-color);
}

.entry-meta {
  font-size: 14px;
  color: #777;
  margin-bottom: 15px;
}

.entry-thumbnail {
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.entry-thumbnail img {
  width: 100%;
  height: auto;
  transition: var(--transition);
}

.entry-thumbnail:hover img {
  transform: scale(1.05);
}

.entry-content {
  margin-bottom: 20px;
}

.entry-content p {
  margin-bottom: 15px;
}

.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6 {
  margin: 30px 0 15px;
}

.entry-content ul, .entry-content ol {
  margin: 0 0 15px 20px;
}

.entry-content img {
  border-radius: var(--border-radius);
  margin-bottom: 15px;
}

.entry-footer {
  border-top: 1px solid #eee;
  padding-top: 20px;
  font-size: 14px;
  color: #777;
}

.entry-footer span {
  display: block;
  margin-bottom: 10px;
}

.read-more {
  display: inline-block;
  padding: 8px 20px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-weight: 600;
  border-radius: 50px;
  font-size: 14px;
  transition: var(--transition);
}

.read-more:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-2px);
}

/* Pagination */
.navigation.pagination {
  text-align: center;
  margin-top: 40px;
}

.nav-links {
  display: inline-block;
}

.page-numbers {
  display: inline-block;
  padding: 8px 16px;
  margin: 0 5px;
  border-radius: 4px;
  background-color: #fff;
  color: var(--primary-color);
  border: 1px solid #eee;
  transition: var(--transition);
}

.page-numbers:hover {
  background-color: var(--light-gray);
}

.page-numbers.current {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-color: var(--secondary-color);
}

/* Contact Message */
.contact-message {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 15px 25px;
  border-radius: 4px;
  font-weight: 600;
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  opacity: 0;
  animation: fadeInDown 0.5s forwards, fadeOut 0.5s 5s forwards;
}

.contact-message.success {
  background-color: #dff2bf;
  color: #4f8a10;
}

.contact-message.error {
  background-color: #ffbaba;
  color: #d8000c;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate(-50%, -20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    visibility: hidden;
  }
}
