

/* ============================
   GLOBAL STYLES
============================ */
/* The main settings for the whole page */
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: white;
  color: black;
  overflow-x: hidden;
}

/* wrapper for all site content */
.site-wrapper {
  width: 100%;
  position: relative;
}

/* ============================
   HEADER / NAVIGATION
============================ */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 50px;
  width: 100%; 
  background-color: transparent;
  border-bottom: none;
  position: relative;
  z-index: 10;
}

.logo img {
  height: 50px;
  margin-left: -50px;
}

/* ============================
   NAVIGATION MENU (DESKTOP)
============================ */
nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  z-index: 15;
}


nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  font-weight: 500;
  color: black;
  position: relative;
}
/* Dropdown submenu */
nav ul li.work-menu .dropdown {
  display: none;          
  position: absolute;     
  top: 100%;              
  left: 0;
  background-color: #fff; 
  min-width: 160px;
  z-index: 1000;
  border: 1px solid transparent; /* change dropdown nav outer rectangle color */
  padding: 0;
  box-shadow: 0 px 4px rgba(0,0,0,0.2); /* previously  0 1px 4px rgba*/
}

/* Dropdown links */
nav ul li.work-menu .dropdown li a {
  display: block;
  padding: 13px 15px; /* change space bewteen sub links (graphic design, print adn photography */
  color: #000;          
  text-decoration: none;
  position: relative;
  overflow: hidden;       
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;       
  font-size: 11px;        
  letter-spacing: 0.5px;  
  z-index: 1;  /* ensure text is above shimmer */
  background-color: transparent;
}

/* Shimmer pseudo-element */
nav ul li.work-menu .dropdown li a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;           /* controlls size of the gradient  */
  width: 250%;           /* controlls size of the gradient */
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(163,155,109,0) 30%,
    rgba(163,155,109,0.4) 50%,
    rgba(163,155,109,0) 70%
  );
  z-index: 0;             /* behind text */
  opacity: 0;
  transition: opacity 0.4s;
}

/* Activate shimmer on hover */
nav ul li.work-menu .dropdown li a:hover::before {
  opacity: 2;
  animation: shimmer 20s linear infinite;
}

/* Shimmer keyframes */
@keyframes shimmer {
  50% { left: -100%; }
  100% { left: 100%; }
}

/* Show submenu on hover (desktop) */
nav ul li.work-menu:hover .dropdown {
  display: block;
}




/* GOLD UNDERLINE FOR ACTIVE LINK (desktop only) */
@media (min-width: 769px) {
  nav a:after {
    content: "";
    display: block; 
    height: 2px;
    background: #A39B6D;
    width: 0;
    transition: width 0.3s;
    position: absolute;
    bottom: -3px;
    left: 0;
  }

  nav a:active:after,
  nav a:focus:after,
  nav a.current:after {
    width: 100%;
  }
}

/* ============================
   HAMBURGER MENU
============================ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1010;
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background-color: black;
  border-radius: 2px;
}

/* ============================
   HERO VIDEO
============================ */
.hero-video {
  width: 100%;
  max-width: 1500px;
  margin: 40px auto;
  padding-bottom: 30px;
}

.hero-video video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ============================
   DESKTOP HERO FONT SIZES 
============================ */
@media (min-width: 769px) {
  body.work-page .hero-text h1 { 
    font-size: 13rem; 
    letter-spacing: 5px; 
    margin-top: 10px; 
    text-align: center; 
    padding-bottom: 20px; 
  }
  body.work-page .featured-clients h2 { 
    font-size: 3.2rem; 
    letter-spacing: 5px; 
    margin-top: 120px; 
    text-align: center; 
    padding-bottom: -300px; 
    color: #A39B6D
  }
  
  body.about-page .hero-text h1 { 
    font-size: 15rem; 
    letter-spacing: 5px; 
    margin-top: -30px; 
    text-align: center; 
    padding-bottom: 50px; 
  }
  body.contact-page .hero-text h1 { 
    font-size: 9rem; 
    letter-spacing: 5px; 
    margin-top: -10px; 
    text-align: center; 
    padding-bottom: 100px; 
  }
  body.home-page .hero-text h1 { 
    font-size: 7rem; 
    letter-spacing: 4px; 
    margin-top: -10px; 
    text-align: center; 
    white-space: nowrap; 
    padding-bottom: 0px; 
  }
  body.home-page .hero-text h2 { 
    font-size: 1.3rem; 
    letter-spacing: 4px; 
    margin-top: 0px; 
    text-align: center; 
    padding-bottom: 100px; 
  }
}

