@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

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

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

/* Add smooth scrolling to the entire page */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  scroll-behavior: smooth;
}

/* Make all scroll animations smoother */
* {
  scroll-behavior: smooth;
}



.lang-switch {
  background: #00d9ff;
  color: #000;
  border: 1px solid #00d9ff;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
  font-weight: 600;
  padding: 10px 22px;
  margin-left: 18px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  opacity: 0.92;
  text-decoration: none;
  display: inline-block;
}

.lang-switch:hover {
  background: #00b0cc;
  color: #fff;
  opacity: 1;
  border-color: #00b0cc;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.navbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Align everything to the right */
  gap: 20px; /* Add consistent spacing between elements */
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 80px;
}

.nav-left {
  display: flex;
  gap: 64px;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 15px; /* Spacing between nav items */
}

body, html, .container {
  margin: 0;
  padding: 0;
  background: #000;
  color: #fff;
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
  min-height: 100vh;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 48px 24px 48px;
  opacity: 1 !important;
  visibility: visible !important;
}

.logo {
  font-weight: bold;
  font-size: 3.5rem;
  letter-spacing: 2px;
  margin-left: 48px;
  margin-top: 0;
  display: flex;
  align-items: flex-end;
  gap: 0.3em;
}
.logo-agency {
  font-size: 2rem;
  letter-spacing: 2px;
  line-height: 1;
  padding-bottom: 2px;
  filter: brightness(1);
  color: #00d9ff
}

nav {
  display: flex;
  gap: 32px;
}

nav a {
  color: #cccccc;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
  padding: 8px 16px;
  border: 1px solid #cccccc;
  border-radius: 4px;
}

nav a:hover {
  opacity: 1;
  border-color: #cccccc;
}

/* Contact Button in Navbar */
.Contact {
  background: transparent;
  border: 1px solid #00d9ff;
  color: #cccccc;
  padding: 12px 32px;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  opacity: 0.85;
  margin-left: 48px;
  margin-top: 0;
  text-decoration: none;
  display: inline-block;
}

.Contact:hover {
  background: #00d9ff;
  color: #000;
  opacity: 1;
  border-color: #00d9ff;
}
/* Contact Button in Navbar */

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70vh;
}

.hero h1 {
  font-size: 8.5vw;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 650;
  margin: 0;
  letter-spacing: -5px;
  animation: slogan-appear 2.5s ease-in-out 0s forwards;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  line-height: 0.9;
  text-align: left;
}

.dot {
  color: #00d9ff;
}

.gallery {
  padding: 0;
  margin-top: -24px;
  width: 100vw;
  max-width: 100vw;
  position: relative;
  opacity: 0; /* Start hidden */
  overflow: hidden;
}

.gallery.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s; /* Add a slight delay before starting the animation */
}

.gallery.loaded {
  opacity: 1;
  transition: opacity 2.5s ease-in-out 0.5s; /* 2.5s duration with 0.5s delay */
}

.gallery-row {
  display: flex;
  gap: 0;
  width: 100%;
}

.gallery-img-wrap {
  position: relative;
  width: 33.3333%;
  aspect-ratio: 16/9;
  display: flex;
  cursor: pointer;
  overflow: hidden;
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  background: #222;
  border: 10px solid #ffffff;
  box-sizing: border-box;
  margin: 0;
  position: relative;
  z-index: 1;
  transition: filter 0.3s ease;
}

.gallery-img-wrap::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  background: rgba(0,0,0,0.3);
  z-index: 2;
  pointer-events: none;
  border-radius: 0;
  transition: background 0.3s ease;
}

.gallery-img-wrap:hover::after {
  background: rgba(0,0,0,0.1);
}

/* SERVICES */

.services-row-section {
  width: 100vw;
  min-height: 100vh;
  background: #0b0c0e;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  /* Remove these conflicting lines: */
  /* opacity: 1 !important; */
  /* visibility: visible !important; */
}

.services-row-title {
  font-size: 2.5rem;
  margin-bottom: 24px;
  font-weight: 300;
  letter-spacing: 1px;
}
.services-row-desc {
  color: #d0d0d0;
  font-size: 1.15rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px auto;
}
.services-row-container {
  display: flex;
  flex-direction: row;
  gap: 32px;
  width: 90vw;
  max-width: 1400px;
  justify-content: center;
}

.service-block {
  flex: 1 1 0;
  min-width: 220px;
  max-width: 260px;
  background: #fff;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 260px;
  box-shadow: 0 8px 0 0 #bdbdbd, 0 4px 32px 0 rgba(0,0,0,0.10);
  transition: transform 0.18s, box-shadow 0.18s;
  padding: 32px 18px 24px 18px;
  position: relative;
  border: none;
  overflow: hidden;
}

.service-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 0 0 #bdbdbd, 0 8px 40px 0 rgba(0,0,0,0.15);
}

.service-block-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-block-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0.1);
}
.service-block-title {
  color: #111;
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 0.5px;
  text-align: center;
  font-family: 'Montserrat', Arial, sans-serif;
}

.service-block-button {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  background: #00d9ff;
  color: #000;
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
}

.service-block:hover .service-block-button {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.service-block-button:hover {
  background: #00b0cc;
  transform: translateX(-50%) translateY(-2px);
}

/* Adjust service block content when button appears */
.service-block:hover .service-block-icon {
  transform: translateY(-10px);
}

.service-block:hover .service-block-title {
  transform: translateY(-10px);
}

.service-block-icon,
.service-block-title {
  transition: transform 0.3s ease;
}



/* About Us section styles */
.about-us {
  width: 100vw;
  min-height: 100vh;
  background: #000 url('../images/orangebackground.jpg') center center/cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.about-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.32);
  z-index: 0;
  pointer-events: none;
}
.about-us-container {
  position: relative;
  z-index: 1;
}
.about-us-container {
  max-width: 700px;
  width: 100%;
  margin: 0 0 0 8vw;
  text-align: left;
}
.about-us-fade {
  will-change: opacity, transform;
}
.about-us h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  font-weight: 300;
  letter-spacing: 1px;
}
.about-us p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #e0e0e0;
}


