/*
Theme Name: Naveed Khan
Theme URI: https://naveedk.dev
Author: Naveed Khan
Author URI: https://naveedk.dev
Description: Portfolio theme for Naveed Khan
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: naveed-khan
*/

body {
    margin: 0;
    font-family: 'Outfit', 'Trebuchet MS', sans-serif;
}

/* ==========================
   HEADER
   ========================== */
/* ==========================
   HEADER
   ========================== */
.nk-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 9999;
    padding: 20px 0;
    transition: all 0.3s ease;
}

/* Header backdrop for pages that need it */
.nk-header.nk-header--backdrop {
    background: rgba(0, 76, 70, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nk-header .nk-container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo + text */
.nk-header .nk-logo-wrap {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 10;
}

.nk-header .nk-site-logo img {
    border-radius: 50%;
    width: 48px;
    height: 48px;
    object-fit: cover;
    margin-right: 10px;
}

.nk-header .nk-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nk-header .nk-site-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
}

.nk-header .nk-site-description {
    margin: 0;
    font-size: 13px;
    color: #7AE582; /* light green */
}

/* Navigation */
.nk-header .nk-nav {
    position: relative;
}

/* Desktop Navigation */
.nk-nav-desktop {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nk-header .nk-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 24px;
}

.nk-header .nk-nav-menu li a {
    text-decoration: none;
    font-weight: 500;
    color: #FFFFFF;
    font-size: 15px;
    transition: color 0.2s ease;
    position: relative;
}

.nk-header .nk-nav-menu li a:hover {
    color: #A9FFCB;
}

/* Navigation Actions */
.nk-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Button Styles */
.nk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

/* Icon-only buttons */
.nk-btn--icon {
    width: 44px;
    height: 44px;
    padding: 0;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.nk-btn--icon:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.nk-btn--icon svg {
    width: 18px;
    height: 18px;
}

/* Primary CTA button */
.nk-btn--primary {
    background: linear-gradient(90deg, #4DD07F, #28A745);
    color: #042;
    font-weight: 600;
}

.nk-btn--primary:hover {
    background: linear-gradient(90deg, #5EE890, #30C856);
    transform: translateY(-2px);
}

.nk-btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #E9FFF2;
}

.nk-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Mobile Menu Toggle */
.nk-mobile-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 10;
}

.nk-mobile-toggle span {
    width: 24px;
    height: 2px;
    background: #FFFFFF;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.nk-mobile-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nk-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nk-mobile-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Navigation */
.nk-nav-mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 76, 70, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 9;
}

.nk-nav-mobile.active {
    transform: translateX(0);
}

.nk-nav-menu-mobile {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.nk-nav-menu-mobile li {
    margin: 20px 0;
}

.nk-nav-menu-mobile li a {
    text-decoration: none;
    font-weight: 600;
    color: #FFFFFF;
    font-size: 24px;
    transition: color 0.2s ease;
}

.nk-nav-menu-mobile li a:hover {
    color: #A9FFCB;
}

.nk-nav-actions-mobile {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
    align-items: center;
}

.nk-nav-actions-mobile .nk-btn {
    min-width: 200px;
    justify-content: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nk-header {
        padding: 16px 0;
    }
    
    .nk-nav-desktop {
        display: none;
    }
    
    .nk-mobile-toggle {
        display: flex;
    }
    
    .nk-header .nk-site-title {
        font-size: 15px;
    }
    
    .nk-header .nk-site-description {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .nk-header .nk-site-logo img {
        width: 40px;
        height: 40px;
        margin-right: 8px;
    }
}

/* Page Template Adjustments */
/* Add top padding to pages with absolute header */
.nk-page-content,
.nk-home {
    padding-top: 88px;
}

@media (max-width: 768px) {
    .nk-page-content,
    .nk-home {
        padding-top: 80px;
    }
}
/* ---------- HOME LAYOUT ---------- */
.nk-home { background: linear-gradient(180deg,#003F3A 0%, #003933 60%, #01302B 100%); color: #E9FFF2; }

/* Container matches your header container width */
.nk-home .container { width: 90%; margin: 0 auto; }
/* ---------- HERO SECTION ---------- */
.nk-hero {
  background: linear-gradient(180deg, #003F3A 0%, #003933 60%, #01302B 100%);
  color: #E9FFF2;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.nk-hero__inner {
  width: 90%;
  margin: 0 auto;
  padding: 120px 0 60px;
  text-align: center;
  z-index: 2;
  position: relative;
}

/* ---------- BADGE ---------- */
.nk-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(13, 107, 98, 0.8);
  border: 1px solid #2AB58C;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.nk-badge__logo img {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  object-fit: cover;
}

.nk-badge__text {
  font-weight: 600;
  font-size: 13px;
  color: #A9FFCB;
  letter-spacing: 0.5px;
}

/* ---------- HERO TYPOGRAPHY ---------- */
.nk-hero__title {
  margin: 0 0 16px;
  font-weight: 700;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.1;
  color: #CFFDEB;
  letter-spacing: -0.5px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.nk-hero__subtitle {
  margin: 0 0 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: #A1EBD0;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
}

/* ---------- CTA BUTTONS ---------- */
.nk-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.nk-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nk-btn__icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  object-fit: cover;
}

.nk-btn--primary {
  background: linear-gradient(135deg, #4DD07F, #28A745);
  color: #042;
  box-shadow: 0 4px 20px rgba(77, 208, 127, 0.3);
}

.nk-btn--primary:hover {
  background: linear-gradient(135deg, #5EE890, #30C856);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(77, 208, 127, 0.4);
}

.nk-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #E9FFF2;
  backdrop-filter: blur(10px);
}

.nk-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.1);
}

/* ---------- SERVICES ---------- */
.nk-services {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.nk-service {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.nk-service:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.nk-service__logo img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.nk-service__body h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #CFFDEB;
  white-space: nowrap;
}

/* ---------- HORIZONTAL GALLERY ---------- */
.nk-hero__gallery-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  flex: 1;
  min-height: 400px;
  margin-top: auto;
}

.nk-hero__gallery {
  display: flex;
  gap: 24px;
  padding: 40px 0 40px 50vw;
  transition: transform 0.1s ease-out;
  will-change: transform;
}

.nk-gallery__item {
  flex-shrink: 0;
  width: 320px;
  height: 240px;
  position: relative;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nk-gallery__item:hover {
  transform: translateY(-12px) scale(1.02);
  z-index: 10;
}

.nk-gallery__item:hover .nk-gallery__overlay {
  opacity: 1;
}

.nk-gallery__image {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(145deg, #072A26, #0A3530);
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.3),
    0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nk-gallery__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.nk-gallery__item:hover .nk-gallery__image img {
  transform: scale(1.05);
}

.nk-gallery__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(77, 208, 127, 0.1),
    rgba(40, 167, 69, 0.1)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}

.nk-gallery__zoom {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #003F3A;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.nk-gallery__item:hover .nk-gallery__zoom {
  transform: scale(1);
}

/* ---------- MOBILE RESPONSIVE ---------- */
@media (max-width: 768px) {
  .nk-hero__inner {
    padding: 100px 0 40px;
  }
  
  .nk-hero__title {
    font-size: clamp(28px, 8vw, 48px);
    margin-bottom: 12px;
  }
  
  .nk-hero__subtitle {
    font-size: 16px;
    margin-bottom: 24px;
  }
  
  .nk-cta {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
  }
  
  .nk-btn {
    padding: 12px 24px;
    font-size: 14px;
    min-width: 200px;
    justify-content: center;
  }
  
  .nk-services {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 60px;
  }
  
  .nk-service {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  .nk-hero__gallery {
    padding: 20px 0 20px 20px;
  }
  
  .nk-gallery__item {
    width: 280px;
    height: 200px;
  }
  
  .nk-hero__gallery-wrapper {
    min-height: 280px;
  }
}

@media (max-width: 480px) {
  .nk-badge {
    padding: 6px 12px;
    gap: 6px;
  }
  
  .nk-badge__text {
    font-size: 12px;
  }
  
  .nk-gallery__item {
    width: 240px;
    height: 180px;
  }
  
  .nk-hero__gallery-wrapper {
    min-height: 240px;
  }
}
/* Sections */
.nk-section { padding:56px 0; }
.nk-section--alt { background:rgba(0,0,0,.15); }
.nk-section__head { margin:0 0 18px; }
.nk-kicker { display:inline-block; padding:4px 10px; border-radius:999px; border:1px solid #2AB58C; color:#A9FFCB; font-size:12px; }
.nk-section h2 { margin:10px 0 0; font-size:28px; color:#D9FFF0; }

/* Cards & grids */
.nk-grid { display:grid; gap:18px; }
.nk-grid--3 { grid-template-columns:1fr; }
@media (min-width:640px){ .nk-grid--3 { grid-template-columns:repeat(2,1fr); } }
@media (min-width:1024px){ .nk-grid--3 { grid-template-columns:repeat(3,1fr); } }

.nk-card { background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); border-radius:16px; overflow:hidden; }
.nk-card__link { display:block; color:inherit; text-decoration:none; }
.nk-card__thumb img { width:100%; height:auto; display:block; }
.nk-card__title { margin:12px 12px 6px; font-size:18px; color:#E7FFF3; }
.nk-card__excerpt { margin:0 12px 16px; color:#A1EBD0; font-size:14px; }

/* Testimonials */
.nk-testimonial { background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); border-radius:16px; padding:20px; }
.nk-testimonial__content { color:#D7FFF1; font-size:15px; line-height:1.6; }
.nk-testimonial__meta { display:flex; align-items:center; gap:12px; margin-top:14px; }
.nk-testimonial__avatar img { width:44px; height:44px; border-radius:50%; object-fit:cover; }

/* Swiper nav/pagination (scoped) */
.nk-swiper { position:relative; }
.nk-swiper-prev, .nk-swiper-next { width:34px; height:34px; border-radius:999px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12); position:absolute; top:50%; transform:translateY(-50%); z-index:3; }
.nk-swiper-prev { left:-8px; }
.nk-swiper-next { right:-8px; }
.nk-swiper-pagination .swiper-pagination-bullet { background:#A9FFCB; opacity:.5; }
.nk-swiper-pagination .swiper-pagination-bullet-active { opacity:1; }

/* Responsive hero typography */
@media (min-width:768px){
  .nk-hero__title { font-size:56px; }
  .nk-services { grid-template-columns:repeat(2,1fr); }
}
