/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: mohamed dabach
Template: hello-elementor
Version: 2.0.0
Text Domain: doda
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/
header .social-icons,
.custom-polylang-switcher,
.main-navigation {
  z-index: 99;
}
/* Load local Raleway variable fonts (normal + italic) */
@font-face {
  font-family: "RalewayLocal";
  src: url("fonts/Raleway-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "RalewayLocal";
  src: url("fonts/Raleway-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* Global Styles */

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

body {
  font-family: "Poppins", sans-serif;
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
}

/* Headings use Raleway variable font */
h1,
h2,
h3,
h4,
h5,
h6,
.site-title,
.site-title-footer,
.project-title,
.photo-credits-name {
  font-family: "RalewayLocal", "Raleway", Arial, sans-serif;
  font-weight: 400;
}

/* Header Styles */
.project-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  padding: 20px 0;
  transition: all 0.3s ease;
}

.project-header.scrolled {
  background-color: rgba(0, 0, 0, 0.95);
  padding: 15px 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

/* Logo Styles */
.logo-container {
  display: flex;
  align-items: center;
  padding-top: 4px;
}

.logo-container .custom-logo-link {
  display: block;
  line-height: 0;
}

.logo-container .custom-logo {
  max-height: 60px;
  width: auto;
  transition: opacity 0.3s ease;
}

.logo-container .custom-logo:hover {
  opacity: 0.8;
}

/* Fallback for site title when no logo */
.logo-container .site-title {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  letter-spacing: 2px;
}

/* Navigation Styles */
.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
  paddding-top:8px;
}

.main-navigation a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 300;
  transition: color 0.3s ease;
  position: relative;
}

.main-navigation a:hover {
  color: #ccc;
}

.main-navigation a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #fff;
  transition: width 0.3s ease;
}

.main-navigation a:hover::after {
  width: 100%;
}

/* Dropdown Menu Styles */
.main-navigation li {
  position: relative;
}

.main-navigation .has-dropdown {
  position: relative;
}

.main-navigation .dropdown-arrow {
  font-size: 10px;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.main-navigation .has-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.main-navigation .dropdown-menu {
  position: absolute;
  top: 44px;
  left: 0;
  display: none;
  background-color: rgb(0 0 0 / 95%);
  /* backdrop-filter: blur(10px); */
  min-width: 199px;
  /* padding: 20px 0; */
  border-radius: 8px;
  box-shadow: 0px 0px 4px 1px rgb(194 194 194 / 20%);
  /* opacity: 0; */
  /* visibility: hidden; */
  transform: translateY(-10px);
  transition: all 0.3s ease;
  flex-direction: column;
  gap: 0;
  z-index: 999999999;
}

.main-navigation .has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-navigation .dropdown-menu li {
  width: 100%;
  position: relative;
}
.main-navigation .dropdown-menu li:not(:last-child):after {
  position: absolute;
  content: "";
  bottom: 0;
  left: 20px;
  width: calc(100% - 40px);
  height: 1px;
  background: #ffffff2e;
  z-index: 999999;
}
.main-navigation .dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: white;
  font-size: 14px;
  border-radius: 0;
  transition: all 0.3s ease;
}

