

/* Global reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* header styles */
header {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 5px;
    padding-left: 50px;
    border-bottom: 1.2px solid #727272;
    box-shadow: #333 0px 1px 5px;
    position: sticky;
    top: 0;
    z-index: 1030;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}




.logo {
    width: 80px;
    height: auto;
    
}


/* Navbar styles */
.navbar {
    padding: 5px 50px 
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand img {
    width: 80px;
    height: auto;
}



.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}



.nav-link:hover {
    color: #559ac5 !important;
}


.nav-style {
    font-family: 'jakarta', sans-serif;
    font-size: 16px;
    color: #010101 !important;
    transition: color 0.3s ease;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.site-title {
    font-size: 24px;
    font-family: fraunces;
    color: #1a1a19;
    white-space: nowrap;
}

.nav-link {
    color: rgb(31, 31, 31) !important;
    padding: 8px 12px;
    border-radius: 20px;
}

.nav-link:hover {
    color: #559ac5 !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(31, 31, 31, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}



/*main page styles */

#main-home {
    background: linear-gradient(135deg, #ebf8fe, #f2ead9, #f1f9f4);
    height: 100%;
}

h1 {
    margin: 0;
    font-family: 'Fraunces', serif;
}

h2, h3 {
    font-family: 'Fraunces', serif;
}


html,
body {
    height: 100%;
    font-family: 'jakarta', sans-serif;
    text-align: left;
}
body {
    font-family: jakarta, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f0f2f5;
    text-align: left;
}
.hero-title {
    font-family: 'Fraunces', serif;
    font-size: 86px;
    color: #333;
    text-align: left;
}
.accent-word {
    background: linear-gradient(to right, #559ac5, #d9c171);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}



main {
    flex: 1;
}

.main-btn {
    font-family: 'jakarta', sans-serif;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 40px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    background-color: #f1e4b0;
    border-color: #010101;
    border-width: 1.5px;
    color: #1a1a19;
}

.main-btn:hover {
    transition: background-color 0.3s ease, transform 0.2s ease;
    background-color: #559ac5;
    border-color: #010101;
}

.scnd-btn {
    font-family: 'jakarta', sans-serif;
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 40px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    background-color: transparent;
    border-color: #010101;
    border-width: 1.5px;
    color: #010101;
}

.scnd-btn:hover {
    transition: background-color 0.3s ease, transform 0.2s ease;
    background-color: rgba(210, 214, 219, 0.696);
    border-color: #010101;
    color: #010101;
}

/* card styling */
.card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
}

.card img,
.card-img-top {
    height: 250px;
    object-fit: cover;
    width: 100%;
    display: block;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), transparent);
    color: white;
    padding: 20px;
    z-index: 10;
}

.card-overlay .card-title {
    color: white;
    margin-bottom: 5px;
}

.card-location {
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-size: 14px;
}

.badge-circle {
    border-radius: 20px;
    border-color: #010101;
    color: rgb(35, 35, 35);
    background-color: #add4da;
    padding: 0.5em 0.9em;
    font-size: 0.75em;
    display: inline-block;
    min-width: 2.5em;
    text-align: center;
}

/* Walk list pagination */
.walk-pagination {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.walk-pagination__info {
    text-align: center;
    font-family: 'Fraunces', serif;
    color: #1a1a19;
    letter-spacing: 0.4px;
}

.walk-pagination .pagination {
    gap: 8px;
    margin: 0;
}

.walk-pagination .page-link {
    border: 1px solid #cfe0e5;
    border-radius: 14px;
    padding: 0.5rem 0.85rem;
    color: #1a1a19;
    background: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.walk-pagination .page-link:hover {
    background-color: #559ac5;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(85, 154, 197, 0.35);
}

.walk-pagination .page-item.active .page-link {
    background-color: #add4da;
    border-color: #add4da;
    color: #1a1a19;
    box-shadow: 0 6px 14px rgba(173, 212, 218, 0.5);
}

.walk-pagination .page-item.disabled .page-link {
    color: #8b9095;
    background: #f3f4f6;
    border-color: #e3e6ea;
    cursor: not-allowed;
    box-shadow: none;
}

/* Walk list sort dropdown */
.walk-sort {
    font-family: 'jakarta', sans-serif;
}

.walk-sort label {
    white-space: nowrap;
}

.walk-sort__select {
    min-width: 220px;
    border-radius: 16px;
    border: 1px solid #cfe0e5;
    padding: 0.5rem 0.85rem;
    background-color: #ffffff;
    color: #1a1a19;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.walk-sort__select:focus {
    border-color: #559ac5;
    box-shadow: 0 0 0 0.2rem rgba(85, 154, 197, 0.25);
}
/* Map styling */
 #walk-map {
        height: 500px;
        border-radius: 20px;
        margin: 2rem 0;
        box-shadow: 0 10px 30px rgba(17, 24, 39, 0.1);
    }


/* Weather Widget Styling */
.weather-info {
    text-align: center;
}

.weather-temp {
    font-size: 3rem;
    font-weight: 600;
    color: #1a1a19;
    font-family: 'Fraunces', serif;
}

.weather-icon {
    font-size: 6rem;
    margin: 1rem 0;
}

.weather-description {
    font-size: 1.2rem;
    color: #6c757d;
    text-transform: capitalize;
    margin-bottom: 1rem;
}

.weather-details {
    display: flex;
    justify-content: space-around;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #dee2e6;
}

.weather-detail-item {
    text-align: center;
}

.weather-detail-label {
    font-size: 0.875rem;
    color: #6c757d;
    display: block;
}

.weather-detail-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a19;
    display: block;
    margin-top: 0.25rem;
}

/* Authentication Pages Styling */
.auth-card {
    border-radius: 30px;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: white;
}

.auth-card-body {
    padding: 3rem;
}

.auth-field-group {
    margin-bottom: 1.5rem;
}

.auth-label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'jakarta', sans-serif;
    font-weight: 500;
    color: #1a1a19;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1.5px solid #010101;
    border-radius: 20px;
    font-family: 'jakarta', sans-serif;
    font-size: 16px;
}

