/*
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;
}

/*--------- 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;
}

/*--------- 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;
    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;
}

.badge-extended{
    background-color: #7c3aed;
}




/*--------- 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#heroText{
    color: #fff;
}

div#heroText h1{
    color: #e6c974;
    text-shadow: #704d1f 2px 2px 4px;
}

/*--------- MEDIA QUERIES ----------*/
/*showing the BS5 breakpoints: https://getbootstrap.com/docs/5.0/layout/breakpoints/*/
@media (max-width: 349px) {
    nav {
        border-bottom: 4px darkgray solid;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    nav {
        border-bottom: 4px gray solid;
    }
}

@media (min-width: 577px) {
    /*400px or less*/
    nav {
        border-bottom: 4px red solid;
    }
}

@media (min-width: 768px) {
    nav {
        border-bottom: 4px orange solid;
    }
    /*eureka!*/
    /*worked well here, canvas did not resize when in reg rule*/
    div#primaryContent{
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 992px) {
    nav {
        border-bottom: 4px yellow solid;
    }

    div#heroDiv{
        background-position: center;
    }

    div#jumbotron2{
        background-position: 0px -150px;
    }
}

/*begin to show inline navigation and remove burger menu icon*/
@media (min-width: 1200px) {
    nav {
        border-bottom: 4px green solid;
    }
}

@media (min-width: 1400px) {
    nav {
        border-bottom: 4px blue solid;
    }
    div#jumbotron2{
        background-position: 0px -200px;
    }
}

/* 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 */
        height: 180px;
        background-color: #f8f9fa;
    }
}