/*
Theme Name: flydoo
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: A custom WordPress theme with ERP contact form functionality. Clean, modern, and fully responsive design.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flydoo
Tags: custom, responsive, modern, form
*/

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "DM Sans", sans-serif;
  line-height: normal;
  color: #fff;
  background-color: #24282d;
}

/* Container */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background-color: #24282d;
  padding: 24px 0;
  z-index: 1000;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
}

.custom-logo-link {
  display: inline-block;
}

.custom-logo-link img.custom-logo {
  max-width: 183px;
  max-height: 52px;
  width: auto;
  height: auto;
}

.site-title-text {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
}

/* Navigation */
.main-navigation {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 24px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-menu li {
  margin: 0;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 16px;
  font-weight: 600;
  transition: color 0.3s ease;
  padding: 12px 24px;
}

.nav-menu a:hover {
  color: #f78018;
}

/* CTA Button */
.cta-button {
  background-color: #faa44b;
  color: #fff;
  padding: 16px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.cta-button:hover {
  background-color: #015dde;
}

.cta-button-mobile {
  display: none;
}

.cta-button-desktop {
  display: inline-block;
}

/* Main Content */
/* .site-main {
  padding: 40px 0;
  min-height: calc(100vh - 200px);
} */

/* Footer */
.site-footer {
  background-color: #24282d;
  color: #fff;
  padding: 42px 0 16px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0 0;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid #363e44;
}

.footer-copyright {
  color: #566673;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer-link {
  color: #566673;
  text-decoration: none;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #fff;
}

.footer-separator-vertical {
  color: #566673;
  font-size: 14px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Responsive */
@media (max-width: 1024px) {
  .container {
    padding: 0 24px;
  }

  .nav-menu {
    gap: 16px;
  }

  .nav-menu a {
    padding: 10px 16px;
    font-size: 15px;
  }

  .cta-button {
    padding: 14px 18px;
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .site-header {
    padding: 16px 0;
  }

  .footer-content {
    flex-direction: row;
    align-items: flex-start;
    padding: 20px 0;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .site-header .container {
    position: relative;
    flex-wrap: nowrap;
    gap: 16px;
  }

  .mobile-menu-toggle {
    display: flex;
    order: 2;
  }

  .main-navigation {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #24282d;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    order: 3;
    flex: none;
    margin-top: 16px;
    padding: 0 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }

  .main-navigation.active {
    max-height: 500px;
    padding: 20px;
  }

  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid #363e44;
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-menu a {
    display: block;
    padding: 16px 0;
    width: 100%;
    font-size: 16px;
  }

  .cta-button-desktop {
    display: none;
  }

  .cta-button-mobile {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 16px;
    padding: 14px 20px;
    font-size: 16px;
  }

  .custom-logo-link img.custom-logo {
    max-width: 140px;
    max-height: 40px;
  }

  .site-title-text {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .site-header {
    padding: 12px 0;
  }

  .cta-button-mobile {
    padding: 12px 16px;
    font-size: 15px;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }

  .custom-logo-link img.custom-logo {
    max-width: 120px;
    max-height: 36px;
  }

  .site-title-text {
    font-size: 18px;
  }

  .footer-content {
    flex-direction: row;
    align-items: flex-start;
    padding: 16px 0;
    gap: 12px;
  }

  .footer-copyright,
  .footer-link {
    font-size: 13px;
  }
}