/* ============================
   HERO / TEXT
============================ */
.hero {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero-text {
  max-width: 90%;
  margin: 0 auto;
  animation: fadeIn 2s ease-in;
}

.hero-text h1 {
  font-weight: 700;
  color: black; 
  margin: 0;
}

.hero-text h2 {
  font-weight: 300;
  color: rgba(0, 0, 0, 0.7);
  margin-top: 10px;
} 

/* ============================
   WORK / PORTFOLIO
============================ */
.work-intro {
  text-align: center;
  margin: 60px auto 30px auto; /* spacing above/below */
  padding: 0 20px;
}

.work-intro h1 {
  font-size: 1.9rem;
  margin-top: 10px;
  letter-spacing: 1px;
  font-weight: 500;
  opacity: 0; /* hidden initially for animation */
  animation: textReveal 5s ease forwards; /* fade in animation */
  animation-delay: 0.14s; /* small delay */
}

.portfolio-items {
  display: flex; /* flex layout */
  flex-wrap: wrap; /* allow wrapping */
  justify-content: center; /* center items */
  gap: 20px; /* spacing between items */
  margin-top: 60px;
}

.portfolio-item img {
  max-width: 250px; /* image size */
  height: auto; 
  display: block; 
}

/* Project pages */
.project-images {
  max-width: 800px; 
  margin: 40px auto; 
  padding: 0 20px; 
  display: flex; 
  flex-direction: column; 
  gap: 30px; 
}

.project-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ============================
   FEATURED CLIENTS
============================ */
/* Place this at the very end of your CSS */
.client-logos {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 150px !important; /* adjustable spacing */
  padding-top: 25px; /* <-- add this to create top spacing */
  padding-bottom: 50px; /* <-- add this to create bottom spacing */
  flex-wrap: nowrap !important;
  margin: 40px 0 !important;
}

.client-logos img {
  max-height: 60px !important;
  width: auto !important;
  object-fit: contain !important;
  transition: transform 0.3s ease !important;
  cursor: pointer !important;
}




/* ============================
  MY WORK TITLE 
============================ */
.my-work h2 {
  font-size: 2rem;       /* Big, noticeable size */
  font-weight: 500;         /* Semi-bold */
  text-align: center;       /* Centered */
  margin-top: 150px;         /* Space above */
  margin-bottom: 40px;      /* Space below */
  letter-spacing: 2px;      /* Optional letter spacing */
  color: #A39B6D;           /* Gold color */
  opacity: 0;               /* For fade-in animation */
  animation: textReveal 1s ease forwards;  /* Use your textReveal keyframe */
  animation-delay: 0.2s;    /* Small delay for effect */
}


/* ============================
   ABOUT PAGE
============================ */
.about-hero {
  position: relative;
  height: 60vh; 
  background: url('images/hero-placeholder.jpg') center/cover no-repeat;
  margin-top: 100px;
}

.about-content {
  display: flex; 
  flex-direction: row; 
  justify-content: center; 
  align-items: flex-start; 
  gap: 40px; 
  max-width: 1200px; 
  margin: 50px auto 80px auto; 
  padding: 0 15px;
}

.about-text {
  flex: 1; 
  text-align: left; 
  font-size: 18px; 
  line-height: 1.8; 
  letter-spacing: 0.4px; 
  word-spacing: 1px; 
  font-weight: 300; 
  max-width: 800px; 
  margin: 0;
}

.about-text h1,
.about-text .sub-heading {
  font-size: 1.3rem; 
  letter-spacing: 1px; 
  font-weight: 500; 
  margin: 40px 0 30px 0; 
  padding-left: 0; 
  position: relative;
}

.about-text h1::before,
.about-text .sub-heading::before {
  content: "";
  display: inline-block;
  width: 50px;
  height: 2px;
  background-color: black;
  margin-right: 10px;
  vertical-align: middle;
  transform: translateY(-1px);
}

.about-text p {
  font-weight: 300;
  line-height: 1.8;
  font-size: 18px;
  margin: 0 0 20px 0;
}

/* ============================
   CONTACT PAGE
============================ */
.contact-intro {
  text-align: center;
}

form {
  max-width: 600px;
  margin: 50px auto;
  display: flex;
  flex-direction: column;
  padding: 0 20px;
  min-height: 200px;
  box-sizing: border-box;
}

form input,
form textarea {
  margin-bottom: 10px;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

form button {
  padding: 10px 15px;
  background-color: #A39B6D;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

form button:hover {
  background-color: #BCB8A4;
}

#response-message {
  margin-top: 20px;
  font-size: 1.2em;
  color: black;
  min-height: 40px;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

#response-message.show {
  opacity: 1;
}

/* ============================
   FOOTER
============================ */
footer {
  text-align: center;
  padding: 20px;
  font-size: 0.6rem;
  width: 100%;
  background: white;
  margin-top: 100px;
  color: black;
  margin-left: -20px;
}

/* ============================
   ANIMATIONS
============================ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ============================
GLOBAL STYLES
============================ */
/* The main settings for the whole page */
html, body {
margin: 0; /* removes default spacing around page */
padding: 0; /* removes default padding */
font-family: 'Montserrat', sans-serif; /* sets font for all text */
background-color: white; /* page background color */
color: black; /* default text color */
overflow-x: hidden; /* prevents horizontal scroll */
}

/* wrapper for all site content */
.site-wrapper {
width: 100%; /* full width of the screen */
position: relative; /* for positioning elements inside */
}

/* ============================
HEADER / NAVIGATION
============================ */
header {
display: flex; /* uses flexbox for layout */
align-items: center; /* vertically centers content */
justify-content: space-between; /* spaces logo and nav apart */
padding: 20px 50px; /* spacing inside header */
width: 100%; 
background-color: transparent; /* no background */
border-bottom: none; /* removes line under header */
position: relative; /* for positioning nav */
z-index: 10; /* ensures header is on top */
}

.logo img {
height: 50px; /* sets height of logo */
margin-left: -50px; /* moves logo slightly left */
}

/* ============================
NAVIGATION MENU (DESKTOP)
============================ */
nav {
position: absolute; /* absolute so we can center it */
left: 50%; /* start at middle */
transform: translateX(calc(-60% - 35px)); /* adjust to center properly */
display: flex; /* flexbox layout */
z-index: 15; /* makes sure nav is above other elements */
}

nav ul {
list-style: none; /* removes bullet points */
display: flex; /* horizontal layout */
gap: 40px; /* spacing between links */
margin: 0; /* remove default margin */
padding: 0; /* remove default padding */
}

nav a {
text-decoration: none; /* removes underline */
font-weight: 500; /* medium bold */
color: black; /* link color */
position: relative; /* needed for underline animation */
}

/* GOLD UNDERLINE FOR ACTIVE LINK (desktop only) */
@media (min-width: 769px) {
nav a:after {
 content: ""; /* empty element for underline */
 display: block; 
 height: 2px; /* thickness of underline */
 background: #A39B6D; /* gold color */
 width: 0; /* start hidden */
 transition: width 0.3s; /* smooth animation */
 position: absolute;
 bottom: -3px; /* just below text */
 left: 0; /* start at left */
}

nav a:active:after,
nav a:focus:after,
nav a.current:after {
 width: 100%; /* underline expands fully when active/focused/current */
}
}

/* ============================
HAMBURGER MENU
============================ */
.hamburger {
display: none; /* hidden on desktop */
flex-direction: column; /* stack lines vertically */
gap: 5px; /* space between lines */
cursor: pointer; /* pointer on hover */
z-index: 1010; /* above other content */
}

.hamburger span {
display: block;
width: 18px; /* line length */
height: 2px; /* line thickness */
background-color: black; /* line color */
border-radius: 2px; /* rounded edges */
}

/* ============================
HERO VIDEO
============================ */
.hero-video {
width: 100%; /* full width */
max-width: 1500px; /* max width */
margin: 40px auto; /* center with spacing above and below */
padding-bottom: 30px; /* spacing below video */
}

.hero-video video {
width: 100%; /* fill container */
height: auto; /* maintain aspect ratio */
display: block; /* remove inline spacing */
border-radius: 8px; /* rounded corners */
box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* subtle shadow */
}

/* ============================
DESKTOP HERO FONT SIZES 
============================ */
@media (min-width: 769px) {
/* Work page hero text */
body.work-page .hero-text h1 { 
 font-size: 15rem; /* very large title */
 letter-spacing: 5px; 
 margin-top: -30px; 
 text-align: center; 
 padding-bottom: 50px; 
}
/* About page hero text */
body.about-page .hero-text h1 { 
 font-size: 15rem; 
 letter-spacing: 5px; 
 margin-top: -30px; 
 text-align: center; 
 padding-bottom: 50px; 
}
/* Contact page hero text */
body.contact-page .hero-text h1 { 
 font-size: 9rem; 
 letter-spacing: 5px; 
 margin-top: -10px; 
 text-align: center; 
 padding-bottom: 100px; 
}
/* Home page hero text */
body.home-page .hero-text h1 { 
 font-size: 7rem; 
 letter-spacing: 4px; 
 margin-top: -10px; 
 text-align: center; 
 white-space: nowrap; 
 padding-bottom: 0px; 
}
body.home-page .hero-text h2 { 
 font-size: 1.3rem; 
 letter-spacing: 4px; 
 margin-top: 0px; 
 text-align: center; 
 padding-bottom: 100px; 
}
}

/* ============================
HERO / TEXT
============================ */
.hero {
position: relative;
text-align: center; /* center text */
display: flex;
flex-direction: column; /* stack h1/h2 */
justify-content: center;
align-items: center;
overflow: hidden;
}

.hero-text {
max-width: 90%; /* responsive width */
margin: 0 auto; /* center container */
animation: fadeIn 2s ease-in; /* fade in animation */
}

.hero-text h1 {
font-weight: 700; /* bold */
color: black; 
margin: 0;
}

.hero-text h2 {
font-weight: 300; /* lighter subtitle */
color: rgba(0, 0, 0, 0.7);
margin-top: 10px;
} 

/* ============================
WORK / PORTFOLIO
============================ */
/* MY WORK section - KEEP EXACTLY AS IS */
.portfolio-items {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 40px;
margin-top: 60px;
}

/* Gradient shimmer effect for gold category cards */
.portfolio-item.category-card {
  background: linear-gradient(90deg, #a8955a, #c9b37c, #a8955a);
  background-size: 200% 100%;
  color: #fff;
  text-align: center;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
  width: 250px; 
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.portfolio-item.category-card:hover {
  animation: shimmer 3s infinite linear; /* shimmer only when hovered */
  transform: translateY(-5px); /* small lift effect */
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}



.portfolio-item.category-card h3 {
z-index: 2;
font-size: 1.5rem;
margin-bottom: 10px;
}

.portfolio-item.category-card a img {
width: 100px;
height: 100px;
object-fit: contain;
opacity: 0.3;
transition: opacity 0.3s;
}

.portfolio-item.category-card:hover {
transform: scale(1.05);
}

.portfolio-item.category-card .preview-image {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0;
transition: opacity 0.3s;
z-index: 3;
}

.portfolio-item.category-card:hover .preview-image {
opacity: 1;
}

.portfolio-item.category-card .preview-image img {
width: 100%;
height: 100%;
object-fit: cover;
}
/* ============================
PORTFOLIO CARD LINKS
============================ */
.portfolio-item.category-card > a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  position: relative; /* instead of absolute */
}


.portfolio-item.category-card .card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;   /* ensure h3 is centered */
}


.portfolio-item.category-card h3 {
  position: relative;
  z-index: 3;
  color:  /* change catergory text COLOR */
  margin: 0;
  text-align: center;
}

.portfolio-item.category-card:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}


/* ============================
FEATURED CLIENTS
============================ */
.client-logos {
display: grid;
grid-template-columns: repeat(2, auto);
justify-content: center;
gap: 2rem;
}

.client-logos img {
max-height: 60px;  
width: auto;
object-fit: contain;
transition: transform 0.3s ease;
cursor: pointer;
}

.client-logos img:hover {
transform: scale(1.05);
}

.client-logos img:nth-child(3) {
grid-column: 1 / -1;
justify-self: center;
}

/* ============================
ABOUT PAGE
============================ */
.about-hero {
position: relative;
height: 60vh; 
background: url('images/hero-placeholder.jpg') center/cover no-repeat;
margin-top: 100px;
}

.about-content {
display: flex; 
flex-direction: row; 
justify-content: center; 
align-items: flex-start; 
gap: 40px; 
max-width: 1200px; 
margin: 50px auto 80px auto; 
padding: 0 15px;
}

.about-text {
flex: 1; 
text-align: left; 
font-size: 18px; 
line-height: 1.8; 
letter-spacing: 0.4px; 
word-spacing: 1px; 
font-weight: 300; 
max-width: 800px; 
margin: 0;
}

.about-text h1,
.about-text .sub-heading {
font-size: 1.3rem; 
letter-spacing: 1px; 
font-weight: 500; 
margin: 40px 0 30px 0; 
padding-left: 0; 
position: relative;
}

.about-text h1::before,
.about-text .sub-heading::before {
content: "";
display: inline-block;
width: 50px;
height: 2px;
background-color: black;
margin-right: 10px;
vertical-align: middle;
transform: translateY(-1px);
}

.about-text p {
font-weight: 300;
line-height: 1.8;
font-size: 18px;
margin: 0 0 20px 0;
}

/* ============================
CONTACT PAGE
============================ */
.contact-intro {
text-align: center;
}

form {
max-width: 600px;
margin: 50px auto;
display: flex;
flex-direction: column;
padding: 0 20px;
min-height: 200px;
box-sizing: border-box;
}

form input,
form textarea {
margin-bottom: 10px;
padding: 10px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 4px;
}

form button {
padding: 10px 15px;
background-color: #A39B6D;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}

form button:hover {
background-color: #BCB8A4;
}

#response-message {
margin-top: 20px;
font-size: 1.2em;
color: black;
min-height: 40px;
opacity: 0;
transition: opacity 1s ease-in-out;
}

#response-message.show {
opacity: 1;
}

