* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
}


.home header {
  padding: 20px 40px;    /* match others */
}

.home header .topnav a {
  font-size: 1.1rem;     /* optional: make links look bigger */
}



/* Transparent overlay header on top of the first section on EVERY page */
header {
  position: absolute;            /* sit OVER the hero, not in the flow */
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background: transparent;       /* no white bar */
  box-shadow: none;
  backdrop-filter: none;
  z-index: 1000;
  transition: color .25s ease;
}

/* link/text defaults controlled per page scope */
header .logo,
header .topnav a {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  text-decoration: none;
  transition: color .25s ease;
  z-index: 1000;
}

/* ========== HOME PAGE ==========
   - Header overlays hero at top, then scrolls away and stays hidden.
   - It should NOT pop in at the bottom. */
.home header {
  position: relative;           /* overlays hero at top of page */
  top: 0; left: 0; right: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;

  /* Hidden state after it scrolls away */
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}

/* Make logo/nav light when it's over the hero at the very top */
.home header .logo,
.home header .topnav a { color: #fff; }

/* Keep it hidden even at bottom (no override for .home.at-bottom) */


/* ========== INNER PAGES ==========
   - Header is hidden while scrolling
   - Pops in as sticky at top ONLY when user reaches bottom */
.inner header {
  /* start hidden */
  position: absolute;
  top: 0; left: 0; right: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  z-index: 2000;
  opacity: 1;
}


/* The contact-hero overlay should NOT intercept clicks */
.contact-hero::after {
  pointer-events: none;       /* <-- let clicks pass through */
}


/* When user reaches bottom: show as sticky with background */
.inner.at-bottom header {
  position: fixed;
  top: 0;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  background: rgba(231, 229, 229, 0.97);
  box-shadow: 0 6px 24px rgba(0,0,0,.08);
  backdrop-filter: blur(6px);
}


.inner.at-bottom header {
  padding: 20px 40px;   /* reduce vertical space */
}

.inner.at-bottom .logo {
  font-size: 1.2em;     /* optional: slightly smaller logo */
}

.inner.at-bottom .topnav a {
  font-size: 0.95rem;   /* optional: slightly smaller links */
}



/* Dark text on inner pages when visible */
.inner.at-bottom header .logo,
.inner.at-bottom header .topnav a { color: #222; }

.inner.at-bottom header .topnav a:hover { color: #888; }

/* If inner pages have content under a fixed header when visible */
.inner main { padding-top: 0; }  /* stays 0 since header is hidden until bottom */



.logo {
    font-size: 1.5em;
    font-weight: bold;
    color: #fffdfd;
    text-decoration: none;
    /* Logo stays at left, no changes needed */
    font-family: 'Poppins', sans-serif;
    font-weight: 700; 
}


.logo:hover {
    color: #333;
}

/* Light text while over hero */
header .logo,
header .topnav a {
  background: transparent;             /* visible on photos */
  transition: color .3s ease;
}



/* Ensure the hero fills the first screen */
.slideshow-container, .hero {
  height: 100vh;              /* you already have this for the hero */
  position: relative;
}


/* Nav aligned right */
.topnav {
    display: flex;
    gap: 60px;
    
    top: 40px;
    left: 60px;
}


/* Tablet */
@media (max-width: 824px) {
  .topnav {
    gap: 20px;   /* tighter spacing */
  }
  .topnav a {
    font-size: 0.95rem;  /* slightly smaller text */
  }
}

/* Mobile */
@media (max-width: 640px) {
  .topnav {
    gap: 10px;   /* even smaller gap */
  }
  .topnav a {
    font-size: 0.85rem;  /* smaller text to keep in one line */
  }
}



.topnav a {
    text-decoration: none;
    color: #f3efef;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    top: 40px;
    left: 60px;
}

.topnav a.active {
    border-bottom: none;
}

.topnav a:hover {
    color: #888;
}


/* About Hero */
.about-hero {
  position: relative;
  width: 100%;
  height: 100vh;              /* full screen like home */
  overflow: hidden;
}

.about-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: 50% 10%;  /* centered horizontally, 15% from top */
}

.about-hero .hero-text {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #f5f2f2;
  text-align: center;
  z-index: 2;
}

.about-hero .hero-text h1 {
  font: 700 3rem 'Poppins', sans-serif;
  margin-bottom: 12px;
}

.about-hero .hero-text p {
  font: 400 1.2rem 'Poppins', sans-serif;
  max-width: 600px;
}

/* Optional: justify for a magazine feel */
.about-text p { text-align: justify; }


/* Full-width background */
.about-section {
  background: #f0f0f0;    /* same as CTA */
  width: 100%;            /* stretch across screen */
  padding: 30px 0;        /* vertical breathing space */
}


.about-content {
  max-width: 1200px;      /* keep text readable, not too wide */
  margin: 0px auto;     /* centered in page */
  display: grid;
  grid-template-columns: 2fr 1fr;  /* two equal columns */
  gap: 40px;             /* spacing between text and image */
  align-items: center;   /* vertical centering */
  padding: 40px 20px;
  background: #f0f0f0;  /* <-- same as CTA background */
}

.about-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;   /* slightly bigger than default */
  line-height: 1.8;     /* better vertical spacing */
  letter-spacing: 0.3px; /* subtle spacing for elegance */
  color: #333;          /* easy-to-read color */
  max-width: 800px;     /* keeps text from stretching too wide */
  margin-left: 80px; /* centers the text block */
  margin-right: auto;       
  text-align: left;     /* professional alignment */
}


.about-photo img {
  width: 100%;
  border-radius: 8px;     /* optional, looks modern */
  object-fit: cover;
  max-width: 300px;     /* limit how big the image can grow */
}


/* Responsive tweak so it doesn’t look awkward on phones */
@media (max-width: 768px) {
  .about-content {
    margin: 40px 0;
    padding: 0 16px;
  }
  .about-text {
    max-width: 100%;
    margin-left: 16px;         /* smaller left offset on mobile */
    margin-right: 16px;
    letter-spacing: 0.2px;
    line-height: 1.75;
  }
  .about-hero .hero-text h1 { font-size: 2.2rem; }
  .about-hero .hero-text { top: 72%; }
}



/* middle navigation that is in the middle of the home page and about page*/
/* Secondary nav inside social section */
/* Middle navigation (used on multiple pages, e.g. Home + About) */
.midnav {
  display: flex;
  justify-content: center;   
  align-items: center;
  gap: 48px;
  margin-bottom: 38px;
  transform: translateY(-80px);
  flex-wrap: wrap;
}

.midnav a {
  text-decoration: none;
  font-family: 'Montserrat', Raleway;
  font-weight: 800;
  font-size: 1.05rem;
  color: #333;
  padding-bottom: 4px;
  transition: color .2s ease, border-color .2s ease;
  border-bottom: 2px solid transparent;
}

.midnav a:hover {
  color: #201e1e;
  border-bottom-color: #888;
}

.midnav a.active {
  border-bottom-color: #000;
}


/* text section under "Branded works" in About page*/
.section-intro {
  max-width: 950px;       /* keeps text readable */
  margin: 20px auto 0;    /* centers it below the heading */
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;            /* softer than pure black */
  font-family: 'Poppins', sans-serif;
}


.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); /*4 columns but also allow shrink */
  gap: 15px;
  max-width: 1200px;   /* keep it contained */
  margin: 40px auto 0;      /* center the grid */
}

