/* Base Styles */
/* Beautiful font for menu */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&display=swap');
@font-face {
  font-family: 'beauty';
  src: url('../fonts/beauty1.ttf') format('ttf'); 
  font-weight: 700;
  font-style: normal;
}


:root {
    --neon-white: #ffffff;
    --glowing-light-blue: #00f2ff;
    --neon-blue: #0066ff;
    --shiny-green: #00ff88;
    --neon-red: #ff0033;
    --neon-yellow: #ffcc00;
    --dark-bg: #0a0a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: var(--neon-white);
	background-image: url('../images/aviation_background.jpg');
	background-attachment:fixed;
	background-repeat:no-repeat;
	background-size:cover;
    color: var(--neon-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Loader Styles */
.typography-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0a1a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: 5px;
  background: linear-gradient(90deg, #00f2ff, #0066ff, #00ff88);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 15px rgba(0, 242, 255, 0.3);
  margin-bottom: 2rem;
  animation: textGlow 2s infinite alternate;
}

.loading-bar {
  width: 300px;
  height: 4px;
  background: rgba(0, 242, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
}

.loading-progress {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #00ff88, #00f2ff);
  border-radius: 2px;
  animation: loadingAnimation 2.5s ease-in-out infinite;
}

/* Animations */
@keyframes textGlow {
  0% {
    text-shadow: 0 0 15px rgba(0, 242, 255, 0.3);
  }
  100% {
    text-shadow: 0 0 25px rgba(0, 242, 255, 0.6), 
                 0 0 35px rgba(0, 102, 255, 0.4);
  }
}

@keyframes loadingAnimation {
  0% {
    width: 0%;
    transform: translateX(-50%);
  }
  50% {
    width: 100%;
    transform: translateX(0%);
  }
  100% {
    width: 0%;
    transform: translateX(50%);
  }
}

/* Hide when loaded */
.loaded .typography-loader {
  opacity: 0;
  visibility: hidden;
}

/* Glowing Text Effect 
.glowing-text {
    text-shadow: 0 0 5px var(--neon-white), 0 0 10px var(--glowing-light-blue), 0 0 15px var(--neon-blue);
    transition: text-shadow 0.3s ease;
}*/

.glowing-text:hover {
    text-shadow: 0 0 10px var(--neon-white), 0 0 20px var(--glowing-light-blue), 0 0 30px var(--neon-blue);
}

/* Glowing Border Effect */
.glowing-border {
    border: 2px solid var(--glowing-light-blue);
    box-shadow: 0 0 10px var(--glowing-light-blue), 0 0 20px var(--neon-blue);
    transition: box-shadow 0.3s ease;
}

.glowing-border:hover {
    box-shadow: 0 0 15px var(--glowing-light-blue), 0 0 30px var(--neon-blue), 0 0 45px var(--shiny-green);
}

/* Header Styles */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color:  var(--neon-white);
    padding: 0.5rem 2rem;
    box-shadow: 0 2px 20px rgba(0, 102, 255, 0.5);
    transition: all 0.3s ease;
	opacity:0.8;
}

.header-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-container {
    float: left;
    display: flex;
    align-items: center;
}

.logo {
    height: 150px;
    margin-right: 15px;	
    /*filter: drop-shadow(0 0 5px var(--glowing-light-blue));*/
}

.logo-container i{
	color:var(--dark-bg);
}

.logo-container h1 {
    font-size: 1.8rem;
    background: var(--dark-bg);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
	font-family: 'beauty';
    
}

/* Navigation Menu */
.main-nav {
    justify-self: right;
}

.menu {
    display: flex;
    list-style: none;
}

.menu li{
	/*background-color: var(--neon-red);
    box-shadow: 0 0 10px var(--neon-red), 0 0 20px var(--neon-red);*/
    border-radius: 0 0 0 0;
	border-right: 2px solid;
}

.menu-item {
    position: relative;
    margin-left: 1.5rem;
}

.menu-link {
    color: var(--dark-bg);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.8rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
	font-family: 'Montserrat', sans-serif;
    position: relative;
}

.menu-link:hover {
    color: var(--glowing-light-blue);
    text-shadow: 0 0 10px var(--glowing-light-blue);
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--shiny-green);
    transition: width 0.3s ease;
}

.menu-link:hover::after {
    width: 70%;
}

/* Hamburger Menu */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dark-bg);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}


