/*
==========================================================
HISTORIA Virtual Museum
Public Visitor Styles
==========================================================
*/

:root{

    --museum-primary:#1b4332;
    --museum-secondary:#2d6a4f;
    --museum-accent:#d4a017;
    --museum-light:#f8f9fa;
    --museum-dark:#212529;

    --border-radius:18px;

    --transition:.3s ease;
}

/* =======================================================
   General
======================================================= */

body{

    font-family:'Inter',sans-serif;

    background:#f7f7f7;

    color:#333;

    line-height:1.7;

}

h1,
h2,
h3,
h4,
h5{

    font-family:'Cinzel',serif;

    font-weight:600;

}

/* =======================================================
   Navigation
======================================================= */

.navbar{

    background:var(--museum-primary)!important;

}

.navbar-brand{

    font-size:1.6rem;

    letter-spacing:1px;

}

.nav-link{

    transition:var(--transition);

}

.nav-link:hover{

    color:var(--museum-accent)!important;

}

/* =======================================================
   Hero
======================================================= */

.hero{

    min-height:75vh;

    display:flex;

    align-items:center;

    background:

        linear-gradient(
            rgba(0,0,0,.65),
            rgba(0,0,0,.65)
        ),

        url("../images/museum-hero.jpg");

    background-size:cover;

    background-position:center;

    color:white;

}

.hero h1{

    font-size:4rem;

}

.hero p{

    font-size:1.2rem;

}

/* =======================================================
   Cards
======================================================= */

.card{

    border:none;

    border-radius:var(--border-radius);

    overflow:hidden;

    transition:var(--transition);

}

.card:hover{

    transform:translateY(-8px);

    box-shadow:0 15px 35px rgba(0,0,0,.15);

}

.card img{

    height:240px;

    object-fit:cover;

}

/* =======================================================
   Buttons
======================================================= */

.btn-warning{

    background:var(--museum-accent);

    border:none;

}

.btn-warning:hover{

    opacity:.9;

}

/* =======================================================
   Statistics
======================================================= */

.stats-card{

    text-align:center;

    padding:30px;

    background:white;

    border-radius:var(--border-radius);

    box-shadow:0 4px 12px rgba(0,0,0,.08);

}

.stats-card h2{

    color:var(--museum-secondary);

}

/* =======================================================
   Footer
======================================================= */

footer{

    background:var(--museum-primary)!important;

}

footer a{

    color:white;

}

footer a:hover{

    color:var(--museum-accent);

}

/* =======================================================
   Images
======================================================= */

.object-cover{

    object-fit:cover;

}

.rounded-xl{

    border-radius:20px;

}

/* =======================================================
   Responsive
======================================================= */

@media(max-width:992px){

.hero h1{

    font-size:2.8rem;

}

}

@media(max-width:768px){

.hero{

    min-height:60vh;

}

.hero h1{

    font-size:2.2rem;

}

}
/* =======================================================
   Hero Carousel
======================================================= */

.hero-carousel-image{

    height:520px;

    object-fit:cover;

}

#heroCarousel{

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 20px 40px rgba(0,0,0,.35);

}

@media(max-width:992px){

.hero-carousel-image{

    height:350px;

}

}
/* =======================================================
   Hero Carousel
======================================================= */

.hero-carousel-image{

    height:520px;

    object-fit:cover;

}

#heroCarousel{

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 20px 40px rgba(0,0,0,.35);

}

@media(max-width:992px){

.hero-carousel-image{

    height:350px;

}

}
/* =======================================================
   Museum News Ticker
======================================================= */

.museum-news{

    display:flex;

    align-items:center;

    background:#1b4332;

    color:#fff;

    overflow:hidden;

    height:55px;

}

.ticker-label{

    background:#d4a017;

    color:#000;

    font-weight:bold;

    padding:0 25px;

    height:55px;

    display:flex;

    align-items:center;

    white-space:nowrap;

}

.ticker-wrapper{

    overflow:hidden;

    width:100%;

}

.ticker-content{

    display:inline-block;

    white-space:nowrap;

    padding-left:100%;

    animation:ticker-scroll 35s linear infinite;

    font-weight:500;

}

@keyframes ticker-scroll{

    from{

        transform:translateX(0);

    }

    to{

        transform:translateX(-100%);

    }

}