/* =======================================================
   CULTURAL EXCHANGES®
   CEPS™ VERSION 1.0
   provenance.css
======================================================= */


/* ===========================
   GOOGLE FONTS
=========================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');


/* ===========================
   ROOT VARIABLES
=========================== */

:root{

    --primary:#111111;
    --secondary:#555555;
    --light:#fafafa;
    --white:#ffffff;
    --gold:#B08D57;
    --border:#e4e4e4;
    --shadow:0 12px 35px rgba(0,0,0,.08);

    --radius:12px;

    --transition:.35s ease;

    --max-width:1280px;

}


/* ===========================
   RESET
=========================== */

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Inter',sans-serif;

    color:var(--primary);

    background:var(--light);

    line-height:1.7;

    overflow-x:hidden;

}


/* ===========================
   TYPOGRAPHY
=========================== */

h1,
h2,
h3,
h4{

    font-family:'Cormorant Garamond',serif;

    font-weight:600;

    letter-spacing:.3px;

    color:var(--primary);

}

h1{

    font-size:2.3rem;

}

h2{

    font-size:3rem;

    margin-bottom:20px;

}

h3{

    font-size:1.7rem;

    margin-bottom:15px;

}

p{

    color:var(--secondary);

    margin-bottom:20px;

}

a{

    text-decoration:none;

    color:inherit;

}

img{

    max-width:100%;

    display:block;

}


/* ===========================
   LAYOUT
=========================== */

.container{

    width:92%;

    max-width:var(--max-width);

    margin:auto;

}

.section{

    padding:90px 0;

}

.section.light{

    background:white;

}

.section-title{

    text-align:center;

    max-width:850px;

    margin:auto auto 60px;

}

.section-title p{

    font-size:1.05rem;

}


/* ===========================
   ANNOUNCEMENT BAR
=========================== */

.announcement-bar{

    background:#111;

    color:white;

    text-align:center;

    padding:10px;

    font-size:.85rem;

    letter-spacing:.8px;

}


/* ===========================
   HEADER
=========================== */

header{

    background:white;

    position:relative;

    z-index:999;

    box-shadow:0 2px 15px rgba(0,0,0,.04);

}

/* The full institutional header scrolls away. Only the navigation
   becomes a compact fixed bar after the visitor starts scrolling. */
header.sticky{

    box-shadow:none;

}

.desktop-nav.ceps-fixed-nav{

    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index:10000;
    background:rgba(255,255,255,.98);
    box-shadow:0 6px 22px rgba(0,0,0,.10);
    border-top:0;

}

.desktop-nav.ceps-fixed-nav ul{

    padding:8px 0;
    gap:22px;

}

.desktop-nav.ceps-fixed-nav ul li a{

    font-size:.78rem;
    letter-spacing:.4px;

}

.desktop-nav.ceps-fixed-nav ul li a::after{

    bottom:-5px;
    height:1px;

}


.top-bar{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:22px 0;

}


.branding{

    display:flex;

    align-items:center;

    gap:18px;

}

.branding img{

    width:72px;

}

.subtitle{

    font-size:1rem;

    color:var(--gold);

    margin-top:5px;

}

.institution{

    font-size:.88rem;

    color:#777;

    margin-top:6px;

}


/* ===========================
   BUTTONS
=========================== */

.header-buttons{

    display:flex;

    gap:15px;

    align-items:center;

}

.btn-primary{

    display:inline-block;

    background:var(--primary);

    color:white;

    padding:14px 28px;

    border-radius:40px;

    transition:var(--transition);

    border:2px solid var(--primary);

    font-weight:600;

}

.btn-primary:hover{

    background:var(--gold);

    border-color:var(--gold);

    transform:translateY(-3px);

}

.btn-outline{

    display:inline-block;

    border:2px solid var(--primary);

    color:var(--primary);

    padding:14px 28px;

    border-radius:40px;

    transition:var(--transition);

    font-weight:600;

}

.btn-outline:hover{

    background:var(--primary);

    color:white;

}


/* ===========================
   MENU BUTTON
=========================== */

.menu-toggle{

    display:none;

    background:none;

    border:none;

    font-size:2rem;

    cursor:pointer;

}
/* ===========================
   DESKTOP NAVIGATION
=========================== */

.desktop-nav{

    border-top:1px solid var(--border);
    border-bottom:1px solid var(--border);

}

.desktop-nav ul{

    list-style:none;

    display:flex;

    justify-content:center;

    align-items:center;

    flex-wrap:nowrap;

    gap:26px;

    padding:18px 0;

}

.desktop-nav ul li{

    flex:0 0 auto;

}

