/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
}

/* =========================
   NAVBAR (ALL SCREENS)
========================= */
/* =============================
   NAVBAR LAYOUT
============================= */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    background: rgba(237, 226, 226, 0);
    /* backdrop-filter: blur(10px); */
    z-index: 1000;
}





/* =============================
   BRAND (CENTER)
============================= */
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 11vh;
}

.brand img {
  height: 58px;          /* adjust if needed */
  width: auto;
}

.brand1 {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1vh;
  margin-bottom: 5vh;
}

.brand1 img {
  height: 42px;          /* adjust if needed */
  width: auto;
}


/* =============================
   HAMBURGER (LEFT)
============================= */
.hamburger {
  width: 30px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  height: 3px;
  width: 100%;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

/* Active Hamburger */
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  background-color: #d4af37;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  background-color: #d4af37;
}

/* =============================
   SOCIAL ICON WRAPPER
============================= */
.social-icons {
  display: flex;
  gap: 0.8rem;
}

/* =============================
   ICON CONTAINER
============================= */
.social-icon {
  position: relative;              /* 🔥 REQUIRED */
  width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  cursor: pointer;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* =============================
   RESET OLD IMAGE RULES
============================= */
.social-icons img {
  width: auto;
  height: auto;
  box-shadow: none;
  transform: none;
}

/* =============================
   ICON IMAGES (STACKED)
============================= */
.social-icon img {
  position: absolute;              /* 🔥 STACK IMAGES */
  width: 52px;
  height: 52px;
  object-fit: contain;

  transition: opacity 0.25s ease;
}

/* Default visible */
.social-icon .icon-default {
  opacity: 1;
}

/* Hover hidden initially */
.social-icon .icon-hover {
  opacity: 0;
}

/* =============================
   HOVER SWAP
============================= */
.social-icon:hover .icon-default {
  opacity: 0;
}

.social-icon:hover .icon-hover {
  opacity: 1;
}

.social-icon:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

/* =============================
   RESPONSIVE
============================= */
@media (max-width: 768px) {
  .social-icon {
    width: 28px;
    height: 28px;
  }

  .social-icon img {
    width: 18px;
    height: 18px;
  }

  .social-icon:hover {
    transform: translateY(-3px);
  }
}

@media (max-width: 480px) {
  .social-icons {
    justify-content: center;
  }

  .social-icon {
    width: 26px;
    height: 26px;
  }

  .social-icon img {
    width: 16px;
    height: 16px;
  }
}


/* =============================
   SIDE MENU (LEFT SLIDE)
============================= */
/* SIDE MENU */
.side-menu {
    position: fixed;
    top: 0;                 /* SAME LINE START */
    left: -320px;
    width: 250px;
    height: 100vh;
    background: #f7f7f7;
    padding: 30px 20px;
    transition: left 0.35s ease;
    padding-top: 90px;
    z-index: 1001;
}

.side-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: left;
    /* horizontal center */
    justify-content: center;
    gap: 1.8rem;
    margin-left: 14vh;
    /* padding-left: 2rem; */
}

/* ACTIVE MENU */
.side-menu.active {
    left: 0;
}

/* OVERLAY */
#menuOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(24, 22, 22, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 1000;
}

/* SHOW OVERLAY */
#menuOverlay.active {
    opacity: 1;
    visibility: visible;
}

/* OPTIONAL – smooth link look (no UI change) */
.side-menu .nav-link {
    color: #000000;
    text-decoration: none;
    line-gap-override: 5vh;
}

.side-menu .nav-link.active,
.side-menu .nav-link:hover {
    color: #d4af37;
}



/* =============================
   BODY LOCK
============================= */
body.menu-open {
    overflow: hidden;
}

/* =============================
   MOBILE SAFETY
============================= */
@media (max-width: 480px) {
    .brand {
        font-size: 1.3rem;
    }

    .social-icons {
        gap: 0.5rem;
    }
}

/* ===============================
   HERO RESET
================================ */
#hero {
  width: 100vw;
  max-width: 100vw;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* ===============================
   HERO BASE
