/* =========================================
   FONTS
   ========================================= */

/* Weights: 400, 700 */
.body-font { font-family: "montserrat", sans-serif; }

/* Weights: 600, 900 */
.title-font { font-family: "nave", sans-serif; }

/* =========================================
   COLORS
   ========================================= */ 
   
.darkGrey { color: #3e3e40; }
.lightGrey { color: #A7A7A7; }
.blueGreen { color: #4e746a; display: inline;}
.orange { color: #b24c0f; }
.lightOrange { color: #DE793D; }
.tan { color: #CFC0A0; }
.light { color: #f1ede1; }
.white { color: #ffffff; }

/* =========================================
   HEADINGS
   ========================================= */

h1, h2, h3, h4
{
	font-family: "nave", sans-serif;
	font-weight: 600;
	position: relative;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}

h1
{
	font-size: clamp(30px, 2.8vw, 40px);
	color: #4e746a;
	margin: 20px auto clamp(1.2vw, 1.5vw, 20px);
}

h1::before,
h1::after
{
	content: "";
	flex: 1;
	height: 2px;
	background-color: #3e3e4022;
	margin: 0 20px;
}

h2
{
	font-weight: 900;
	font-size: clamp(34px, 2.8vw, 48px);
	color: #3e3e40;
	text-align: center;
}

h3
{
	font-size: clamp(20px, 2vw, 24px);
	color: #3e3e40;
	margin-bottom: 12px;
}

h4
{
	font-size: clamp(20px, 2vw, 24px);
	color: #3e3e40;
	margin-bottom: 12px;
}

p
{
	font-family: "montserrat", sans-serif;
	font-weight: 400;
	font-size: 20px;
	line-height: 1.4;
	text-align: center;
	color: #979797;
	overflow: hidden;
	max-width: 1024px;
	margin: 10px auto clamp(16px, 1.8vw, 20px);
}

a
{
	color: #b24c0f;
	text-decoration: none;
}

a:hover
{
	color: #4e746a;
	text-decoration: underline;
}

/* =========================================
   HOME
   ========================================= */
   
.skillset {
	display: table; 
	text-align: center;
	font-family: "montserrat", sans-serif;
	font-weight: 600;
	color: #b24c0f;
	font-size: clamp(12px, 1.5vw, 16px);
	text-transform: uppercase;
	max-width: 500px;
	background-color: #fff;
	border-radius: 10px;
	padding: clamp(16px, 1.8vw, 30px);
	margin: 0 auto clamp(30px, 3.5vw, 40px);
}

.studioLogo-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
	gap: clamp(30px, 5vw, 60px);
	max-width: 1024px;
	margin: clamp(30px, 3.5vw, 40px) auto 0;
	padding: 0 20px;
}

.studioLogo-grid-item {
	background: transparent;
	overflow: hidden;
}

.studioLogo-grid-item img {
	max-width: 100%;
	width: auto;
	height: 100px;
	display: block;
	object-fit: contain;
	margin: auto;
}

/* =========================================
   VIDEO
   ========================================= */
   
.showcase-motion
{
	max-width: 95vw;
	width: 100%;
	margin: 0 auto;
	overflow: visible !important;
}

/* =========================================
   VIDEO MASONRY GRID
   ========================================= */
   
.video-stage
{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
	padding: 20px;
	max-width: 100vw;
	margin: auto;
	z-index: 1;
}

.video-item
{
	position: relative;
	cursor: pointer;
	overflow: hidden;
	border-radius: 10px;
	background-color: #ccc;
	box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.video-item img
{
	width: 100%;
	display: block;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.video-item:hover img { transform: scale(1.05); }

/* =========================================
   MODAL STYLING
   ========================================= */
   
.modal
{
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000000 url('../images/BKG-Sky.jpg') no-repeat 0 0;
	justify-content: center;
	align-items: center;
	z-index: 440;
}

.modal-content
{
	position: relative;
	width: 90vw;
	height: 90vh;
	display: flex;
	justify-content: center;
	align-items: center;
	background: transparent;
	border-radius: 10px;
	overflow: hidden;
}

.modal-content iframe
{
	width: 100%;
	height: 100%;
}

.modal-close
{
	position: fixed;
	top: 20px;
	right: 20px;
	background: transparent;
	border: none;
	width: 50px;
	height: 50px;
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 10000 !important;
	cursor: pointer;
}

.modal-close .bar
{
	display: block;
	width: 40px;
	height: 5px;
	background-color: #4e746a;
	transition: 0.3s;
	transform-origin: center;
	border-radius: 2px;
	position: absolute;
}

.modal-close .bar1
{
	transform: rotate(45deg);
	background-color: #fff;
}

.modal-close .bar2
{
	transform: rotate(-45deg);
	background-color: #fff;
}

/* =========================================
   WEBSITES
   ========================================= */
   
.showcase-websites,
.showcase-websites-alt
{
	display: flex;
	flex-wrap: nowrap;
	overflow: hidden;
	align-items: center;
	width: 100%;
	max-width: 1024px;
	margin: 0 auto 40px;
}

.website-thumbnail
{
	display: flex;
	justify-content: center;
	align-items: center;
	width: 70%;
}

.website-thumbnail img
{
	max-width: 100%;
	height: auto;
}

.website-detailStack
{
	width: 30%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
}

.website-description
{
	font-weight: 400;
	font-size: clamp(20px, 1.4vw, 24px);
	line-height: 1.2;
	text-align: center;
	color: #979797;
}

.website-title,
.website-button
{
	width: auto;
	text-align: center;
	margin: 2px 0;
	display: flex;
}

.website-title
{
	font-family: "nave", sans-serif;
	font-weight: 600;
	font-size: clamp(22px, 1.4vw, 28px);
	color: #3e3e40;
	margin-bottom: 8px;
}

.website-button a {
    font-family: "montserrat", sans-serif;
    flex: 1 1 0; 
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #4e746a;
    border: none;
    padding: 12px 22px;
    border-radius: 8px;
    box-shadow: 4px 4px 10px #00000011;
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    color: #f1ede1;
    text-transform: uppercase;
    box-sizing: border-box;
}


.website-button a:hover
{
	background-color: #b24c0f;
	text-decoration: none;
}

/* =========================================
   RESPONSIVE STYLING
   ========================================= */
@media (max-width: 768px) {
    .showcase-websites { flex-direction: column; }
    .showcase-websites-alt { flex-direction: column-reverse; }
    .website-thumbnail, .website-detailStack { width: 100%; }
    .website-thumbnail img { width: 100%; height: auto; }
}

/* =========================================
   LOGO & BRAND
   ========================================= */
   
.showcase-logo-brand
{
	max-width: 1024px;
	width: 100%;
	margin: 0 auto;
	overflow: visible !important;
}

.showcase-logo-brand h5
{
	font-family: "montserrat", sans-serif;
	font-weight: 400;
	font-size: clamp(22px, 1.8vw, 30px);
	color: #4e746a;
	text-align: center;
	margin: 40px 0 clamp(1.2vw, 1.5vw, 20px);
	display: flex;
	align-items: center;
	justify-content: center;
}

.showcase-logo-brand h5::before,
.showcase-logo-brand h5::after
{
	content: "";
	display: inline-block;
	width: 100px;
	height: 0;
	border-top: 1px dotted #00000033;
	margin: 0 10px;
}

/* =========================================
   AD CAMPAIGNS
   ========================================= */
   
.showcase-ad-campaign
{
	max-width: 1400px;
	width: 95%;
	margin: 0 auto;
	overflow: visible !important;
	padding-top: clamp(40px, 2.6vw, 80px);
}

.adCampaignContainer
{
	padding-bottom: clamp(30px, 2vw, 50px);
}
.heroImage
{
	border-radius: 20px;
	box-shadow: 4px 4px 16px #00000077;
	margin: 0 auto 30px auto;
	width: 90%;
	max-width: 750px;
	display: block;
}


/* =========================================
   MASONRY GRID
   ========================================= */
   
.masonry
{
	column-count: 1;
	column-gap: 30px;
	display: none;
	margin-bottom: 30px;
}

.masonry-item
{
	break-inside: avoid;
	margin-bottom: 30px;
	background: transparent;
	overflow: hidden;
}

.masonry-item img{
		max-width: 100%;
		height: auto;
		display: block;
		margin: auto;
	}

/* Tablet */
@media (min-width: 600px)
{
	.masonry { column-count: 2; }
	.masonry-home { column-count: 4; }
	.masonry-item img{width: 100%; height: auto; display: block;}
}

/* Laptop */
@media (min-width: 900px)
{
	.masonry { column-count: 3; }
	.masonry-item img{width: 100%; height: auto; display: block;}
}

/* Widescreen */
@media (min-width: 1200px)
{
	.masonry { column-count: 4; }
	.masonry-home { column-count: 5; }
	.masonry-item img { width: 100%; height: auto; display: block;}
}
/* =========================================
   TOGGLE BUTTON
   ========================================= */

.toggleButton {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #4e746a;
  border: none;
  padding: 12px 22px;
  border-radius: 8px;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.07);
  margin: 0 auto 30px auto;
  width: fit-content; /* keeps it sized to content but allows centering */
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: #f1ede1;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease;
}


.toggleButton:hover {
  background-color: #b24c0f;
}

.chevron {
  margin-left: 8px;
  transition: transform 0.3s ease;
  vertical-align: middle;
  width: 20px;
  height: 20px;
}

.chevron.rotate {
  transform: rotate(90deg);
}

/* =========================================
   GRID
   ========================================= */
.gridRow
{
	display: flex;
	width: 100%;
	margin-bottom: clamp(40px, 8vw, 100px);
}

.gridColumn-multiple, .gridColumn-single
{
	flex: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
	overflow: visible;
}

.gridColumn-multiple img, .gridColumn-single img
{
	height: auto;
	display: block;
	margin: 0 auto;
	width: 80%;
}

.gridColumn-multiple-home img, .gridColumn-single-home img
{
	max-height: 80px;
	height: 80px;
	display: block;
	margin: 0 auto;
	width: 80%;
}

.collectionContainer
{
	border-radius: 30px;
	padding-top: clamp(50px, 3vw, 100px);
	margin: 50px 0;
}

.fill
{
	background-color: #ffffffbb;
	box-shadow: 4px 4px 16px #00000008;
}

@media (max-width: 799px) {
  .gridRow {
    flex-direction: column;
    align-items: center;
    width: 75vw; 
    height: auto;
    max-height: none;
    overflow: visible;
    margin: 0 auto 0 auto;
  }

  .gridColumn-multiple,
  .gridColumn-single {
    width: 100%;
    height: auto;
    margin-bottom: 5vh;
  }

  .gridColumn-multiple img,
  .gridColumn-single img {
    width: 90%;
    height: auto;
    max-width: 90%;
    max-height: 90%;
    display: block;
  }
  
}

/* =========================================
   UTILITIES
   ========================================= */
   
.shadow { box-shadow: 2px 2px 10px rgba(0,0,0,0.15); }
.rounded { border-radius: 10px; }
.lightBorder { border: .5px #00000012 solid; }
.scrollMarker{ display: block; height: 1px;}