.auth-form input[type="text"]:focus,
.auth-form input[type="email"]:focus,
.auth-form input[type="password"]:focus {
    outline: none;
    border-color: #559ac5;
    box-shadow: 0 0 0 3px rgba(85, 154, 197, 0.1);
}

.auth-form input[type="checkbox"] {
    margin-right: 8px;
    width: auto;
}

.auth-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.auth-help-text {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.auth-link {
    color: #559ac5;
    text-decoration: none;
}

.auth-link:hover {
    text-decoration: underline;
}

.auth-link-small {
    color: #559ac5;
    text-decoration: none;
    font-size: 0.875rem;
}

.auth-link-small:hover {
    text-decoration: underline;
}

/* Favorite button styling */
.fav-btn {
    font-family: 'jakarta', sans-serif;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 40px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    background-color: transparent;
    border: 1.5px solid #010101;
    color: #010101;
    cursor: pointer;
}

.fav-btn:hover {
    background-color: #f1e4b0;
    transform: translateY(-2px);
}

.fav-btn-active {
    background-color: #559ac5;
    color: white;
    border-color: #559ac5;
}

.fav-btn-active:hover {
    background-color: #4589b4;
}


/* Ensure footer is pushed to the bottom in the column flex layout */
footer {
    padding-top: 50px;
    margin-top: auto;
    background-color: rgba(247, 254, 255, 0.1);
    border-top: 1.2px solid #727272;
    font-family:fraunces ;
}



@media (max-width: 991px) {
    .navbar {
        padding: 5px 20px 
    }

    .hero-title {
        font-size: 48px;
    }

    .logo-top {
        padding-left: 0px;
    }

    header {
        padding-left: 2px;
    }

    
}