
/* ========================================
   Bootstrap Variable Overrides
   ======================================== */
:root {
     --bs-primary: #a71627;
     --bs-primary-rgb: 189, 0, 48;
   
     --bs-secondary: #a9a9a7;
     --bs-light: #ECEDED;
     --bs-dark: #313333;
   
     --bs-body-bg: #ECEDED;
     --bs-body-color: #313333;
   }
/* Global override for all Bootstrap buttons */

/* ========================================
   Base Typography & Global Elements
   ======================================== */
body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--bs-body-bg) !important;
  color: var(--bs-body-color);
  margin: 0;
  padding:0;
  max-width:100vw;
 
}

body.not-scrolled .navbar {
  background-color: transparent !important;
}

html, body {
  height: 100%;
}

h1, h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  text-transform: uppercase;
}

a {
  color: var(--bs-primary);
  text-decoration: none;
}

a:visited {
  color: var(--bs-primary);
  font-weight: bold;
}

.btn {
  padding: 10px 20px;
  background-color: var(--bs-primary);
  border: 1px solid var(--bs-primary);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: bold;
  font-size: 1.1rem;
  border-radius: 0 999px 999px 0;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.btn::after {
  content: '\2192';
  font-size: 1.2rem;
  margin-left: 0.4rem;
}

.btn:hover {
  background-color: #990025;
}

.menu-heading {
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  text-transform: uppercase;
  font-size: 1.25rem; /* Approx h4 */
  margin: 0;
}

.submenu{
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  text-transform: uppercase;
}
.submenu a:hover a:active {
  color: var(--bs-secondary) !important;
  text-decoration: none;
}
.submenu h6 {
  margin: 0.5rem 0;
  font-weight: 300;
}
.coming-soon {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 2px 6px;
  font-size: 0.65rem;
  font-weight: normal;
  color: var(--bs-secondary);
  text-transform: uppercase;
  vertical-align: middle;
  letter-spacing: 0.3px;
}

.search-form {
  width: 75%;
  max-width: 600px;
}

.search-bar-wrapper {
  display: flex;
  width: 100%;
  gap: 0; /* no spacing between */
}

.search-input {
  flex: 3;
  padding: 10px 15px;
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  background-color: var(--bs-light);
  border: 2px solid var(--bs-primary);
  border-right: none;
  border-radius: 999px 0 0 999px;
  color: var(--bs-primary);
  height: 50px;
  min-width: 0;
}

.search-btn {
  flex: 1;
  padding: 0 15px;
  height: 50px;
  border-radius: 0 999px 999px 0;
  border: 2px solid var(--bs-primary);
  border-left: none;
  background-color: var(--bs-primary);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.search-btn::after {
  content: '\2192';
  font-size: 1.2rem;
  margin-left: 0.4rem;
}

.search-btn:hover {
  background-color: #990025;
}
/* ========================================
   Landing Page Layout
   ======================================== */
.landing-wrapper {
  background: url('../images/img_rbf_holding.png') no-repeat center center;
  background-size: cover;
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 2rem;
}

.landing-wrapper::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(var(--bs-black-rgb, 33, 37, 41), 0.8);
  z-index: 0;
}

.landing-wrapper > * {
  position: relative;
  z-index: 1;
}

/* ========================================
   Logo & Signup Form Styling
   ======================================== */
.logo {
  max-width: 200px;
  width: 50%;
  margin-bottom: 1.5rem;
}

.form-wrapper {
  width: 100%;
  margin-top: 2rem;
}

.form-control,
.btn {
  width: 100%;
}

.form-control {
  margin-bottom: 1rem;
}

/* ========================================
   Ray-Ban Roundup Signup Form Styles
   ======================================== */
   
   .roundup-border {
   border: 20px solid transparent;
   border-image: repeating-linear-gradient(
   -45deg,
   var(--bs-primary) 0 5%,
   var(--bs-light) 5% 10%,
   var(--bs-primary) 10% 15%,
   var(--bs-light) 15% 20%
   ) 20;
  }
.rayban-roundup-form {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 600px;
  margin: 2rem auto;
  font-family: 'Roboto', sans-serif;
}

.rayban-roundup-form input[type="email"] {
  flex: 1;
  padding: 10px 15px;
  background-color: var(--bs-light);
  border: 2px solid var(--bs-primary);
  color: var(--bs-primary);
  font-size: 1.1rem;
  border-radius: 0;
  outline: none;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
}

.rayban-roundup-form button {
  padding: 10px 20px;
  background-color: var(--bs-primary);
  border: 1px solid var(--bs-primary);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: bold;
  font-size: 1.1rem;
  border-radius: 0 999px 999px 0;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rayban-roundup-form button::after {
  content: '\2192';
  font-size: 1.2rem;
  margin-left: 0.4rem;
}

.rayban-roundup-form button:hover {
  background-color: #990025;
}

@media (max-width: 576px) {
  .rayban-roundup-form {
    flex-direction: column;
  }

  .rayban-roundup-form input[type="email"],
  .rayban-roundup-form button {
    width: 100%;
    border-radius: 0;
  }

  .rayban-roundup-form button {
    margin-top: 0.75rem;
    border-radius: 999px;
  }
}
/* ========================================
   Sticky Navbar + Slide Panel Navigation
   ======================================== */
   header{position:fixed; z-index:2000;}
   .navbar{position:relative; z-index:1999;}
#menuPanel {
  display:flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
     width: 0;
     overflow: hidden;
     position: fixed;
     top: 0;
     right: 0;
     height: 100vh;
     background-color: var(--bs-light);
     color: var(--bs-primary);
     z-index: 1060;
     transition: width 0.4s ease;
   }

 /* Slide-in panel when open */
 #menuPanel.open {
   width: 100vw; /* or 50vw on desktop using media queries */
 }
 
  @media (min-width: 768px) {
    #menuPanel.open {
      width: 50vw;
    }
  }

 #hamburger {
   position: fixed; /* override absolute */
   top: 0;
   right: 0;
   width: 100px;
   height: 100px;
   z-index: 1070 !important; /* ensure it's above panel */
 }
 /* Hamburger Animation */
 .hamburger-inner {
   display: flex;
   flex-direction: column;
   justify-content: center;
   gap: 8px;
 }
 
 .hamburger-inner .bar {
   width: 40px;
   height: 4px;
   background-color: var(--bs-primary);
   transition: all 0.3s ease;
 }
 
 #hamburger.active .bar:nth-child(1) {
   transform: rotate(45deg) translate(7px, 7px);
 }
 
 #hamburger.active .bar:nth-child(2) {
   opacity: 0;
 }
 
 #hamburger.active .bar:nth-child(3) {
   transform: rotate(-45deg) translate(8px, -8px);
 }
 

