@charset "utf-8";
/* CSS Document */

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero-quote {
  font-family: "Playfair Display", serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 0;
  margin-right: 12px;
  display: inline-block;
  transform: translateY(-6px);
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: clamp(44px, 7vw, 65px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-top: 50px;
}

.hero-dec-center {
  text-align: center;
}

.hero-dec-center .tp-hero-dec {
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.5;
  max-width: 650px;
  margin: 20px auto;
}

.hero-social-left {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  align-items: center;
  margin-top: 10px;
}

.hero-social-left a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid #d9d9d9;
  border-radius: 999px;
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #111;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-social-left a:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

@media (max-width: 991px) {
  .hero-dec-center .tp-hero-dec {
    font-size: 22px;
    max-width: 100%;
  }

  .hero-social-left {
    justify-content: center;
  }
}

@media (max-width: 1199px) {


  .tp-hero-scale-background {
    display: none;
  }
}


/* ─────────────────────────────────────────
   HEADER / HAMBURGER
───────────────────────────────────────── */
.hamburger-sticky-menu {
  position: fixed !important;
  top: 30px;
  right: 30px;
  z-index: 99999 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  display: flex !important;
}

@media (max-width: 1199px) {
  .hamburger-sticky-menu {
    top: 20px;
    right: 20px;
  }
}


/* ─────────────────────────────────────────
   OFFCANVAS PANEL (desktop default)
───────────────────────────────────────── */
.tp-offcanvas-2-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  height: 100vh;
  overflow: hidden;
  display: flex !important;
  justify-content: flex-end !important;
}

.tp-offcanvas-2-left {
  width: 420px !important;
  flex: 0 0 420px !important;
  max-width: 92vw !important;
  height: 100vh;
  margin-left: auto !important;
  padding: 34px 28px 30px !important;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 20px 0 0 20px;
  display: block !important;
  position: relative;
}

.tp-offcanvas-2-area .offcanvas-bg {
  width: 600px;
  background: rgba(58, 58, 58, 0.9);
}

/* Kill the old nav menu inside panel */
.tp-offcanvas-2-left .tp-offcanvas-menu {
  display: none !important;
}

/* Reset content block widths */
.tp-offcanvas-2-left .tp-header-logo,
.tp-offcanvas-2-left .tp-offcanvas-content,
.tp-offcanvas-2-left .tp-offcanvas-gallery,
.tp-offcanvas-2-left .tp-offcanvas-contact,
.tp-offcanvas-2-left .tp-offcanvas-social {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.tp-offcanvas-2-left .tp-header-logo {
  margin-bottom: 28px !important;
}

.tp-offcanvas-2-left .tp-header-logo img {
  max-width: 220px;
  height: auto;
}

.tp-offcanvas-content {
  margin-bottom: 50px !important;
}

.tp-offcanvas-content .tp-offcanvas-title {
  font-family: "Playfair Display", serif;
  font-size: 24px !important;
  line-height: 1.08 !important;
  margin-bottom: 12px !important;
  color: #fff;
}

.tp-offcanvas-content p {
  font-family: "Raleway", sans-serif;
  font-size: 16px !important;
  line-height: 1.5 !important;
  color: rgba(255, 255, 255, 0.8);
  max-width: 100% !important;
  margin: 0 !important;
}

.tp-offcanvas-gallery {
  margin-bottom: 24px !important;
}

.tp-offcanvas-gallery .row {
  margin: 0 -4px !important;
}

.tp-offcanvas-gallery [class*="col-"] {
  padding: 0 4px !important;
}

.tp-offcanvas-gallery-img img {
  width: 100%;
  height: 78px;
  object-fit: cover;
  border-radius: 8px;
}

.tp-offcanvas-contact {
  margin-bottom: 20px !important;
}

.tp-offcanvas-title.sm {
  font-size: 17px !important;
  letter-spacing: 1px !important;
  margin-bottom: 10px !important;
  color: #fff;
}

.tp-offcanvas-contact ul,
.tp-offcanvas-social ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tp-offcanvas-contact ul li {
  margin-bottom: 8px !important;
}

.tp-offcanvas-contact ul li a {
  font-size: 15px !important;
  line-height: 1.4 !important;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-family: "Raleway", sans-serif;
  transition: color 0.2s ease;
}

.tp-offcanvas-contact ul li a:hover {
  color: #fff;
}

.tp-offcanvas-social ul {
  display: flex;
  gap: 10px;
}

.tp-offcanvas-social ul li a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.2s ease;
}

