/* ============================================ */
/* MAXIMALISM REDESIGN — FOUNDATION             */
/* ============================================ */

/* === Custom Properties === */
:root {
  --accent-orange: #C84B31;
  --accent-magenta: #D72483;
  --accent-lime: #B5E550;
  --bg-dark: #0a0a0a;
  --bg-card: rgba(255, 255, 255, 0.04);
  --text-light: #fff;
  --text-muted: #aaa;
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(0, 0, 0, 0.45);
}

/* === Custom Cursor === */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--accent-magenta);
  border-radius: 50%;
  pointer-events: none;
  z-index: 100000;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 2px solid var(--accent-lime);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.35s ease, height 0.35s ease, border-color 0.35s ease;
  mix-blend-mode: difference;
}

.cursor-dot.hover,
.cursor-ring.hover {
  width: 60px;
  height: 60px;
  border-color: var(--accent-orange);
  background: transparent;
}

@media (pointer: coarse) {

  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
}

@media only screen and (max-width: 995px) {

  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
}

/* === Grain Texture Overlay === */
.grain-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* === Accent color utilities === */
.accent-orange {
  color: var(--accent-orange) !important;
}

.accent-magenta {
  color: var(--accent-magenta) !important;
}

.accent-lime {
  color: var(--accent-lime) !important;
}

/* === Maximalism Typography Overrides === */

/* Section main headings — Bebas Neue */
h2.section-heading-all {
  font-family: 'Bebas Neue', 'Barlow Condensed', sans-serif !important;
  font-size: clamp(50px, 8vw, 140px) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
  line-height: 0.95 !important;
}

/* Section subheadings — Playfair Display */
h2.section-subheading,
h2.section-subheading-light {
  font-family: 'Playfair Display', serif !important;
  font-style: italic !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

h2.section-subheading-light-title {
  font-family: 'Playfair Display', serif !important;
  font-style: italic !important;
  font-weight: 400 !important;
}

/* Body text refinement */
.txt-all,
.txt-all-light {
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.04em;
}

/* Navigation accent touches */
ul.mainNav li a:hover .navTitle,
ul.mainNav-mobile li a:hover .navTitle-mobile {
  -webkit-text-stroke-color: var(--accent-magenta) !important;
}

ul.mainNav li a:hover .navSubtitle,
ul.mainNav-mobile li a:hover .navSubtitle-mobile {
  color: var(--accent-lime) !important;
}

/* Nav number accent */
.navNumber,
.navNumber-mobile {
  color: var(--accent-orange) !important;
}

/* Link underline accent */
a.link-underline {
  color: var(--accent-orange) !important;
  border-bottom: 1px solid var(--accent-orange) !important;
  font-weight: 600 !important;
}

a.link-underline:hover {
  color: var(--accent-magenta) !important;
  border-bottom-color: var(--accent-magenta) !important;
}

a.link-underline.link-underline-dark {
  color: var(--accent-lime) !important;
  border-bottom-color: var(--accent-lime) !important;
}

/* Bottom credits subtle accent */
.bottom-credits {
  color: var(--text-muted) !important;
}

/* fullPage nav dots accent */
#fp-nav ul li a span,
#fp-nav ul li a.active span,
.fp-slidesNav ul li a span,
.fp-slidesNav ul li a.active span {
  background: var(--accent-magenta) !important;
}

/* Scroll-triggered reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children reveals */
.reveal-stagger>* {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.revealed>*:nth-child(1) {
  transition-delay: 0s;
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.revealed>*:nth-child(2) {
  transition-delay: 0.1s;
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.revealed>*:nth-child(3) {
  transition-delay: 0.2s;
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.revealed>*:nth-child(4) {
  transition-delay: 0.3s;
  opacity: 1;
  transform: translateY(0);
}

/* === Hero Section — Staggered Letter Animation === */
@keyframes letterReveal {
  0% {
    opacity: 0;
    transform: translateY(80px) rotateX(-40deg);
    filter: blur(4px);
  }

  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
    filter: blur(0);
  }
}

#intro-title {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: clamp(60px, 12vw, 200px) !important;
  font-weight: 400 !important;
  letter-spacing: 0.04em !important;
  line-height: 0.9 !important;
  perspective: 600px;
  overflow: visible !important;
}

#intro-title .letter {
  display: inline-block;
  opacity: 0;
  animation: letterReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#intro-title .letter-space {
  display: inline-block;
  width: 0.25em;
}

.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(18px, 2.5vw, 36px);
  color: var(--accent-magenta);
  letter-spacing: 0.1em;
  margin-top: 15px;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 1.8s forwards;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === About Section — Stat Numbers === */
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 40px;
  text-align: left;
  padding: 0 30px;
}

@media only screen and (max-width: 640px) {
  .stat-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0;
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(60px, 7vw, 120px);
  line-height: 1;
  letter-spacing: 0.02em;
}

.stat-label {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 5px;
}

/* === Services Section — Glassmorphism === */
.half-post.glass-card {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 0;
}

.half-post.half-post-dark.glass-card {
  background: var(--glass-bg) !important;
}

/* Force glass-card children to light text */
.half-post.glass-card .section-heading-all {
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.85) !important;
  color: transparent !important;
}

