/* ==========================================================================
   1. GLOBAL RESETS & CUSTOM FONT FAMILY ASYNC MAPPINGS
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: #141414; /* Pure Figma pitch black configuration background */
  color: #ffffff;
}

/* --- Font Utility Components --- */
.hand-font {
  font-family: "Just Another Hand", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 2.2rem; /* Clean custom handwriting adjustments scale */
  line-height: 1.2;
}

.jomhuria-font {
  font-family: "Jomhuria", serif;
  font-weight: 400;
  font-style: normal;
}

.jomolhari-font {
  font-family: "Jomolhari", serif;
  font-weight: 400;
  font-style: normal;
}

/* UI Structural Utility Modifiers */
.uppercase-heavy {
  text-transform: uppercase;
}

.text-lowercase {
  text-transform: none !important;
}

.font-normal {
  font-weight: 400;
}

/* ==========================================================================
   2. REUSABLE COMPONENT ATOMS (Pill Buttons & Highlights)
   ========================================================================== */
/* The Pill-shaped Gradient Button used in Hero Section */
.btn-pill-gradient {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  padding: 10px 40px 10px;
  font-size: 50rem;
  color: #ffffff;
  border-radius: 30px; /* Pill configuration shape profile border */
  background: #f77062;
  box-shadow: 0 4px 15px rgba(247, 112, 98, 0.25);
  line-height: 1.2;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.btn-pill-gradient:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #f77062 0%, #fe5196 100%);
  opacity: 0.95;
  color: #ffffff; /* Ensures text remains white on hover for contrast */
}

/* The Bordered Hollow Outline Button inside redirect cards */
.btn-outline-pill {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  padding: 6px 35px 10px;
  font-size: 1.8rem;
  color: #ffffff;
  background: transparent;
  border: 1px solid #ffffff;
  border-radius: 25px;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.btn-outline-pill:hover {
  background-color: #ffffff;
  color: #141414;
}

/* ==========================================================================
   3. COMPONENT 1: NAVBAR CONTAINER MODULE
   ========================================================================== */
.navbar {
  background: #141414;
  height: 95px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  padding: 0 40px;
}

#navbar__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

#navbar__logo img,
#navbar__logo svg {
  height: 50px;
  width: auto;
  display: block;
}

.navbar__menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0; /* Fixes the broken list shifting */
  padding: 0; /* Fixes the broken list shifting */
}

.navbar__links {
  font-family: "Jomhuria", serif;
  color: #ffffff; /* Changed to match your bright white index text color */
  text-decoration: none;
  padding: 0 1.5rem;
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  transition: color 0.2s ease;
  line-height: 1; /* Aligns your links perfectly in the center of the bar */
}

.navbar__links:hover {
  color: #f77062;
}
/* ==========================================================================
   5. RESPONSIVE MOBILE & TABLET NAVBAR NAVIGATION BREAKPOINT
   ========================================================================== */
.navbar__toggle {
  display: none;
  cursor: pointer;
}

.navbar__toggle .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: #ffffff;
  transition: all 0.3s ease-in-out;
}

/* Media Query targeting Tablets and Phones (960px and down) */
@media screen and (max-width: 960px) {
  /* 1. Force the menu container to dynamically wrap onto a new line if needed */
  .navbar__container {
    position: relative;
  }

  /* 2. Make the hamburger visible */
  .navbar__toggle {
    display: block;
  }

  /* 3. Transform the links block into a full-width vertical layout */
  .navbar__menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: -400px; /* Matches your desktop navbar height exactly */
    left: 0; /* Hides the menu completely off-screen to the left */
    opacity: 0;
    transition: all 0.5s ease;
    background: #141414; /* Matches background */
    padding: 20px 0;
    z-index: 999;
  }

  /* 4. The trigger class to slide the menu into view when opened */
  .navbar__menu.active {
    top: 70px;
    opacity: 1;
  }

  /* 5. Space out your vertical link rows for touch targets */
  .navbar__links {
    display: block;
    text-align: center;
    padding: 1.5rem 0;
    width: 100%;
  }

  /* 6. OPTIONAL ANIMATION: Turns the 3 lines into an "X" when open */
  #mobile-menu.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  #mobile-menu.is-active .bar:nth-child(2) {
    opacity: 0;
  }
  #mobile-menu.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

 /* ==========================================================================
   6. CONTACT PAGE TWO-COLUMN CENTERED LAYOUT
   ========================================================================== */
.contact-section {
  max-width: 1200px;
  margin: 40px auto 100px;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center; /* Center aligns everything inside the section */
}

.contact-main-title {
  font-size: 5rem;
  margin-bottom: 40px;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-align: center;
  width: 100%;
}

/* Center-aligned card wrapper for the column pairs */
.contact-info-card {
  width: 100%;
  max-width: 650px; /* Constrains column width so it stays neat on big screens */
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 60px; /* Generous gap before the form sits underneath */
}

/* The core 2-column row split logic */
.info-table-row {
  display: flex;
  justify-content: space-between; /* Pushes label all the way left, value all the way right */
  align-items: center;
  border-bottom: 1px solid #2a2a2a;
  padding-bottom: 15px;
}

.info-label {
  font-size: 2rem;
  color: #f77062; /* Primary branding highlight color */
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left; /* Explicitly left-aligned */
  
}

.info-value {
  text-align: right; /* Explicitly right-aligned */
}

.info-value a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.2s ease;
}

.info-value a:hover {
  color: #ffffff;
}

/* Form Container setup centered below */
.contact-form-container {
  width: 100%;
  max-width: 650px; /* Keeps consistent styling alignment width with the block above */
}

.form-heading {
  font-size: 1.6rem;
  margin-bottom: 25px;
  font-weight: 400;
  text-align: center; /* Keeps visual layout feeling centered */
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 1.1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  background-color: #1e1e1e;
  border: 1px solid #333333;
  border-radius: 6px;
  color: #ffffff;
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #f77062;
}

.form-services {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 5px;
}

.form-services p {
  font-size: 1.1rem;
}

.optional-text {
  font-style: italic;
  color: #888888;
  font-size: 0.9rem;
}

.form-services label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 1rem;
}

.send-btn {
  align-self: flex-start;
  background-color: #ffffff;
  color: #141414;
  border: none;
  padding: 10px 40px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.send-btn:hover {
  opacity: 0.9;
}

/* Mobile Adjustments for very tight screens */
@media screen and (max-width: 600px) {
  .contact-section {
    padding: 0 20px;
  }
  
  .info-table-row {
    flex-direction: column; /* Stack vertically if phone screens get too cramped */
    align-items: flex-start;
    gap: 8px;
  }
  
  .info-value {
    text-align: left;
  }
}
