/* Base Styles */
:root {
  --primary-color: #ff6b9e;
  --primary-light: #ffd6e7;
  --secondary-color: #4ecdc4;
  --dark-color: #2d3436;
  --light-color: #f8f9fa;
  --text-color: #333;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: #ff4d8d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 158, 0.3);
}

/* Header */
.header {
  /* position: fixed; */
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: var(--transition);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  position: relative;
}

.logo img {
  height: auto;
  width: 180px;
}

/* Navigation */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a {
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

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

/* Hamburger Menu */
.hamburger {
  display: none;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger-box {
  width: 24px;
  height: 20px;
  display: inline-block;
  position: relative;
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 24px;
  height: 2px;
  background-color: var(--dark-color);
  border-radius: 4px;
  position: absolute;
  transition: var(--transition);
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  display: block;
}

.hamburger-inner::before {
  top: -8px;
}

.hamburger-inner::after {
  bottom: -8px;
}

/* Hero Section */
.hero {
  /* margin-top: 80px; */
  /* height: calc(100vh - 80px);
  min-height: 500px; */
  position: relative;
  overflow: hidden;
}

.hero-swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  position: relative;
  /* display: flex; */
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.swiper-pagination-bullet-active{
  background: var(--primary-color);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
  color: white;
  background: rgba(0, 0, 0, 0.3);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(0, 0, 0, 0.5);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1.5rem;
}

/* Announcement Bar */
.announcement-bar {
  background-color: var(--primary-light);
  color: var(--dark-color);
  padding: 0.5rem 0;
  text-align: center;
  font-size: 0.875rem;
  position: relative;
}

.announcement-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  line-height: 1;
  padding: 0 0.5rem;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}
.header-contact a{
  display: flex;
  align-items: center;
  gap: 7px;
}
/* Responsive Design */
@media (max-width: 1024px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: white;
    padding: 6rem 2rem 2rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 1000;
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .hamburger {
    display: block;
  }

  .header-contact {
    display: none;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  /* .hero {
    height: 60vh;
    min-height: 400px;
  } */
}

/* Brand Work Section */
.brand-work {
  margin: 2rem 0 0;
}

.brand-work-container {
  width: 100%;
  overflow: hidden;
}

.brand-work-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Map Section */
.map-section {
  padding: 4rem 0;
  background-color: var(--light-color);
}

.map-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--dark-color);
  font-size: 2.5rem;
}

.map-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.map-wrapper {
  position: relative;
  width: 100%;
  height: 450px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.map-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
}

.map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* About Section */
.about {
  padding: 4rem 0;
  background-color: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-content h2 {
  font-size: 2.5rem;
  color: var(--dark-color);
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #666;
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.video-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 107, 158, 0.9);
  border: none;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.play-button:hover {
  background: var(--primary-color);
  transform: translate(-50%, -50%) scale(1.1);
}

.play-button svg {
  color: white;
  margin-left: 4px;
}

/* Gallery Section */
.gallery {
  padding: 4rem 0;
  background-color: var(--light-color);
}

.gallery h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--dark-color);
  font-size: 2.5rem;
}

.gallery-swiper {
  padding: 1rem 0;
}

.gallery-item {
  cursor: pointer;
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Testimonials Section */
.testimonials {
  padding: 4rem 0;
  background-color: white;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--dark-color);
  font-size: 2.5rem;
}

.testimonials-swiper {
  padding: 1rem 0 2rem;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  height: auto;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.testimonial-quote {
  font-style: italic;
  color: #666;
  line-height: 1.6;
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  height: auto;
  width: 180px;
  margin-bottom: 1rem;
  /* filter: brightness(0) invert(1); */
}

.footer-brand p {
  color: #ccc;
  line-height: 1.6;
}

.footer-services h3,
.footer-contact h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

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

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

.footer-services a {
  color: #ccc;
  transition: var(--transition);
}

.footer-services a:hover {
  color: var(--primary-color);
}

/* Inquiry Form */
.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  position: relative;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #555;
  border-radius: var(--border-radius);
  background-color: #444;
  color: white;
  font-family: inherit;
  transition: var(--transition);
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
  color: #aaa;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(255, 107, 158, 0.2);
}

/* Error states */
.inquiry-form input.error,
.inquiry-form textarea.error {
  border-color: #dc3545;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
}

.error-message {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

.error-message.show {
  display: block;
}

/* Form messages */
.form-messages {
  margin-top: 1rem;
}

.success-message {
  background: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: var(--border-radius);
  border: 1px solid #c3e6cb;
  font-weight: 500;
}

.error-message-global {
  background: #f8d7da;
  color: #721c24;
  padding: 1rem;
  border-radius: var(--border-radius);
  border: 1px solid #f5c6cb;
  font-weight: 500;
}

/* Submit button loading state */
.btn .btn-loading {
  display: none;
}

.btn.loading .btn-text {
  display: none;
}

.btn.loading .btn-loading {
  display: inline;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

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

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Popup Overlay Styles */
.contact-popup-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-popup {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  padding: 2rem;
  max-width: 400px;
  width: 100%;
  position: relative;
  animation: popupFadeIn 0.3s;
}

@keyframes popupFadeIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.contact-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #ff6b9e;
  cursor: pointer;
  z-index: 10;
}

.contact-popup .inquiry-form .form-group {
  margin-bottom: 1rem;
}

.contact-popup .btn {
  width: 100%;
}

/* Language Switcher Styles */
.lang-switcher, .lang-switcher-mobile {
  display: inline-block;
  margin-left: 1rem;
  vertical-align: middle;
}
.lang-switcher select, .lang-switcher-mobile select {
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #eee;
  font-size: 1rem;
  background: #fff;
  cursor: pointer;
}

/* RTL Support */
body[dir="rtl"], html[dir="rtl"] {
  direction: rtl;
  text-align: right;
  font-family: 'Tajawal', Arial, sans-serif;
}
body[dir="rtl"] .main-nav ul {
  justify-content: flex-end;
}
body[dir="rtl"] .footer-grid {
  flex-direction: row-reverse;
}
body[dir="rtl"] .form-group input,
body[dir="rtl"] .form-group textarea {
  text-align: right;
}
.lang-switcher-mobile{
  display: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-contact {
    grid-column: 1 / -1;
  }
  .lang-switcher-mobile{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    margin-top: 5px;
  }
}

@media (max-width: 768px) {
  .about-content h2,
  .gallery h2,
  .testimonials h2,
  .map-section h2 {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .map-wrapper {
    height: 300px;
  }

  .gallery-item img {
    height: auto;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  /* .hero {
    height: 50vh;
    min-height: 300px;
  } */

  .about,
  .gallery,
  .testimonials,
  .map-section {
    padding: 2rem 0;
  }

  .about-content h2,
  .gallery h2,
  .testimonials h2,
  .map-section h2 {
    font-size: 1.75rem;
  }

  .map-wrapper {
    height: 250px;
  }

  .testimonial-card {
    padding: 1.5rem;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  z-index: 1000;
}

.whatsapp-float:hover {
  transform: translateY(-4px);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}
