/*
BoNNIE SANDERSoN CSS

*/
:root {
--bg-color: #FDF5F5; /* Pale pink: FDF5F5 */
--brand-blue: #3A5DAE; /* blue from title */
--text-gray: #555;
--white-flash: #FDF5F5;
--font-weight: 300;
--font-weight-light: 200;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
background-color: var(--bg-color);
font-family: "Roboto", sans-serif;
font-weight: var(--font-weight);
font-style: normal;
color: var(--brand-blue);
text-align: center;
}

.container {
max-width: 1100px;
margin: 0 auto;
padding: 0px;
}

br {
display: block;
content: "";
margin-top: 3px;
line-height: 5px;
}

/* Header & Nav */
.main-header { padding: 60px 20px 40px; }

.header-top {
display: grid;
grid-template-columns: 1fr auto 1fr;
align-items: baseline;
max-width: 1100px;
margin: 0 auto;
}

.brand {
font-size: 2.5rem;
text-decoration: none;
color: var(--brand-blue);
text-align: center;
white-space: nowrap;
font-weight: var(--font-weight-light);
}

.brand span {
border-left: 2px solid #ccc;
padding-left: 15px;
margin-left: 5px;
font-weight: var(--font-weight);
}
.top-nav {
font-size: 1rem;
text-align: right;
}

.top-nav a { text-decoration: none; color: var(--brand-blue); }
.tagline {
margin-top: 20px;
font-size: 1.1rem;
color: var(--brand-blue);
max-width: 600px;
margin-left: auto;
margin-right: auto;
}

.masonry-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-auto-rows: minmax(350px, auto);
gap: 15px;
grid-auto-flow: dense;
max-width: 1200px;
margin: 0 auto;
}

.brick {
position: relative;
overflow: hidden;
background: #FDF5F5;
}

.brick img {
width: 100%;
height: 100%;
display: block;
object-fit: cover;
opacity: 0;
transition: transform 0.6s ease, filter 0.5s ease;
}

/* Loading Animations */
@keyframes flashIn {
0% { background-color: var(--white-flash); }
100% { background-color: transparent; }
}

.brick.revealed { animation: flashIn 0.5s ease-out forwards; }
.brick.revealed img { opacity: 1; transition: opacity 0.8s ease; }


.brick.wide { grid-column: span 2; }
.brick.ultrawide { grid-column: span 2; height: 520px; }
.brick.tall { grid-row: span 2; }
.brick.big { grid-column: span 2; grid-row: span 2; }
.brick.contact { grid-column: span 2;}

.main-footer {
padding: 40px 0;
font-size: 0.9rem;
color: var(--brand-blue);
line-height: 1.5;
}