================================ */
.hero {
  position: relative;
  width: 100vw;
  height: 85vh;
}

/* ===============================
   HERO BACKGROUND
================================ */
.hero-bg {
  position: absolute;
  inset: 0;

  background-repeat: no-repeat;
  background-size: cover;

  /* 🔥 keep top, crop bottom */
  background-position: center top;

  /* DESKTOP IMAGE (DEFAULT) */
  background-image: url("images/carrban.png");
}

/* ===============================
   OVERLAY
================================ */
/* ===============================
   TOP OVERLAY (NAVBAR AREA)
================================ */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 140px; /* adjust if navbar taller */

  z-index: 1;

  /* 🔥 Smooth fade from top to transparent */
 background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.35) 40%,
    rgba(0, 0, 0, 0.15) 65%,
    rgba(0, 0, 0, 0.0) 100%
  );


  pointer-events: none;
}


/* ===============================
   CONTENT
================================ */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  text-align: center;
}

/* ===============================
   TABLET (600px – 1024px)
================================ */
@media (max-width: 1024px) and (min-width: 600px) {
  .hero {
    height: 85vh;
  }

  .hero-bg {
    background-image: url("images/carrbantab.png");
    background-size: cover;
    background-position: center top;
  }
}

/* ===============================
   MOBILE (≤ 599px)
================================ */
@media (max-width: 599px) {
  .hero {
    height: auto;
  }

  .hero-bg {
    position: relative;
    width: 100%;
    min-height: 70vh;

    background-image: url("images/carrbanmob.png");
    background-size: cover;
    background-position: center top;
  }
}


/* ===============================
   ABOUT / CAREER WRAPPER
================================ */
.about-section {
  padding: 6px 20px;
}

.brand-title {
  margin-bottom: 50px;
  text-align: center;
}


.brand-title div {
  font-family: "Playfair Display", "Georgia", serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 100;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #1b1b1b;
  line-height: 1.2;
}

/* gold accent line */
.brand-title::after {
  content: "";
  display: block;
  width: 300px;
  height: 3px;
  margin: 8px auto 0;
  background-color: #c9ab74;
}


.about-wrapper {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ===============================
   LEFT CONTENT
================================ */
.about-content {
  padding-right: 20px;
}

.about-tagline {
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #c9ab74;
  margin-bottom: 14px;
  display: inline-block;
}

.about-content h2 {
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 14px;
  color: #444;
}

/* ===============================
   IMAGE – FIXED & RESPONSIVE
================================ */
.about-image {
  width: 100%;
  position: relative;
  overflow: hidden;
  /* border-radius: 14px; */
  margin-bottom: 20px;
}

.about-image img {
  width: 100%;
  height: auto;              /* 🔥 IMPORTANT FIX */
  display: block;
  object-fit: cover;
}

/* ===============================
   CAREER SECTION
================================ */
.career-left {
  max-width: 1200px;
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  padding: 0 20px;
}

/* ===============================
   CAREER TEXT
================================ */
.career-text h2 {
  font-size: 34px;
  font-weight: 500;
  margin-bottom: 15px;
}

.career-text p {
  font-size: 15px;
  color: #555;
  margin-bottom: 12px;
  line-height: 1.7;
}

.career-link {
  display: inline-block;
  margin-top: 1px;
  margin-bottom: 14px;
  color: #c9ab74;
  text-decoration: none;
  font-weight: 500;
}

/* ===============================
   CAREER FORM (PROFESSIONAL)
================================ */
.career-form {
  background: #ffffff;
  padding: 40px 35px;
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.form-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 18px;
}

.career-form label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: #444;
  font-weight: 500;
}

.career-form input,
.career-form select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 8px;
  border: 1px solid #dcdcdc;
  font-size: 14px;
  background: #fafafa;
  transition: all 0.25s ease;
}

.career-form input:focus,
.career-form select:focus {
  outline: none;
  border-color: #c9ab74;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(201, 171, 116, 0.15);
}

