/* =====================================================
   TRAJA NA GRAFITY - Custom Styles
   Farby z loga: zlta, biela, modra, tmave pozadie
   ===================================================== */

:root {
  /* Zlta z loga - "TRAJA" */
  --theme: #FFCC00;
  --theme-dark: #E6B800;

  /* Modra z lasera */
  --blue: #1E4D8C;
  --blue-light: #2B6CB0;

  /* Cervena/oranzova z laseroveho luca */
  --laser-red: #E53E3E;
  --orange: #ED8936;

  /* Tmave pozadie - neutralne cierne */
  --dark-bg: #0D0D0D;
  --dark-bg-lighter: #141414;
  --dark-bg-card: #1A1A1A;

  /* Biela pre texty */
  --white: #FFFFFF;
  --gray-light: #A0A0A0;
}

/* Vypnutie capitalize - slovencina to nepouziva */
h1, h2, h3, h4, h5, h6 {
  text-transform: none;
}

.section-title h2,
.section-title span,
.theme-btn,
.services-item .head h4 a,
.footer-list-items li a {
  text-transform: none;
}

/* =====================================================
   LOGO STYLES
   ===================================================== */

.site-logo {
  height: auto !important;
  width: auto !important;
  max-height: 60px !important;
  transition: all 0.3s ease;
  object-fit: contain;
}

.header-main .site-logo {
  height: 55px !important;
  max-width: 220px !important;
}

/* Sticky header - mensi logo */
.header-1.sticky .site-logo {
  height: 45px !important;
}

/* Mobile offcanvas */
.offcanvas__logo .site-logo {
  height: 60px !important;
  max-width: 200px !important;
}

/* Footer logo - vacsi */
.footer-logo .site-logo {
  height: 100px !important;
  max-width: 350px !important;
  margin-bottom: 25px;
}

/* Logo container fix */
.header-main .logo {
  min-width: 220px !important;
  display: flex !important;
  align-items: center !important;
}

.header-main .logo a,
.header-main .logo .header-logo {
  display: flex !important;
  align-items: center !important;
}

/* Ensure logo-2 (sticky) is hidden by default, shown only when sticky */
.header-1 .logo-2 {
  display: none !important;
}

.header-1.sticky .logo > a.header-logo {
  display: none !important;
}

.header-1.sticky .logo-2 {
  display: flex !important;
}

/* =====================================================
   HERO SECTION - TMAVE POZADIE
   ===================================================== */

.hero-section.hero-1 {
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
}

