
/* =================================
   IRFAN CREATES® — GLOBAL STYLES
================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #080711;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

/* =================================
   LIVE ANIMATED WALLPAPER
================================= */

.background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #080711;
}


/* =====================================
   LIVING GRADIENT — IRFAN CREATES
===================================== */

.gradient-wave {
  position: absolute;
  inset: -35%;
  isolation: isolate;

  background:
    radial-gradient(
      ellipse 48% 22% at 50% 49%,
      rgba(255, 139, 55, .95),
      transparent 75%
    ),
    radial-gradient(
      ellipse 42% 30% at 48% 53%,
      rgba(207, 44, 139, .85),
      transparent 75%
    ),
    radial-gradient(
      ellipse 42% 35% at 35% 43%,
      rgba(105, 47, 191, .85),
      transparent 75%
    ),
    radial-gradient(
      ellipse 48% 40% at 70% 57%,
      rgba(75, 49, 160, .8),
      transparent 75%
    ),
    radial-gradient(
      ellipse 60% 55% at 50% 50%,
      #15102f,
      #080711 75%
    );

  filter: blur(45px);
  animation: waveMotion 12s ease-in-out infinite alternate !important;
  transform-origin: center;
}

/* First independent flowing colour layer */

.gradient-wave::before {
  content: "";
  position: absolute;
  inset: -12%;
  pointer-events: none;

  background:
    radial-gradient(
      ellipse 45% 30% at 35% 50%,
      rgba(125, 62, 220, .65),
      transparent 75%
    ),
    radial-gradient(
      ellipse 40% 25% at 70% 45%,
      rgba(255, 95, 145, .45),
      transparent 75%
    );

  filter: blur(35px);
  opacity: .65;
  will-change: transform;

  animation: liquidFlowOne 24s ease-in-out infinite alternate;
}

/* Second independent flowing colour layer */

.gradient-wave::after {
  content: "";
  position: absolute;
  inset: -12%;
  pointer-events: none;

  background:
    radial-gradient(
      ellipse 42% 25% at 65% 60%,
      rgba(255, 155, 75, .55),
      transparent 75%
    ),
    radial-gradient(
      ellipse 45% 35% at 30% 35%,
      rgba(65, 85, 190, .45),
      transparent 75%
    );

  filter: blur(45px);
  opacity: .55;
  will-change: transform;

  animation: liquidFlowTwo 31s ease-in-out infinite alternate;
}

/* Original background movement */

@keyframes waveMotion {
  0% {
    transform: translate3d(-1%, -1%, 0) scale(1);
  }

  100% {
    transform: translate3d(1%, 1%, 0) scale(1.06);
  }
}

/* Flowing violet and pink */

@keyframes liquidFlowOne {
  0% {
    transform: translate3d(-5%, 2%, 0) rotate(-8deg) scale(1);
  }

  50% {
    transform: translate3d(4%, -3%, 0) rotate(5deg) scale(1.12);
  }

  100% {
    transform: translate3d(-2%, 4%, 0) rotate(-4deg) scale(1.06);
  }
}

/* Flowing amber and blue */

@keyframes liquidFlowTwo {
  0% {
    transform: translate3d(4%, -3%, 0) rotate(6deg) scale(1.08);
  }

  50% {
    transform: translate3d(-4%, 3%, 0) rotate(-7deg) scale(1);
  }

  100% {
    transform: translate3d(3%, -2%, 0) rotate(5deg) scale(1.13);
  }
}

/* =================================
   NAVIGATION
================================= */

.navbar {
  position: relative;
  z-index: 5;
  width: 100%;
  padding: 30px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.13);
}

.logo {
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -1.5px;
  color: white;
  text-decoration: none;
}

.logo span {
  color: #ffad69;
  font-size: 12px;
  vertical-align: top;
}

.navbar nav {
  display: flex;
  gap: 35px;
}

.navbar nav a,
.availability {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-decoration: none;
  color: rgba(255,255,255,.8);
}

.navbar nav a:hover {
  color: #ffb36e;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8affb1;
  margin-right: 7px;
  box-shadow: 0 0 10px #8affb1;
}

/* =================================
   HERO SECTION
================================= */

.hero {
  min-height: 88vh;
  padding: 65px 6% 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255,255,255,.7);
  margin-bottom: 65px;
}

.hero-title h1 {
  font-size: clamp(65px, 13.5vw, 190px);
  line-height: .82;
  letter-spacing: -.095em;
  font-weight: 900;
  white-space: nowrap;
}

.hero-title .second-line {
  margin-left: 8%;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,.9);
}

.second-line span {
  color: #ffad69;
  -webkit-text-stroke: 0;
}

.hero-bottom {
  margin-top: 65px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 25px;
}

