/* ===== Gift Holdings — Final Luxury Minimal Theme ===== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #111;
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  width: 100%;
  display: block;
}

/* Fix for navbar logo size */
.logo img {
  width: 52px;      /* adjust 48–70px depending on how it looks */
  height: auto;
  object-fit: contain;
  margin-right: 10px;
}

/* Keep logo + text aligned in one line */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ===== NAVIGATION (DESKTOP) ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px; /* slightly taller, gives elegant balance */
  padding: 0 60px;
  display: flex;
  justify-content: space-between;
  align-items: center; /* vertically centers logo + nav */
  z-index: 1000;
  background: transparent;
  color: #fff;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(5px);
}

/* Centered navigation links (desktop) */
.nav-links {
  position: absolute;
  left: 50%;
  top: 50%; /* centers vertically in the navbar */
  transform: translate(-50%, -50%);
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-size: 1.1rem;
  letter-spacing: 1.2px;
  padding: 8px 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  line-height: 1; /* keeps text vertically centered */
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 0.7;
}

.logo {
  font-weight: 600;
  font-size: 1.55rem;
  letter-spacing: 1.8px;
  color: #fff;
  text-decoration: none;
}

.logo img {
  height: 90px; /* adjust 40–90px for balance */
  width: auto;
  vertical-align: middle;
}

/* ===== HAMBURGER ICON (BASE, HIDDEN ON DESKTOP) ===== */
.menu-toggle {
  display: none;             /* will be shown only on mobile via media query */
  width: 28px;
  height: 22px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
  margin-left: auto;
}

/* 3 bars */
.menu-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.35s ease, top 0.35s ease;
}

/* Top, middle, bottom bar positions */
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 10px; }
.menu-toggle span:nth-child(3) { top: 20px; }

/* When menu is open → animate into "X" */
.menu-toggle.open span:nth-child(1) {
  top: 10px;
  transform: rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  top: 10px;
  transform: rotate(-45deg);
}

/* ===== HERO SECTION — FULLSCREEN SLIDESHOW ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Each slide wrapper */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease;
}

/* Image inside each slide */
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Active slide (visible) */
.slide.active {
  opacity: 1;
}

/* STATIC HERO (pages without slideshow) */
.hero-static img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

/* Make all hero sections start at the very top behind the navbar */
.hero,
.hero-static {
  margin-top: -80px;     /* initial pull under navbar */
}

/* Push all page content down so it's not hidden behind navbar */
body {
  padding-top: 80px;     /* matches navbar height initially */
}

/* ===== CONTENT SECTIONS ===== */
section {
  padding: 100px 20px;
  max-width: 1100px;
  margin: auto;
}

.info-section {
  padding-bottom: 10px !important; /* you tuned this for home spacing */
}

section h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 20px;
}

section p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 25px;
}

/* ===== PROJECTS GRID ===== */
.projects-gallery {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 40px;
}

.project-item {
  text-align: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.project-item:hover {
  transform: scale(1.03);
  opacity: 0.9;
}

/* ===== CONTACT ===== */
.contact-page {
  background: #fafafa;
}

.contact-wrapper {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.contact-form {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 15px;
}

.contact-form button {
  background: #000;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.3s ease;
}

/* Add breathing room above the "Our Philosophy" section */
.philosophy-heading {
  margin-top: 70px !important; /* adjust 60–100px depending on how it looks */
}

/* ===== TEAM BACKGROUND (ABOUT US PAGE) ===== */
.team-background {
  padding: 100px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.team-background h2 {
  font-size: 1.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #000;
}

.team-background p {
  font-size: 1rem;
  color: #333;
  max-width: 850px;
  margin-bottom: 40px;
}

.team-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.team-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08); /* soft luxury shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

.team-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.team-card h3 {
  margin: 18px 20px 8px;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.team-card p {
  margin: 0 20px 20px;
  font-size: 0.95rem;
  color: #555;
}

/* ===== FOOTER ===== */
footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 50px 20px;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

/* ===== PORTFOLIO LAYOUT ===== */
.portfolio-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.portfolio-card {
  text-align: left;
  transition: transform 0.3s ease;
}

.portfolio-card:hover {
  transform: scale(1.02);
}

.portfolio-card img {
  border-radius: 6px;
  margin-bottom: 12px;
}

.portfolio-card h3 {
  font-weight: 600;
  margin-bottom: 8px;
}

.portfolio-card p {
  color: #444;
  font-size: 0.95rem;
}

/* Button */
.center {
  text-align: center;
  margin-top: 30px;
}

.gh-btn {
  background: #000;
  color: #fff;
  padding: 12px 26px;
  border: none;
  border-radius: 3px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: opacity .25s ease, transform .25s ease;
}
.gh-btn:hover {
  opacity: .85;
  transform: translateY(-2px);
}

/* Full portfolio gallery */
.hidden { display: none; }
#portfolio-full.open { display: block; }

.portfolio-full .grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 40px;
}

.portfolio-full .card img {
  border-radius: 6px;
  margin-bottom: 10px;
}

.portfolio-full .card h3 {
  margin-bottom: 6px;
  font-weight: 600;
}

.portfolio-full .card p {
  color: #444;
  font-size: 0.95rem;
}

/* ===== STATS (you can ignore these if not using) ===== */
.stats .stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.stat {
  text-align: center;
  border: 1px solid #000;
  padding: 24px;
}

.stat .val {
  font-size: 1.6rem;
  font-weight: 700;
}

.stat .label {
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-top: 6px;
}

/* ===== RESPONSIVE (GRID) ===== */
@media (max-width: 1024px) {
  .portfolio-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-full .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .portfolio-grid-3 {
    grid-template-columns: 1fr;
  }
  .portfolio-full .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .projects-gallery,
  .portfolio-grid-3,
  .portfolio-full .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 420px) {
  .projects-gallery,
  .portfolio-grid-3,
  .portfolio-full .grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------- */
/* FIX: HERO MUST START AT THE TOP */
/* ------------------------------- */

.hero,
.hero-static {
  position: relative;
  top: -90px;  /* pull hero upward under navbar */
}

/* Prevent rest of the page from sliding under navbar */
body {
  padding-top: 90px !important;
}

/* === FIX HERO FULL WIDTH === */
.hero,
.hero.hero-static {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.hero img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

/* ===== OUR VISION PAGE EFFECTS ===== */
.hero.hero-static img {
  transform: scale(1.05);
  transition: transform 0.5s ease-out;
}

/* Fade-up base */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== MOBILE NAV (Animated Hamburger + Overlay Menu) ===== */
@media (max-width: 900px) {

  /* Smaller navbar on mobile */
  .navbar {
    height: 70px;
    padding: 0 20px;
  }

  /* Make the inner container a flex row:
     logo on the left, hamburger on the right */
  .navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  /* Show the hamburger on mobile and push it to the far right */
  .menu-toggle {
    display: block;       /* was hidden on desktop */
    margin-left: auto;    /* pushes it to the right end of the row */
  }

  /* Override desktop nav-links: turn them into a full-screen overlay */
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    gap: 25px;
    z-index: 999;
    transform: none;   /* remove the desktop centering transform */
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.3rem;
    padding: 10px 0;
    color: #fff;
  }
}


