@charset "utf-8";
/* CSS Document */

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background: #F9F6EE;
  color: #111;
}

/*********************************************************************************************************
HEADER
*********************************************************************************************************/

/* Header like Adobe Portfolio */
.header {
    position: relative;
    text-align: center;
    padding: 50px 20px 40px;
	}
.header h1 {
  	font-size: 40px;
  	margin: 0;
	}
.header p {
  	font-size: 30px;
	font-weight: 100;
	letter-spacing: 0.33em;
  	margin-top: 20px;
	margin-bottom: 40px;
  	color: #0099CC;
	/*border: dotted thin blue; ****BLUE BORDER*****/
	}

/*****RESPONSIVE*****/
@media screen and (max-width:768px) {

 	.header img {
	  width: 100%;
	  margin-top: -10px;
	}
	.header p {
	  font-size: 24px;
	  	font-weight: 100;
		letter-spacing: 0.24em;
	  margin-top: 20px;
		margin-bottom: 30px;
	  color: #0099CC;
	}
}

/*********************************************************************************************************
NAV BAR
*********************************************************************************************************/

#navMenu {
    /*position: absolute;*/
    /*bottom: -15px;
    left: 0;*/
    /*width: 100%;*/
	height: 50px;
	max-width: 1000px;
	margin: 0px auto;
	padding-top: 30px;

    display: flex;
    justify-content: center;

    z-index: 1000;
	border-bottom: 1px solid #c04d00;
	/*border: dotted thin Orange; /*****ORANGE BORDER*****/
}

/* Desktop nav */
#nav {
    display: flex;
    justify-content: center;
    gap: 81px;

    margin: 0;
    padding: 0;

    list-style: none;
}

#nav li {
    margin: 0;
    padding: 10px;
}

#nav a {
    text-decoration: none;
    color: #333;
    font-size: 17px;
    letter-spacing: 1px;
    transition: .3s ease;
}

#nav a:hover {
    color: #c04d00;
}

/* Hide hamburger on desktop */
.hamburger {
    display: none;
}

/*****RESPONSIVE*****/
@media screen and (max-width:768px) {

    #navMenu {
        position: absolute;
		top: 140px;
        left: 20px;
		right: 20px;
		max-width: 400px;
		/*margin: 20px;*/
		padding: 40px 30px 20px 30px;
		/*border: dotted thin Orange; ***ORANGE BORDER*****/
    }

	.hamburger {
        display: block;
		color: #111;
        position: absolute;
       /* left: 50%;
        top: 0;
        transform: translateX(-50%);*/
        background: none;
        border: none;
        font-size: 45px;
        cursor: pointer;
        z-index: 1001;
    }
/*************** CENTER HAMBURGER ***************/
    #nav {
		display: none;
		flex-direction: column;
		align-items: center;
		position: absolute;
		top: 85px;
		left: 50%;
		transform: translateX(-50%);
		width: 250px;
		background: rgba(255,255,255,.95);
		border-radius: 10px;
		margin: 0px;
		/*padding: 10px;*/
		
		padding: 30px 0px;
		gap: 40px;
		/*border: dotted thin Orange; ****ORANGE BORDER*****/
	}

    #nav.active {
        display: flex;
    }

    #nav li {
        width: 100%;
		/*height: 20px;*/
		text-align: center;
		padding: 0;
		/*border: dotted thin Purple; ****PURPLE BORDER*****/
    }

    #nav a {
        display: block;
        padding: 0px;
        width: 100%;
		font-size: 18px;
        text-align: center;
    }
}

    /* Show dropdown when hamburger clicked */
    #navMenu.scrolled #nav.active {
        display: flex;
        flex-direction: column;
        align-items: center;

        position: fixed;
        top: 60px;
        right: 30px;

        width: 200px;

        background: rgba(255,255,255,.95);
        border-radius: 10px;
        padding: 30px 20px;

        transform: none;
        left: auto;

        gap: 25px;
        z-index: 1000;
    }