.hero-bottom p {
  max-width: 330px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,.75);
}

.explore {
  text-decoration: none;
  color: white;
  font-size: 11px;
  letter-spacing: 1.5px;
  border-bottom: 1px solid white;
  padding-bottom: 10px;
}

.explore span {
  color: #ffad69;
  margin-left: 15px;
}

/* Scroll indicator */

.scroll-indicator {
  display: flex;
  align-items: center;
  gap: 15px;
  position: absolute;
  bottom: 20px;
  right: 6%;
  font-size: 9px;
  letter-spacing: 2px;
  color: rgba(255,255,255,.65);
}

.scroll-line {
  width: 45px;
  height: 1px;
  background: white;
  animation: linePulse 1.5s ease-in-out infinite alternate;
}

@keyframes linePulse {
  from { opacity: .3; transform: scaleX(.5); }
  to { opacity: 1; transform: scaleX(1); }
}

/* =================================
   MOVING MARQUEE
================================= */

.marquee {
  overflow: hidden;
  padding: 25px 0;
  border-top: 1px solid rgba(255,255,255,.2);
  border-bottom: 1px solid rgba(255,255,255,.2);
  background: rgba(10,8,20,.2);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeMove 24s linear infinite;
}

.marquee-track span {
  font-size: clamp(20px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: 3px;
  white-space: nowrap;
  padding-right: 50px;
}

@keyframes marqueeMove {
  to { transform: translateX(-50%); }
}

/* =================================
   GENERAL SECTIONS
================================= */

.section {
  padding: 140px 8%;
  position: relative;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  color: #ffbd88;
}

.about h2,
.work h2,
.contact h2 {
  font-size: clamp(38px, 7vw, 95px);
  line-height: .98;
  letter-spacing: -.065em;
  margin-top: 45px;
  font-weight: 900;
}

.about h2 span {
  color: transparent;
  -webkit-text-stroke: 1px white;
}

.about p {
  max-width: 550px;
  margin-top: 40px;
  font-size: 15px;
  line-height: 2;
  color: rgba(255,255,255,.72);
}

/* =================================
   PROJECTS
================================= */

.work h2 {
  margin-bottom: 70px;
}

.work h2 span,
.contact h2 span {
  color: #ffad69;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
}

.project-card {
  min-width: 0;
}

.project-placeholder {
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(118,71,175,.25), rgba(255,147,79,.15)),
    rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.17);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px;
  transition: background .5s, transform .5s;
}

.project-placeholder:hover {
  transform: translateY(-6px);
  background-color: rgba(255,255,255,.1);
}

.project-placeholder span {
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255,255,255,.75);
}

.project-card h3 {
  font-size: 16px;
  letter-spacing: 2px;
  margin-top: 20px;
}

.project-card p {
  font-size: 12px;
  color: rgba(255,255,255,.6);
  margin-top: 8px;
}

/* =================================
   CONTACT
================================= */

.contact {
  border-top: 1px solid rgba(255,255,255,.15);
}

.contact-link {
  display: inline-block;
  margin-top: 50px;
  padding: 18px 30px;
  border: 1px solid white;
  color: white;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 2px;
  transition: .3s;
}

.contact-link:hover {
  background: white;
  color: #111;
}

.contact > a:last-child {
  display: block;
  width: fit-content;
  margin-top: 25px;
  font-size: 11px;
  letter-spacing: 2px;
  color: white;
  text-decoration: none;
}

/* =================================
   FOOTER
================================= */

footer {
  padding: 30px 6%;
  border-top: 1px solid rgba(255,255,255,.15);
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,.6);
}

/* =================================
   RESPONSIVE DESIGN
================================= */

@media (max-width: 700px) {

  .navbar {
    padding: 23px 5%;
  }

  .navbar nav {
    gap: 13px;
  }

  .navbar nav a {
    font-size: 8px;
  }

  .availability {
    display: none;
  }

  .hero {
    min-height: 78vh;
    padding: 45px 5%;
  }

  .hero-top {
    margin-bottom: 55px;
    font-size: 8px;
    gap: 10px;
  }

  .hero-title h1 {
    font-size: 14vw;
  }

  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 45px;
  }

  .scroll-indicator {
    right: 5%;
    font-size: 8px;
  }

  .section {
    padding: 90px 6%;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  footer {
    flex-wrap: wrap;
    line-height: 2;
  }
}

/* Reduced motion accessibility */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* =================================
   NEW PREMIUM ANIMATIONS
================================= */

/* Logo entrance */

.logo {
  display: inline-block;
  animation: logoEntrance 1.1s cubic-bezier(.16,1,.3,1) both;
  transition: color .3s, letter-spacing .3s;
}

.logo:hover {
  color: #ffb36e;
  letter-spacing: 1px;
}

