/* Base Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  /* Typography & Global Colors */
  body {
    font-family: 'Montserrat', sans-serif;
    background: radial-gradient(ellipse at top left, #fffaf5, #ffffff);
    color: #333;
    line-height: 1.6;
    padding: 0 1rem;
  }
  
  /* Header with Logo (Desktop only) */
  header {
    text-align: center;
    padding: 2rem 1rem 1.5rem;
    background: #ff6700;
    color: white;
    border-bottom: 5px solid #ffe4ec;
  }
  
  .logo {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
  }
  
  /* Hide header on mobile */
  .desktop-only {
    display: none;
  }
  
  @media (min-width: 768px) {
    .desktop-only {
      display: block;
    }
  }
  
  /* Region Navigation Grid */
  .region-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem auto;
    max-width: 500px;
  }
  
  @media (min-width: 600px) {
    .region-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  /* Region Buttons */
  .region-card {
    display: block;
    position: relative;
    overflow: hidden; /* Keep shine inside */
    background: linear-gradient(135deg, #ff7a00, #ff6a1f);
    color: white;
    text-align: center;
    padding: 1.5rem;
    font-size: 1.4rem;
    font-weight: bold;
    border: none;
    border-radius: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(255, 107, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
  }

  .region-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 15%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0.15) 100%);
  transform: skewX(-20deg);
  filter: blur(30px);
  opacity: 0;
}

.btn-link::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 15%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0.15) 100%);
    transform: skewX(-20deg);
    filter: blur(15px);
    opacity: 0;
  }

  body.loaded .region-card::after {
  animation: shineSweep 1s ease-out 1;
  opacity: 1;
}

  body.loaded .btn-link::after {
  animation: shineSweep 1s ease-out 1;
  opacity: 1;
}

@keyframes shineSweep {
    0% {
      left: -75%;
    }
    100% {
      left: 125%;
    }
  }
  
  .region-card:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 16px rgba(255, 107, 0, 0.35);
  }
  
  /* Footer */
  footer {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 4rem;
    padding: 2rem 1rem;
    color: #999;
    z-index: 2;
  }
  
  /* Subtitle (Outside header) */
  .page-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 2rem auto 1rem;
    color: #222;
  }

  .region-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    color: #444;
    display: block;
    margin-top: 0.3rem;
  }
  
  /* Florist Grid Layout */
  .florist-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    padding: 0 1rem;
  }
  
  @media (min-width: 768px) {
    .florist-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  /* Florist Card Styling */
  .florist-card {
    border-radius: 1.2rem;
    overflow: hidden;
    background: #fff;
    text-align: left;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease-out;
  }
  
  .florist-card.animate-in {
    opacity: 1;
    transform: translateY(0);
  }

  .florist-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  }
  
  .florist-card img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .florist-info {
    padding: 1rem;
  }
  
  .florist-info h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  
  .florist-info p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  /* Buttons */
  .btn-link {
    display: inline-block;
    padding: 0.7rem 1.2rem;
    background: linear-gradient(135deg, #ff7a00, #ff6a1f);
    color: white;
    border-radius: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(255, 107, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden; /* Keep shine inside */
  }
  
  .btn-link:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 14px rgba(255, 107, 0, 0.35);
  }
  
  /* Page Title with Back Button */
  .page-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    max-width: 1200px;
    margin: 1.5rem auto 1rem;
    padding: 0 1rem;
  }
  
  /* Back Button (Floating) */
  .back-button {
    position: fixed;
    bottom: 1.5rem;
    left: 1rem;
    z-index: 999;
    backdrop-filter: blur(8px);
    background: rgba(255, 107, 0, 0.9);
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  
  .back-button:hover {
    background-color: #e95f00;
    transform: scale(1.05);
  }
  
  .icon-back {
    width: 20px;
    height: 20px;
    fill: white;
  }
  
  .bg-deco {
    position: fixed;
    top: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at center, rgba(255, 107, 0, 0.2), transparent 70%);
    z-index: 0;
    pointer-events: none;
    filter: blur(40px);
    opacity: 0.6;

  }

  .deco-right {
    top: auto;
    left: auto;
    bottom: -150px;
    right: -150px;
    z-index: -3;
    filter: blur(40px);
    opacity: 0.6;
  }

  #loader {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #ff7a00, #ff4d00);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.4s ease;
  }
  
  .spinner-img {
    width: 80px;
    height: 80px;
    animation: spin 1.5s linear infinite;
  }
  
  @keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  .loader-content {
    text-align: center;
    color: white;
    font-family: 'Montserrat', sans-serif;
  }
  
  .loading-text {
    margin-top: 1rem;
    font-size: 1.1rem;
    animation: fadein 1.5s ease-in-out;
  }
  
  @keyframes fadein {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  @media (max-width: 767px) {
  footer {
    display: none;
  }
}