/* --- Global Styles & Variables --- */
:root {
    /* --- CONFIGURATION --- */
    --gallery-min-width: 450px;
    --gallery-gap: 5px;      /* Internal gap remains */
    /* --- END CONFIGURATION --- */

    --blur-amount: 5px;
    --transition-speed: 0.3s;
}

body {
    margin: 0;
    font-family:"Rokkitt", serif ;
    background-color: #ffefcf; /* Changed to match theme */
    color: #333;
    line-height: 1.6;
    transition: filter var(--transition-speed) ease;
}

/* --- Apply Blur to Background --- */
body.blur-background > *:not(.fullscreen-overlay) {
   filter: blur(var(--blur-amount));
   pointer-events: none;
   user-select: none;
}

/* New styles for the header layout */
.header-content {
  display: flex; /* Creates the column layout */
  justify-content: left;
  align-items: center;     /* Vertically aligns the columns with each other */
  gap: 20px;               /* Adds space between the h1 and the text group */
  padding: 20px 0 0 16px;         /* Adds some vertical spacing */
}

/* This targets the <div> holding h2 and h3 */
.header-text-group {
  display: flex;
  flex-direction: column; /* Stacks h2 and h3 on top of each other */
}

.header-custom{
	padding-left:20px;
	
}

.rokkitt-h {
  font-family: "Rokkitt", serif;
  font-optical-sizing: auto;
  font-weight:400;
  font-style: normal;
}
.rokkitt-ul {
  font-family: "Rokkitt", serif;
  font-optical-sizing: auto;
  font-weight:500;
  font-style: normal;
}

/* --- UPDATE your existing h1, h2, h3 styles --- */
/* Remove text-align and adjust margins */

h1 {
    margin: 0; /* Remove old margins */
    color: #333;
    width: 180px;
    padding-left:10px;
    /* text-align: center; is no longer needed */
}

h1 img{
  width: 60px;
  vertical-align: middle;
}

h2, h3,h4 {
	text-align: left; /* Align text to the left within their column */
	margin: 0;        /* Remove all margins */
	color: #333;
	padding-right:10px;
}

h2{
  font-size: 1.5em;
}
h3{
  font-size: 1.2em;
}

nav{ 
  font-size:1.2em;
  text-transform:uppercase;
  margin:auto;
}
nav ul {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px; /* Adds 20px of padding on the left and right */
  box-sizing: border-box; /* Important: Prevents padding from increasing the total width */
}


nav ul li{
  list-style: none;
  
}

nav a{
  text-decoration: none;
  font-size:1.4em;
  color:#333;
}

