* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
  }
  
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent */
    backdrop-filter: blur(10px); /* Fancy background blur */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.3s, box-shadow 0.3s;
  }
  
  .logo {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .logo:hover {
    transform: translateY(-3px);
  }
  
  
  @keyframes fadeInLogo {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    margin-bottom: 3px;
  }
  
  .brand-name {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    letter-spacing: 0.05em;
  }
  .highlight-title {
    display: inline-block;
    position: relative;
    background: linear-gradient(270deg, 
      #656565, #7f42a7, #6600c5, #5300a0, #757575, #656565
    );
    background-size: 400% 400%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbowFlow 5s ease infinite;
    font-weight: 800;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.4s ease;
  }
  
  /* Navigation */
  .nav {
    display: flex;
    align-items: center;
  }
  
  .nav a {
    margin: 0 0.8rem;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s;
  }
  
  .nav a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: #5300a0;
    left: 50%;
    bottom: -5px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
  }
  
  .nav a:hover {
    color: #5300a0;
  }
  
  .nav a:hover::after {
    width: 100%;
  }
  
  .link-highlight {
    background: linear-gradient(270deg, 
    #656565, #7f42a7, #6600c5, #5300a0, #757575, #656565
    );
    background-size: 400% 400%;
    color: #fff !important;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-weight: bold;
    display: inline-block;
    animation: rainbowFlow 8s ease infinite;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  /* Rainbow flow animation */
  @keyframes rainbowFlow {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }
  
  /* Hover effect: bigger glow */
  .link-highlight:hover {
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.432);
    transform: scale(1.05);
  }

  .quote-section {
    display: flex;
    flex-wrap: wrap;
    padding: 2rem;
    border-bottom: 1px solid #ccc;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
  }
  
  .quote-content,
  .quote-wrapper {
    flex: 1 1 500px;
    max-width: 100%;
    box-sizing: border-box;
    padding: 1rem;
  }
  
  .quote-content {
    text-align: left;
  }
  
  .quote-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .quote-image {
    width: 100%;
    height: auto; /* Let the height adjust automatically */
    object-fit: contain; /* Show full image without cropping */
    border-radius: 15px;
  }
  
  
  .description p {
    margin: 0.5rem 0;
    margin-top: 5%;
    padding: 0.2rem;
  }
  .buttons {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
  }
  
  .button-border {
    display: inline-block;
    padding: 3px;
    border-radius: 15px;
    background: linear-gradient(to right, #656565, #7f42a7, #6600c5, #5300a0, #757575, #656565);
    background-size: 200%;
    animation: animationGradient 1.5s linear infinite;
  }
    
  @keyframes animationGradient {
    to {
      background-position: 200%;
    }
  }
    
  .buttons .button-border {
      position: absolute;
      background-color: black;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: 0.5 ease;
      cursor:pointer;
  }
    
  .button-border .primary:hover {
      color: #5300a0;
  }
    
  
  .primary {
    display: inline-block;
    background: white;
    color: black;
    border: none;
    border-radius: 13px;
    padding: 0.5rem 1.5rem;
    font-weight: bold;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
  }

  .top-fragrance {
    padding: 2rem;
    text-align: center;
  }
  .fragrance-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 2rem;
    gap: 1rem;
    position: relative;
  }
  
  /* Default card state: bright, no blur */
  .card {
    width: 30%;
    padding: 1.5rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
    transition: all 0.4s ease;
  }
  
  /* When hovering a card, blur and dim the other cards */
  .card:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 45px rgba(31, 38, 135, 0.4);
    z-index: 10;
  }
  
  /* Blur/dim other cards when a sibling is hovered */
  .fragrance-cards:hover .card {
    filter: blur(2px) brightness(0.7);
    transform: scale(0.95);
    opacity: 0.7;
  }
  
  /* But keep the hovered card clean */
  .fragrance-cards .card:hover {
    filter: blur(0) brightness(1);
    transform: scale(1.08);
    opacity: 1;
  }
  

  .card-image{
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
  }

  .card p {
    font-size: 95%;
    text-align: center;
    color: black;
    padding: 0.2rem;
    margin: 0.2rem 0;
  }
  
  .footer {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 75%;
    font-style: italic;
    text-align: center;
    background: #ddd;
    padding: 1rem 2rem;
  }
  
  .brand-page .footer {
    margin-top: 2rem;
  }
  
  
  .footer-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  
  .footer-logo-img {
    height: 35px;
    width: auto;
  }
  
  .footer-text p {
    margin: 0.2rem 0;
    color: #333;
    font-weight: 500;
  }
  
  
/* Responsive for Tablets and Phones */
@media (max-width: 1024px) {
  .nav a {
    font-size: 0.9rem;
    margin: 0 0.6rem;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  .highlight-title {
    font-size: 1.2rem;
  }

  .quote-section {
    flex-direction: column;
    padding: 1.5rem;
  }

  .quote-content, .quote-wrapper {
    flex: 1 1 100%;
    padding: 1rem 0;
    text-align: center;
  }
  .quote-image {
    max-height: 320px;
    margin-top: 1rem;
    border-radius: 10px;
  }

  .quote-wrapper {
    padding: 0;
  }

  .top-fragrance {
    padding: 1.5rem 1rem;
  }

  .fragrance-cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
    max-width: 400px;
  }
}

@media (max-width: 600px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding-top: 0.5rem;
  }

  .nav a {
    margin: 0.4rem 0.6rem;
  }

  .logo {
    margin-bottom: 0.5rem;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .primary {
    width: 100%;
  }

  .quote-section {
    padding: 1rem;
  }

  .quote-content, .quote-wrapper {
    padding: 1rem;
    flex: 1 1 100%;
  }

  .quote-image {
    max-height: 250px;
    border-radius: 10px;
  }

  .brand-hero-content h1,
  .recommendation-hero-content h1 {
    font-size: 2rem;
  }

  .brand-hero-content p,
  .recommendation-hero-content p {
    font-size: 1rem;
  }
}