.tp-offcanvas-social ul li a:hover {
  background: #fff;
  color: #111;
}

@media (max-width: 767px) {
  .tp-offcanvas-2-left {
    width: 92vw !important;
    flex: 0 0 92vw !important;
    padding: 26px 20px !important;
    border-radius: 16px 0 0 16px;
  }

  .tp-offcanvas-content .tp-offcanvas-title {
    font-size: 22px !important;
  }

  .tp-offcanvas-gallery-img img {
    height: 72px;
  }
}


/* ─────────────────────────────────────────
   PANEL — ICONS / INFO / SKILLS
───────────────────────────────────────── */
.panel-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.panel-info li {
  margin-bottom: 12px;
}

.panel-info li a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: all 0.25s ease;
}

.panel-info-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  margin-right: 5px;
}

.panel-info-icon i {
  color: #fff;
  font-size: 13px;
  line-height: 1;
}

.panel-info-text {
  font-size: 15px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.25s ease;
}

.panel-info li a:hover .panel-info-icon {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.panel-info li a:hover .panel-info-text {
  color: #fff;
}

.panel-skills {
  margin-bottom: 40px;
}

.panel-skills ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.panel-skills ul li {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 6px;
  position: relative;
  padding-left: 12px;
  font-family: "Raleway", sans-serif;
}

.panel-skills ul li::before {
  content: "";
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 8px;
}


/* ─────────────────────────────────────────
   ABOUT SECTION
───────────────────────────────────────── */
.about-me-area.about-me-spacing {
  background-color: #454444 !important;
}

.about-title {
  font-size: clamp(28px, 3vw, 30px);
  line-height: 1.6;
  margin-bottom: 30px;
  font-family: "Playfair Display", serif;
  color: #fff;
  text-align: left;
}

.about-text {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  font-family: "Raleway", sans-serif;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  max-width: none;
}

.cv-circle-wrap {
  margin-top: 40px;
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cv-circle-btn {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: #ffffff;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-family: "Playfair Display", serif;
  font-size: 28px;
  line-height: 1.3;
  transition: all 0.18s ease;
}

.cv-circle-btn:hover {
  transform: translateY(-4px);
  background: #f2f2f2;
}

@media (max-width: 1199px) {
  .about-title {
    font-size: 42px;
    line-height: 1.25;
  }
}

@media (max-width: 991px) {
  .about-title {
    font-size: 34px;
    line-height: 1.3;
  }
}

@media (max-width: 767px) {
  .about-title {
    font-size: 28px;
    line-height: 1.35;
  }
}


/* ─────────────────────────────────────────
   PORTFOLIO
───────────────────────────────────────── */
.tp-hero-scale-gallery .thumbs,
.mp-portfolio-thumb img {
  cursor: grab;
}

.mp-portfolio-title {
  font-size: 26px;
}

.mp-portfolio-content {
  text-align: center;
  font-family: "Raleway", sans-serif;
}


/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.tp-footer-copyright {
  font-weight: 400;
  font-size: 14px;
  text-transform: uppercase;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 25px;
  justify-content: flex-end;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-icon {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.footer-icon i {
  font-size: 12px;
  color: #fff;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-contact a:hover .footer-icon {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

/* Kill old floating back-to-top */
.back-to-top-wrapper {
  display: none !important;
}

.footer-backtotop {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  margin-top: 40px;
  opacity: 0.85;
}

.footer-backtotop:hover {
  opacity: 1;
}

.footer-backtotop .back-to-top-btn {
  position: static !important;
  margin-top: -60px;
}

@media (max-width: 768px) {
  .tp-footer-copyright-wrap {
    text-align: center;
  }

  .footer-contact {
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
  }

  .footer-contact a {
    justify-content: center;
  }

  .footer-backtotop {
    margin: 20px 0;
  }

  .footer-backtotop .back-to-top-btn {
    margin-top: 0;
  }
}


/* ─────────────────────────────────────────
   GLOBAL OVERFLOW GUARD
───────────────────────────────────────── */
html, body {
  overflow-x: hidden;
}


/* ─────────────────────────────────────────
   MOBILE — disable cursor, fix scroll
   Targets touch devices and small screens
───────────────────────────────────────── */
@media (max-width: 991px), (hover: none), (pointer: coarse) {

  /* Disable custom cursor */
  body.tp-magic-cursor {
    cursor: auto !important;
  }

  #magic-cursor,
  #ball {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* Header logo sizing */
  .tp-header-logo {
    max-width: 300px;
    width: 250px;
    padding-top: 10px;
  }

  /* Restore body scroll */
  html, body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    position: static !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: auto !important;
  }

  /* Disable GSAP smooth scroll wrapper */
  #smooth-wrapper,
  #smooth-content {
    height: auto !important;
    min-height: unset !important;
    overflow: visible !important;
    transform: none !important;
    will-change: unset !important;
    position: static !important;
  }

  /* Offcanvas panel: must NOT lock page scroll when closed.
     overflow/height are only meaningful while the panel is open
     (the theme JS adds an open class — these safe defaults apply otherwise) */
  .tp-offcanvas-2-wrapper {
    height: auto !important;
    overflow: visible !important;
  }

  .tp-offcanvas-2-left {
    height: auto !important;
    overflow: visible !important;
  }

  .tp-offcanvas-2-area,
  .offcanvas-bg {
    touch-action: auto !important;
    overflow: visible !important;
  }

  /* Center hero text — scoped strictly to hero area, not offcanvas */
  .tp-hero-area .container,
  .tp-hero-area .row,
  .tp-hero-area [class*="col-"],
  .tp-hero-area .tp-hero-content-wrap,
  .tp-hero-area .tp-hero-scale-content {
    text-align: center !important;
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .tp-hero-area .hero-title,
  .tp-hero-area .tp-hero-dec,
  .tp-hero-area .tp-hero-dec p,
  .tp-hero-area .hero-dec-center,
  .tp-hero-area .hero-dec-center .tp-hero-dec {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Keep offcanvas panel title left-aligned */
  .tp-offcanvas-2-left .hero-title,
  .tp-offcanvas-2-left .tp-offcanvas-title,
  .tp-offcanvas-content .hero-title {
    text-align: left !important;
  }
}

/* ─────────────────────────────────────────
   CUSTOM THUMBNAIL SLIDER (mobile)
───────────────────────────────────────── */
.ts-slider-outer {
  padding-top: 40px;
  padding-bottom: 20px;
  user-select: none;
  -webkit-user-select: none;
}

.ts-track-wrap {
  overflow: hidden;
  padding: 0 20px;
}

.ts-track {
  display: flex;
  gap: 12px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.ts-thumb {
  flex: 0 0 250px;
  width: 250px;
  height: 250px;
  border-radius: 8px;
  overflow: hidden;
}

.ts-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}

/* Dots */
.ts-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.ts-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.ts-dot-active {
  background: #111;
  transform: scale(1.25);
}

@media (max-width: 575px) {
  .ts-thumb {
    flex: 0 0 200px;
    width: 200px;
    height: 200px;
  }
}

/* ─────────────────────────────────────────
   LIGHTBOX
───────────────────────────────────────── */
.ts-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ts-lightbox.ts-lb-open {
  display: flex;
}

.ts-lb-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}

.ts-lb-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.ts-lb-close:hover {
  opacity: 1;
}

/* Pointer cursor on thumbs to hint they're tappable */
.ts-thumb {
  cursor: pointer;
}

