/* =====================
   CUSTOM FONTS
   ===================== */
@font-face {
  font-family: "Magiela";
  font-weight: 400;
  font-display: swap;
  src: url(https://thejay.in/wp-content/uploads/2025/03/magiela.ttf) format("truetype");
}
@font-face {
  font-family: "Black Mango";
  font-weight: 400;
  font-display: swap;
  src: url(https://thejay.in/wp-content/uploads/2025/03/black-mango-regular.ttf) format("truetype");
}
@font-face {
  font-family: "Coolvetica";
  font-weight: 400;
  font-display: swap;
  src: url(https://thejay.in/wp-content/uploads/2025/03/Coolvetica-Rg.ttf) format("truetype");
}
@font-face {
  font-family: "TradeGothic LT";
  font-weight: 300;
  font-display: swap;
  src: url(https://thejay.in/wp-content/uploads/2025/03/TradeGothic-LT-Light-Regular.ttf) format("truetype");
}
@font-face {
  font-family: "TradeGothic LT";
  font-weight: 400;
  font-display: swap;
  src: url(https://thejay.in/wp-content/uploads/2025/03/TradeGothic-LT-Regular.ttf) format("truetype");
}
@font-face {
  font-family: "TradeGothic LT";
  font-weight: 700;
  font-display: swap;
  src: url(https://thejay.in/wp-content/uploads/2025/03/TradeGothic-LT-Bold-Regular.ttf) format("truetype");
}
@font-face {
  font-family: "Abril Display";
  font-weight: 400;
  font-display: swap;
  src: url(https://thejay.in/wp-content/uploads/2025/03/Abril_Display_Regular.ttf) format("truetype");
}

/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  background-color: #1a1a1a;
  color: #ffffff;
  font-family: "TradeGothic LT", sans-serif;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

/* =====================
   HEADER
   ===================== */
#site-header {
  background-color: #1a1a1a;
  position: relative;
  z-index: 999;
}

.header-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 100px;
}

.header-logo img {
  width: 70px;
  height: auto;
}

.header-nav {
  display: flex;
  align-items: center;
}

/* =====================
   HAMBURGER BUTTON
   ===================== */
.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  width: 40px;
  height: 30px;
  gap: 0;
  position: relative;
  z-index: 1001;
}

.bar {
  display: block;
  width: 40px;
  height: 2px;
  background-color: #ffffff;
  position: absolute;
  left: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.bar-top    { top: 0; }
.bar-center { top: 9px; }
.bar-bottom { top: 18px; }

/* X state when open */
.hamburger-btn[aria-expanded="true"] .bar-top {
  transform: translateY(9px) rotate(45deg);
}
.hamburger-btn[aria-expanded="true"] .bar-center {
  opacity: 0;
}
.hamburger-btn[aria-expanded="true"] .bar-bottom {
  transform: translateY(-9px) rotate(-45deg);
}

/* =====================
   MOBILE MENU OVERLAY (background dim)
   ===================== */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.mobile-menu-overlay.open {
  display: block;
}

/* =====================
   MOBILE MENU
   ===================== */
.mobile-menu-wrapper {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1a1a1a;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.mobile-menu-wrapper.open {
  display: flex;
}

.mobile-menu {
  list-style: none;
  display: flex;
  width: 100%;
  height: 100%;
  padding: 0;
}

.mobile-menu li {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  transition: background 0.2s;
}

.mobile-menu li:first-child {
  border-right: 1px solid #ffffff;
}

.mobile-menu li:hover a {
  color: #9e9e9e;
}

.mobile-menu li a {
  font-family: "Coolvetica", sans-serif;
  font-size: 40px;
  letter-spacing: 1px;
  color: #ffffff;
  text-align: center;
  transition: color 0.3s;
}

/* =====================
   HOME PAGE — DESKTOP GALLERY
   ===================== */
#desktop-gallery {
  display: block;
}

#mobile-gallery {
  display: none;
}

/* MultiScroll container fills viewport minus header */
#multiscroll {
  width: 100%;
  height: calc(100vh - 68px);
}

.ms-section {
  cursor: pointer;
}

.leftSlide img,
.rightSlide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.heroImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ms-tableCell {
  height: 100% !important;
}

/* =====================
   HOME PAGE — MOBILE GALLERY
   ===================== */
#mobile-gallery a {
  display: block;
  width: 100%;
}

#mobile-gallery img {
  width: 100%;
  height: auto;
  display: block;
}

/* =====================
   PROJECTS PAGE
   ===================== */
.page-projects #site-content,
.page-practice #site-content {
  background-color: #ffffff;
  color: #1a1a1a;
}

