/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');

/* Root Variables */
:root {
    --bs-primary: #9AA6B2;
    --bs-secondary: #BCCCDC;
    --bs-light: #F8FAFC;
    --bs-light-subtle: #D9EAFD;

    /* Button Styling Variables */
    --btn-bg: var(--bs-primary) !important;
    --btn-border-color: var(--bs-primary) !important;
    --btn-hover-bg: #718d96 !important;

    --btn-outline-color: var(--bs-primary) !important;
    --btn-outline-hover-bg: var(--bs-primary) !important;
    --btn-outline-hover-color: #ffffff !important;
}

* {
  box-sizing: border-box;
  outline: none;
  border: none;
}

a {
  text-decoration: none;
}

/* Global Typography */
body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--bs-light);
    color: #333;
}

.container-fluid {
    padding: 5% 10%;
}

/* Bootstrap Text Customization */ 
.text-primary {
    color: var(--bs-primary) !important;
}

/* Bootstrap Button Customization */
.btn-primary {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    color: #ffffff;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

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

.btn-outline-primary {
    color: var(--btn-outline-color);
    border-color: var(--btn-outline-color);
    background-color: transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--btn-outline-hover-bg);
    border-color: var(--btn-outline-hover-border-color);
    color: var(--btn-outline-hover-color);
}

/* Customizing Bootstrap Backgrounds */
.bg-primary {
    background-color: var(--bs-primary) !important;
    color: #ffffff !important;
}

.bg-secondary {
    background-color: var(--bs-secondary) !important;
    color: #ffffff !important;
}

.bg-light {
    background-color: var(--bs-light) !important;
    color: #333 !important;
}

.bg-light-subtle {
    background-color: var(--bs-light-subtle) !important;
    color: #333 !important;
}

.list-group-item.active, .active>.page-link, .page-link.active {
  background-color: var(--bs-primary) !important;   /* whatever hex you prefer */
  border-color:    var(--bs-primary) !important;   /* keep borders consistent */
}

/* General Styles for Navbar */

/* Navbar */
.navbar {
    z-index: 10;
    width: 100%;
}

.navbar .search-bar {
    width: 0;
    opacity: 0;
    overflow: hidden;
    transition: width 0.3s ease, opacity 0.3s ease;
}

.navbar .search-bar.open {
    width: 200px;
    opacity: 1;
}

/* Hamburger and Cancel Button */
.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 20px;
  width: 25px;
  cursor: pointer;
}

.hamburger .line {
  height: 3px;
  background-color: #333;
  transition: all 0.3s ease;
}

/* Transition to Cancel Button */
.hamburger.cancel .line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.cancel .line:nth-child(2) {
  transform: rotate(-45deg) translate(5px, -5px);
  opacity: 1;
}

/* Customize Modal Animation */
.modal-dialog-slideout {
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.modal.fade .modal-dialog-slideout {
  transform: translateX(0);
}

.modal-content {
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.modal-header {
  border-bottom: none;
}

.modal-title {
  font-weight: bold;
  font-size: 1.25rem;
}

.modal-body {
  padding: 1.5rem;
}

.dropdown-toggle:focus {
  border: 1px solid var(--bs-primary);
}

.bottom-10 {
  bottom: 10% !important;
}


/* Header */
.homepage {
    height: 900px; /* Full height of the viewport */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-image: url("/assets/images/vogueux-official-logo.webp");
    background-repeat: no-repeat;
    background-position: top;
    background-attachment: fixed;
    background-color: var(--bs-light); /* Fallback background color */
    position: relative;
    /* overflow: hidden; */
  }
  
  /* Banner Section */
  .banner {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 100%; /* Takes full space of the header */
    text-align: center;
    position: relative;
  }
  
  .banner img {
    max-width: 50%; /* Adjust for responsiveness */
    height: auto;
    object-fit: cover; /* Ensures proper scaling */
    position: absolute;
    top: 0;
    z-index: 1;
  }
  
  .banner-text {
    position: relative;
    z-index: 2; /* Ensures text is above the image */
    background: var(--bs-light-subtle); /* Light background for readability */
    padding: 1.5rem;
    border-radius: 0.5rem;
    max-width: 600px;
  }

  .icon-link .icon {
    transition: transform 0.3s ease-in-out; /* Smooth animation */
  }
  
  .icon-link:hover .icon {
    transform: translateX(5px); /* Moves the arrow slightly to the right */
  }
  
  /* Responsive Media Queries */
  @media (max-width: 1024px) {
    .banner img {
      max-width: 100%;
      position: relative;
      bottom: auto;
    }
  
    .banner-text {
      padding: 1rem;
      max-width: 90%;
    }
  }
  
  @media (max-width: 768px) {
    .banner {
      justify-content: center;
    }
  
    .banner img {
      max-width: 100%;
    }
  
    .banner-text {
      max-width: 100%;
      padding: 1rem;
    }
  }

/* Products */ 
.responsive-cards {
    position: relative;
    z-index: 3;
}

.card {
    max-width: 300px; /* Set a fixed maximum width for uniformity */
    height: 350px;
}

.card-img {
  background-color: var(--bs-light); /* Light background for blending */
}

.card-img-top {
    height: 250px; /* Fixed height for images */
    width: 100%; /* Full width */
    object-fit: cover; /* Ensures image scaling without distortion */
    border-radius: 0.25rem; /* Optional: Slight rounding for images */
}

.arrivals-img {
  width: 300px;
}

/* VIDEO SECTION */
#brand-video {
  position: relative;
  height: 80vh; /* Full viewport height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

/* Video Background */
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Dark Overlay */
.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%; /* Dark overlay height */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  z-index: 2;
}

/* Content Styling */
.video-content {
  position: absolute;
  z-index: 3; /* Ensure content is above video and overlay */
  left: 0;
  bottom: 0;
  padding: 3rem 10rem;
}

.video-content h1 {
  font-size: 3rem;
  font-weight: bold;
}

.video-content p {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.video-content .btn {
  font-size: 1.1rem;
  text-transform: uppercase;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.video-content .btn:hover {
  transform: scale(1.05);
}

@media(max-width:992px) {
  .video-content {
    padding: 2rem;
  }
}

/* Footer */
.form-control {
  border: none;
}

.form-control:focus {
  box-shadow: none;
}

/* New Arrival Badge */
.badge {
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

/* style.css or in a <style> block */
.password-toggle-wrapper {
  position: relative;
}

.password-toggle-wrapper .form-control {
  padding-right: 2.5rem;   /* make room for the eye icon */
}

.password-toggle-wrapper .toggle-icon {
  position: absolute;
  top: 50%;
  right: 0.75rem;          /* distance from the right edge */
  transform: translateY(50%);
}


  