form input:focus,
form textarea:focus {
outline: 2px solid #A39B6D;
outline-offset: 2px;
}

/* ============================
FOOTER
============================ */
footer {
text-align: center;
padding: 20px;
font-size: 0.6rem;
width: 100%;
background: white;
margin-top: 100px;
color: black;
margin-left: -20px;
}

/* ============================
ANIMATIONS
============================ */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInOpacity {
from { opacity: 0; }
to   { opacity: 1; }
}

@keyframes textReveal {
0%   { opacity: 0; transform: translateY(20px); }
100% { opacity: 1; transform: translateY(0); }
}

/* ============================
MOBILE (≤768px)
============================ */
@media (max-width: 768px) {

header {
 position: sticky; 
 top: 0;
 z-index: 1001;
 background-color: transparent;
}

.hamburger {
 display: flex; 
 position: absolute;
 top: 20px;
 right: 20px;
 flex-direction: column;
 gap: 5px;
 cursor: pointer;
 background: transparent;
 z-index: 1010;
}

.hamburger span {
 display: block;
 width: 18px;
 height: 2px;
 background-color: black;
 border-radius: 2px;
}

nav {
 display: flex;
 flex-direction: column;
 position: fixed;
 top: 11vh; 
 left: 0;
 width: 250px;
 height: 44vh; 
 background-color: white;
 padding-top: 0px; 
 box-shadow: 2px 0 12px rgba(0,0,0,0.1);
 z-index: 1000;
 transform: translateX(-100%);
 transition: transform 0.3s ease-in-out;
}

nav.show {
 transform: translateX(0);
}

nav ul {
 flex-direction: column;
 padding: 0 15px;
 gap: 5px; 
}

nav ul li {
 width: 100%;
 text-align: left;
 position: relative;
 padding: -10px 0; /* 👈 GAP OF NAV buttons ON MOBILE */
}

nav a {
 display: block;
 padding: 10px 0; /* 👈 THIS controls spacing inside each NAV button ON MOBILE */
 font-size: 18px;
}

nav ul li::after {
 content: "";
 position: absolute;
 left: 0;
 bottom: 0;
 width: 100%;
 height: 1px;
 background-color: transparent; /* NAVIGATION GRAY HORIZONTAL LINES */

}

nav a:after {
 display: none;
}

body.home-page .hero-text h1 { font-size: 2.5rem; margin-top: 50px; text-align: center; white-space: nowrap; padding-bottom: 2px; margin-left: -5px; }
body.home-page .hero-text h2 { font-size: 1rem; margin-top: 0; text-align: center; padding-bottom: 50px; }

body.work-page .hero-text h1 { font-size: 6rem; margin-top: 10px; text-align: center; }
body.about-page .hero-text h1 { font-size: 4rem; margin-top: -10px; text-align: center; }
body.contact-page .hero-text h1 { font-size: 3.3rem; margin-top: 50px; padding-bottom: 90px; white-space: nowrap; margin-left: -10px; text-align: center; }

body.about-page .about-content {
 margin-top: 70px;
 flex-direction: column;
 align-items: flex-start;
 padding: 0 15px;
}

body.about-page .about-text { text-align: left; margin: 0; }

.project-images { max-width: 100%; padding: 0 10px; flex-direction: column; gap: 20px; }

.project-image img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }

.hero-video { margin: 20px auto; padding-bottom: 20px; }
.hero-video video { width: 100%; height: auto; object-fit: contain; }

body.contact-page .contact-intro { font-size: .7rem; }
body.contact-page form { max-width: 90%; margin: 20px auto; }

body.home-page .hero-video {
 width: 100%;
 max-width: 100%;
 margin: 0 auto;
 height: 110vh;
 padding-bottom: 0;
 overflow: hidden;
}

body.home-page .hero-video video {
 width: 100%;
 height: 100%;
 object-fit: cover;
 border-radius: 0;
}

body.home-page .hero {
 margin-bottom: 30px;
}
}

/* ============================
CONTACT PAGE: FORM SUBMISSION
============================ */
/* Hide all page content except header and logo after submission */
body.contact-page.submitted .hero-text,
body.contact-page.submitted .contact-intro,
body.contact-page.submitted form,
body.contact-page.submitted .about-text,
body.contact-page.submitted .work-intro,
body.contact-page.submitted .portfolio-items,
body.contact-page.submitted .hero-video {
  display: none !important;
}

/* Keep header and logo visible */
body.contact-page.submitted header,
body.contact-page.submitted .logo {
  display: flex !important;
}

/* Hide hamburger on desktop after submission */
body.contact-page.submitted .hamburger {
  display: none !important;
}