.desktop-nav ul li a{

    display:block;

    white-space:nowrap;

    font-size:.86rem;

    font-weight:600;

    letter-spacing:.45px;

    text-transform:uppercase;

    transition:var(--transition);

    position:relative;

}

.desktop-nav ul li a:hover{

    color:var(--gold);

}

.desktop-nav ul li a.active{

    color:var(--gold);

}

.desktop-nav ul li a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--gold);

    transition:.35s;

}

.desktop-nav ul li a:hover::after,

.desktop-nav ul li a.active::after{

    width:100%;

}



/* ===========================
   MOBILE NAVIGATION
=========================== */

.mobile-nav{

    display:none;

    background:white;

    border-top:1px solid var(--border);

}

.mobile-nav.open{

    display:block;

    animation:fadeMenu .35s ease;

}

.mobile-nav ul{

    list-style:none;

}

.mobile-nav li{

    border-bottom:1px solid #ececec;

}

.mobile-nav li:last-child{

    border-bottom:none;

}

.mobile-nav a{

    display:block;

    padding:18px 25px;

    font-weight:600;

    transition:.3s;

}

.mobile-nav a:hover{

    background:#f5f5f5;

    color:var(--gold);

}

@keyframes fadeMenu{

    from{

        opacity:0;

        transform:translateY(-15px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}



/* ===========================
   HERO
=========================== */

.hero{

    position:relative;

    min-height:82vh;

    display:flex;

    align-items:center;

    background:url("../images/hero.jpg") center center/cover no-repeat;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.60);

}

.hero-content{

    position:relative;

    z-index:2;

    max-width:760px;

    color:white;

}

.eyebrow{

    color:var(--gold);

    text-transform:uppercase;

    letter-spacing:3px;

    font-size:.9rem;

    margin-bottom:25px;

}

.hero h2{

    color:white;

    font-size:4.3rem;

    line-height:1.05;

    margin-bottom:30px;

}

.hero p{

    color:#efefef;

    font-size:1.18rem;

    max-width:650px;

    margin-bottom:40px;

}

.hero-buttons{

    display:flex;

    flex-wrap:wrap;

    gap:20px;

}

.hero .btn-outline{

    border-color:white;

    color:white;

}

.hero .btn-outline:hover{

    background:white;

    color:#111;

}



/* ===========================
   GRID
=========================== */

.grid{

    display:grid;

    gap:30px;

}

.three-columns{

    grid-template-columns:repeat(3,1fr);

}

.four-columns{

    grid-template-columns:repeat(4,1fr);

}



/* ===========================
   CARDS
=========================== */

.card{

    background:white;

    padding:40px;

    border-radius:var(--radius);

    border:1px solid var(--border);

    transition:var(--transition);

    box-shadow:0 2px 8px rgba(0,0,0,.03);

}

.card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow);

}

.card h3{

    margin-bottom:18px;

}

.card p{

    margin-bottom:20px;

}

.icon{

    font-size:2.7rem;

    margin-bottom:20px;

}

.text-link{

    color:var(--gold);

    font-weight:700;

}



/* ===========================
   ARTWORK CARDS
=========================== */

.artwork-card{

    text-align:center;

}

.artwork-card img{

    width:100%;

    aspect-ratio:1/1;

    object-fit:cover;

    border-radius:10px;

    margin-bottom:25px;

}

.artwork-card h3{

    margin-bottom:8px;

}

.status{

    display:inline-block;

    margin-top:10px;

    padding:7px 14px;

    border-radius:30px;

    font-size:.85rem;

    font-weight:600;

}

.status.collected{

    background:#edf8ee;

    color:#2f7a3c;

}

.status.available{

    background:#eef4ff;

    color:#2455a6;

}

.status.installed{

    background:#fff5e3;

    color:#8d6300;

}
/* ===========================
   FRAMEWORK
=========================== */

.framework{

    display:flex;

    justify-content:center;

    align-items:flex-start;

    gap:20px;

    flex-wrap:wrap;

    margin-top:40px;

}

.framework-item{

    flex:1;

    min-width:180px;

    max-width:220px;

    text-align:center;

}

.circle{

    width:72px;

    height:72px;

    margin:0 auto 20px;

    border-radius:50%;

    background:var(--primary);

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:1.5rem;

    font-weight:700;

    transition:var(--transition);

}

.framework-item:hover .circle{

    background:var(--gold);

    transform:scale(1.08);

}

.arrow{

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:2rem;

    color:var(--gold);

    font-weight:300;

}



/* ===========================
   SEARCH SECTION
=========================== */

.search-section{

    background:#111;

    color:white;

}

.search-section h2{

    color:white;

}

.search-section p{

    color:#d8d8d8;

}

.search-box{

    max-width:900px;

    margin:40px auto 0;

}