.half-post.glass-card h2.section-subheading,
.half-post.glass-card h2.section-subheading-light {
  color: rgba(255, 255, 255, 0.7) !important;
}

.half-post.glass-card .txt-all,
.half-post.glass-card p.txt-all {
  color: rgba(255, 255, 255, 0.8) !important;
}

.half-post.glass-card b {
  color: var(--accent-lime) !important;
}

/* === Works Section — Hover Overlay === */
.works-page-carousel-item {
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.works-page-carousel-item .description {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
}

.works-page-carousel-item:hover .description {
  transform: translateY(0);
  opacity: 1;
}

.works-page-carousel-item:hover {
  transform: scale(1.02);
}

.works-page-carousel-item .description h3 {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 28px;
  letter-spacing: 0.04em;
  color: #fff;
}

.works-page-carousel-item .description .description-second {
  color: var(--accent-lime);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Works hover colored overlay */
.works-page-carousel-item .link-wrap {
  background: transparent !important;
  opacity: 1 !important;
}

.works-page-carousel-item .link-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(200, 75, 49, 0.35), rgba(215, 36, 131, 0.35));
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 5;
}

.works-page-carousel-item:hover .link-wrap::before {
  opacity: 1;
}

/* Override template's cross/X hover icon — hide it */
.item:hover .link-wrap span:before,
.item:hover .link-wrap span:after {
  display: none !important;
}

/* Owl carousel nav accent */
.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next {
  color: var(--accent-magenta) !important;
}

.owl-carousel .owl-nav .owl-prev:hover,
.owl-carousel .owl-nav .owl-next:hover {
  color: var(--accent-lime) !important;
}

/* === Contact Section — Left-align headings === */
#section4 .content-inner-all {
  text-align: left;
}

/* === Contact Section — Large Headline === */
.contact-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5vw, 70px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--accent-magenta);
  text-transform: uppercase;
  margin-bottom: 20px;
  text-align: left;
}

@media only screen and (max-width: 640px) {
  .contact-headline {
    padding: 0;
  }
}

/* === Contact Form === */
.contact-form {
  width: 100%;
  margin-top: 10px;
}

.contact-form .form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.contact-form .form-row input {
  flex: 1;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.contact-form input[type="text"]::placeholder,
.contact-form input[type="email"]::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
  font-family: 'Raleway', sans-serif;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  border-color: var(--accent-magenta);
}

.contact-form textarea {
  margin-bottom: 16px;
  resize: vertical;
  min-height: 80px;
}

/* Checkboxes */
.form-checkboxes {
  margin-bottom: 20px;
}

.form-check-label {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.form-check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  position: relative;
  padding-left: 28px;
  user-select: none;
}

.form-check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.form-check .checkmark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.2s ease;
}

.form-check input[type="checkbox"]:checked~.checkmark {
  background: var(--accent-magenta);
  border-color: var(--accent-magenta);
}

.form-check .checkmark::after {
  content: '';
  position: absolute;
  display: none;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-check input[type="checkbox"]:checked~.checkmark::after {
  display: block;
}

/* Submit button */
.btn-send {
  display: block;
  width: 100%;
  padding: 16px;
  background: #fff;
  color: #0a0a0a;
  border: none;
  border-radius: 8px;
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-send:hover {
  background: var(--accent-magenta);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(215, 36, 131, 0.3);
}

@media only screen and (max-width: 640px) {
  .contact-form .form-row {
    flex-direction: column;
    gap: 12px;
  }
}

/* Form status messages */
.form-status {
  margin-top: 14px;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  text-align: center;
  min-height: 20px;
  transition: opacity 0.3s ease;
}

.form-status-success {
  color: var(--accent-lime);
}

.form-status-error {
  color: var(--accent-orange);
}

/* Social links accent */
.signature-social {
  margin-top: 25px !important;
}

.signature-social ul li a {
  color: var(--text-muted) !important;
  transition: color 0.3s ease;
}

.signature-social ul li a:hover {
  color: var(--accent-lime) !important;
}

/* To-top arrow accent */
.to-top-arrow span {
  color: var(--accent-magenta) !important;
}