a{color:#333;}
a:active{color:#333;}
a:hover{color:#58f;}


/* --- NEW STYLES FOR ABOUT PAGE --- */
.about-container {
    max-width: 900px;
    margin: 40px auto; /* Adds space from header and centers content */
    padding: 0 20px;
    box-sizing: border-box;
}

.info-row {
    display: flex;
    flex-wrap: wrap; /* Allows columns to stack on smaller screens */
    align-items: center;
    justify-content: center;
    text-align: left;
    gap: 40px; /* Space between columns */
    margin-bottom: 50px; /* Space between rows */
}

.info-column {
    flex: 1; /* Each column tries to take up equal space */
    min-width: 300px; /* Prevents columns from getting too narrow */
}

.text-column {
    text-align: left;
}

.info-logo {
    display: block;
    width: 100%;
    max-width: 400px; /* Prevents logo from being huge */
    height: auto;
    margin: 0 auto; /* Center logo in its column */
    filter: brightness(1) sepia(40%);
}

.statement {
    font-size: 1.5rem; /* Makes the main statement larger */
    font-weight: 500;
    margin-bottom: 1rem;
}

.contact-info {
    margin-top: 1.5rem;
    font-size: 1.1rem;
}

.contact-info a {
    color: #c06014;
    text-decoration: none;
}
.contact-info a:hover {
    text-decoration: underline;
}

.profile-image {
  vertical-align:top;
    background-size: 140%;
    background-position: center center;
    min-height: 350px; /* Gives the div a fixed height */
    width: 100%;
    max-width: 300px;
    border-radius: 4px; /* Slightly rounded corners */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.photographer-name {
    font-size: 1.8rem;
    margin: 0 0 0.5rem 0;
}

.photographer-name a {
    font-size: 1.5rem;
    font-weight: 400;
    text-transform: lowercase;
    text-decoration: none;
    color: #333;
    margin-left: 10px;
}

.legal-text {
    margin-top: 2rem;
    font-size: 0.8rem;
    color: #777;
}



/* --- Gallery Container & Layout --- */
.gallery-container {
    /* max-width is still removed */
    margin: 0 auto;
    /* --- Remove horizontal padding --- */
    padding: 0; /* <<< CHANGED: Horizontal padding removed */
    /* Optional: Add overflow-x: hidden; if any unexpected horizontal scroll occurs */
    /* overflow-x: hidden; */
}

.gallery {
    /* Masonry using CSS Columns */
    column-width: var(--gallery-min-width);
    column-gap: var(--gallery-gap); /* Internal horizontal gap remains */
    width: 100%;
}

.gallery-item {
    margin-bottom: var(--gallery-gap); /* Internal vertical gap remains */
    break-inside: avoid;
    cursor: pointer;
    display: inline-block;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s ease-in-out;
    box-sizing: border-box;
    position:relative;
		border-radius:10px;
}

.gallery-item:hover {
    transform: translateY(-3px);
     box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* --- Fullscreen Overlay --- */
/* (Styles remain unchanged) */
.fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: pointer;

    visibility: hidden;
    opacity: 0;
    transition: opacity var(--transition-speed) ease, visibility var(--transition-speed) ease;
    padding: 5vh 5vw;
    box-sizing: border-box;
}

.fullscreen-overlay.active {
    visibility: visible;
    opacity: 1;
}

.fullscreen-overlay img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: default;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.close-button {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 35px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    transition: color 0.2s ease;
}

.close-button:hover {
    color: #ccc;
}

.title{
  font-family:"Rokkitt", sans-serif;
  font-size:20pt;
  position:absolute;
  bottom:10px;
  right: 10px;
  background:rgba(0,0,0,0.6);
  padding:10px;
  color:#fff;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .info-row {
        flex-direction: column; /* Stack columns on top of each other */
        text-align: center;
    }
    .text-column {
        text-align: center;
    }
    .profile-image {
        min-height: 400px;
    }		
		
		.header-content{
			justify-content: left; 
			padding-left:16px;
		}

    
    nav ul{
      display: inline-block;
    }
}

/* --- Responsive Adjustments --- */
/* Media queries likely don't need changes for this */
@media (max-width: 480px) {
    :root {
        /* --gallery-gap: 10px; */
    }
    .gallery-container {
         /* Padding is already 0 now, so this doesn't need var() */
        padding: 0;
    }
    
		.header-content{
			justify-content: left; 
		}

}

@media (min-width:1200px){  
  :root {
    /* --- CONFIGURATION --- */
    --gallery-min-width: 599px;
    --gallery-gap: 10px;      /* Internal gap remains */
    /* --- END CONFIGURATION --- */
  }
  
  .about-container{
    max-width:1000px;
  }
  
  .profile-image {
    float:left;
    margin:20px;
    width:400px;
    height:500px;
    background-size: cover;
    background-position: center left;
    max-width:400px;
    border-radius: 4px; /* Slightly rounded corners */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  
  body{ font-size:16pt;}
  
}


@media (min-width:3000px){  
  :root {
    /* --- CONFIGURATION --- */
    --gallery-min-width: 800px;
    --gallery-gap: 10px;      /* Internal gap remains */
    /* --- END CONFIGURATION --- */
  }
  
  .about-container{
    max-width:1000px;
  }
  
  nav{
    max-width:1200px;
    
  }
  .profile-image {
    float:left;
    margin:20px;
    width:400px;
    height:500px;
    background-size: cover;
    background-position: center left;
    max-width:400px;
    border-radius: 4px; /* Slightly rounded corners */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  
  body{ font-size:16pt;}


  
}