/* Show response message */
body.contact-page.submitted #response-message {
  display: flex !important;
  opacity: 1 !important;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 1.5rem;
  color: #a39b6d;
  height: calc(100vh - 100px);
  margin: 0 auto;
  position: relative;
}
/* ============================
   GLOBAL STYLES
============================ */
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: white;
  color: black;
  overflow-x: hidden;
}

.site-wrapper {
  width: 100%;
  position: relative;
}

/* ============================
   HEADER / NAVIGATION
============================ */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 50px;
  width: 100%; 
  background-color: transparent;
  border-bottom: none;
  position: relative;
  z-index: 10;
}

.logo img {
  height: 50px;
  margin-left: -50px;
}

nav {
  position: absolute;
  left: 50%;
  transform: translateX(calc(-60% - 35px));
  display: flex;
  z-index: 15;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  font-weight: 500;
  color: black;
  position: relative;
}

@media (min-width: 769px) {
  nav a:after {
    content: "";
    display: block; 
    height: 2px;
    background: #A39B6D;
    width: 0;
    transition: width 0.3s;
    position: absolute;
    bottom: -3px;
    left: 0;
  }
  nav a:active:after,
  nav a:focus:after,
  nav a.current:after {
    width: 100%;
  }
}

/* ============================
   HAMBURGER MENU
============================ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1010;
}
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background-color: black;
  border-radius: 2px;
}

/* ============================
   HERO / VIDEO
============================ */
.hero-video {
  width: 100%;
  max-width: 1500px;
  margin: 40px auto;
  padding-bottom: 30px;
}
.hero-video video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hero {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero-text {
  max-width: 90%;
  margin: 0 auto;
  animation: fadeIn 2s ease-in;
}

.hero-text h1 { font-weight: 700; color: black; margin: 0; }
.hero-text h2 { font-weight: 300; color: rgba(0,0,0,0.7); margin-top: 10px; }

/* ============================
   PORTFOLIO / GRID
============================ */
.portfolio-gallery.full-grid {
  padding-top: 120px;
  display: flex;
  justify-content: center;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-auto-rows: 0px; /* small row for masonry calculation */
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.grid-item {
  display: block;
}

.grid-item img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  cursor: pointer;
  display: block;
  transition: transform 0.25s ease;
}

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

/* ============================
   LIGHTBOX
============================ */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.lightbox .close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  user-select: none;
  transition: color 0.3s;
}
.lightbox .close-btn:hover { color: #A39B6D; }

.lightbox .prev,
.lightbox .next {
  font-family: 'Arial', sans-serif;  /* a thinner font */
  cursor: pointer;
  position: absolute;
  top: 50%;
  color: white;
  font-size: 30px;  /* 👈 THIS controls size OF ARROWS  */
  font-weight: 100;
  user-select: none;
  transform: translateY(-50%);
  z-index: 2001;
}

.lightbox .prev { left: 20px; }
.lightbox .next { right: 20px; }

.lightbox .prev:hover,
.lightbox .next:hover { color: #A39B6D; }


/* ============================
   ANIMATIONS
============================ */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes textReveal { 0% { opacity: 0; transform: translateY(20px); } 100% { opacity: 1; transform: translateY(0); } }

/* ============================
   MOBILE
============================ */
/* MOBILE NAV MENU SIZING */
@media (max-width: 768px) {
  header { position: sticky; top: 0; z-index: 1001; background-color: transparent; }
  .hamburger { display: flex; position: absolute; top: 20px; right: 20px; flex-direction: column; gap: 5px; 
  cursor: pointer; z-index: 1010; } /*CHANGE THE POSITION OF THE BURGER BUTTON HERE */
  nav { display: flex; flex-direction: column; position: fixed; top: 11vh; left: 0; width: 250px; 
  height: 32vh; /*CHANGE MOBILE NAV HEIGHT HERE */
  background-color: white; padding-top: 20px; /*CHANGE THE TOP SPACE ON THE MOBILE NAV RECTANGLE */ 
  box-shadow: 2px 0 12px rgba(0,0,0,0.1); z-index: 1000;
   transform: translateX(-100%); transition: transform 0.3s ease-in-out; }
  nav.show { transform: translateX(0); }
  nav ul { flex-direction: column; padding: 0 15px; gap: 5px; }
  nav a { font-size: 16px; padding: 14px 0; display: block; } /*CHANGE THE GAPS BETWEEN NAV LINKS(graphic design, photography, print HERE (PADDING) */
}
/* COMING SOON overlay for UX Design and Front-End Developing */
/* Target UX Design and Front-End cards */
.portfolio-item.category-card:nth-child(4),
.portfolio-item.category-card:nth-child(5) {
  position: relative;
  overflow: hidden;
  cursor: default;
}

/* The overlay */
.portfolio-item.category-card:nth-child(4)::after,
.portfolio-item.category-card:nth-child(5)::after {
  content: "COMING SOON";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.9); /* white overlay */
  color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0; /* start hidden */
  transition: opacity 0.9s ease; /* slower fade-in */
  pointer-events: none;
  z-index: 2;
}

/* Fade out the H3 text */
.portfolio-item.category-card:nth-child(4) h3,
.portfolio-item.category-card:nth-child(5) h3 {
  transition: opacity 0.3s ease;
}

/* Hover state */
.portfolio-item.category-card:nth-child(4):hover::after,
.portfolio-item.category-card:nth-child(5):hover::after {
  opacity: 1;
}

.portfolio-item.category-card:nth-child(4):hover h3,
.portfolio-item.category-card:nth-child(5):hover h3 {
  opacity: 0; /* hide H3 when overlay appears */
}

/* Darken/zoom the image smoothly */
.portfolio-item.category-card:nth-child(4) .preview-image,
.portfolio-item.category-card:nth-child(5) .preview-image {
  transition: transform 1.5s ease, filter 1.5s ease;
}

.portfolio-item.category-card:nth-child(4):hover .preview-image,
.portfolio-item.category-card:nth-child(5):hover .preview-image {
  filter: brightness(70%);
  transform: scale(1.05);
}

#print {
  background-color: white;
  border-radius: 6px;
  padding: 5px;
}
.featured-clients h2 {
  text-align: center !important;
  margin: 120px auto 40px auto !important;
  font-size: 3.2rem;
  letter-spacing: 5px;
  color: #A39B6D;
}
/* MOBILE ONLY: 2x2 grid for featured client logos */
/* MOBILE ONLY: tighter logos for featured clients */
@media (max-width: 768px) {
  .featured-clients .client-logos {
    display: grid !important;
    grid-template-columns: repeat(2, auto) !important; /* shrink columns to content */
    grid-auto-rows: auto !important;                   /* shrink rows to content */
    row-gap: 30px !important;                           /* tiny vertical spacing */
    column-gap: 30px !important;                       /* horizontal spacing */
    justify-items: center !important;
    align-items: start !important;                     /* prevent rows stretching */
    padding-top: 10px !important;
    padding-bottom: 0 !important;
  }

  .featured-clients .client-logos img {
    max-width: 110px !important; /* change logo sizes on mobile */
    height: auto !important;
    display: block !important;
    margin: 0 !important;  /* remove any extra margins */
  }
}
/* Mobile masonry 2-column grid */
@media (max-width: 768px) {
  .full-grid .grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);  /* 2 columns */
    gap: 5px 5px; /* vertical gap 20px, horizontal gap 10px */
    padding: 0 10px;       /* horizontal padding from page edges  /* smaller number is closer to edge (previous # was 15px */ */
    grid-auto-flow: dense;  /* fills in gaps */
  }

  .full-grid .grid-item {
    width: 100%;
    break-inside: avoid;  /* prevents splitting across rows */
  }
  /* MOBILE ONLY: move grid closer to nav */