#block{
  min-height:50vh;
}

/* ========================================
 Footer Content Modals
 ======================================== */
/* Ensure modal sits above any sticky nav or mobile toggles */
 .modal {
   z-index: 1200 !important;
 }
 
 .modal-backdrop {
   z-index: 1190 !important;
 }
 
 /* Force modal to top of screen (instead of vertically centered on mobile) */
 @media (max-width: 767.98px) {
   .modal-dialog {
     margin: 0 !important;
     height: 100vh;
     max-width: 100vw;
   }
 
   .modal-content {
     height: 100%;
     border-radius: 0;
     overflow-y: auto;
   }
 
   .modal-header {
     position: sticky;
     top: 0;
     z-index: 1210;
     background: var(--bs-dark);
   }
 }



/* =============================
   Layout Fixes & Bootstrap Overrides
   ============================= */
html, body {
  overflow-x: hidden;
}

.container-fluid, .row {
  margin-left: 0;
  margin-right: 0;
}

.btn-primary {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
}

.btn-outline-primary {
  color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
}

.text-primary {
  color: var(--bs-primary) !important;
}

.bg-primary {
  background-color: var(--bs-primary) !important;
}

.navbar, footer {
  background-color: #transparent !important;
}
/* =============================
Hero Carousel
 ============================= */
.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #fff;
  opacity: 0.5;
  border: none;
  transition: opacity 0.3s ease;
}

.carousel-indicators button.active {
  opacity: 1;
}


.hero-section {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}




.bg-overlay.bg-dark {
  background-color: rgba(0, 0, 0, 0.6);
}

.bg-overlay.bg-light {
  background-color: rgba(255, 255, 255, 0.6);
  color: #000;
}

/* === Timeline Styling 

.timeline-list {
  margin: 0;
  padding: 0;
}

.timeline-item {
  display: flex;
  align-items: stretch;
  margin-bottom: 0.5rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-year {
  width: 30%;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bs-primary);
  color: var(--bs-light);
  padding: 1rem;
}

.timeline-content {
  width: 70%;
  border-bottom: 1px solid var(--bs-light);
  display: flex;
  align-items: center;
  text-align: left;
  padding: 1rem;
}

=== */
div.social-links {
  margin-top: 20px;
  color: var(--bs-primary);
}

.social-links a {
  display: inline-block;
  width: 35px;
  height: 35px;
  cursor: pointer;
  background-color: var(--bs-light);
  border-radius: 2px;
  color: var(--bs-primary);
  font-size: 20px;
  text-align: center;
  line-height: 35px;
  margin-right: 5px;
  margin-bottom: 5px;
}

#footer{
  background: var(--bs-primary);
  margin-top: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.footer-logo {
  background: url('https://www.raybanfan.com/user/themes/raybanfan/images/img_rbf_favicon.png');
  background-position: center;
  background-size: cover;
  /*width: 100%;*/
  margin: 0;
  padding: 0;
}

/* Container stretches height of parent (desktop), or square (mobile) */
.rbf-img-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .rbf-img-wrapper {
    aspect-ratio: 1 / 1;
    height: auto;
  }
}

.rbf-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}