.main-navigation .dropdown-menu a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.main-navigation .dropdown-menu a::after {
  display: none;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Footer Styles */
.project-footer {
  background-color: #000;
  color: #fff;
  padding: 60px 0 30px;
  margin-top: 80px;
}
.footer-contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.footer-content {
  display: grid;
  grid-template-columns: 1fr 4fr 1fr;
  /* gap: 60px; */
  margin-bottom: 28px;
}

/* Footer Logo Styles */
.footer-logo .custom-logo-link {
  display: block;
  line-height: 0;
}

.footer-logo .custom-logo {
  max-height: 85px;
  width: auto;
  /* filter: brightness(0) invert(1); */ /* Make logo white if it's dark */
  transition: opacity 0.3s ease;
}

.footer-logo .custom-logo:hover {
  opacity: 0.8;
}

/* Fallback for site title in footer */
.footer-logo .site-title-footer {
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 20px;
}

.footer-section h3 {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.footer-section p,
.footer-section a {
  color: #ccc;
  text-decoration: none;
  line-height: 1.6;
  font-size: 14px;
}

.footer-section a:hover {
  color: #fff;
}
.footer-address p {
  margin-bottom: 15px;
}
.footer-address {
  /* margin-bottom: 15px; */
  /* padding: 10px; */
}
.footer-address a:visited,
.footer-address a {
  color: white;
  margin-bottom: 15px;
  display: block;
  text-decoration: none;
}

.footer-address a:hover {
  text-decoration: underline;
}
.footer-contact {
  /* margin-bottom: 10px; */
  margin-top: 25px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 22px;
    justify-content: end;
    align-items: flex-start;
}

.footer-social-icon {
  width: 35px;
  height: 35px;
  border: 1px solid #ccc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social-icon:hover {
  border-color: #fff;
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
  color: white !important;
  font-size: 12px;
}
.footer-bottom a {
  color: white !important;
}

/* Responsive Design for Global Elements */
@media (max-width: 768px) {
  .header-container {
    /* flex-direction: column; */
    gap: 20px;
  }
  .project-footer {
    margin-top: 20px;
  }
  .footer-contact {
    flex-direction: column;
  }
  .footer-address {
    margin-bottom: 0;
  }

  .main-navigation ul {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  /* Mobile Dropdown Styles */
  .main-navigation .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: none;
    margin-top: 10px;
    border-radius: 8px;
    min-width: auto;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0;
  }

  .main-navigation .has-dropdown:hover .dropdown-menu {
    max-height: 200px;
    padding: 10px 0;
  }

  .main-navigation .dropdown-menu a {
    padding: 8px 15px;
    font-size: 13px;
  }

  .social-icons {
    margin-top: 10px;
  }

  /* Mobile Logo Styles */
  .logo-container .custom-logo {
    max-height: 45px;
  }

  .footer-logo .custom-logo {
    max-height: 100px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 29px;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}
.footer-address p:first-child,
.footer-address a:first-child{
    margin-bottom:0;
}

@media (max-width: 480px) {
  .main-navigation ul {
    gap: 15px;
  }

  .main-navigation a {
    font-size: 14px;
  }

  .social-icon {
    width: 35px;
    height: 35px;
  }

  /* Small Mobile Logo Styles */
  .logo-container .custom-logo {
    max-height: 50px;
  }

  .footer-logo .custom-logo {
    max-height: 55px;
  }
}

/* Hero Section Styles */
.hero-section {
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
  position: relative;
  overflow: hidden;
}

/* Hero Content */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  position: relative;
}

/* Animation Container - Travels Left to Right */
.animation-container {
  width: 100%;
  height: 100px;
  position: relative;
  margin-bottom: 20px;
  overflow: hidden;
}

.flight-animation {
  height: 80px;
  width: 120px;
  position: absolute;
  left: -500px; /* Start way off-screen left */
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  transition: opacity 0.5s ease-in;
}

#lottie-animation {
  width: 240px;
  height: 100%;
}

.flight-animation.loaded {
  opacity: 1;
}

/* Traveling Animation */
.animation-container.travel .flight-animation {
  animation: travelAcross 8s linear forwards;
}

@keyframes travelAcross {
  0% {
    left: -500px;
  }
  100% {
    left: calc(100% + 200px); /* Exit off-screen right */
  }
}

/* Fade out animation container */
.animation-container.fade-out {
  opacity: 0;
  transition: opacity 1s ease-out;
}

/* Hero Title */
.hero-title {
  font-size: 48px;
  font-weight: 300;
  letter-spacing: 3px;
  color: #fff;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.fade-in-title {
  opacity: 0;
  transform: translateY(30px);
  transition: all 2s ease-out;
}

.fade-in-title.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Hero Styles */
@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
    letter-spacing: 2px;
  }

  .hero-content {
    gap: 20px;
  }

  .animation-container {
    height: 80px;
  }

  .flight-animation {
    height: 60px;
    width: 90px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 24px;
    letter-spacing: 1px;
  }
}

#lottie-player svg,
#lottie-animation svg {
  filter: drop-shadow(-2px 0 0 white) drop-shadow(0 -1px 0 white);
}

.header-right {
  display: flex;
  justify-content: end;
  align-items: center;
  transform:translateY(-7px)!important;
}

