@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap');

html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', sans-serif;
}

/* --- MODIFICATION STARTS HERE --- */
/* Apply dynamic font sizing to the body on smaller screens */
@media (max-width: 768px) {
    body {
        /* clamp(MIN, PREFERRED, MAX) */
        /* Font will be at least 14px, at most 18px, and try to be 3.5% of the viewport width */
        font-size: clamp(14px, 3.5vw, 18px);
    }
    /* Adjust heading sizes on mobile for better readability */
    h1, h2, h3 {
        word-wrap: break-word; /* Prevent long words from overflowing */
    }
}
/* --- MODIFICATION ENDS HERE --- */

/* Custom scrollbar for better aesthetics on desktop */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background-color: #94a3b8;
    border-radius: 9999px;
    border: 3px solid #f1f5f9;
}

/* Style for navigation buttons */
.btn-nav {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.1);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition-property: background-color, box-shadow;
    transition-duration: 300ms;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.btn-nav:hover {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.scroll-target {
    scroll-margin-top: 15rem; /* Adjust this value to control scroll position */
}

@media (min-width: 1024px) { /* Changed from 640px to 1024px for better responsive break */
    .btn-nav {
        font-size: 0.875rem;
    }
    .star-rating .star {
        font-size: 1.2em; /* Adjust star size if needed */
        line-height: 1;
        margin-right: 1px;
    }
    .star-gold { color: #f59e0b; } /* Amber-500 from Tailwind */
    .star-red { color: #ef4444; } /* Red-500 from Tailwind */
    .star-silver { color: #9ca3af; } /* Gray-400 from Tailwind */
}

