/*
File: swSiteStyles.css
Date: 2026-02-12
Author: klp
Workspace: SketchWaveTNT2026-02-12-Stg1
Purpose: Site styles for SketchWaveTNT2026-02-12-Stg1

*/

/*--------- google font styles ----------*/
.googleFont1{
    font-family: 'Oswald', sans-serif;
}

.googleFont2{
    font-family: 'Satisfy', cursive;
}

/*--------- body layout: sticky footer ----------*/
body{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/*--------- navbar styles ----------*/
img#mastheadIcon, nav img{
    width: 50px;
    height: auto;
    margin-right: 10px;
}

img#help{
    width: 40px;
    height: auto;
}

div#primaryContent{
    min-width: 250px;
    max-width: 900px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/*--------- footer styles ----------*/
footer{
    font-size: .8em;
}

footer div#footerContent{
    max-width: 500px;
    padding-bottom: 10px;
}

footer li a img{
    width: 50px;
    height: auto;
}

/*--- link styles ---*/
main a{
    text-decoration: none;
    color: #C18335;
    font-weight: bold;
}

main a:hover{
    text-decoration: underline;
    color: #a16d2a;
}

/* ========================================
   CARD STYLES
   ======================================== */

.card{
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.card:hover{
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.card-img-top{
    height: 180px;
    object-fit: cover;
    object-position: center 20%;
    background-color: #f8f9fa;
}

.card-title{
    color: #C18335;
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem; /* Size h2 elements like h5 */
}

/* ========================================
   BUTTON STYLES
   ======================================== */

.btn-custom{
    background-color: #C18335;
    border-color: #C18335;
    color: white;
}

.btn-custom:hover{
    background-color: #a16d2a;
    border-color: #a16d2a;
    color: white;
}

/* ========================================
   BADGE STYLES
   ======================================== */

.badge-custom{
    background-color: #C18335;
}




/*--------- hero section styles ----------*/
div#heroDiv{
    /* Multiple backgrounds: gradient overlay on top of tile pattern
       First background (gradient) is semi-transparent to reveal pattern beneath */
    background: 
        linear-gradient(135deg, rgba(193, 131, 53, 0.45) 0%, rgba(161, 109, 42, 0.45) 100%),
        url("../images/starCircleTilePattern.png");
    background-size: cover, 100px 100px; /* Cover for gradient, tile size for pattern */
    background-repeat: no-repeat, repeat; /* No repeat for gradient, repeat for tiles */
    padding: 3rem 0;
}

div#heroDiv p  { color: #fff; }
div#heroDiv h1 { color: #e6c974; text-shadow: #704d1f 2px 2px 4px; }

/* ── Hero info-icon button (used on every saga page) ─────────────────────── */
.hero-info-btn {
    background: transparent;
    border: none;
    box-shadow: none;
}
.hero-info-btn img {
    width: 28px;
    height: 28px;
    opacity: 0.95;
    vertical-align: middle;
    background-color: beige;
    border-radius: 50%;
}

/*--------- MEDIA QUERIES ----------*/
/* https://getbootstrap.com/docs/5.0/layout/breakpoints/ */
@media (max-width: 349px) {
    .navbar-brand {
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    div#primaryContent {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 992px) {
    div#heroDiv {
        background-position: center;
    }
}

/* Mobile/Tablet Optimization: Screens smaller than 770px
   Purpose: Ensure full card images are visible on smaller devices
   Changes: Switch from 'cover' to 'contain' to prevent cropping */
@media (max-width: 769px) {
    .card-img-top {
        object-fit: contain; /* Show entire image without cropping */
        object-position: center 20%;
        height: 180px;
        background-color: #f8f9fa;
    }
}