/* Show hamburger on desktop pass nav menu */
@media screen and (min-width:769px) {

    /* Show hamburger after scrolling */
    #navMenu.scrolled .hamburger {
        display: block;
        position: fixed;
        top: 15px;
        right: 20px;
        background: none;
        border: none;
        font-size: 45px;
        cursor: pointer;
        z-index: 1001;
    }

    /* Hide desktop nav */
    #navMenu.scrolled #nav {
        display: none;
    }
}

/* Show hamburger on mobile pass nav menu */
@media screen and (max-width:768px) {

    #navMenu.scrolled .hamburger {
        position: fixed;
        top: 5px;
        right: 10px;
        left: auto;
        transform: none;
        z-index: 9999;
    }

}

/*************** TOP-RIGHT HAMBURGER ***************/
/* Fixed dropdown menu on Mobile */
@media screen and (max-width:768px) {

    #navMenu.scrolled #nav.active {
        position: fixed;
        top: 50px;
        right: 20px;
        left: auto;
        transform: none;
		padding: 30px 0px;
		gap: 40px;
		/*border: dotted thin Purple; ***PURPLE BORDER*****/
    }

}

/*********************************************************************************************************
TITLE SECTIONS
*********************************************************************************************************/

.title {
    max-width: 1000px;

    margin: 20px auto;
	padding: 20px;

    font-size: 30px;
    font-weight: 100;
	letter-spacing: 0.27em;
    color: #0099CC;
    text-align: center;

    border-top: 1px solid #c04d00;
	/*border: dotted thin red; ****RED BORDER*****/
}

/**********Transparent Border for Anchor scrolling and clicks**********/
.title p {
	border: dotted thin transparent; 
}

/*****RESPONSIVE*****/
@media screen and (max-width:768px) {

    .title {
        max-width: 400px;
        width: 100%;

        padding: 20px;
        box-sizing: border-box;

        font-size: 24px;
    }
}

/*********************************************************************************************************
WORK
*********************************************************************************************************/

/* GRID (this is the key) */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  padding: 40px 80px;
  max-width: 1200px;
  margin: -50px auto 60px;
	/*border: dotted thin blue; ****BLUE BORDER*****/
}

/* Images */
.item img {
  width: 100%;
  height: auto;
  display: block;
  transition: 0.3s ease;
}

/* Hover effect like portfolio sites */
.item:hover img {
  opacity: 0.7;
  transform: scale(1.01);
}

/* TRANSPARENT BAR */
.overlay-text {
  background: rgba(0, 0, 0, 0.50); /* transparent bar */
  color: #fff;
  font-weight: 300;	
	width: 100%;  /****************************WIDTH FOR MOBILE VERSION***********************/
    max-width: 100%;
    box-sizing: border-box;
	

  padding: 20px;
  /*border-radius: 6px;*/

  font-size: 16px;
  letter-spacing: 8px;

  text-align: center;

  backdrop-filter: blur(4px); /* glass effect */
}

/*****RESPONSIVE*****/
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
    padding: 50px 20px 20px 20px;
  }
}

/*****OVERLAY PROJECT NAME*****/
/* ITEM WRAPPER */
.item {
  position: relative;
  display: block;
  overflow: hidden;
}

/* IMAGE */
.item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.item:hover img {
  transform: scale(1.03);
}

/* OVERLAY AREA */
.overlay {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: flex-end;
  justify-content: center;

  padding: 0px;
  box-sizing: border-box;
}

/*****RESPONSIVE*****/
@media (max-width:768px) {

  .overlay-text {
    font-size: 14px;
    padding: 15px;
	  font-weight: 300;
  }

}

.overlay-text:hover {
    color: #E4B15D;
}

/*********************************************************************************************************
WORK - LANDING PAGE
*********************************************************************************************************/

