/*
Theme Name: ijonaservicess
Theme URI: https://www.ijonaservices.com/
Author: Ijona Services
Author URI: https://www.ijonaservices.com/
Description: A clean, accessible, and conversion-focused WordPress theme crafted for professional service providers under the Ijona Services brand.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ijonaservicess
Tags: one-column, two-columns, custom-logo, custom-menu, featured-images, footer-widgets, full-site-editing, rtl-language-support
*/

/* Root typography + utilities */
:root {
  --color-primary: #9333ea;
  --color-primary-gradient: linear-gradient(
    135deg,
    #9333ea 0%,
    #3b82f6 50%,
    #f97316 100%
  );
  --color-secondary: #3b82f6;
  --color-accent: #f97316;
  --color-accent-red: #ef4444;
  --color-dark: #1f2933;
  --color-muted: #64748b;
  --color-border: #e2e8f0;
  --radius-base: 0.5rem;
  --transition-base: 200ms ease;
  --font-base: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
  --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --gradient-logo: linear-gradient(
    135deg,
    #9333ea 0%,
    #3b82f6 50%,
    #f97316 100%
  );
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-dark);
  background: #fff;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover,
a:focus {
  color: var(--color-secondary);
}

.container {
  width: min(1500px, calc(100% - 2rem));
  margin-inline: auto;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-base);
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-base), color var(--transition-base),
    transform var(--transition-base);
}

.btn-primary {
  background: linear-gradient(135deg, #9333ea 0%, #3b82f6 50%, #f97316 100%);
  color: #fff;
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #a855f7 0%, #60a5fa 50%, #fb923c 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(147, 51, 234, 0.3);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
}

.hero__background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  transform: scale(1.05);
  z-index: 0;
}

.hero:not(.hero--has-image) .hero__background {
  background-image: linear-gradient(
    135deg,
    rgba(243, 244, 246, 0.9) 0%,
    rgba(229, 231, 235, 0.8) 100%
  );
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: 1;
}

.hero--has-image .hero__overlay {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.45) 100%
  );
}

.hero__pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      circle at 20% 50%,
      rgba(147, 51, 234, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(59, 130, 246, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 20%,
      rgba(249, 115, 22, 0.1) 0%,
      transparent 50%
    );
  z-index: 1;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1000px;
  padding: 5rem 2rem;
  width: 100%;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  margin-bottom: 2rem;
  animation: fadeInDown 0.8s ease-out;
}

.hero__badge-text {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
}

.hero__title {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 1.5rem;
  font-family: var(--font-base);
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero__title-gradient {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__title-dot {
  color: #fff;
}

.hero__tagline {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  line-height: 1.7;
  margin: 0 0 3rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero__tagline-highlight {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

.hero__cta {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn--large {
  padding: 1.125rem 2.75rem;
  font-size: 1.0625rem;
  min-width: 200px;
  justify-content: center;
}

.btn__icon {
  display: inline-flex;
  align-items: center;
  margin-right: 0.5rem;
  transition: transform var(--transition-base);
}

.btn:hover .btn__icon {
  transform: translateX(4px);
}

.btn__text {
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #f97316 100%);
  color: #fff;
  border: none;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #fb923c 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.45);
}

.btn-primary .btn__icon,
.btn-primary .btn__text {
  position: relative;
  z-index: 1;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero__features {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero__feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
  font-weight: 500;
}

.hero__feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #f97316 100%);
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  animation: bounce 2s infinite;
  cursor: pointer;
}

.hero__scroll-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.hero__scroll-arrow {
  font-size: 1.5rem;
  line-height: 1;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.hero__decoration {
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.3) 0%,
    rgba(217, 119, 6, 0.2) 50%,
    rgba(249, 115, 22, 0.3) 100%
  );
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  transform: rotate(45deg);
  z-index: 1;
  opacity: 0.6;
  filter: blur(40px);
}

@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
  }

  .hero__content {
    padding: 4rem 1.5rem 3rem;
  }

  .hero__badge {
    padding: 0.4375rem 1rem;
    margin-bottom: 1.5rem;
  }

  .hero__badge-text {
    font-size: 0.75rem;
  }

  .hero__title {
    font-size: clamp(2rem, 10vw, 3.5rem);
    margin-bottom: 1.25rem;
  }

  .hero__tagline {
    font-size: clamp(1rem, 3vw, 1.25rem);
    margin-bottom: 2.5rem;
    line-height: 1.6;
  }

  .hero__cta {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 2.5rem;
  }

  .btn--large {
         width: -webkit-fill-available;
    padding: 1rem 2rem;
    font-size: 1rem;
    min-width: auto;
  }

  .btn__icon {
    margin-right: 0.625rem;
  }

  .hero__features {
    gap: 1.5rem;
    margin-top: 1.5rem;
  }

  .hero__feature-item {
    font-size: 0.875rem;
  }

  .hero__feature-icon {
    width: 20px;
    height: 20px;
    font-size: 0.6875rem;
  }

  .hero__scroll-indicator {
    bottom: 1.5rem;
  }

  .hero__decoration {
    width: 250px;
    height: 250px;
    bottom: -5%;
    right: -10%;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 100vh;
  }

  .hero__content {
    padding: 3rem 1rem 2.5rem;
  }

  .hero__badge {
    padding: 0.375rem 0.875rem;
    margin-bottom: 1.25rem;
  }

  .hero__badge-text {
    font-size: 0.6875rem;
  }

  .hero__title {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.15;
  }

  .hero__tagline {
    font-size: 0.9375rem;
    margin-bottom: 2rem;
    line-height: 1.6;
  }

  .hero__cta {
    gap: 0.875rem;
    margin-bottom: 2rem;
  }

  .btn--large {
    padding: 0.9375rem 1.75rem;
    font-size: 0.9375rem;
  }

  .btn__icon {
    margin-right: 0.5rem;
  }

  .btn__icon .material-symbols-outlined {
    font-size: 20px;
  }

  .hero__features {
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.25rem;
  }

  .hero__feature-item {
    font-size: 0.8125rem;
    justify-content: center;
  }

  .hero__scroll-indicator {
    bottom: 1rem;
  }

  .hero__scroll-text {
    font-size: 0.6875rem;
  }

  .hero__scroll-arrow {
    font-size: 1.25rem;
  }
}

.cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-base);
  padding: 1.5rem;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 76, 129, 0.05);
}

.card__title {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

footer {
  padding: 2rem 0;
  color: #fff;
  background: var(--color-dark);
}

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.responsive-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
}

.responsive-embed iframe,
.responsive-embed embed,
.responsive-embed object {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.wp-block-embed__wrapper iframe,
.wp-block-embed__wrapper video {
  max-width: 100%;
}

@media (max-width: 768px) {
  .hero {
    padding-top: 5rem;
  }
}
