/* GABRIEL HERO & HEADER STYLES */

/* The Header Overlay */
.gabriel-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  padding: 15px 0 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

/* Sticky scrolled state — white background */
.gabriel-header.is-scrolled {
  position: fixed;
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 10px 0 0;
}

.gabriel-header.is-scrolled .gabriel-logo .logo-main {
  color: #111;
}

.gabriel-header.is-scrolled .gabriel-logo .logo-sub {
  color: #888;
}

.gabriel-header.is-scrolled .icon-btn {
  color: #333;
}

.gabriel-header.is-scrolled .gabriel-nav-list li a {
  color: #333;
}

.gabriel-header.is-scrolled .gabriel-nav-list > li:hover > a {
  color: #111;
}

/* Header Container */
.gabriel-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Top Row Layout — logo centered, icons on right */
.gabriel-header .header-top .gabriel-container {
  position: relative;
  display: block;
  text-align: center;
}

/* Center Logo */
.header-logo-wrap {
  text-align: center;
}

.gabriel-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.gabriel-logo .logo-main {
  font-family: var(--font-display);
  font-size: 32px;
  color: #fff;
  letter-spacing: 4px;
  font-weight: 500;
}

.gabriel-logo .logo-sub {
  font-family: var(--font-body);
  font-size: 10px;
  color: rgba(255,255,255,0.8);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Logo Image Sizing */
.gabriel-logo img,
.gabriel-logo .logo-img {
  height: 55px !important;
  width: auto !important;
  max-width: 200px !important;
  display: block;
  object-fit: contain;
}

/* Icons — all on the right */
.gabriel-header .icon-btn {
  color: #fff;
  background: transparent;
  margin: 0 6px;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.gabriel-header .icon-btn:hover {
  opacity: 1;
}

.header-actions-right {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}

/* Bottom Navigation — transparent, centered */
.header-bottom {
  background: transparent;
}

.gabriel-nav-list {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 15px 0 0 0;
  padding: 0;
  gap: 30px;
}

.gabriel-nav-list li a {
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: opacity 0.3s;
}

.gabriel-nav-list li a:hover {
  opacity: 0.7;
}

/* HERO SECTION */
.gabriel-hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: flex-end; /* Align content to bottom */
  padding-bottom: 60px; /* Space from bottom edge */
}

.gabriel-hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center top;
  z-index: 0;
}

/* Gradient overlay for text readability */
.gabriel-hero-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.6) 100%);
}

.gabriel-hero-container {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  padding: 0 20px 40px;
}

.gabriel-hero-title {
  font-size: clamp(32px, 8vw, 64px);
  font-family: var(--font-display);
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.1;
  letter-spacing: 2px;
}

.gabriel-hero-subtitle {
  font-size: clamp(13px, 3vw, 18px);
  color: #f0f0f0;
  margin-bottom: 30px;
  font-family: var(--font-body);
  letter-spacing: 2px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.gabriel-hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.gabriel-btn-white {
  background: #fff;
  color: #111;
  padding: 15px 40px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s;
}

.gabriel-btn-white:hover {
  background: #111;
  color: #fff;
}

.gabriel-btn-outline {
  background: transparent;
  color: #fff;
  padding: 15px 40px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid #fff;
  transition: all 0.3s;
}

.gabriel-btn-outline:hover {
  background: #fff;
  color: #111;
}

/* Other Pages — start with white bg, still sticky */
body:not(.home) .gabriel-header {
  position: fixed;
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

body:not(.home) .gabriel-header .gabriel-logo .logo-main { color: #111; }
body:not(.home) .gabriel-header .gabriel-logo .logo-sub { color: #888; }
body:not(.home) .gabriel-header .icon-btn { color: #333; }
body:not(.home) .gabriel-header .gabriel-nav-list li a { color: #333; }

/* Push content below fixed header on non-home pages */
body:not(.home) #page { padding-top: 178px; }

@media (max-width: 992px) {
  .gabriel-header .header-top .gabriel-container { text-align: left; }
  .header-actions-right { position: static; transform: none; margin-left: auto; }
  .gabriel-header .header-top .gabriel-container { display: flex; align-items: center; justify-content: space-between; }
  .gabriel-logo .logo-main { font-size: 24px; }
  .gabriel-nav-list { display: none; } /* Show mobile hamburger instead */
}

/* GABRIEL MEGAMENU LOGIC */
.gabriel-nav {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}

.gabriel-nav-list > li {
  position: static;
}

.gabriel-nav-list > li.has-megamenu {
  position: static;
}

.gabriel-nav-list > li > a {
  position: relative;
  display: inline-block;
  padding-bottom: 20px; /* Expand hit area so hover doesn't break */
}

/* Hover orange line effect */
.gabriel-nav-list > li > a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #B35E44; /* Dark orange/terracotta */
  transform: scaleX(0);
  transition: transform 0.3s;
}

.gabriel-nav-list > li:hover > a::after {
  transform: scaleX(1);
}

.gabriel-mega {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 2px solid #eee;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 999;
  text-align: left;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.gabriel-nav-list > li:hover .gabriel-mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.gabriel-mega .mega-row {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid #eee;
  padding-bottom: 40px;
  margin-bottom: 30px;
}

.gabriel-mega .mega-col {
  flex: 1;
}

.gabriel-mega .mega-col h4 {
  font-family: var(--font-display);
  font-size: 18px;
  color: #333;
  margin-bottom: 20px;
  font-weight: 500;
}

.gabriel-mega .mega-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gabriel-mega .mega-col ul li {
  margin-bottom: 12px;
}

.gabriel-mega .mega-col ul li a {
  font-family: var(--font-body);
  font-size: 13px;
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
  letter-spacing: 0;
  text-transform: none;
}

.gabriel-mega .mega-col ul li a:hover {
  color: #B35E44;
}

/* Promo Box Right */
.gabriel-mega .mega-promo {
  flex: 1.5;
  border-left: 1px solid #eee;
  padding-left: 30px;
}

.gabriel-mega .mega-promo img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 15px;
  border-bottom: 3px solid #B35E44;
}

.gabriel-mega .mega-promo h5 {
  font-family: var(--font-display);
  font-size: 18px;
  color: #333;
  margin-bottom: 5px;
}

.gabriel-mega .mega-promo a {
  font-size: 11px;
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-transform: uppercase;
}

/* Footer Button inside Megamenu */
.gabriel-mega .mega-footer {
  text-align: left;
}

.gabriel-mega .btn-explore {
  display: inline-block;
  font-size: 11px;
  color: #333;
  border: 1px solid #ccc;
  padding: 10px 25px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
}

.gabriel-mega .btn-explore:hover {
  background: #333;
  color: #fff;
  border-color: #333;
}

/* Dots for metal */
.gabriel-mega .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 2px rgba(0,0,0,0.2) inset;
}

.gabriel-mega .white-gold { background: #e6e8fa; }
.gabriel-mega .yellow-gold { background: #fdee87; }
.gabriel-mega .rose-gold { background: #f4c0a5; }
.gabriel-mega .platinum { background: #dcdcdc; }
.gabriel-mega .silver { background: #c0c0c0; }

/* Custom Flex overrides for dynamic Megamenu */
.gabriel-mega .mega-col.col-flex-1 { flex: 1; }
.gabriel-mega .mega-col.col-flex-2 { flex: 2; padding-right: 40px; }
.gabriel-mega .mega-promo.promo-flex-1-2 { flex: 1.2; }