@keyframes logoEntrance {
  from {
    opacity: 0;
    transform: translateY(-18px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Navbar entrance */

.navbar {
  animation: navEntrance 1s ease both;
}

@keyframes navEntrance {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero text animation */

.hero-title h1 {
  opacity: 0;
  transform: translateY(75px);
  filter: blur(10px);
  transition:
    opacity 1s ease,
    transform 1.1s cubic-bezier(.16,1,.3,1),
    filter 1s ease;
}

.page-loaded .hero-title h1:first-child {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: .2s;
}

.page-loaded .hero-title h1:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: .5s;
}

/* Scroll reveal */

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(55px);
  filter: blur(8px);
  transition:
    opacity .9s ease,
    transform 1s cubic-bezier(.16,1,.3,1),
    filter .9s ease;
}

.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Hero entrance */

.hero-top {
  animation: softEntrance 1s .3s both;
}

.hero-bottom {
  animation: softEntrance 1s .8s both;
}

@keyframes softEntrance {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Project hover */

.project-placeholder {
  overflow: hidden;
  position: relative;
}

.project-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,.13),
    transparent
  );
  transform: translateX(-100%);
  transition: transform .8s ease;
}

.project-placeholder:hover::after {
  transform: translateX(100%);
}

/* Service cards */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 55px;
}

.service-card {
  min-height: 210px;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.17);
  background: rgba(15,12,30,.35);
  backdrop-filter: blur(12px);
  transition:
    transform .4s ease,
    border-color .4s ease,
    background .4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,173,105,.65);
  background: rgba(70,40,90,.3);
}

.service-number {
  color: #ffad69;
  font-size: 12px;
  letter-spacing: 2px;
}

.service-card h3 {
  margin-top: 40px;
  font-size: 22px;
  letter-spacing: -1px;
}

.service-card p {
  margin-top: 12px;
  color: rgba(255,255,255,.65);
  font-size: 13px;
  line-height: 1.8;
}

/* Better mobile layout */

@media (max-width: 700px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 180px;
  }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
  .logo,
  .navbar,
  .hero-top,
  .hero-bottom,
  .hero-title h1 {
    animation: none !important;
    opacity: 1;
    transform: none;
    filter: none;
  }

  .js-enabled .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}
/* =================================
   IRFAN CREATES — PREMIUM MOTION
================================= */

/* LOGO ANIMATION */
.logo {
  display: inline-block;
  animation: logoEntrance 1.1s cubic-bezier(.16,1,.3,1) both;
  transition: color .3s, letter-spacing .3s;
}

.logo:hover {
  color: #ffb36e;
  letter-spacing: 1px;
}

@keyframes logoEntrance {
  from {
    opacity: 0;
    transform: translateY(-18px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* NAVIGATION */
.navbar {
  animation: navEntrance 1s ease both;
}

@keyframes navEntrance {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HERO TEXT */
.hero-title h1 {
  opacity: 0;
  transform: translateY(75px);
  filter: blur(10px);
  transition:
    opacity 1s ease,
    transform 1.1s cubic-bezier(.16,1,.3,1),
    filter 1s ease;
}

.page-loaded .hero-title h1:first-child {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: .2s;
}

.page-loaded .hero-title h1:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: .5s;
}

/* SCROLL REVEALS */
.js-enabled .reveal {
  opacity: 0;
  transform: translateY(55px);
  filter: blur(8px);
  transition:
    opacity .9s ease,
    transform 1s cubic-bezier(.16,1,.3,1),
    filter .9s ease;
}

.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* HERO DETAILS */
.hero-top {
  animation: softEntrance 1s .3s both;
}

.hero-bottom {
  animation: softEntrance 1s .8s both;
}

@keyframes softEntrance {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* PROJECT HOVER */
.project-placeholder {
  overflow: hidden;
  position: relative;
}

.project-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,.13),
    transparent
  );
  transform: translateX(-100%);
  transition: transform .8s ease;
}

.project-placeholder:hover::after {
  transform: translateX(100%);
}

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 55px;
}

.service-card {
  min-height: 210px;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.17);
  background: rgba(15,12,30,.35);
  backdrop-filter: blur(12px);
  transition:
    transform .4s ease,
    border-color .4s ease,
    background .4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,173,105,.65);
  background: rgba(70,40,90,.3);
}

.service-number {
  color: #ffad69;
  font-size: 12px;
  letter-spacing: 2px;
}

.service-card h3 {
  margin-top: 40px;
  font-size: 22px;
  letter-spacing: -1px;
}

.service-card p {
  margin-top: 12px;
  color: rgba(255,255,255,.65);
  font-size: 13px;
  line-height: 1.8;
}

/* MOBILE */
@media(max-width:700px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 180px;
  }
}