.project-section {
  display: flex;
  flex-direction: row;
  width: 100%;
  min-height: 80vh;
}

/* project-left: info on left, image on right */
.project-left {
  flex-direction: row;
}

/* project-right: info on right, image on left — swap order visually */
.project-right {
  flex-direction: row-reverse;
}

.project-info {
  width: 50%;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  padding-right: 100px;
  padding-bottom: 70px;
  padding-left: 100px;
  column-gap: 1px;
}

.project-right .project-info {
  flex-direction: row-reverse;
}

.project-title {
  font-family: "Magiela", serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.1;
  color: #1a1a1a;
  width: 50%;
}

.project-title a {
  color: inherit;
}

.project-title a:hover {
  color: #9e9e9e;
  transition: color 0.3s;
}

.project-title.align-right {
  text-align: right;
}

.project-divider {
  width: 50%;
  display: flex;
  align-items: flex-start;
  align-self: flex-start;
}

.project-divider .line {
  width: 100%;
  height: 1px;
  background-color: #1a1a1a;
}

.project-image {
  width: 50%;
  height: 100%;
  min-height: 80vh;
}

.project-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =====================
   FOOTER
   ===================== */
#site-footer {
  background-color: #1a1a1a;
}

.page-projects #site-footer,
.page-practice #site-footer {
  background-color: #ffffff;
}

.footer-inner {
  padding: 20px 100px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-divider .line {
  width: 100%;
  height: 1px;
  background-color: #ffffff;
  opacity: 0.3;
}

.page-projects .footer-divider .line,
.page-practice .footer-divider .line {
  background-color: #1a1a1a;
  opacity: 0.3;
}

.footer-logo {
  display: block;
}

.footer-logo img {
  width: 100%;
  max-width: 350px;
  height: auto;
}

/* =====================
   RESPONSIVE — TABLET (max 991px)
   ===================== */
@media (max-width: 991px) {
  #desktop-gallery {
    display: none;
  }
  #mobile-gallery {
    display: block;
  }
}

/* =====================
   RESPONSIVE — MOBILE (max 478px)
   ===================== */
@media (max-width: 478px) {
  .header-inner {
    padding: 20px;
    flex-wrap: nowrap;
  }

  .header-logo img {
    width: 55px;
  }

  .mobile-menu li a {
    font-size: 32px;
    padding: 10px 0;
  }

  /* Projects page mobile */
  .project-section,
  .project-left,
  .project-right {
    flex-direction: column-reverse;
    padding: 0;
    margin-top: 100px;
    row-gap: 50px;
  }

  .project-info {
    flex-direction: column-reverse;
    width: 100%;
    padding: 0 20px;
    row-gap: 20px;
    align-items: flex-start;
    align-self: auto;
  }

  .project-right .project-info {
    flex-direction: column-reverse;
  }

  .project-title {
    width: 100%;
    text-align: center;
    font-size: 24px;
  }

  .project-title.align-right {
    text-align: center;
  }

  .project-divider {
    width: 50%;
  }

  .project-image {
    width: 100%;
    min-height: auto;
  }

  .footer-inner {
    padding: 20px;
  }

  .footer-logo img {
    max-width: none;
    width: 100%;
  }
}

/* =====================
   4K DESKTOP (min 3840px)
   ===================== */
@media (min-width: 3840px) {
  .project-title {
    font-size: 122px;
  }
}

/* =====================
   PRACTICE PAGE
   ===================== */

/* Hero */
.practice-hero {
  width: 100%;
}

.practice-hero-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* About Section */
.practice-about {
  margin-top: 90px;
}

