/*!
Theme Name: Aldiratech
Theme URI: https://aldiratech.com
Description: Professional WordPress theme for Aldiratech ServiceNow Experts
Version: 1.0.0
Author: Aldiratech
Author URI: https://aldiratech.com
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aldiratech
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.4
*/

/* ============================================================
   ALDIRATECH WORDPRESS THEME
   Professional ServiceNow Implementation Partner Website
   ============================================================ */

/* ============================================================
   1. RESET & BASE STYLES
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #2C3E50;
  background-color: #FFFFFF;
}

/* ============================================================
   2. TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #2C3E50;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 60px;
}

h2 {
  font-size: 48px;
}

h3 {
  font-size: 36px;
}

h4 {
  font-size: 28px;
}

h5 {
  font-size: 24px;
}

h6 {
  font-size: 20px;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #1B4D3E;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #D4A574;
}

/* ============================================================
   3. BUTTONS
   ============================================================ */

.btn, button, input[type="button"], input[type="submit"] {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn-primary, .btn-primary:visited {
  background-color: #1B4D3E;
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: #0F2818;
  box-shadow: 0 4px 12px rgba(27, 77, 62, 0.3);
  transform: translateY(-2px);
}

.btn-secondary, .btn-secondary:visited {
  background-color: transparent;
  color: #D4A574;
  border: 2px solid #D4A574;
}

.btn-secondary:hover {
  background-color: #D4A574;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

/* ============================================================
   4. CONTAINERS & LAYOUT
   ============================================================ */

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

.section {
  padding: 60px 0;
}

.section-light {
  background-color: #F5F5F5;
}

.section-dark {
  background-color: #1B4D3E;
  color: #FFFFFF;
}

.section-dark h1, .section-dark h2, .section-dark h3, 
.section-dark h4, .section-dark h5, .section-dark h6 {
  color: #FFFFFF;
}

.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 2rem;
}

.row-2 {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.row-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* ============================================================
   5. HEADER & NAVIGATION
   ============================================================ */

.header {
  background-color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  color: #1B4D3E;
}

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

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

.nav-menu a {
  color: #2C3E50;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #1B4D3E;
}

.nav-menu .current-menu-item > a {
  color: #1B4D3E;
  border-bottom: 2px solid #D4A574;
  padding-bottom: 5px;
}

.header-cta {
  display: flex;
  gap: 15px;
  align-items: center;
}

.language-switcher {
  display: flex;
  gap: 10px;
}

.language-switcher button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  padding: 5px 10px;
  color: #2C3E50;
}

.language-switcher button.active {
  color: #1B4D3E;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #1B4D3E;
}

/* ============================================================
   6. HERO SECTION
   ============================================================ */

.hero {
  background: linear-gradient(135deg, rgba(27, 77, 62, 0.7) 0%, rgba(15, 40, 24, 0.7) 100%),
              url('https://images.unsplash.com/photo-1449844908441-8829872d2607?w=1920&h=1080&fit=crop') center/cover;
  background-attachment: fixed;
  color: #FFFFFF;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(212, 165, 116, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.location-badge {
  display: inline-block;
  padding: 8px 16px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: 70px;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-accent {
  display: block;
  height: 4px;
  width: 100px;
  background-color: #D4A574;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  padding: 14px 32px;
  font-size: 15px;
}

/* ============================================================
   7. FEATURE CARDS
   ============================================================ */

.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background-color: #F5F5F5;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.feature-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.feature-card p {
  color: #666;
  font-size: 15px;
}

/* ============================================================
   8. PARTNER LOGOS SECTION
   ============================================================ */

.partners-section {
  text-align: center;
  padding: 60px 0;
}

.partners-section h2 {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #1B4D3E;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  margin-top: 40px;
  align-items: center;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  padding: 15px;
  background-color: #F5F5F5;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.partner-logo:hover {
  background-color: #E8E8E8;
  transform: scale(1.05);
}

.partner-logo img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
}

/* ============================================================
   9. SERVICES SECTION
   ============================================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid #E8E8E8;
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: #D4A574;
  box-shadow: 0 8px 24px rgba(27, 77, 62, 0.1);
  transform: translateY(-3px);
}

.service-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #1B4D3E;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.service-card p {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
}

/* ============================================================
   10. WHY CHOOSE SECTION
   ============================================================ */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.benefit-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.benefit-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #D4A574;
}

.benefit-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.benefit-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
}

/* ============================================================
   11. TESTIMONIAL SECTION
   ============================================================ */

.testimonial-section {
  background: linear-gradient(135deg, rgba(27, 77, 62, 0.95) 0%, rgba(15, 40, 24, 0.95) 100%),
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="pattern" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M50 0 Q100 50 50 100 Q0 50 50 0" fill="rgba(212,165,116,0.05)"/></pattern></defs><rect width="1200" height="600" fill="url(%23pattern)"/></svg>');
  color: #FFFFFF;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.testimonial-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.testimonial-content h2 {
  font-size: 48px;
  color: #FFFFFF;
  margin-bottom: 15px;
  font-family: 'Playfair Display', serif;
}

.testimonial-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
}

/* ============================================================
   12. FOOTER
   ============================================================ */

.footer {
  background-color: #2C3E50;
  color: #FFFFFF;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  color: #FFFFFF;
  margin-bottom: 20px;
  font-size: 18px;
}

.footer-column p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.8;
}

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

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #D4A574;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #FFFFFF;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: #D4A574;
  color: #1B4D3E;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
}

.newsletter-form button {
  padding: 12px 20px;
  background-color: #1B4D3E;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #0F2818;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 15px;
}

.footer-bottom a:hover {
  color: #D4A574;
}

/* ============================================================
   13. FORMS
   ============================================================ */

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2C3E50;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #E8E8E8;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #1B4D3E;
  box-shadow: 0 0 0 3px rgba(27, 77, 62, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ============================================================
   14. RESPONSIVE DESIGN
   ============================================================ */

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    border-bottom: 1px solid #E8E8E8;
  }

  .nav-menu a {
    display: block;
    padding: 15px 20px;
  }

  .menu-toggle {
    display: block;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 28px;
  }

  .hero {
    padding: 80px 0;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .section {
    padding: 40px 0;
  }

  .feature-cards,
  .services-grid,
  .benefits-grid,
  .partners-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }
}

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

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 22px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero {
    padding: 60px 0;
  }

  .section {
    padding: 30px 0;
  }

  .header-inner {
    padding: 12px 0;
  }

  .logo img {
    height: 40px;
  }

  .nav-menu {
    gap: 0;
  }

  .header-cta {
    gap: 10px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 13px;
  }
}

/* ============================================================
   15. UTILITY CLASSES
   ============================================================ */

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.mt-20 {
  margin-top: 20px;
}

.mt-40 {
  margin-top: 40px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-40 {
  margin-bottom: 40px;
}

.hidden {
  display: none;
}

.visible {
  display: block;
}

/* ============================================================
   16. ANIMATIONS
   ============================================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}
