/*
Theme Name:         QateSaz Theme 
Theme URI:          https://AliMojaver.com/qatesaz
Author:             Ali Mojaver
Author URI:         https://AliMojaver.com
Description:        Best Template for QateSaz Project
Version:            1.0.0
Requires at least:  5.0
Tested up to:       6.5
Requires PHP:       7.4
License:            GNU General Public License v2 or later
License URI:        https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:        qatesaz
Tags:               custom-background, custom-logo, custom-menu, featured-images, translation-ready, responsive-layout
*/

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: black;
  }
  
h1 {
    font-weight: 900 !important; /* تیترها کلفت‌تر */
}

.btn-white {
    background-color: rgb(255, 255, 255);
    border-color: rgb(255, 255, 255);
    color: black;
    border-radius: 20px;
    font-weight: bold;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.btn-white:hover {
    background-color: #a1a1a1;
    border-color: #a1a1a1;
    color: black;
}

.btn-grey {
    background-color: #1b1b1b;
    font-weight: bold;
    border-color: #1b1b1b;
    color: rgb(255, 255, 255);
    border-radius: 20px;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.btn-grey:hover {
    background-color: #141414;
    border-color: #1b1b1b;
    color: rgb(151, 151, 151);
}

/* Modern Grid Background for Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0B60B0 0%, #40A2D8 50%, #0B60B0 100%);
    min-height: 100vh;
    position: relative;
}

.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    z-index: 0;
}

.grid-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.15) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

@keyframes gridPulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

.z-index-1 {
    z-index: 2;
    position: relative;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .grid-pattern {
        background-size: 30px 30px;
    }
    
    .grid-pattern::before {
        background-size: 60px 60px;
    }
}

/* Navbar Scroll Effect */
.modern-header {
    transition: all 0.3s ease;
}

.modern-header.scrolled {
    background: rgba(0, 0, 0, 0.98) !important;
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Add padding to body to account for fixed navbar */
body {
    padding-top: 80px;
}

/* Hero section adjustment for fixed navbar */
.hero-section {
    margin-top: -80px;
    padding-top: 80px;
}

/* Modern Dark Footer */
footer {
  background: #111111;
  color: #e0e0e0;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow: 0 -4px 32px rgba(0,0,0,0.4);
  padding: 2.5rem 0 1.5rem 0;
  margin-top: 4rem;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 2;
}
footer a {
  color: #40A2D8;
  text-decoration: none;
  transition: color 0.2s;
}
footer a:hover {
  color: #0B60B0;
}
footer .container {
  max-width: 900px;
  margin: 0 auto;
}
footer p {
  margin-bottom: 0;
  font-weight: 500;
  letter-spacing: 0.01em;
}

