/* Custom Typography for Argon Design System */

/* Import Google Fonts - You can change these to your preferred fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* Base Typography */
body {
    font-family: 'Inter', 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Poppins', 'Open Sans', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1, .h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2, .h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3, .h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

h4, .h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

h5, .h5 {
    font-size: 1.25rem;
    font-weight: 600;
}

h6, .h6 {
    font-size: 1rem;
    font-weight: 600;
}

/* Display Headings */
.display-1, .display-2, .display-3, .display-4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.display-1 {
    font-size: 4rem;
}

.display-2 {
    font-size: 3.5rem;
}

.display-3 {
    font-size: 3rem;
}

.display-4 {
    font-size: 2.5rem;
}

/* Paragraphs */
p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
}

/* Links */
a {
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: 0.025em;
    text-transform: none;
    border-radius: 12px !important; /* Softer, more rounded */
}

.btn-sm {
    border-radius: 10px !important;
}

.btn-lg {
    border-radius: 14px !important;
}

/* Navigation */
.navbar {
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

/* Transparent navbar by default */
.navbar-transparent {
    background: transparent !important;
    box-shadow: none;
}

/* White navbar on scroll */
.navbar-scrolled {
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Change text color on scroll */
.navbar-scrolled .navbar-brand,
.navbar-scrolled .nav-link {
    color: #333 !important;
}

.navbar-scrolled .nav-link:hover {
    color: #5e72e4 !important;
}

.navbar .nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

/* Cards */
.card {
    border-radius: 16px !important; /* Softer, more rounded */
    overflow: hidden;
}

.card-img-top {
    border-radius: 0 !important; /* Remove radius since card handles it */
}

.card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
}

.card-text {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Badges */
.badge {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: 0.03em;
    border-radius: 8px !important; /* Softer rounded badges */
}

.badge-pill {
    border-radius: 50px !important; /* Keep pills fully rounded */
}

/* Form Elements */
.form-control {
    border-radius: 10px !important;
}

.form-control-lg {
    border-radius: 12px !important;
}

/* Input Groups */
.input-group .form-control:first-child {
    border-top-left-radius: 10px !important;
    border-bottom-left-radius: 10px !important;
}

.input-group .form-control:last-child {
    border-top-right-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
}

/* Modals */
.modal-content {
    border-radius: 16px !important;
}

/* Dropdowns */
.dropdown-menu {
    border-radius: 12px !important;
}

/* Alerts */
.alert {
    border-radius: 12px !important;
}

/* Images */
img.rounded {
    border-radius: 12px !important;
}

img.rounded-circle {
    border-radius: 50% !important;
}

/* Small Text */
small, .small {
    font-size: 0.875rem;
}

/* Text Utilities */
.text-uppercase {
    letter-spacing: 0.05em;
}

.text-muted {
    color: #6c757d !important;
}

/* Footer */
.footer {
    font-size: 0.9rem;
}

.footer h5, .footer h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1, .h1 {
        font-size: 2rem;
    }
    
    h2, .h2 {
        font-size: 1.75rem;
    }
    
    h3, .h3 {
        font-size: 1.5rem;
    }
    
    .display-1 {
        font-size: 3rem;
    }
    
    .display-2 {
        font-size: 2.5rem;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 1.75rem;
    }
}

/* Custom Font Weights */
.font-weight-light {
    font-weight: 300 !important;
}

.font-weight-normal {
    font-weight: 400 !important;
}

.font-weight-medium {
    font-weight: 500 !important;
}

.font-weight-semibold {
    font-weight: 600 !important;
}

.font-weight-bold {
    font-weight: 700 !important;
}

.font-weight-extrabold {
    font-weight: 800 !important;
}