.custom-polylang-switcher {
  position: relative;
  display: inline-block;
  font-family: inherit;
  margin-right: 20px;
}
.polylang-switcher-toggle {
  background: transparent;
  border-color: transparent;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.polylang-switcher-toggle:hover {
  /* border-color:#999; */
  /* box-shadow:0 2px 4px rgba(0,0,0,0.1); */
}
.polylang-switcher-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 2px #151515;
}
.polylang-switcher-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  /* background:#fff; */
  border: none;
  border-radius: 4px;
  min-width: 100%;
  box-shadow: 0 4px 12px #151515;
  margin-top: 2px;
  overflow: hidden;
}
.polylang-switcher-dropdown.show {
  display: block !important;
}
.polylang-switcher-dropdown li {
  margin: 0;
  list-style: none;
}
.polylang-switcher-dropdown li a {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  text-decoration: none;
  color: #333;
  transition: background-color 0.2s ease;
  gap: 8px;
}
.polylang-switcher-dropdown li a:hover {
  background: #f8f9fa;
}
.polylang-switcher-dropdown li.current-lang > a {
  background: #e3f2fd;
  font-weight: 600;
}
.custom-polylang-switcher ul {
  list-style: none;
  margin: 0;
  padding: 0;
  background: black;
  box-shadow: 0px 0px 0px 0.5px #3d3d3d;
}
.custom-polylang-switcher li {
  margin: 0;
}
.custom-polylang-switcher li.current-lang > a {
  font-weight: 600;
}
.lang-flag {
  width: 24px;
  height: 18px;
  object-fit: cover;
  border-radius: 2px;
}
.dropdown-arrow svg {
  font-size: 12px;
  transition: transform 0.2s ease;
  color: #c9c9c9;
  width: 20px;
  stroke-width: 3;
}
.polylang-switcher-toggle.active .dropdown-arrow {
  transform: rotate(180deg);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: #aaa5a5;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

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

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

/* Mobile Sidebar Overlay */
.mobile-sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-sidebar-overlay.active {
  display: block;
  opacity: 1;
}

/* Mobile Sidebar */
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background-color: #090909;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1999;
  overflow-y: auto;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.mobile-sidebar.active {
  right: 0;
}

/* Mobile Sidebar Header */
.mobile-sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.mobile-logo-link {
  display: block;
}

.mobile-logo {
  height: 40px;
  width: auto;
}

.mobile-sidebar-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  color: #8b8b8b;
  transition: color 0.3s ease;
}

.mobile-sidebar-close:hover {
  color: #000;
}

/* Mobile Sidebar Navigation */
.mobile-sidebar-nav {
  flex: 1;
  padding: 20px 0;
}

.mobile-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-menu li {
  /* border-bottom: 1px solid #f0f0f0; */
}

.mobile-nav-menu a {
  display: block;
  padding: 15px 20px;
  color: #cdc9c9;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.mobile-nav-menu a:hover,
.mobile-nav-menu li.current-menu-item > a {
  background-color: #f8f8f8;
  color: #000;
}

/* Submenu styles */
.mobile-nav-menu .sub-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  /* background-color: #f8f8f8; */
}

.mobile-nav-menu .sub-menu a {
  padding-left: 40px;
  font-size: 14px;
}

/* Mobile Sidebar Footer */
.mobile-sidebar-footer {
  padding: 20px;
  border-top: 1px solid #eee;
}

.mobile-lang-switcher {
  margin: 0;
}

.mobile-social-links {
  display: flex;
  gap: 15px;
  justify-content: center;
}
.mobile-header-right {
  display: none;
  justify-content: center;
  align-items: center;
  height: 100%;
}

/* Filter Navigation */
.filter-navigation {
  padding: 20px 0;
  margin-bottom: 10px;
  position: relative;
  z-index: 100;
}

.filter-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  gap: 40px;
  position: relative;
  z-index: 100;
}

.filter-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.filter-nav a {
  color: #8f8f8f;
  text-decoration: none;
  font-size: 18px;
  font-weight: 300;
  padding: 10px 20px;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
  pointer-events: all;
  z-index: 10;
}

.filter-nav a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 6px;
  background: white;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 5px;
  transition: width 0.3s ease;
  pointer-events: none;
}

.filter-nav a:hover,
.filter-nav a.active {
  color: #fff;
}

.filter-nav a:hover:after,
.filter-nav a.active:after {
  width: 20px;
}
/* Responsive */
@media (max-width: 768px) {
  .mobile-header-right,
  .mobile-menu-toggle {
    display: flex;
  }

  .main-navigation,
  .header-right {
    display: none;
  }

  /* Prevent body scroll when sidebar is open */
  body.mobile-sidebar-open {
    overflow: hidden;
  }
  
    #lottie-animation {
      width: 200px;
      height: 100%;
    }
    
    .animation-container {
      margin-bottom: 0px;
    }
}