.practice-about-inner {
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.practice-heading {
  font-family: "Magiela", serif;
  font-size: 60px;
  font-weight: 400;
  text-align: center;
  color: #1a1a1a;
}

.practice-text {
  font-family: "TradeGothic LT", sans-serif;
  font-weight: 300;
  font-size: 22px;
  letter-spacing: -1px;
  color: #1a1a1a;
  text-align: center;
  padding: 0 134px;
  margin-top: 30px;
  line-height: 1.5;
}

.practice-wide-img {
  width: 100%;
  margin-top: 60px;
  padding: 0 51px;
  height: auto;
  object-fit: cover;
}

/* Contact Section */
.practice-contact {
  margin-top: 137px;
  margin-bottom: 80px;
  padding: 0 120px;
}

.practice-contact-inner {
  background-color: #f7f7f7;
  display: flex;
  flex-direction: row;
  padding: 67px 70px 67px 60px;
  column-gap: 140px;
  width: 100%;
}

.contact-info {
  width: 25%;
  display: flex;
  flex-direction: column;
}

.contact-heading {
  font-family: "Magiela", serif;
  font-size: 54px;
  font-weight: 400;
  text-align: left;
  color: #1a1a1a;
}

.contact-detail {
  font-family: "TradeGothic LT", sans-serif;
  font-weight: 300;
  font-size: 28px;
  letter-spacing: -1px;
  color: #1a1a1a;
  text-align: left;
  margin-top: 30px;
  line-height: 1.4;
}

.contact-form-wrap {
  flex: 1;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form .form-group {
  padding-bottom: 45px;
}

.contact-form .form-group-submit {
  padding-bottom: 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  padding: 10px 20px;
  font-family: "TradeGothic LT", sans-serif;
  font-size: 28px;
  font-weight: 300;
  color: #1a1a1a;
  background: #ffffff;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #1F1F1E;
}

.contact-form textarea {
  height: 270px;
  resize: vertical;
}

.submit-btn {
  border: 0;
  background-color: #1a1a1a;
  font-size: 26px;
  font-family: "TradeGothic LT", sans-serif;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  padding: 15px 20px;
  cursor: pointer;
  transition: opacity 0.3s;
}

.submit-btn:hover {
  opacity: 0.8;
}

/* Practice page footer — inline row style */
.footer-inline {
  flex-direction: row;
  align-items: center;
  margin-bottom: 50px;
  padding: 0 51px;
}

.footer-inline .footer-divider {
  flex: 1;
}

.footer-logo-small img {
  width: 70px;
  max-width: none;
  margin: 0 20px;
}

/* =====================
   PRACTICE — RESPONSIVE MOBILE (max 478px)
   ===================== */
@media (max-width: 478px) {
  .practice-about {
    margin-top: 20px;
  }

  .practice-heading {
    font-size: 24px;
    font-weight: 500;
  }

  .practice-text {
    font-size: 14px;
    letter-spacing: 0;
    padding: 0;
  }

  .practice-wide-img {
    padding: 0;
    margin-top: 30px;
  }

  .practice-contact {
    padding: 0 15px;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .practice-contact-inner {
    padding: 20px 10px;
    row-gap: 50px;
    column-gap: 20px;
    flex-wrap: nowrap;
  }

  .contact-info {
    width: 100%;
  }

  .contact-heading {
    font-size: 24px;
    font-weight: 500;
  }

  .contact-detail {
    font-size: 14px;
    letter-spacing: 0;
    margin-top: 10px;
  }

  .contact-form .form-group {
    padding-bottom: 10px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 14px;
    padding: 5px 10px;
  }

  .contact-form textarea {
    height: 100px;
  }

  .submit-btn {
    font-size: 16px;
  }

  .footer-inline {
    padding: 0 15px;
    margin-bottom: 25px;
  }

  .footer-logo-small img {
    width: 50%;
  }
}

/* =====================
   PRACTICE — 4K (min 3840px)
   ===================== */
@media (min-width: 3840px) {
  .practice-heading {
    font-size: 120px;
  }

  .practice-text {
    font-size: 54px;
  }

  .contact-heading {
    font-size: 120px;
  }

  .contact-detail {
    font-size: 54px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 54px;
    padding: 40px 20px;
  }

  .contact-form input::placeholder,
  .contact-form textarea::placeholder {
    font-size: 54px;
  }

  .contact-form .form-group {
    padding-bottom: 40px;
  }

  .submit-btn {
    font-size: 54px;
  }
}
