* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  background: #000;
  color: #fff;
}


/* NAV */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  flex-wrap: nowrap;
}
.nav a {
  margin-left: 24px;
  text-decoration: none;
  color: #e5e5e5;
  font-size: 14px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.nav nav {
  display: flex;
  gap: 16px;               /* space between links */
  flex-shrink: 1;           /* allows links to shrink */
}

.nav nav a {
  white-space: nowrap;      /* prevent wrapping */
  flex-shrink: 1;           /* allow link text to shrink */
  font-size: 14px;
}


.logo {
  font-weight: 500;
  letter-spacing: 2px;
}

.logo img {
  height: 63px; /* adjust to taste */
  width: auto;
  display: block;
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
 

}

.hero-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 300;
  letter-spacing: 8px;
}

.hero-content p {
  margin-top: 12px;
  font-size: 14px;
  letter-spacing: 2px;
  opacity: 0.8;
  
}

.hero-socials {
  position: absolute;
  bottom: 30px;
  left: 40px;
  z-index: 2;
}

.hero-socials a {
  margin-right: 14px;
  color: #ccc;
}

.hero-tagline {
  position: absolute;
  bottom: 80px;
  left: 40px;
  z-index: 2;
  font-size: 14px;
  letter-spacing: 1.5px;
  opacity: 0.85;
  max-width: 700px;
  
}

/* HERO CENTERED LOGO */
.hero-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* centers it perfectly */
  z-index: 2; /* above video but below socials/tagline if needed */
}

.hero-logo img {
  width: 720px;   /* fixed width */
  height: auto;   /* keeps aspect ratio */
  
  /* Optional: make responsive on tiny screens */
}

@media (max-width: 480px) {
  .hero-logo img {
    width: 200px; /* smaller on small screens */
  }
}

@media (max-width: 480px) {
  .nav {
    padding: 16px 20px;
  }
  .nav nav a {
    margin-left: 12px; /* reduce space between links */
    font-size: 12px;   /* optional smaller font */
  }
}


/* WORK SECTION */
/* SECTION STYLING */
.work {
  padding: 0;       /* remove padding so cards touch edges */
  margin: 0;
  display: flex;
  flex-direction: column;
}

/* FULL-WIDTH CARDS */
.work-card {
  position: relative;
  height: 55vh;          /* adjust height as needed */
  width: 100%;           /* full viewport width */
  border-radius: 0;       /* optional, remove rounded corners */
  overflow: hidden;
  display: flex;
  align-items: center;    /* vertical center text */
  text-decoration: none; /* removes underline from link text */

}

/*/* CARD IMAGES */
/* Flip the first card’s normal image horizontally */
.work-card:nth-child(1) img:not(.hover-img) {
    transform: rotate(180deg);  /* flip horizontally */
}
.work-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;      /* cover the entire rectangle */
  object-position: bottom;   /* shift image up to show top */
  transition: opacity 0.5s ease;
  z-index: 1;
}

.work-card .hover-img {
  opacity: 0;
}

.work-card:hover .hover-img {
  opacity: 1;
}

/* TEXT OVERLAY */
.work-text {
  position: relative;      /* relative to card */
  z-index: 2;
  font-family: 'Montserrat', sans-serif;
  font-weight: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  text-align: left;
  background-color: rgba(0, 0, 0, 0); /* semi-transparent strip */
  padding: 10px 20px;
  margin-left: 60px;       /* spacing from left edge */
}


/* FOOTER */
.footer {
  padding: 60px 0 40px;
  width: 100%;
  position: relative;
  background: rgba(255,255,255, 0.08) /* 👈 blends with page */
}

.footer-content {
  max-width: 90%;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: flex-start;
  color: #ffffff; 
}

/* LEFT */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-location {
  font-weight: 500;
}

.footer-email {
  opacity: 0.8;
}

/* SOCIAL ICONS BELOW EMAIL */
.footer-socials {
  display: flex;
  gap: 18px;
  margin-top: 6px;
}

.footer-socials a {
  color: #144961;
  font-size: 20px;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.footer-socials a:hover {
  opacity: 1;
}



/* RIGHT */
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: #ffffff;
  opacity: 0.75;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-copy {
  font-size: 12px;
  opacity: 0.6;
}


@media (max-width: 768px) {
  .nav {
    padding: 20px;
    justify-content: space-between;
  }

  .logo {
    margin-right: auto; /* forces logo to the left */
  }

  .logo img {
    height: 44px; /* slightly smaller for mobile */
  }
}


/*body section*/

/* HOME INTRO SECTION */

.home-bg {
  position: relative;
  background-image: url("../assets/home\ background\ erased.JPEG");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.home-intro {
  position: relative;
  padding: 140px 8vw;
  display: flex;
  flex-direction: column;
  gap: 140px;
  overflow: hidden;

}


/* BLOCKS */
.intro-block {
  max-width: 720px;
}

.intro-block.alt {
  margin-left: auto;
  text-align: right;
}

/* HEADINGS */
.intro-block h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

/* PARAGRAPHS */
.intro-block p {
  font-size: 1.1rem;
  line-height: 1.9;
  opacity: 0.85;
  margin-bottom: 28px;
}

/* SERVICES LIST */
.services-list {
  list-style: none;
  padding: 0;
  margin-bottom: 32px;
}

.services-list li {
  font-size: 1rem;
  letter-spacing: 1px;
  opacity: 0.75;
  margin-bottom: 10px;
}

.cta-button {
  display: inline-block;
  padding: 16px 40px;
  font-size: 1rem;
  letter-spacing: 1.5px;
  color: #fff;
  border: 1px solid #fff;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  margin-top: 24px;
  max-width: 200px;
}

.cta-button:hover {
  background: #fff;
  color: #000;
}

.button-wrapper {
  display: flex;
  justify-content: center;  /* centers the button */
  max-width: 200px;        /* optional: limits how long the button can get */
  margin: 0 left;           /* centers wrapper in its parent */
}

.cta-button {
  width: 100%;              /* button fills wrapper */
  text-align: center;       /* center text inside button */
  padding: 14px 0;          /* adjust padding for smaller width */
}

/* MOBILE */
@media (max-width: 768px) {
  .home-intro {
    padding: 100px 24px;
    gap: 100px;
  }

  .intro-block,
  .intro-block.alt {
    margin-left: 0;
    text-align: left;
  }
}

/* FADE UP ANIMATION */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Optional: stagger helper */
.fade-delay-1 { transition-delay: 0.2s; }
.fade-delay-2 { transition-delay: 0.3s; }
.fade-delay-3 { transition-delay: 0.45s; }