/* ===============================
   SUBMIT BUTTON
================================ */
.btn-submit {
  width: 100%;
  margin-top: 10px;
  padding: 14px;
  background: #c9ab74;
  color: #000;
  border: none;
  border-radius: 30px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s ease;
}

.btn-submit:hover {
  background: #b8965f;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ===============================
   RESPONSIVE FIXES
================================ */

/* Tablet */
@media (max-width: 991px) {

  .about-wrapper {
    grid-template-columns: 1fr;
  }

  .career-left {
    grid-template-columns: 1fr;
  }

  .about-image {
    margin-top: 25px;
  }
}

/* Mobile */
@media (max-width: 600px) {

  .about-section {
    padding: 60px 15px;
  }

  .about-content h2,
  .career-text h2 {
    font-size: 26px;
  }

  .about-image img {
    max-height: 320px;     /* 🔥 Prevents overflow */
  }

  .career-form {
    padding: 30px 22px;
  }
}


/* ----------------------popup-------------------------------- */

.popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.popup-box {
    background: #a08686;
    color: #ffffff;
    padding: 25px 35px;
    border-radius: 10px;
    max-width: 350px;
    text-align: center;
    box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.975);
}

.popup-box h3 {
    margin-bottom: 10px;
}

.popup-box button {
    margin-top: 15px;
    padding: 10px 20px;
    border: none;
    background: white;
    color: black;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 100;
}


/* DIM BACKGROUND */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.633);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

/* POPUP BOX WITH NO BLACK BORDER */
.popup-box {
    width: 90%;
    max-width: 900px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    animation: popScale .3s ease-out;
    background: none;
    /* remove black */
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
}

/* FULL IMAGE BACKGROUND */
.popup-bg {
    width: 100%;
    height: 100%;
    background: url('images/building-night.webp') center/cover no-repeat;
    
    display: flex;
    justify-content: center;
    /* CENTER FORM */
    align-items: center;
    padding: 60px 20px;
}

/* GLASS EFFECT FORM */
.popup-form {
    width: 100%;
    max-width: 400px;
    /* backdrop-filter: blur(10px); */
}

.popup-form h2 {
    font-size: 22px;
    text-align: center;
    margin-bottom: 15px;
    color: #ffffff;
    backdrop-filter: blur(10px);
    
    /* gold */
}

.popup-form input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.444);
}

.popup-form input::placeholder {
    color: rgb(0, 0, 0);
}

.popup-submit-btn {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border: none;
    background: #b89132;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    border-radius: 6px;
}

.popup-submit-btn:hover {
    opacity: 0.9;
}

/* CLOSE BUTTON */
.close-popup {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #000;
    color: #fff;
    padding: 4px 10px;
    font-size: 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 25px;
}