.search-box form{

    display:flex;

    gap:15px;

}

.search-box input{

    flex:1;

    padding:18px 22px;

    border-radius:50px;

    border:none;

    font-size:1rem;

    outline:none;

}

.search-box button{

    white-space:nowrap;

}



/* ===========================
   STATISTICS
=========================== */

.statistics{

    background:white;

}

.stat-card{

    text-align:center;

}

.stat-card h3{

    font-size:3.3rem;

    color:var(--gold);

    margin-bottom:10px;

}

.stat-card p{

    text-transform:uppercase;

    letter-spacing:1px;

    font-size:.9rem;

}



/* ===========================
   CTA
=========================== */

.cta-section{

    background:#111;

    color:white;

    text-align:center;

}

.cta-section h2{

    color:white;

}

.cta-section p{

    color:#d8d8d8;

    max-width:700px;

    margin:20px auto 40px;

}



/* ===========================
   FOOTER
=========================== */

footer{

    background:#181818;

    color:#bfbfbf;

    padding:80px 0 35px;

}

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1fr;

    gap:50px;

}

footer h3{

    color:white;

    margin-bottom:22px;

}

footer p{

    color:#c8c8c8;

}

footer ul{

    list-style:none;

}

footer li{

    margin-bottom:12px;

}

footer a{

    color:#c8c8c8;

    transition:.3s;

}

footer a:hover{

    color:var(--gold);

}

footer hr{

    border:none;

    border-top:1px solid #333;

    margin:50px 0 25px;

}

.footer-bottom{

    text-align:center;

}

.footer-bottom p{

    margin:8px 0;

}



/* ===========================
   UTILITIES
=========================== */

.center{

    text-align:center;

}

.mt-20{

    margin-top:20px;

}

.mt-40{

    margin-top:40px;

}

.mt-60{

    margin-top:60px;

}

.mb-20{

    margin-bottom:20px;

}

.mb-40{

    margin-bottom:40px;

}

.mb-60{

    margin-bottom:60px;

}



/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:1100px){

.hero h2{

font-size:3.5rem;

}

.four-columns{

grid-template-columns:repeat(2,1fr);

}

.three-columns{

grid-template-columns:repeat(2,1fr);

}

.footer-grid{

grid-template-columns:repeat(2,1fr);

}

.framework{

flex-direction:column;

align-items:center;

}

.arrow{

transform:rotate(90deg);

}

}



@media(max-width:768px){

.desktop-nav{

display:none;

}

.menu-toggle{

display:block;

}

.header-buttons{

display:none;

}

.top-bar{

padding:18px 0;

}

.branding{

align-items:flex-start;

}

.branding img{

width:56px;

}

h1{

font-size:1.7rem;

}

.hero{

min-height:70vh;

text-align:center;

}

.hero h2{

font-size:2.6rem;

}

.hero p{

font-size:1rem;

}

.hero-buttons{

justify-content:center;

}

.search-box form{

flex-direction:column;

}

.search-box button{

width:100%;

}

.four-columns,

.three-columns{

grid-template-columns:1fr;

}

.footer-grid{

grid-template-columns:1fr;

gap:35px;

}

.section{

padding:70px 0;

}

.card{

padding:30px;

}

}



@media(max-width:480px){

.container{

width:94%;

}

.hero h2{

font-size:2.2rem;

}

h2{

font-size:2.1rem;

}

.btn-primary,

.btn-outline{

display:block;

width:100%;

text-align:center;

}

.hero-buttons{

flex-direction:column;

}

.branding{

gap:12px;

}

.subtitle{

font-size:.9rem;

}

.institution{

font-size:.8rem;

}

.announcement-bar{

font-size:.75rem;

padding:8px;

}

}
.hidden{

opacity:0;

transform:translateY(40px);

transition:.8s ease;

}

.visible{

opacity:1;

transform:translateY(0);

}

.back-to-top{

position:fixed;

right:25px;

bottom:25px;

width:52px;

height:52px;

border:none;

border-radius:50%;

background:#111;

color:white;

font-size:22px;

cursor:pointer;

opacity:0;

visibility:hidden;

transition:.35s;

z-index:9999;

box-shadow:0 8px 20px rgba(0,0,0,.25);

}

.back-to-top:hover{

background:#B08D57;

}

.back-to-top.show{

opacity:1;

visibility:visible;

}

/* CEPS unified desktop navigation: keep all primary links on one line. */
@media (min-width:769px){
  .desktop-nav ul{
    flex-wrap:nowrap;
    gap:26px;
  }
  .desktop-nav ul li a{
    white-space:nowrap;
    font-size:.86rem;
    letter-spacing:.45px;
  }
}