/* Let grid items shrink with the column */
.feature-card {
  position: relative;
  text-align: center;
  min-width: 0; 
}

.feature-card img {
  display: block;
  width: 100%;
  height: 400px;             /* fixed height for consistency */
  object-fit: cover;         /* crop nicely */
  border-radius: 2px;        /* smooth edges */
  margin-bottom: 6px;
  transition: transform .3s ease, box-shadow .3s ease;
}

/* hover image hidden */
.feature-card .img-hover {
  position: relative;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}


/* Fixed image area that both images occupy */
.feature-card .image-box {
  position: relative;
  width: 100%;
  height: 400px;         /* exact display height */
  border-radius: 2px;
  overflow: hidden;      /* keeps images contained */
}

/* Both images sit exactly on top of each other */
.feature-card .image-box img {
  position: absolute;
  inset: 0;              /* top/right/bottom/left: 0 */
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
  margin: 0;             /* important: no margin on images */
  transition: opacity 0.4s ease;
  filter: brightness(.98) contrast(.94) saturate(.95);
}


/* default image visible */
.feature-card .img-default { opacity: 1; }


/* Remove zoom/shadow on images entirely */
.feature-card img:hover {
  transform: none;
  box-shadow: none;
}


/* Default visible, hover hidden */
.feature-card .img-default { opacity: 1; }
.feature-card .img-hover   { opacity: 0; }


/* swap on hover */
.feature-card:hover .img-default { opacity: 0; }
.feature-card:hover .img-hover { opacity: 1; }