/* OPEN ANIMATION */
@keyframes popScale {
    from {
        transform: scale(0.85);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* MOBILE FIX */
@media (max-width: 600px) {
    .popup-form {
        width: 90%;
    }
}


/* Footer */
/* ================= FOOTER ================= */
.footer {
  background: #111;
  color: #ccc;
  padding-top: 4rem;
}

.footer-logo {
  display: flex;
  align-items: left;
  justify-content: left;
  margin-bottom: 2vh;
  
}

.footer-logo img {
  height: 42px;          /* adjust if needed */
  width: auto;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 2rem 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

/* Brand */
.footer-brand {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #aaa;
}

/* Headings */
.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

/* Lists */
.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

/* Links */
.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-block; /* REQUIRED for transform */
  transition: 
    color 0.3s ease,
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover: little jump */
.footer-col ul li a:hover {
  color: #c9ab74;
  transform: translateX(8px);
}

/* Contact text */
.footer-col p {
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}


/* Socials */
.footer-socials {
  margin-top: 1rem;
  display: flex;
  gap: 0.8rem;
}

.footer-socials a {
  color: #fff;
  font-size: 0.75rem;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 5px 10px;
  border-radius: 20px;
  text-decoration: none;
  transition: 0.3s;
}

.footer-socials a:hover {
  background: #c9ab74;
  color: #000;
  border-color: #c9ab74;
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding: 1rem;
  font-size: 0.8rem;
  color: #ffffff;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }
}

/* Footer Section */
.footer-section h4 {
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  color: #fff;
}

/* Social Links Container */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* Individual Link */
.social-link {
  text-decoration: none;
  color: #ccc;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  display: inline-block; /* required for transform */
  transition: 
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.3s ease;
}

/* Hover Effect */
.social-link:hover {
  color: #c9ab74;          /* Windsor gold */
  transform: translateX(6px); /* subtle jump to right */
}

/* Arrow bold text */
.social-link b {
  font-weight: 500;
}


/* Wide contact column */
.footer-contact-wide {
  grid-column: span 3;                     /* takes 3 grid columns */
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.3);

  /* CENTER CONTENT */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Heading */
.footer-contact-wide h4 {
  margin-bottom: 1rem;
  color: #fff;
}

/* Paragraphs */
.footer-contact-wide p {
  margin-bottom: 0.6rem;
  line-height: 1.6;
  color: #ccc;
  max-width: 900px;     /* prevents over-wide text */
}

/* Labels */
.footer-contact-wide b {
  color: #fff;
  font-weight: 500;
}




/* ================= QR FOOTER ================= */
.qr-label {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.qr-thumb {
  width: 140px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px;
  background: #fff;

  /* smooth animation */
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.35s ease;
}

/* LITTLE JUMP ON HOVER (FOOTER ONLY) */
.qr-thumb:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

/* ================= QR POPUP ================= */
.qr-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 9999;
}

.qr-popup.active {
  opacity: 1;
  visibility: visible;
}

.qr-popup img {
  max-width: 70%;
  max-height: 70%;
  background: #fff;
  padding: 1rem;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.35s ease;
}

/* LITTLE JUMP ON HOVER */
.qr-popup img:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* Close Button */
.qr-popup-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
}

.qr-popup-close:hover {
  color: #c9ab74;
}

/* Mobile */
@media (max-width: 600px) {
  .qr-popup img {
    max-width: 85%;
    max-height: 85%;
  }
}


/* ================= BACK TO TOP ================= */
/* ===============================
   SCROLL TO TOP BUTTON
================================ */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;

  width: 48px;
  height: 48px;

  border: none;
  border-radius: 50%;
  background: #726f6f91;
  color: #fff;

  font-size: 22px;
  font-weight: bold;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;

  z-index: 2000;
}

/* Show button */
#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Hover */
#scrollTopBtn:hover {
  background: #000;
  color: #fff;
}

/* Mobile adjustment */
@media (max-width: 600px) {
  #scrollTopBtn {
    width: 42px;
    height: 42px;
    font-size: 20px;
    bottom: 20px;
    right: 20px;
  }
}


/* ===============================
   RESPONSIVE OVERFLOW FIX
================================ */

html, body {
  overflow-x: hidden;
}

/* Navbar logo fix */
@media (max-width: 768px) {
  .brand {
    margin-left: 0 !important;
  }
}

/* Side menu fix */
.side-menu ul {
  margin-left: 0;
  padding-left: 1.5rem;
}

/* Career grid fix */
.career-left {
  grid-template-columns: 1fr minmax(0, 420px);
}

@media (max-width: 900px) {
  .career-left {
    grid-template-columns: 1fr;
  }
}


/* ===============================
   HIDE NAV SOCIAL ICONS ON MOBILE
================================ */

@media (max-width: 768px) {
  .navbar .social-icons {
    display: none;
  }
}



/* ------------------------------------------------scrol---------------------------- */
/* FORCE VISIBILITY FOR DEBUG */
#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 10px;

  width: 40px;
  height: 40px;

  background: #726f6f91;
  color: #fff;

  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;

  z-index: 999999;      /* VERY IMPORTANT */

  display: none;        /* hidden by default */
}

/* show button */
#scrollTopBtn.show {
  display: flex;
  align-items: center;
  justify-content: center;
}