/* GRID (this is the key) */
.grid-landingpage {
  display: grid;
  /*grid-template-columns: repeat(2, 1fr);*/
  gap: 40px;
  padding: 40px 80px;
  max-width: 1000px;
  margin: -50px auto 60px;
	/*border: dotted thin blue; ****BLUE BORDER*****/
}

/* Images */
.item img {
  width: 100%;
  height: auto;
  display: block;
  transition: 0.3s ease;
}

/* Hover effect like portfolio sites */
.item:hover img {
  opacity: 0.7;
  transform: scale(1.01);
}

/*****RESPONSIVE*****/
@media (max-width: 768px) {
  .grid-landingpage {
    grid-template-columns: 1fr;
    padding: 50px 20px 20px 20px;
  }
}

/*****VIDEO SLIDESHOW*****/
.slideshow {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.slideshow.active {
    display: flex;
}

.slideshow-img {
    transform: scale(1.02);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.slideshow-img.fade-out {
    opacity: 0;
    transform: scale(1);
}

/* DESKTOP PLAYER */
#player {
    width: 90vw;
    max-width: 1000px;
    aspect-ratio: 16 / 9;
    margin: auto;
	transform: scale(1.02);
    opacity: 1;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

#player.fade-out {
    opacity: 0;
    transform: scale(1);
}

/* YouTube iframe fill */
#yt-player,
#yt-player iframe {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/* NAV BUTTONS */
.next,
.prev {
    position: absolute;
    z-index: 10000;
    pointer-events: auto;
}

/* MOBILE */
@media screen and (max-width:768px) {

    .slideshow {
        padding: 0;
    }

    #player {
        width: 90vw;   /* 👈 match image slideshow */
        max-width: none;
        aspect-ratio: 16 / 9;
        margin: auto;
    }

    .next,
    .prev {
        z-index: 10000;
        padding: 20px;
        font-size: 50px;
    }
}

/* VIDEO PLAY BUTTON */
.play-button{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:124px;
    height:124px;
    z-index:2;
    pointer-events:none;
    transition:transform .25s ease, opacity .25s ease;
}

.play-button svg{
    width:100%;
    height:100%;
    display:block;
}

.play-button circle{
    fill:rgba(0,0,0,.45);
    stroke:#fff;
    stroke-width:3;
}

.play-button polygon{
    fill:#fff;
}

.item:hover .play-button{
    transform:translate(-50%,-50%) scale(1.08);
}

/* Mobile */
@media (max-width:768px){
    .play-button{
        width:56px;
        height:56px;
    }
}

/*********************************************************************************************************
TESTIMONIALS
*********************************************************************************************************/

/* GRID */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0px auto 60px;
  padding: 40px;
	/*border: dotted thin blue; ****BLUE BORDER*****/
}

/* CARD STYLE */
.card {
  padding: 25px;
  border: 1px solid #eee;
  background: #fafafa;
  transition: 0.3s ease;
}

/* hover effect */
.card:hover {
  transform: translateY(-5px);
  border-color: #0099CC;
}

/* TEXT */
.card p {
  margin: 0 0 15px;
  font-size: 16px;
  color: #333;
  line-height: 1.5;
}

.card span {
  font-size: 14px;
  color: #888;
}

/**********NEW**********/
.testimonial-copy .quote-mark {
	font-family: Arial, sans-serif; 
    font-size: 100px;
    line-height: .0;
    font-weight: bold;
	color: #c04d00;
	margin-top: 25px;
	display: inline-block;
    vertical-align: -0.40em; /* Adjust this value down (e.g., -0.4em) or up to position it perfectly */
	/*border: dotted thin blue; ****BLUE BORDER*****/
}

.testimonial-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.name h4 {
    margin: 0 0 4px;
    font-size: 16px;
}

.job-title {
    font-style: italic;
	font-size: 14px;
	letter-spacing: -0.01em; 
    margin-bottom: 4px;
}

.company {
    font-size: 14px;
	letter-spacing: -0.01em;
}

.testimonial-avatar img {
    width: 80px;
    height: 80px;

    border-radius: 50%;
    object-fit: cover;
}