.feature-card img:hover {
  transform: scale(1.05);    /* zoom on hover */
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.feature-card .img-default { object-position: 50% 45%; } /* center x, slightly up y */
.feature-card .img-hover   { object-position: 50% 40%; }


.feature-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 6px;
  margin: 10px 0 6px;  /* spacing below image */
  color: #333;
}

.feature-card a {
  display: block;           /* block anchor avoids inline width quirks */
  color: inherit;
  text-decoration: none;
}


.feature-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

.feature-card h3,
.feature-card p {
  overflow-wrap: anywhere; /* long words/titles won’t blow the column */
}


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


@media (max-width: 640px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}




/* CTA Section */
.cta-section {
  text-align: center;
  padding: 40px 0;             /* controls height (~2 inches tall depending on screen) */
  background: #f0f0f0;         /* background strip color */
  margin:  0;              /* space above & below */
}

/* Button inside CTA */
.btn-contact {
  display: inline-block;
  padding: 14px 34px;
  background: #333;            /* button color */
  color: #fff;
  font: 700 1rem 'Poppins', sans-serif;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-contact:hover {
  background: #000;
  transform: translateY(-2px);
}



/* Hero Banner */
.hero img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: 50% 20%;  /* X Y values */     /* <-- show the top part of the image */
}

.hero-text {
  position: absolute;
  top: 79%;             /* adjust up/down */
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  font-size: 1.5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  text-align: center;
  z-index: 1001;        /* stays above image */
  max-width: 90%;       /* keeps it from overflowing on mobile */
}


/* Section */
.section {
    padding: 30px 40px 80px;
    text-align: center;
}

.section h2 {
    margin-bottom: 20px;
}

/* Portfolio Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery img {
    width: 100%;
    border-radius: 5px;
}

/* Footer */
footer {
    background: #555353;
    color: white;
    text-align: center;
    padding: 10px;      
    bottom: 0;            /* To the bottom of viewport */
    left: 0;
    width: 100%;          /* Full width */
    z-index: 1000;        /* On top */
}

/* Slideshow container (top 60% of page) */
.slideshow-container {
  position: relative;
  width: 100%;
  height: 100vh; /* 60% + a little extra to require a small scroll */
  overflow: hidden;
  margin-top: 0;
}

.slide-counter {
  position: absolute;
  bottom: 20px;
  right: 30px;
  background: rgba(0,0,0,0.5);
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font: 600 14px 'Poppins', sans-serif;
  z-index: 1002;
  pointer-events: none;
}

.slides img {
    width: 100%;
    height: 100%;      /* Fill the slideshow container height */
    object-fit: cover; /* Crop if needed, keep aspect ratio */
    object-position: 50% 30%;  /* X Y values */ 
    display: block;    /* Remove default inline gap */
}

.slides {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: none; /* hide all by default */
}

.slides.active {
    display: block; /* show only active slide */
}


/* Social section (bottom 40% of page) */
.social-section {
    background-color: #868383;
    padding: 50px 20px;
    text-align: center;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.social-section h2 {
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    font-size: 1.8rem;
    transform: translateY(-80px); /* to adjust the vertical position of icons */
}

.social-icons a {
    color: #333;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #535151;
}

/* Fade animation for slides */
.fade {
    animation: fadeEffect 1s ease-in-out;
}

@keyframes fadeEffect {
    from {opacity: 0.4}
    to {opacity: 1}
}


/* equal spacing from edges & vertical center */
.prev, .next {
  position: absolute;
  top: 80%;
  transform: translateY(-40%);
  width: 120px;   /* matches SVG width */
  height: 40px;   /* you can change later for height plans */
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  z-index: 1001;
  cursor: pointer;
  user-select: none;
}

/* same distance from edges */
.prev { left: 80px; }
.next { right: 80px; }

/* hover color change stays the same */
.arrow-icon line,
.arrow-icon polyline { stroke: rgb(218, 218, 215); transition: stroke .3s;
}

.prev:hover .arrow-icon line,
.prev:hover .arrow-icon polyline,
.next:hover .arrow-icon line,
.next:hover .arrow-icon polyline { stroke: rgb(163, 128, 128);
 }


.gallery-btn {
  position: absolute;
  top: 92%;                     /* same vertical base as arrows */
  left: 50%;                     /* center horizontally */
  transform: translate(-50%, -40%); /* match arrow vertical shift */
  padding: 20px 64px;
  background: #535352;
  color: rgb(219, 217, 217);
  text-decoration: none;
  font-weight: 600;
  border-radius: 2px;
  z-index: 1001;                 /* keep above slideshow */
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  
  font-family: 'Times New Roman', serif; /* Unique font for this button */
  font-size: 20px;
}

.gallery-btn:hover {
  background: #636362;
  transform: translate(-50%, -40%) scale(1.05);
}




/* Hero Banner */
.contact-hero {
  height: 40vh;
  min-height: 300px;
  padding-top: 150px;
  background: #000000;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.contact-hero::after {
  content: ""; position: absolute; inset: 0; background: rgba(199, 188, 188, 0.35);
}
.contact-hero h1 {
  position: relative; color: #ffffff; font: 700 2.4rem 'Poppins', sans-serif;
  letter-spacing: .06em; text-shadow: none;
}

/* Layout */
.contact-wrap {
  width: min(1100px, 92%);
  margin: 48px auto 64px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  background: #5f5e5e;
}

@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; }
}

