/*GENERAL************************************************************/

@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}



:root {
  --primary-blue: #2867a2;
  --accent-orange: #ebaf73;
  --text-dark: #1a1a1a;
  --bg-light: #ffffff;
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 18px;
  text-align: justify;
}

.highlight-text{
text-transform: uppercase;
color:#e2945f;
font-weight: 800;
}


/*NAV**************************************************************/
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 5rem;
  padding-right: 5rem;
}

.logo-title {
  display: flex;
  align-items: center;
}

.logo {
  width: 20rem;
}

.title {
  display: none;
}

.navbar {
  display: flex;
  align-items: center;
}

.navbar a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
}

.social-icons {
  margin-left: 2rem;
}

.social-icons img {
  width: 24px;
}

.navbar a:hover{
  color: #e2945f;
}

/*NAV HAMBURGER*********************************************************/

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding-right: 2rem;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
}

.mobile-menu-sub{
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}


.mobile-menu a {
  margin: 0.5rem 0;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
}

.mobile-menu-sub a:hover{
  color: #e2945f;
}

.mobile-menu li{
  list-style: none;
}



/*HERO SZAKASZ*************************/
.hero {
  height: calc(100vh - 104px);
  min-height: 600px;
  background: linear-gradient(135deg, #2867a2 0%, #4a90e2 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 2rem;
  position: relative;
}

.hero h1 {
  font-size: 3rem;
  max-width: 700px;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
}



header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.mobile-menu {
  position: fixed;
  top: 104px; /* header height */
  left: 0;
  width: 100%;
  background-color: white;
  display: none;
  flex-direction: column;
  padding: 1rem 2rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 999;
}

.mobile-menu.active {
  display: flex;
}
header.scrolled {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.hero {
  height: calc(100vh - 100px);
  min-height: 600px;
  background: linear-gradient(135deg, #2867a2 0%, #4a90e2 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  padding: 2rem;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  width: 100%;
  gap: 4rem;
}

.hero-text-block {
  flex: 1;
  max-width: 550px;
  animation: fadeInUp 1s ease-out;
}

.hero-text-block h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-text-block p {
  font-size: 1.25rem;
  line-height: 1.6;
}

/*BODY*********************************************************************/
.section {
  max-width: 70%;
  margin: 5rem auto;
  padding: 0 2rem;
}

.section h2 {
  font-size: 1.75rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

hr {
  margin: 2rem auto;
  width: 80%;
  border: none;
  border-top: 1px solid #ccc;
}

.highlight {
  background: var(--accent-orange);
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  color: #fff;
  font-weight: 500;
}

.highlight-title{
  display: inline-block;
  color: #2867a2;
    font-family: "Roboto Mono", monospace;
  font-size: 2rem;
  border-bottom: 2px solid #e2945f;
  padding-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 4px;
}

/*SERVICES********************/

.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.card {
  background-color: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 2px solid #e2945f;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
}

/*SERCIVES HIDDEN*************************/

.hidden {
  display: none;
}

.cta-button.alt {
  background-color: transparent;
  border: 2px solid #e2945f;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button.alt:hover {
  background-color: #e2945f;
  color: white;
}


/*ANALYTICS*************/

.analysis-cta {
  background: linear-gradient(135deg, #2867a2 0%, #4a90e2 100%);
  color: white;
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 8px;
  margin-top: 5rem;
}

.analysis-cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.analysis-cta p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.analysis-cta a {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--accent-orange);
  color: white;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.analysis-cta a:hover {
  background: #e2945f;
}

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
/*RESULTS**************/
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.result-card {
  background-color: #f9f9f9;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.result-card:hover {
  transform: translateY(-5px);
}

.result-card img {
  height: 50px;
  margin-bottom: 1rem;
}

.result-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.result-number {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent-orange);
  margin-bottom: 0.5rem;
}

.result-desc {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}
/*WORKFLOW****************************************/

.process-list {
  list-style: none;
  padding-left: 0;
  font-size: 1.1rem;
  line-height: 1.8;
}

.process-list li {
  margin-bottom: 1.2rem;
  position: relative;
  padding-left: 1.5rem;
}

.process-list li::before {
  content: \"✔\";
  position: absolute;
  left: 0;
  color: var(--accent-orange);
  font-weight: bold;
}

.btn-orange {
  display: inline-block;
  background-color: var(--accent-orange);
  color: white;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.btn-orange:hover {
  background-color: #e2945f;
}

.process-list {
  list-style: none;
  padding-left: 0;
  font-size: 1.1rem;
  line-height: 1.8;
  counter-reset: steps;
}

.process-list li {
  margin-bottom: 2.5rem;
  position: relative;
  padding: 2.5rem 1rem 1.5rem 1rem;
  background-color: #f9f9f9;
  border-left: none;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  animation: fadeInUp 0.6s ease both;
}

.process-list li::before {
  content: counter(steps);
  counter-increment: steps;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-orange);
  color: white;
  font-weight: 700;
  width: 32px;
  height: 32px;
  font-size: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/*PACKAGE SECTION***********************/

.packages-section {
  background: linear-gradient(135deg, #2867a2 0%, #4a90e2 100%);
  color: white;
  padding: 5rem 2rem;
  width: 100%;
}


.packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto 0;
}

.package-card {
  background: #f9f9f9;
  color: var(--text-dark);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

li{
  list-style:none;
}

.package-card small {
  display: block;
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.packages-li{
  margin-bottom: 20px;
}

.package-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
}


/*CONTACT SECTION**********************/

.contact-section {
  text-align: center;
}

.contact-section p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
}

.contact-form button {
  margin-top: 1rem;
}


/*FOOTER*******************************/

.main-footer {
  background-color: var(--primary-blue);
  color: white;
  padding: 2.5rem 2rem;
  font-size: 0.9rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.footer-nav a {
  color: white;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-nav a:hover {
  opacity: 0.7;
}

#main-header {
  transition: transform 0.3s ease;
  will-change: transform;
}

.main-footer {
  background: linear-gradient(135deg, #2867a2 0%, #4a90e2 100%);
  color: white;
  padding: 3rem 2rem 2rem;
  font-size: 0.9rem;
  text-align: center;
}

.back-to-top {
  margin-bottom: 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.footer-nav a {
  color: white;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-nav a:hover {
  color: #e2945f;
}

.footer-legal {
  font-size: 0.8rem;
  opacity: 0.8;
}

.btn-white {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: white;
  color: var(--primary-blue);
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
  border: 2px solid white;
}

.btn-white:hover {
  background: #eaf1f7;
  color: var(--primary-blue);
}

.footer-icon{
  margin-right: 1rem;
}
.bi:hover{
  fill: #e2945f;
}


.section {
  scroll-margin-top: 110px; /* a header magasságának megfelelően */
}

/*ANALYSIS MODAL***************/

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
  animation: fadeIn 0.3s ease;
}

.modal-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

.modal input {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: 'Roboto', sans-serif;
}

.no-scroll {
  overflow: hidden;
  height: 100vh;
}


.modal.active {
  display: flex;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  color: #888;
  cursor: pointer;
}

.form-feedback {
  margin-top: 1rem;
  text-align: center;
  font-weight: bold;
  display: none;
}

.form-feedback.success {
  color: #28a745;
  animation: fadeIn 0.4s ease-in-out;
}

.form-feedback.error {
  color: #dc3545;
  animation: shake 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}

#profile-pic{
  display: block;
  margin: 0 auto;
  width: 20vw;
  height: 20vw;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
}