/*****RESPONSIVE*****/
@media (max-width:768px) {

    .testimonials {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    /*.testimonial-card {
        padding: 18px;
    }*/

    .card .testimonial-copy {
        font-size: 14px;
		/*border: dotted thin blue; ****BLUE BORDER*****/
    }

    .testimonial-avatar img {
        width: 70px;
        height: 70px;
    }
}

/*********************************************************************************************************
SERVICES
*********************************************************************************************************/

/* GRID (this is the key) */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  padding: 40px 80px;
  max-width: 1200px;
  margin: 0 auto 60px;
	/*border: dotted thin blue; ****BLUE BORDER*****/
}

/* Images */
.service-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: 0.3s ease;
}

.service-item p {
  /*font-size: 14px;
	font-weight: 100;***************************************/
}

/*****OVERLAY SERVICES*****/
/* ITEM WRAPPER */
.service-item {
  position: relative;
  display: block;
  overflow: hidden;
}

/* IMAGE */
.service-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.service-item:hover img {
  transform: scale(1.03);
}

/* OVERLAY AREA */
.service-overlay {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: flex-start;
  justify-content: center;

  padding: 0px;
  box-sizing: border-box;
}

/*****v2 OVERLAY AREA*****/
.service-overlay {
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;   /* ✅ STACK TITLE + P */
  align-items: center;      /* ✅ CENTER EVERYTHING */

  justify-content: flex-start;

  padding: 0px;
  box-sizing: border-box;

  text-align: center;
}

/* TITLE BAR */
.service-overlay-text {
  background: rgba(214,111,32, .50);
  color: #fff;

  padding: 20px 20px 15px;

  font-weight: 300;
  font-size: 18px;
  letter-spacing: 10px;

  width: 720px;
  max-width: 100%;
}

/* PARAGRAPH LIST */
.service-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 24px 25px;

    width: 720px;
    max-width: 100%;

    margin: 0px 0 0;
    padding: 30px;

    list-style: none;
    text-align: center;
}

.service-list li {
    color: #fff;
    font-size: 17px;
    line-height: 1.25;
	letter-spacing: 2px;
	font-weight: 100;
}

/*****RESPONSIVE*****/
@media (max-width: 768px) {
  .services {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}

/*****RESPONSIVE*****/
/*****2 COLUMNS ON PHONES*****/
@media (max-width:768px) {
	
	.service-overlay-text {
	  font-size: 14px;
		letter-spacing: 7px;
		padding: 12px 20px 10px;
	}

    .service-list {
        grid-template-columns: repeat(2, 1fr);
		padding: 21px;
        gap: 13px 10px;
        width: 100%;
    }

    .service-list li {
        font-size: 13px;
       /* line-height: 1.0;*/
		font-weight: 300;
    }

}

/*********************************************************************************************************
CLIENT LOGOS
*********************************************************************************************************/

/* SECTION WRAPPER */
.logo-section {
  max-width: 1100px;
  margin: 0px auto;
  padding: 40px;
  text-align: center;
	/*border: dotted thin blue; ****BLUE BORDER*****/
}

/* DESKTOP GRID */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  max-width: 1000px;
  margin: 0px auto 40px;
  padding: 0px;
  justify-items: center;
  align-items: center;
}

/* HIDE LOGO */
.logo-grid .logo-hide {
  display: none;
}

/* LOGOS */
.logo-grid img {
  width: 100%;
  max-width: 240px;
  display: block;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: 0.3s ease;
}

.logo-grid img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/*****RESPONSIVE*****/
/* 📱 MOBILE: 2 COLUMNS */
@media (max-width: 768px) {
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
	  margin-bottom: 20px;
  }
	.logo-grid img {
    max-width: 160px;
		justify-items: center;
  }
/* SHOW LOGO */
.logo-grid .logo-hide {
  display: block;
}
}

/*********************************************************************************************************
ABOUT
*********************************************************************************************************/

