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

html {
  scroll-behavior: smooth;
}

body {
  background: #000;
  color: #fff;
  font-family: 'Manrope', sans-serif;
  overflow-x: hidden;
}

/* ======= HEADER ======= */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0) 50%, rgba(0, 0, 0, 0) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 60px;
  z-index: 100;
}

/* --- logo + brand --- */
.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-area img {
  height: 10vh;
}

.brand-name {
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #ffffff 0%, #00c8ff 50%, #ffffff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(0, 200, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.brand-name::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #00c8ff, #ffffff);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  filter: blur(10px);
}

nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 40px;
  font-weight: 500;
  transition: color 0.15s linear;
}

nav a:hover {
  color: #00c8ff;
  font-weight: 900;
}

/* --- Hamburger Menu --- */
.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ======= MAIN CONTAINER ======= */
body {
  padding-top: 0;
}

/* ======= SECTIONS ======= */
section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 80px 80px;
  position: relative;
  background: #000;
  width: 100%;
}

/* Specific section spacing */
#offer {
  padding-top: 140px;
  position: relative;
  z-index: 1;
}

#offer::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 80%;
  width: 480px;
  height: 480px;
  background: radial-gradient(
    circle at 80% 30%,
    #00c8ff 0%,
    #00313d 13%,
    #00c8ff 25%,
    #00313d 37%,
    #00c8ff 49%,
    #00313d 61%,
    #00c8ff 73%,
    rgba(0,200,255,0.15) 85%,
    transparent 100%
  );
  filter: blur(16px);
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0.82;
  transform: translate(-50%, 0) rotateZ(8deg);
  transition: opacity 0.3s;
}



#offer-label {
  padding-top: 10px;
}

#portfolio {
  padding-top: 120px;
  min-height: calc(100vh - 60px);
}

#contact {
  padding-top: 120px;
  min-height: calc(100vh - 60px);
}

/* ======= OFFER GRID (text left, buttons right) ======= */
.offer-grid {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.offer-left h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.offer-left p {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.85;
  max-width: 600px;
}

.offer-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.buttons-vertical {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* ======= BUTTONS ======= */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid #00c8ff;
  background: none;
  color: #00c8ff;
  text-transform: uppercase;
  font-weight: 600;
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.12s linear;
  margin-top: 0;
  border-radius: 4px;
  text-decoration: none;
}

button.btn {
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-align: center;
}

.btn.primary {
  background: #00c8ff;
  color: #000;
  border-color: #00c8ff;
}

.btn:hover {
  opacity: 0.9;
}

/* ======= TWO-COLS (used in about & contact) ======= */
.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
}

.two-cols h2 {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
}

.two-cols p {
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: 0.85;
}

.two-cols img {
  width: 100%;
  border-radius: 20px;
  height: auto;
}

/* ======= PORTFOLIO SECTION ======= */
#portfolio {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#portfolio h2 {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: -40px;
  text-align: left;
  color: #fff;
  width: 100%;
  max-width: 1200px;
}

.portfolio-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.portfolio-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 40px;
  align-items: center;
}

/* left preview tile */
.preview-tile {
  width: 100%;
  height: 280px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #0b0b0b, #111);
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Professional arrow buttons */
.portfolio-arrow {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 20px;
  cursor: pointer;
  color: white;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.portfolio-arrow:hover {
  background: rgba(0, 200, 255, 0.1);
  border-color: rgba(0, 200, 255, 0.3);
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(0, 200, 255, 0.15);
}

.portfolio-arrow:active {
  transform: scale(0.95);
}

.portfolio-arrow svg {
  transition: transform 0.2s ease;
}

.portfolio-arrow:hover svg {
  transform: translateY(-2px);
}

.portfolio-arrow-bottom:hover svg {
  transform: translateY(2px);
}

/* right details */
.portfolio-right h1 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: #fff;
}

.portfolio-right p {
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: 0.8;
}

/* ======= OFFER LABEL SECTION ======= */
.offer-label-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.offer-label-container h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 60px;
  text-align: center;
  color: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  width: 100%;
}

.service-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 40px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-4px);
}


.service-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1;
}

.btn-card {
  margin-top: auto;
  padding: 12px 24px;
  border: 1px solid #00c8ff;
  background: rgba(0, 200, 255, 0.1);
  color: #00c8ff;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-card:hover {
  background: #00c8ff;
  color: #000;
  transform: translateY(-2px);
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #fff;
}

.service-card p {
  font-size: 1.3rem;
  line-height: 1.7;
  opacity: 0.75;
  color: #fff;
  margin-bottom: 12px;
  margin-left: -12px;
}

.service-card ul {
  list-style: none;
  padding-left: 0;
  opacity: 0.9;
}

.service-card ul li {
  font-size: 0.95rem;
  line-height: 1.8;
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.service-card ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #00c8ff;
  font-weight: bold;
}

/* ======= CONTACT FORM ======= */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
}

input, textarea {
  padding: 12px;
  border: none;
  border-bottom: 1px solid #444;
  background: none;
  color: #fff;
  outline: none;
}

input:focus, textarea:focus {
  border-color: #00c8ff;
}

/* ======= POPUP MENU ======= */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.popup-container {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 50px;
  max-width: 800px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s ease;
}

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

.popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  transition: all 0.3s ease;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.popup-close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

.popup-content {
  color: #fff;
}

.popup-content h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #00c8ff;
}

.popup-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.85;
}

/* ======= FOOTER ======= */
footer {
  text-align: center;
  padding: 40px;
  opacity: 0.5;
  font-size: 0.9rem;
  background: #000;
}

/* ======= RESPONSIVE ======= */
@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  nav {
    position: fixed;
    left: -100%;
    top: 0;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.98);
    width: 100%;
    height: 100vh;
    text-align: center;
    transition: left 0.3s ease;
    padding-top: 100px;
    backdrop-filter: blur(10px);
    z-index: 99;
  }

  nav.active {
    left: 0;
  }

  nav a {
    margin: 20px 0;
    font-size: 1.5rem;
    display: block;
  }

  section {
    padding: 120px 30px 60px;
    min-height: auto;
  }

  header {
    padding: 16px 20px;
  }

  .logo-area img {
    height: 8vh;
  }

  .two-cols,
  .offer-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .preview-tile {
    height: 220px;
  }

  .offer-left h1 {
    font-size: 2rem;
  }

  .offer-left p {
    font-size: 1rem;
  }

  .two-cols h2,
  #portfolio h2 {
    font-size: 1.6rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .offer-label-container h2 {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .service-card {
    padding: 30px;
  }

  .service-card h3 {
    font-size: 1.2rem;
  }

  .service-card p {
    font-size: 1rem;
  }

  .service-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
  }

  .popup-container {
    padding: 30px 25px;
    max-width: 95%;
  }

  .popup-content h2 {
    font-size: 1.6rem;
  }

  .popup-content p {
    font-size: 1rem;
  }

  .btn-card {
    font-size: 0.85rem;
    padding: 10px 20px;
  }

  .service-card ul li {
    font-size: 0.9rem;
  }
}
