﻿/* Typography & base */
body {
    font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #f9fafc;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

/* Navbar */
.navbar-brand {
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}

.nav-link {
    font-weight: 500;
}

    .nav-link:hover {
        color: #ffdd57 !important;
    }

/* Cards */
.card {
    border: 1px solid #e0e0e0 !important; /* stronger border */
    border-radius: 0.75rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

    .card:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    }

/* Buttons */
.btn {
    border-radius: 0.5rem;
    font-weight: 500;
}

    .btn i {
        margin-right: 4px;
    }

/* Slightly less rounded custom buttons */
.custom-btn {
    border-radius: 0.3rem !important;
}

/* Footer */
footer {
    font-size: 0.9rem;
}

/* Utility */
.shadow-sm {
    box-shadow: 0 2px 6px rgba(0,0,0,0.08) !important;
}

/* Trip cards */
.trip-card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

    .trip-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    }

    /* Cover photo */
    .trip-card img.cover-photo {
        height: 160px;
        object-fit: cover;
        width: 100%;
        display: block;
    }

    /* Fallback when image fails */
    .trip-card .cover-photo.fallback {
        background: #eaeaea url('/Images/trip-placeholder.png') center/cover no-repeat;
        height: 160px;
        width: 100%;
    }

/* Trip card banner if no photo */
.trip-card-banner {
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #0a3d62, #1e5799);
    color: white;
    height: 160px;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

/* Delete button floating */
.trip-card .delete-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 2;
}

    .trip-card .delete-btn:hover {
        color: #ff6b6b; /* red hover */
    }

/* Section header (used on Trips + Details) */
.section-header {
    background: linear-gradient(135deg, #0a3d62, #1e5799);
    color: white;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

/* Card section header (used for sidebars, small card blocks) */
.card-section-header {
    background: linear-gradient(135deg, #0a3d62, #1e5799);
    color: white;
    padding: 0.75rem 1rem;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}


/* Date overlay on entry cover */
.date-overlay {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: rgba(0,0,0,0.65);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}


.page-header-banner {
    background: linear-gradient(135deg, #0a3d62, #1e5799);
    color: #fff;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem; /* ✅ round all corners */
    margin-bottom: 1.5rem; /* ✅ spacing below header */
}

    .page-header-banner i {
        vertical-align: middle;
    }


/* Make sure cover image follows the card radius */
.entry-card img.entry-cover {
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
    border-bottom: 1px solid #e0e0e0;
}