/* SECTION WRAPPER */
.about {
  max-width: 1100px;
  margin: 0px auto 60px;
  padding: 40px;
	/*border: dotted thin blue; ****BLUE BORDER*****/
}

/* TOP SECTION */
.about-top {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 50px;
	/*border: dotted thin red; ****BLUE BORDER*****/
}

/* IMAGE */
.about-image img {
  width: 520px;
  height: 342px;
  object-fit: cover;
  border-radius: 5px; /* keep sharp like Adobe Portfolio */
}

/* TEXT */
.about-text h2 {
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 0px;
	/*border: dotted thin blue; ****BLUE BORDER*****/
}

.about-text p {
  font-size: 16px;
  line-height: 1.5;
  color: #555;
	/*border: dotted thin blue; ****BLUE BORDER*****/
}

/* STATS / INFOGRAPHIC */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
	margin-top: 0px;
	/*border: dotted thin blue; ****BLUE BORDER*****/
}

.stat h3 {
	/*font-family: Arial, sans-serif;*/
  font-size: 40px;
  margin: 0;
  font-weight: 100;
	color: #c04d00;
}

.stat p {
  margin-top: 0px;
  color: #c04d00;
  font-size: 14px;
}

.infographic img {
    display: block;
    margin: 40px auto 0;
}

/******* RESPONSIVE *******/
@media (max-width: 900px) {
  .about-top {
    flex-direction: column;
    text-align: center;
	  /*margin-top: -50px;*/
  }

  .about-image img {
	scale: 0.75;
	  margin-top: -40px;
   /* width: 200px;
    height: 200px;*/
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width:768px) {
	
	.about-text {
    margin-top: -70px;
	/*border: dotted thin red; ****BLUE BORDER*****/
}

    .infographic img {
        width: 100%;
        max-width: 760px;
        height: auto;
    }

}

/*********************************************************************************************************
CONTACT SECTION
*********************************************************************************************************/

#contactContainer {
  max-width: 1100px;
  margin: 0px auto;
  padding: 40px;
    text-align: center;
	/*border: dotted thin blue; ****BLUE BORDER*****/
}

.subhead {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 20px;
}

#contactContainer p {
    line-height: 1.7;
}

.email {
    margin: 30px 0;
}

.email a {
    color: #111;
    text-decoration: none;
}

.email a:hover {
    color: #0099CC;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
}

.social-icons img {
    width: 40px;
    height: 40px;
    display: block;
    transition: .3s ease;
}

.social-icons img:hover {
    opacity: .7;
    transform: scale(1.05);
}

.copyright {
    margin-top: 50px;
    font-size: 12px;
    color: #777;
}

/******* RESPONSIVE *******/
@media screen and (max-width:768px) {

    #contactContainer {
        margin: 0px auto;
       /* padding: 40px;
		/*width: 400px;	*/
    }

    .subhead {
        font-size: 28px;
    }

    #contactContainer p {
        font-size: 16px;
    }

    .social-icons img {
        width: 36px;
        height: 36px;
    }

}

/*********************************************************************************************************
CONTACT FORM
*********************************************************************************************************/

.contact-form {
    max-width: 700px;
    margin: 40px auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    box-sizing: border-box;

    padding: 15px;
    margin-bottom: 15px;

    border: 1px solid #ddd;
    background: #fff;

    font-size: 15px;
    font-family: Arial, sans-serif;

    transition: .3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #999;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    background: #c04d00;
    color: #fff;

    border: none;

    padding: 15px 40px;

    font-size: 14px;
    letter-spacing: 1px;

    cursor: pointer;
    transition: transform 0.2s ease;
}
.contact-form button:hover {
    transform: translateY(-2px);
}

.contact-form button:active {
    transform: translateY(1px) scale(0.98);
}


/*****APPLE-STYLE SUBTLE*****/
.contact-form button:hover {
    transform: translateY(-1px);
}
.contact-form button:active {
    transform: scale(0.97);
}