/* Subtle gradient overlay */
.hero-section.hero-1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(30, 77, 140, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(237, 137, 54, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

/* Glow behind logo area */
.hero-section.hero-1::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255, 204, 0, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* Hero logo */
.hero-logo {
  max-width: 700px;
  width: 90%;
  height: auto;
  margin: 0 auto 30px auto;
  display: block;
}

/* Hero typed text */
.hero-typed-text {
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 25px;
  min-height: 55px;
  text-align: center;
}

.hero-typed-text .custom-typed {
  color: var(--theme);
  font-weight: 700;
}

/* Hero content centering - override template's margin-left: 350px */
.hero-1 .hero-content .hero-bottom {
  margin-left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-1 .hero-content .hero-bottom p {
  text-align: center;
  max-width: 600px;
  color: var(--gray-light);
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero-1 .hero-content .hero-bottom .hero-btn-wrapper {
  justify-content: center;
}

/* Hero info panel */
.hero-info a {
  color: var(--gray-light);
}

.hero-info a:hover,
.hero-info a.active {
  color: var(--theme);
}

/* =====================================================
   THEME BUTTON - ZLTA
   ===================================================== */

.theme-btn {
  background: var(--theme);
  color: var(--dark-bg);
  font-weight: 600;
  border: 2px solid var(--theme);
}

.theme-btn:hover {
  background: transparent;
  color: var(--theme);
  border-color: var(--theme);
}

/* Video button */
.video-btn .icon {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.video-btn .icon i {
  color: var(--white);
}

.video-btn .text {
  color: var(--white);
}

.video-btn:hover .icon {
  background: var(--theme);
  border-color: var(--theme);
}

.video-btn:hover .icon i {
  color: var(--dark-bg);
}

/* =====================================================
   SECTION BACKGROUNDS
   ===================================================== */

/* Alternativne sekcie s tmavym pozadim */
.section-bg {
  background: var(--dark-bg-lighter);
}

.section-bg-2 {
  background: var(--dark-bg);
}

/* Dark sections text */
.section-bg .section-title h2,
.section-bg .section-title span,
.section-bg-2 .section-title h2,
.section-bg-2 .section-title span,
.section-bg h2,
.section-bg h3,
.section-bg h4,
.section-bg-2 h2,
.section-bg-2 h3,
.section-bg-2 h4 {
  color: var(--white);
}

.section-bg p,
.section-bg-2 p {
  color: var(--gray-light);
}

/* Section titles */
.section-title h2 span {
  color: var(--theme);
}

/* Sub-titles */
.sub-title {
  color: var(--theme) !important;
}

/* Star icons - change to blue #1D4171 */
.section-title span img,
.marquee-text img,
img[src*="star-2"] {
  filter: brightness(0) saturate(100%) invert(20%) sepia(50%) saturate(1500%) hue-rotate(190deg) brightness(95%) contrast(95%);
}

/* =====================================================
   MARQUEE SECTION
   ===================================================== */

.marquee-section.section-bg {
  background: var(--theme);
}

.marquee-content .marquee-text h3 {
  color: var(--dark-bg);
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */

.services-item {
  background: var(--dark-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.services-item .head span {
  color: var(--theme);
}

.services-item .head h4 a {
  color: var(--white);
}

.services-item .text p {
  color: var(--gray-light);
}

.services-item .link-btn i {
  color: var(--theme);
}

.services-item .link-btn a {
  color: var(--white);
}

/* =====================================================
   EXPERIENCE SECTION
   ===================================================== */

.experience-section {
  background: var(--dark-bg-lighter);
}

.experience-items {
  background: var(--dark-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.experience-items span {
  background: var(--theme);
  color: var(--dark-bg);
}

.experience-items h4 {
  color: var(--white);
}

.experience-items h6 {
  color: var(--gray-light);
}

/* Client wrapper */
.client-wrapper .client-item {
  background: var(--dark-bg-card);
}

.client-wrapper .client-item .icon i {
  color: var(--theme);
}

.client-wrapper .client-item .text {
  color: var(--white);
}

/* =====================================================
   PRICING / CTA SECTION
   ===================================================== */

.pricing-section {
  background: var(--dark-bg-lighter);
}

.pricing-section .section-title h2 {
  color: var(--white);
}

.pricing-section .section-title span {
  color: var(--gray-light);
}

.pricing-section .price-item {
  background: var(--dark-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-section .price-item .box {
  background: var(--theme);
  color: var(--dark-bg);
}

.pricing-section .price-item h4,
.pricing-section .price-item h3 {
  color: var(--white);
}

.pricing-section .price-item p {
  color: var(--gray-light);
}

.pricing-section .price-list li {
  color: var(--gray-light);
}

.pricing-section .price-list li i {
  color: var(--theme);
}

/* =====================================================
   TESTIMONIALS SECTION
   ===================================================== */

.testimonials-section {
  background: var(--dark-bg);
}

.testimonials-section .reviews h2 {
  color: var(--theme);
}

.testimonials-section .reviews .item span {
  color: var(--white);
}

.testimonial-box-items {
  background: var(--dark-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-box-items .client-content h5 {
  color: var(--white);
}

.testimonial-box-items .client-content p {
  color: var(--gray-light);
}

.testimonial-box-items .testi-content p {
  color: var(--gray-light);
}

/* =====================================================
   AWARDS / FAQ SECTION
   ===================================================== */

.awards-section {
  background: var(--dark-bg);
}

.awards-item {
  background: var(--dark-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.awards-item .icon i {
  color: var(--theme);
}

.awards-item h4 {
  color: var(--white);
}

.awards-item span {
  color: var(--gray-light);
}

/* =====================================================
   FOOTER
   ===================================================== */

.footer-section {
  background: linear-gradient(180deg, var(--dark-bg-lighter) 0%, var(--dark-bg) 100%);
}

.footer-section .bg-shape {
  opacity: 0.05;
}

/* Footer marquee - tmave pozadie, zlty text */
.mycustom-marque {
  background: var(--dark-bg);
}

/* Footer links */
.footer-list-items li a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-list-items li a:hover {
  color: var(--theme);
}

/* Footer social */
.footer-section .social-icon a {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.footer-section .social-icon a:hover {
  background: var(--theme);
  color: var(--dark-bg);
}

/* Footer contact */
.footer-contact {
  margin-top: 20px;
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
}

.footer-contact a {
  color: var(--white);
}

.footer-contact a:hover {
  color: var(--theme);
}

.footer-contact i {
  color: var(--theme);
  margin-right: 10px;
}

/* Footer bottom */
.footer-bottom p,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a:hover {
  color: var(--theme);
}

/* =====================================================
   HEADER ADJUSTMENTS
   ===================================================== */

.header-1 {
  background: transparent;
}

.header-1.sticky {
  background: var(--dark-bg);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-1 .main-menu ul li a {
  color: var(--white);
}

.header-1 .main-menu ul li a:hover,
.header-1 .main-menu ul li.active a {
  color: var(--theme);
}

.header-1 .sidebar__toggle i {
  color: var(--white);
}

/* =====================================================
   OFFCANVAS MOBILE MENU
   ===================================================== */

.offcanvas__info {
  background: var(--dark-bg);
}

.offcanvas__content h4,
.offcanvas__content p {
  color: var(--white);
}

.offcanvas__contact-text a {
  color: rgba(255, 255, 255, 0.8);
}

.offcanvas__contact-text a:hover {
  color: var(--theme);
}

.offcanvas__contact-icon i {
  color: var(--theme);
}

.offcanvas__close button i {
  color: var(--white);
}

/* =====================================================
   NEWS SECTION
   ===================================================== */

.news-section {
  background: var(--dark-bg-lighter);
}

.news-item {
  background: var(--dark-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.news-item .content .green {
  background: var(--theme);
  color: var(--dark-bg);
}

.news-item .content .date {
  color: var(--gray-light);
}

.news-item .content h4 a {
  color: var(--white);
}

.news-item .news-btns a {
  color: var(--theme);
}

.news-item .news-btns i {
  color: var(--theme);
}

/* =====================================================
   PRELOADER
   ===================================================== */

.preloader {
  background: var(--dark-bg);
}

.preloader .letters-loading {
  color: var(--theme);
}

.preloader .spinner {
  border-color: var(--theme);
  border-top-color: transparent;
}

/* =====================================================
   CURSOR
   ===================================================== */

.cursor-inner {
  background: var(--theme);
}

.cursor-outer {
  border-color: var(--theme);
}

/* =====================================================
   BACK TO TOP
   ===================================================== */

.back-to-top {
  background: var(--theme);
  color: var(--dark-bg);
}

.back-to-top:hover {
  background: var(--dark-bg);
  color: var(--theme);
  border: 2px solid var(--theme);
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */

.about-section {
  background: var(--dark-bg);
}

.about-section .section-title h2 {
  color: var(--white);
}

.about-section .content p {
  color: var(--gray-light);
}

/* About boxes */
.about-box-item {
  background: var(--dark-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-box-item h2 {
  color: var(--theme);
}

.about-box-item h3 {
  color: var(--white);
}

.about-box-item h3 span {
  color: var(--gray-light);
}

.about-box-item.style-2 {
  background: var(--theme);
  border-color: var(--theme);
}

.about-box-item.style-2 h2,
.about-box-item.style-2 h3,
.about-box-item.style-2 h3 span {
  color: var(--dark-bg);
}

/* =====================================================
   PROJECT SECTION
   ===================================================== */

.project-section {
  background: var(--dark-bg);
}

.project-items .content {
  background: var(--dark-bg-card);
}

.project-items .content .text span {
  color: var(--gray-light);
}

.project-items .content .text h4 a {
  color: var(--white);
}

.project-items .content .icon a {
  background: var(--theme);
  color: var(--dark-bg);
}

/* =====================================================
   RESPONSIVE ADJUSTMENTS
   ===================================================== */

@media (max-width: 1199px) {
  .header-main .site-logo {
    height: 50px !important;
    max-width: 190px !important;
  }

  .header-main .logo {
    min-width: 190px !important;
  }
}

@media (max-width: 991px) {
  .header-main .site-logo {
    height: 45px !important;
    max-width: 170px !important;
  }

  .footer-logo .site-logo {
    height: 80px !important;
    max-width: 280px !important;
  }

  .header-main .logo {
    min-width: 170px !important;
  }
}

@media (max-width: 767px) {
  .header-main .site-logo {
    height: 40px !important;
    max-width: 150px !important;
  }

  .footer-logo .site-logo {
    height: 65px !important;
    max-width: 220px !important;
  }

  .header-main .logo {
    min-width: 150px !important;
  }

  .offcanvas__logo .site-logo {
    height: 55px !important;
    max-width: 180px !important;
  }

  .hero-logo {
    max-width: 350px;
    width: 95%;
  }

  .hero-typed-text {
    font-size: 1.5rem;
    min-height: 40px;
  }
}

@media (max-width: 991px) {
  .hero-logo {
    max-width: 500px;
    width: 90%;
  }

  .hero-typed-text {
    font-size: 2rem;
    min-height: 50px;
  }
}