/* CONTACT FORM */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-top: 10px;
}
.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  border: 1.5px solid #ffffff;
  border-radius: 6px;
  background: #181a1f;
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  resize: none;
  outline: none;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #ffffff;
}
.contact-form button.Contact {
  margin-top: 8px;
  width: 100%;
  font-size: 1.1rem;
  padding: 14px 0;
  border-radius: 8px;
  border: 1.5px solid #ffffff;
}
/* Contact Section at Bottom */
.contact-section {
  width: 100vw;
  min-height: 40vh;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 0 64px 0;
  box-sizing: border-box;
}
.contact-container {
  background: rgba(0,0,0,0.7);
  border-radius: 18px;
  padding: 40px 32px;
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 420px;
  width: 100%;
}
.contact-container h2 {
  font-size: 1.7rem;
  margin-bottom: 18px;
  color: #ffffff;
  font-weight: 300;
}
.contact-container p {
  color: #e0e0e0;
  font-size: 1.1rem;
  margin-bottom: 28px;
  text-align: center;
}
.contact-container .Contact {
  margin: 0;
  padding: 14px 38px;
  font-size: 1.1rem;
  border-radius: 8px;
}

.contact-info {
  width: 100%;
  margin-bottom: 18px;
  color: #e0e0e0;
  font-size: 1.25rem;
  text-align: left;
  display: block;
  margin-left: 0;
  padding-left: 0;
}
.contact-info strong {
  color: #ffffff;
  font-weight: 300;
}

/* Footer */
.site-footer {
  width: 100vw;
  text-align: center;
  color: #aaa;
  font-size: 1rem;
  padding: 24px 0 18px 0;
  background: #000;
  letter-spacing: 1px;
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
}

/* Dropdown */

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.95);
  min-width: 220px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.4);
  z-index: 1000;
  border-radius: 6px;
  border: 1px solid #333;
  top: 100%;
  left: 0;
  margin-top: 0px;
  padding-top: 8px;
  backdrop-filter: blur(10px);
}

.dropdown-content a {
  color: #cccccc !important;
  padding: 14px 18px;
  text-decoration: none;
  display: block;
  border: none !important;
  border-radius: 0;
  transition: background-color 0.2s, color 0.2s;
  font-size: 0.85rem;
  opacity: 0.9;
}

.dropdown-content a:hover {
  background-color: #00d9ff;
  color: #000 !important;
  border: none !important;
  opacity: 1;
}

.dropdown-content a:first-child {
  border-radius: 6px 6px 0 0;
}

.dropdown-content a:last-child {
  border-radius: 0 0 6px 6px;
}

.dropdown:hover .dropdown-content {
  display: block;
  animation: fadeIn 0.2s ease-in-out;
}

.dropdown-toggle {
  color: #cccccc;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
  padding: 8px 16px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dropdown-toggle:hover {
  opacity: 1;
  border-color: #ffffff;
}

.dropdown-arrow {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
  color: #00d9ff;
}

.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}





/* INTEGRACJE & TEAM BUILDINGI */

.content-with-image {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  padding: 40px;
  background: rgba(255,255,255,0);
  border: 1px solid rgba(255,255,255,0.1);
}

.content-text {
  flex: 1;
  opacity: 0;
  animation: slideInFromLeft 1.2s ease-out 0.3s forwards;
}

.content-text h2 {
  color: #00d9ff;
  margin-bottom: 20px;
  font-size: 6.5rem;
  margin-left: 100px;
  font-weight: 200;
  opacity: 0;
  animation: slideInFromLeft 1s ease-out 0.5s forwards;
}


.content-text p {
  color: #fff;
  line-height: 1.6;
  margin-bottom: 15px;
  font-weight: 100;
  font-size: 1.1rem;
  margin-left: 100px;
  margin-right: 200px;
  opacity: 0;
  animation: slideInFromLeft 1s ease-out 0.7s forwards;
}

.content-image {
  flex: 0 0 45%;
  opacity: 0;
  animation: slideInFromRight 1.2s ease-out 0.4s forwards;
}

.content-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  border: 4px solid #ffffff; /* Add white border */
}

.contact-cta-button {
  background: transparent;
  border: 1px solid #00d9ff;
  color: #cccccc;
  padding: 12px 32px;
  border-radius: 4px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  opacity: 0;
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
  margin-top: 20px;
  margin-left: 100px;
  animation: slideInFromLeft 1s ease-out 0.9s forwards;
}

.contact-cta-button:hover {
  background: #00d9ff;
  color: #000;
  border-color: #00d9ff;
}


/* INTEGRACJE & TEAM BUILDINGI */

/* ANIMATIONS FOR INTEGRATION SUBPAGE */

/* Slide in from left animation */
@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Slide in from right animation */
@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ANIMATIONS FOR INTEGRATION SUBPAGE */

/* Contact phone icon styling */
.contact-icon {
  width: 18px;
  height: 18px;
  margin: 0 8px 0 10px;
  vertical-align: middle;
  filter: brightness(0) saturate(100%) invert(61%) sepia(95%) saturate(2893%) hue-rotate(167deg) brightness(102%) contrast(101%);
  transition: transform 0.3s ease;
}

.contact-info div:hover .contact-icon {
  transform: scale(1.1);
}