@media screen and (max-width:768px) {
.contact-form button {
        width: 100%;
        max-width: 250px; /* optional limit */
        margin: 0 auto;
        display: block;
    }
	
}

/*********************************************************************************************************
SOCIAL ICONS
*********************************************************************************************************/

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;

    margin: 30px 0;
}

.social-icons img {
    width: 36px;
	height: 36px;
    transition: transform 0.25s ease;
}

.social-icons img:hover {
    transform: translateY(-3px) scale(1.05);
}

.copyright {
    margin-top: 40px;
    font-size: 12px;
    color: #777;
}

/*****RESPONSIVE*****/
@media screen and (max-width:768px) {

    #contactContainer {
        margin: 0px auto 40px;
        padding: 0 40px;
    }

    .subhead {
        font-size: 26px;
    }

    .contact-form {
        width: 100%;
    }

    .contact-form button {
        width: 100%;
    }

    .social-icons img {
        width: 36px;
        height: 36px;
    }
}

/*********************************************************************************************************
SMOOTH SCROLL 
*********************************************************************************************************/

div.page {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
}

/* HOME + BACK TO TOP BUTTONS */
.back-to-top,
.home-button {
    position: fixed;
    bottom: .75em;
    right: 0px;
    padding: 10px 30px 30px 10px;
    display: block;
    transition: .4s ease-in-out;
    z-index: 999;
}

.back-to-top img,
.home-button img {
    width: auto;
    height: auto;
    display: block;
}

.back-to-top:hover,
.home-button:hover {
    transform: translateY(-7px);
}

/* ANCHOR OFFSETS */
.backToHome:before {
    display: block;
    content: "";
    height: 50px;
    margin-top: -150px;
}

.offset:before {
    display: block;
    content: "";
    height: 35px;
    margin-top: -5px;
}

/************ Show icon with simple animation *************/
.back-to-top,
.home-button {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
}

.back-to-top.show,
.home-button.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/***** RESPONSIVE *****/
@media screen and (max-width:768px) {

    .back-to-top,
    .home-button {
        padding: 10px 20px 20px 10px;
    }

    .back-to-top img,
    .home-button img {
        width: 30px; /* adjust if you want slightly smaller on mobile */
    }

    .offset:before {
        display: block;
        content: "";
        height: 100px;
        margin-top: -70px;
    }
}

/*********************************************************************************************************
CLEAN SLIDESHOW
*********************************************************************************************************/

/* GRID (keep yours if already styled) */
.slide-item {
    position: relative;
    display: block;
    cursor: pointer;
}

/* SLIDESHOW OVERLAY */
.slideshow {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.94);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.slideshow.active {
    display: flex;
}

/* IMAGE */
.slideshow-img {
    max-width: 90vw;
    max-height: 85vh;
	width: auto;/***************** Orientation-aware Slideshow ********************/
    height: auto;/***************** Orientation-aware Slideshow ********************/
    object-fit: contain;
    border-radius: 6px;
}

/* CLOSE */
.slideshow .close {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 28px;
    color: white;
    cursor: pointer;
    padding: 6px 10px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
}

/* NAV */
.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 42px;
    color: white;
    cursor: pointer;
    padding: 10px 16px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    user-select: none;
}

.prev { left: 18px; }
.next { right: 18px; }

/* MOBILE */
@media (max-width:768px) {
    .nav {
        font-size: 32px;
        padding: 8px 12px;
    }

    .close {
        font-size: 24px;
    }
}

/***************** Orientation-aware Slideshow ********************/
@media (orientation: landscape) {
    .slideshow-img {
        max-height: 80vh;
        max-width: 85vw;
    }
}

@media (orientation: portrait) {
    .slideshow-img {
        max-height: 85vh;
        max-width: 90vw;
    }
}

@media (orientation: landscape) {
    .nav {
        font-size: 34px;
    }

    .prev { left: 10px; }
    .next { right: 10px; }
}