/* Submenu Styles */
.submenu {
    position: absolute;
    top: 100%;
    left: -400px;;
    width: 600px;
    background-color: rgba(10, 10, 26, 0.95);
    border: 1px solid var(--neon-blue);
    border-radius: 5px;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.menu-item:hover .submenu {
    opacity: 1;
    visibility: visible;
}

.submenu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.submenu-links {
    display: flex;
    flex-direction: column;
}

.submenu-links a {
    color: var(--neon-white);
    padding: 0.5rem 0;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 242, 255, 0.2);
}

.submenu-links a:hover {
    color: var(--shiny-green);
    padding-left: 10px;
}

.submenu-image img {
    width: 100%;
    height: auto;
    border-radius: 3px;
    border: 1px solid var(--neon-white);
}



/* Hero Cover */
.hero-cover {
    width: 100%;
    height: 10vw;
    min-height: 100px;
    background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,102,255,0.1) 50%, rgba(0,0,0,0) 100%);
	background-image: url('../images/hero/hero_cover.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    margin-top: 1rem;
	
}

.neon-red-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--neon-red);
    box-shadow: 0 0 10px var(--neon-red), 0 0 20px var(--neon-red);
    border-radius: 50% 50% 0 0;
}

/* Main Content Grid */
.main-content {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.grid-item {
    padding: 1.5rem;
    background-color: rgba(20, 20, 40, 0.5);
    border-radius: 0;
    border: 1px solid rgba(0, 242, 255, 0.1);
    transition: all 0.3s ease;
}

.grid-1-2 img{
	width:100%;
	height:auto;
}

.grid-item:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.2);
}

.merged-grid {
    grid-template-columns: 1fr;
}

/* Circle Cards */
.circle-cards-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.circle-card {
    text-align: center;
    max-width: 180px;
	color:var(--neon-blue);
}

.circle-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: rgba(0, 242, 255, 0.1);
    border: 2px solid var(--neon-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.circle-icon img {
    width: 70%;
    height: auto;
    filter: drop-shadow(0 0 5px var(--glowing-light-blue));
}

.circle-card:hover .circle-icon {
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--neon-blue);
}

/* Product Gallery */
.product-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.product-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    border: 1px solid rgba(0, 242, 255, 0.2);
}

.product-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.product-details {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    background-color: rgba(10, 10, 26, 0.9);
    padding: 1rem;
    transition: bottom 0.3s ease;
}

.product-item:hover .product-details {
    bottom: 0;
}

.product-item:hover img {
    transform: scale(1.05);
}

/* Video Containers */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 5px;
}

/* Contact Form */
.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
	background: rgba(0, 0, 0, 0.3);
	border-radius:5px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--glowing-light-blue);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background-color: rgba(0, 242, 255, 0.05);
    border: 1px solid var(--neon-blue);
    border-radius: 4px;
    color: var(--neon-white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--shiny-green);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.glowing-button {
    background: linear-gradient(45deg, var(--neon-blue), var(--shiny-green));
    color: var(--neon-white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.5);
}

.glowing-button:hover {
    box-shadow: 0 0 20px var(--neon-blue), 0 0 30px var(--shiny-green);
    transform: translateY(-2px);
}

/* Footer Styles */
.neon-yellow-line {
    width: 100%;
    height: 4px;
    background-color: var(--dark-bg);
    box-shadow: 0 0 10px var(--neon-red), 0 0 20px var(--neon-red);
    border-radius: 0 0 50% 50%;
    margin-bottom: 2rem;
}

.main-footer {
    background-color:  var(--neon-white);
    padding: 3rem 2rem 2rem;
    border-top: 1px solid rgba(0, 242, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-about{
	color:var(--dark-bg);
}

.footer-about h1{
	font-family:'beauty';
}

.footer-column h3 {
    color: var(--dark-bg);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
	font-family:"beauty";
}

.footer-logo {
    width: 150px;
    margin-bottom: 1.5rem;
    /*filter: drop-shadow(0 0 5px var(--glowing-light-blue));*/
}

.company-info {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--neon-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--shiny-green);
}

.brand-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.brand-logos img {
    width: 100%;
    height: auto;
    /*filter: brightness(0) invert(1) drop-shadow(0 0 5px var(--glowing-light-blue));*/
    transition: filter 0.3s ease;
}

.brand-logos img:hover {
    filter: brightness(1) drop-shadow(0 0 10px var(--shiny-green));
}

.copyright {
    font-size: 0.9rem;
    color: var(--dark-bg);
}

.footer-links a{
	color:var(--dark-bg);
}

/* Product Modal Styles */
.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 26, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
}

.modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background-color: var(--dark-bg);
    border: 2px solid var(--neon-blue);
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 102, 255, 0.5);
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--neon-white);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10;
}

.close-modal:hover {
    color: var(--neon-red);
}

.modal-image-container {
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 5px;
    border: 1px solid var(--glowing-light-blue);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
}

.modal-details {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.modal-title {
    color: var(--glowing-light-blue);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.modal-description {
    margin-bottom: 2rem;
    line-height: 1.6;
}

.modal-specs {
    margin-bottom: 2rem;
}

.spec-item {
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(0, 242, 255, 0.1);
}

.spec-item strong {
    color: var(--shiny-green);
}

.inquire-btn {
    align-self: flex-start;
    margin-top: auto;
}

@keyframes glowPulse {
    0% { box-shadow: 0 0 10px rgba(0, 242, 255, 0.5); }
    50% { box-shadow: 0 0 20px rgba(0, 242, 255, 0.8); }
    100% { box-shadow: 0 0 10px rgba(0, 242, 255, 0.5); }
}

.modal-content {
    animation: modalFadeIn 0.3s ease-out, glowPulse 3s infinite;
}

.product-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.product-item img{
	width:100%;
	height:100%;
}

.product-item:hover {
    transform: scale(1.03);
}





/* Responsive Design */
@media (max-width: 1200px) {
    .header-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }
    
    .main-nav {
        justify-self: center;
        margin-top: 1rem;
    }
    
    .menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .menu-item {
        margin: 0.5rem;
    }
    
    .submenu {
        width: 500px;
    }
    
    .product-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive Modal */
@media (max-width: 900px) {
	
	.hamburger-btn {
        display: block;
    }
	
	.main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;        
        height: 100vh;
        background-color: var(--neon-white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        transition: right 0.3s ease;
        overflow-y: auto;
        padding-top: 80px;
		z-index:1000;
    }
	
	/* انیمیشن تبدیل به X */
    .hamburger-btn.active .hamburger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger-btn.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-btn.active .hamburger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* جلوگیری از اسکرول هنگام باز بودن منو */
    body.menu-open {
        overflow: hidden;
    }
	
	.main-nav.active {
        right: 0;
    }
    
	.menu-active {
        right: 0;
    }
	
    .menu {
        flex-direction: column;
        padding: 1rem;
    }
    
    .menu-item {
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .menu-link {
        display: block;
        padding: 1rem 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
	
	.submenu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        opacity: 1;
        visibility: visible;
        display: none;
        background-color: rgba(0, 0, 0, 1);		
    }
    
	.submenu-open .submenu {
        display: block;
    }
	
    .submenu.active {
        display: block;
    }
    
    .submenu-grid {
        grid-template-columns: 1fr;
    }
    
    .submenu-image {
        display: none;
    }
    
	.submenu-links a {
        padding: 0.8rem 1rem;
        border-bottom: none;
		color:var(--neon-white);
    }
	
	.no-scroll {
        overflow: hidden;
    }
	
    .hero-cover {
        height: 15vw;
        min-height: 80px;
    }
	
    .modal-content {
        grid-template-columns: 1fr;
        max-height: 85vh;
    }
    
    .modal-image-container {
        padding: 1rem;
    }
    
    .modal-image {
        max-height: 50vh;
    }
    
    .modal-details {
        padding: 1rem 2rem 2rem;
    }
}

@media (max-width: 768px) {
	
	.logo-container h1 {
        font-size: 1.2rem;
    }
    
    .logo {
        height: 40px;
    }
    
    .main-header {
        padding: 0.5rem 1rem;
    }
	
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .submenu {
        width: 100%;
    }
    
    .submenu-grid {
        grid-template-columns: 1fr;
    }
    
    .submenu-image {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .product-gallery {
        grid-template-columns: 1fr;
    }
    
    .circle-cards-container {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .menu {
        flex-direction: column;
    }
    
    .menu-item {
        margin: 0.3rem 0;
    }
    
    .submenu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        display: none;
    }
    
    .menu-item:hover .submenu {
        display: block;
    }
    
    .hero-cover {
        height: 15vw;
    }
	
	.product-modal {
        padding: 1rem;
    }
    
    .modal-content {
        max-height: 95vh;
    }
}