/* Contact Form */
.contact-form {
  background: #5f5e5e; padding: 28px; border-radius: 6px;
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
}
.contact-form h2 {
  font: 700 1.4rem 'Poppins', sans-serif; margin-bottom: 18px;
}
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font: 600 .92rem 'Poppins', sans-serif; color: #444; }
.field input, .field textarea, .field select {
  padding: 12px 14px; border: 1px solid #ddd; border-radius: 4px;
  font: 500 1rem/1.4 system-ui, Arial, sans-serif;
  outline: none; background: #fff;
}
.field textarea { min-height: 140px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px){ .row-2 { grid-template-columns: 1fr; } }

/* Button */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 20px; border-radius: 4px; border: 1px solid #333;
  background: #333; color: #fff; font: 700 .95rem 'Poppins', sans-serif;
  text-decoration: none; cursor: pointer;
  transition: transform .12s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary:hover {
  transform: translateY(-1px); background: #000; border-color: #000;
}

/* Contact Aside */
.contact-aside {
  background: #5f5e5e; 
  padding: 28px; 
  border-radius: 6px;
  display: grid; gap: 10px; height: fit-content;
}

.contact-aside h3 {
  font: 700 1.1rem 'Poppins', sans-serif; margin-bottom: 6px;
}

.info-line {
  display: flex; align-items: center; gap: 12px; color: #333;
  font: 500 1rem/1.5 system-ui, Arial, sans-serif;
}
.info-line i { width: 22px; text-align: center; }

/* Social */
.social-inline {
  display: flex;
  gap: 20px;
  margin-top: 10px;
  font-size: 2rem;   /* adjust size */
  justify-content: flex-start; /* keep aligned left inside aside */
}

.social-inline a {
  color: #333;
  transition: color 0.3s;
}

.social-inline a:hover {
  color: #888;
}


/* Map */
.map-embed {
  margin-top: 10px; border-radius: 6px; overflow: hidden;
  border: 1px solid #eee; aspect-ratio: 16/9; background: #eaeaea;
}
iframe.map { width: 100%; height: 100%; border: 0; }

/* Social icons inside contact aside */
.contact-aside .social-inline a {
  font-size: 1.8rem;   /* adjust size */
  transition: transform 0.2s ease, color 0.3s ease;
}

.contact-aside .social-inline a:hover {
  transform: scale(1.15); /* little zoom effect */
}

/* Brand colors 
.contact-aside .social-inline .fa-instagram { color: #E1306C; } /* pink gradient IG main 
.contact-aside .social-inline .fa-tiktok    { color: #010101; } /* black default 
.contact-aside .social-inline .fa-envelope  { color: #D44638; } /* Gmail red 
.contact-aside .social-inline .fa-youtube   { color: #FF0000; }  /* YouTube red */


/* Default color for all icons */
.social-icons a,
.social-inline a {
  color: #333;  /* neutral by default */
  transition: color 0.3s ease;
}

/* Instagram */
.social-icons a:hover .fa-instagram,
.social-inline a:hover .fa-instagram {
  color: #E1306C; /* Instagram pink */
}

/* TikTok */
.social-icons a:hover .fa-tiktok,
.social-inline a:hover .fa-tiktok {
  color: #010101; /* TikTok black */
}

/* YouTube */
.social-icons a:hover .fa-youtube,
.social-inline a:hover .fa-youtube {
  color: #FF0000; /* YouTube red */
}

/* Gmail */
.social-icons a:hover .fa-envelope,
.social-inline a:hover .fa-envelope {
  color: #D44638; /* Gmail red */
}

/* LinkedIn (if you plan to add it) */
.social-icons a:hover .fa-linkedin,
.social-inline a:hover .fa-linkedin {
  color: #0077B5; /* LinkedIn blue */
}