@media (max-width: 768px) {
  body.graphic-design .full-grid,
  body.print .full-grid,
  body.photography .full-grid {
    padding-top: 15px; /* reduce spacing above grid */
    margin-top: 0;    /* remove any extra margin from section */
  }

  .full-grid .grid-container {
    padding-top: 0;   /* ensures container itself has no extra top space */
  }
}
/* ============================
   HAMBURGER → X ANIMATION
============================ */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* Smooth transitions */
.hamburger span {
  transition: all 0.3s ease;
}
/* Only apply to screens 768px wide or smaller (typical tablets & phones) */
@media (max-width: 768px) {
  .category-card a,
  .category-card {
    touch-action: manipulation; /* ensures one-tap click works on mobile */
  }
}
/* ============================*/
   MOBILE FIX
   - Direct links for Graphic, Print, Photography
   - Still show "Coming Soon" for UX & Web Dev
/* ============================
   DISABLE GOLD CATEGORY HOVERS ON MOBILE
============================ */
@media (hover: none) and (pointer: coarse) {
  .portfolio-item.category-card.graphic-design:hover,
  .portfolio-item.category-card.print:hover,
  .portfolio-item.category-card.photography:hover {
    animation: none !important;
    transform: none !important;
  }

  .portfolio-item.category-card.graphic-design:hover .preview-image,
  .portfolio-item.category-card.print:hover .preview-image,
  .portfolio-item.category-card.photography:hover .preview-image {
    opacity: 0 !important;
  }
}

  /* Keep hover/tap overlays working for UX + Web Dev */
  .portfolio-item.category-card.ux-design:hover .preview-image,
  .portfolio-item.category-card.web-development:hover .preview-image {
    opacity: 1 !important;
    transform: scale(1) !important;
  }
  /* ============================
UX DESIGN + WEB DEV CARDS (MOBILE ONLY) ADDED SEPTEMBER 1
============================ */
@media (max-width: 768px) {

  /* Always show COMING SOON overlay */
  .portfolio-item.category-card.ux-design::after,
  .portfolio-item.category-card.web-development::after {
    content: "COMING SOON";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 1;       /* Always visible */
    pointer-events: none;
    z-index: 2;
  }

  /* Hide preview images for UX + Web Dev */
  .portfolio-item.category-card.ux-design .preview-image,
  .portfolio-item.category-card.web-development .preview-image {
    opacity: 0 !important;
    transform: none !important;
    pointer-events: none;
  }

  /* Disable hover/tap animation */
  .portfolio-item.category-card.ux-design:hover,
  .portfolio-item.category-card.web-development:hover {
    transform: none !important;
    animation: none !important;
  }
}

}
