:root {
  --card-radius: 14px;
  --accent: #5a3ef6;
}

nav {
background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
color:white;
}

body {
  background: linear-gradient(180deg, #f8f9fb 0%, #ffffff 60%);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

.hero {
  background: linear-gradient(90deg, rgba(90,62,246,0.08), rgba(90,62,246,0.02));
  padding: 28px;
  border-radius: 12px;
}

.cafe-card {
  border-radius: var(--card-radius);
  box-shadow: 0 6px 20px rgba(30,30,80,0.06);
}

.card-img-top {
  height: 160px;
  object-fit: cover;
  border-top-left-radius: var(--card-radius);
  border-top-right-radius: var(--card-radius);
}

@media (max-width: 576px) {
  .card-img-top { height: 140px; }
}

.wifi-pill {
  font-size: 0.85rem;
}

.muted-small {
  font-size: 0.9rem;
  color: #6c757d;
}

.rating-small {
  font-size: 0.95rem;
}
.footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
    padding: 4rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.footer-text {
    color: #9ca3af;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form .form-control {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

.newsletter-form .form-control::placeholder {
    color: #9ca3af;
}

.newsletter-form .form-control:focus {
    background: rgba(255,255,255,0.15);
    border-color: var(--primary-color);
    color: white;
}

.btn-subscribe {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-subscribe:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.footer-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 2rem 0 1.5rem;
}

.footer-copyright {
    color: #9ca3af;
    font-size: 0.9rem;
    margin: 0;
}

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-color);
}

/* Mobile responsive styles for footer */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
    }
}


.gradient-custom {
/* fallback for old browsers */
background: #6a11cb;

/* Chrome 10-25, Safari 5.1-6 */
background: -webkit-linear-gradient(to right, rgba(106, 17, 203, 1), rgba(37, 117, 252, 1));

/* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
background: linear-gradient(to right, rgba(106, 17, 203, 1), rgba(37, 117, 252, 1))
}

  /* Subtle hover animations */
  .hover-scale {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .hover-scale:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }

  .hover-bright:hover {
    background-color: rgba(255,255,255,0.15);
    color: #fff !important;
  }

  /* Improve navbar icon contrast */
  .navbar-dark .navbar-toggler-icon {
    filter: invert(1);
  }

  /* Café Card Base */

    .add-card {
    transition: all 0.25s ease-in-out;
    border-radius: 0.75rem;
    overflow: hidden;
  }

  /* Hover effect */
  .add-card:hover {
    transform: translateY(-5px);
    border: 2px solid #0d6efd; /* Bootstrap primary blue */
    box-shadow: 0 6px 16px rgba(13, 110, 253, 0.25);
  }
  .cafe-card {
    border: 1px solid #dee2e6;
    border-radius: 0.75rem;
    transition: all 0.25s ease-in-out;
    overflow: hidden;
  }

  /* Hover effect (no height change) */
  .cafe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 0 2px #0d6efd inset, 0 6px 16px rgba(13, 110, 253, 0.25);
  }

  /* Dashed border for Add Café */
  .border-dashed {
    border-style: dashed !important;
  }

  a .cafe-card.border-dashed:hover {
    background-color: #f8f9fa;
  }

  /* Café Images */
  .cafe-card img {
    height: 180px;
    object-fit: cover;
    width: 100%;
    border-radius: 0.5rem;
  }

  /* Badges */
  .wifi-pill {
    border-radius: 20px;
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
  }

  /* Muted Text */
  .muted-small {
    color: #6c757d;
    font-size: 0.9rem;
  }
