﻿/* ================================================================
   Amazing Things â€“ Project Specific Styles
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

/* --- Base overrides for AT project --- */
body {
    background-color: #F7F6F2;
    min-width: 320px;
    font-family: 'Inter', sans-serif;
    color: #1F3D2B;
}

/* --- Logo --- */
.at-logo {
    text-decoration: none;
    display: inline-flex;
    align-items: baseline;
    gap: 0;
    filter:
        drop-shadow(0 0 6px rgba(242, 201, 76, 0.55))
        drop-shadow(0 0 18px rgba(242, 201, 76, 0.25));
}
.at-logo:hover {
    text-decoration: none;
}
.at-amazing {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1.55rem;
    color: #378b58;
    letter-spacing: 0.01em;
    text-shadow:
        0 0 8px rgba(255, 251, 7, 0.721),
        0 0 20px rgba(241, 208, 107, 0.25);
}
.at-things {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.55rem;
    color: #1F3D2B;
    letter-spacing: 0.01em;
    text-shadow:
        0 0 8px rgba(242, 201, 76, 0.6),
        0 0 20px rgba(242, 201, 76, 0.25);
}

/* --- Navbar --- */
.at-navbar {
    background-color: #F7F6F2;
    border-bottom: 1px solid rgba(31, 61, 43, 0.12);
    padding: 0.65rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.at-navbar .nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.93rem;
    color: #1F3D2B;
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    transition: background-color 0.18s, color 0.18s;
}
.at-navbar .nav-link:hover,
.at-navbar .nav-link.active {
    background-color: #1F3D2B;
    color: #F7F6F2;
}
.at-navbar .navbar-toggler {
    border-color: rgba(31, 61, 43, 0.3);
}
.at-navbar .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='%231F3D2B' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --- Main content area --- */
.at-main {
    padding: 2.5rem 0 4rem;
    min-height: calc(100vh - 130px);
}


/* --- Cards --- */
.at-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 14px rgba(31, 61, 43, 0.08);
    border: 1px solid rgba(31, 61, 43, 0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.22s ease, transform 0.22s ease;
}
.at-card:hover {
    box-shadow: 0 6px 28px rgba(31, 61, 43, 0.16);
    transform: translateY(-3px);
}
.at-card-body {
    padding: 1.3rem 1.4rem 1rem;
    flex: 1;
}
.at-card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #1F3D2B;
    margin: 0 0 0.75rem 0;
    line-height: 1.35;
}
.at-card-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    color: #354a3c;
    line-height: 1.7;
    margin: 0;
}

/* --- Carousel within card --- */
.at-card-carousel .carousel-item img {
    width: 100%;
    height: auto;
    display: block;
}
.at-card-carousel .carousel-control-prev-icon,
.at-card-carousel .carousel-control-next-icon {
    background-color: rgba(31, 61, 43, 0.55);
    border-radius: 50%;
    padding: 1rem;
    background-size: 55%;
}
.at-card-carousel .carousel-indicators [data-bs-target] {
    background-color: #1F3D2B;
    opacity: 0.45;
}
.at-card-carousel .carousel-indicators .active {
    opacity: 1;
    background-color: #F2C94C;
}

/* --- Card footer --- */
.at-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 1.4rem;
    border-top: 1px solid rgba(31, 61, 43, 0.08);
    background-color: rgba(31, 61, 43, 0.025);
}
.at-card-date,
.at-card-author {
    font-family: 'Inter', sans-serif;
    font-size: 0.76rem;
    color: #2F5A3E;
    font-weight: 500;
}

/* --- Page footer --- */
.at-footer {
    text-align: center;
    padding: 1.4rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #2F5A3E;
    border-top: 1px solid rgba(31, 61, 43, 0.1);
    background-color: #F7F6F2;
}