/* REDUCED MOTION */
@media(prefers-reduced-motion:reduce) {
  .logo,
  .navbar,
  .hero-top,
  .hero-bottom,
  .hero-title h1 {
    animation: none !important;
    opacity: 1;
    transform: none;
    filter: none;
  }

  .js-enabled .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* =====================================
   IRFAN CREATES — LUXURY PORTFOLIO
===================================== */

.portfolio-gallery {
  padding-top: 130px;
  padding-bottom: 130px;
}

.portfolio-gallery h2,
.contact-section h2 {
  font-size: clamp(42px, 7vw, 92px);
  line-height: .98;
  letter-spacing: -4px;
  margin-top: 30px;
}

.portfolio-gallery h2 span,
.contact-section h2 span {
  display: block;
  color: rgba(255,255,255,.48);
}

.gallery-intro {
  max-width: 430px;
  margin-top: 25px;
  color: rgba(255,255,255,.6);
  line-height: 1.8;
  font-size: 14px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 55px 24px;
  margin-top: 65px;
}

.gallery-card {
  min-width: 0;
}

.gallery-art {
  position: relative;
  min-height: 300px;
  aspect-ratio: 1.25 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.035);
  transition: border-color .5s ease, transform .5s ease;
}

.gallery-card:hover .gallery-art {
  border-color: rgba(255,255,255,.4);
  transform: translateY(-5px);
}

.art-video {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(91,65,155,.45), transparent 60%),
    linear-gradient(135deg, #171329, #080711);
}

.art-photo {
  background:
    radial-gradient(ellipse at 75% 25%, rgba(190,125,75,.35), transparent 55%),
    linear-gradient(135deg, #211b20, #090811);
}

.art-design {
  background:
    radial-gradient(ellipse at 25% 70%, rgba(54,111,160,.4), transparent 55%),
    linear-gradient(135deg, #101b2a, #080711);
}

.art-experiments {
  background:
    radial-gradient(ellipse at 60% 45%, rgba(157,70,120,.4), transparent 60%),
    linear-gradient(135deg, #211326, #080711);
}

.coming-soon {
  position: absolute;
  top: 22px;
  left: 22px;
  font-size: 10px;
  letter-spacing: 3px;
  color: rgba(255,255,255,.65);
}

.gallery-symbol {
  font-size: 65px;
  color: rgba(255,255,255,.75);
  transition: transform .6s ease, opacity .6s ease;
}

.gallery-card:hover .gallery-symbol {
  transform: scale(1.2) rotate(8deg);
  opacity: .6;
}

.gallery-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding-top: 19px;
}

.gallery-meta h3 {
  font-size: 13px;
  letter-spacing: 1.5px;
}

.gallery-meta p {
  margin-top: 7px;
  color: rgba(255,255,255,.48);
  font-size: 12px;
}

.gallery-meta > span {
  color: rgba(255,255,255,.4);
  font-size: 10px;
  letter-spacing: 1px;
}

/* CONTACT SECTION */

.contact-section {
  padding-top: 140px;
  padding-bottom: 150px;
  border-top: 1px solid rgba(255,255,255,.13);
}

.contact-description {
  margin-top: 28px;
  max-width: 420px;
  color: rgba(255,255,255,.6);
  font-size: 14px;
  line-height: 1.8;
}

.contact-email {
  display: inline-block;
  margin-top: 55px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.45);
  color: #fff;
  text-decoration: none;
  font-size: clamp(15px, 2.6vw, 25px);
  letter-spacing: 1px;
  transition: color .3s, border-color .3s;
}

.contact-email:hover {
  color: #ffb36e;
  border-color: #ffb36e;
}

.contact-socials {
  display: flex;
  gap: 35px;
  margin-top: 45px;
}

.contact-socials a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 2px;
  transition: color .3s;
}

.contact-socials a:hover {
  color: #ffb36e;
}

/* FOOTER */

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 30px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.45);
  font-size: 10px;
  letter-spacing: 1.3px;
}

.site-footer a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: color .3s;
}

.site-footer a:hover {
  color: #ffb36e;
}

/* RESPONSIVE */

@media (max-width: 700px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .gallery-art {
    min-height: 240px;
  }

  .portfolio-gallery h2,
  .contact-section h2 {
    letter-spacing: -2px;
  }

  .contact-section {
    padding-top: 90px;
    padding-bottom: 100px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
@keyframes waveMotion {
  0% {
    transform: translate3d(-4%, -2%, 0) scale(1);
  }

  50% {
    transform: translate3d(4%, 3%, 0) scale(1.15);
  }

  100% {
    transform: translate3d(-3%, 2%, 0) scale(1.08);
  }
}

.gradient-wave {
  animation: waveMotion 18s ease-in-out infinite alternate !important;
}