/* modal */
.modal {
position: fixed;
z-index: 9999;
left: 0; top: 0;
width: 100%; height: 100%;
background-color: var(--bg-color);
backdrop-filter: blur(15px);
overflow-y: auto;
}
.modal.active {
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
padding: 60px 0;
}
.modal {
opacity: 0;
visibility: hidden;
transition: opacity 0.4s ease, visibility 0.4s ease;
display: flex;
}
.modal.active {
opacity: 1;
visibility: visible;
}
.modal-content {
width: 95%;
max-width: 1100px;
margin: auto;
max-height: 85vh;
overflow-y: auto;
}
.modal-info {
padding: 30px 0;
color: var(--brand-blue);
text-align: left;
}
.modal-info h2 {
font-weight: var(--font-weight);
margin-bottom: 10px;
}
.modal-info p { color: #2c2a2a; line-height: 1.5; margin: 0 5px 0 5px;}
.close-modal {
position: absolute;
top: -10px;
right: 5px;
color: var(--brand-blue);
font-size: 80px;
cursor: pointer;
z-index: 10000;
}

.modal-content::-webkit-scrollbar {
    width: 2px;
}
.modal-content::-webkit-scrollbar-track {
    background: transparent;
}
.modal-content::-webkit-scrollbar-thumb {
    background: var(--brand-blue);
    border-radius: 5px;
}
.modal-content::-webkit-scrollbar-thumb:hover {
    background: #1a1a1a; 
}
/* Firefox */
.modal-content {
    scrollbar-width: thin;
    scrollbar-color: var(--brand-blue) transparent;
}
.video-aspect-wrapper {
position: relative;
padding-bottom: 56.25%;
height: 0;
background: #000;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  word-wrap: normal;
  border: 0;
}
.video-aspect-wrapper iframe {
position: absolute;
top: 0; left: 0;
width: 100%; height: 100%;
}
#videoPlayer {
border: none;
}
.nav-btn {
cursor: pointer;
}
.gallery-wrapper { position: relative; background-color: var(--bg-color); }
.gallery-controls {
position: absolute;
top: 50%; width: 100%;
display: flex; justify-content: space-between;
transform: translateY(-50%);
pointer-events: none;
}
.nav-btn {
pointer-events: auto;
background: rgba(0,0,0,0.5);
color: white;
border: none;
padding: 20px;
cursor: pointer;
font-size: 24px;
transition: 0.3s;
}
.nav-btn:hover { background: var(--brand-blue); }
.specialCVbrick {
position: relative;
height: 50px;
margin: 10px 0px 0px 0px;
}
.cv-download-btn {
display: inline-flex;
align-items: center;
padding: 14px 30px;
font-family: 'Roboto', sans-serif;
font-weight: var(--font-weight);
font-size: 16px;
letter-spacing: 0.5px;
color: #ffffff;
background-color: var(--brand-blue);
text-decoration: none;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.cv-download-btn:hover {
transform: translateY(2px);
box-shadow: 0 10px 20px rgba(37, 99, 235, 0.4);
filter: saturate(1.2);
}

.cv-download-btn:active {
transform: translateY(-1px);
}

.contact-container {
display: grid;
grid-template-columns: 1fr auto 1fr;
width: 100%;
align-items: start;
}
/* New Sep 2026 */
.contactPara {  
position:relative;
top: 7em;
left: 18.5vw;
}
.contactPara {    
  color: var(--brand-blue);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-width: 280px;
}
.contactPara .label {
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0 0 0.4rem;
}
.contact-line {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 1rem;
}
.contactPara a {
  color: var(--brand-blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s ease;
}
.contactPara a:hover, .contactPara a:focus-visible {
  border-color: currentColor;
}
.label {
  position: absolute;
  top: 0px;
  left: 20px;
  z-index: 10;
  font-weight: var(--font-weight);
}
/*
.contactPara {
position: relative;
margin: 3em 0 0 1em;
max-width: 600px;
padding: 0 20px;
}

.contactPara p {
text-align: left;
line-height: 1.6;
margin: 0;
}
*/
.side-column {

/* add elements */
}

/* Media Queries - Just basic */

@media (max-width:1200px) {
	
.brick img {
width: 100%;
height: 100%;
display: block;
object-fit: fill;
opacity: 0;
transition: transform 0.8s ease, filter 0.5s ease;
}	
	
}
@media (max-width: 768px) {

.top-nav { text-align: center; }
.contactPara {
  position: relative;
  top: 5em;
  left: 12vw;
}
}

@media (max-width: 768px) {

.header-top {
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
}
.brand { font-size: 1.8rem; }
.masonry-grid { grid-template-columns: 1fr; }
.nav-btn {
pointer-events: auto;
background: rgba(0, 0, 0, 0.24);
color: white;
border: none;
padding: 5px;
cursor: pointer;
font-size: 18px;
transition: 0.3s;
}
}

@media (max-width: 600px) {
.nav-btn {
pointer-events: auto;
background: rgb(0, 0, 0);
color: white;
border: none;
padding: 2px;
cursor: pointer;
font-size: 22px;
transition: 0.3s;
}
.masonry-grid {
grid-auto-rows: 250px;
}
.brick img {
width: 100%;
height: 100%;
display: block;
object-fit: contain;
opacity: 0;
transition: transform 0.6s ease, filter 0.5s ease;
}

.close-modal {
position: absolute;
top: 5px;
right: 15px;
color: var(--brand-blue);
font-size: 40px;
padding: 20px;
line-height: 1;
}
.contactPara {
  position: relative;
  top: 5em;
  left: 12vw;
}
}
