@charset "utf-8";
/* CSS Document */


body {
	margin: 0;
	width: 100%;
	font-family: "acumin-pro-condensed", sans-serif;
	font-weight: 400;
	font-style: normal;
	background-color: #b7b7b7;
	color: #051747;
	line-height: 1.6;
	font-size: 18px;
}
h1{
	margin: 0;
	font-family: "relation-one", sans-serif;
	font-style: normal;
	color: #051747;
	text-align: center;
	font-size: 60px;
}

h2 {
	font-family: "relation-one", sans-serif;
	font-style: normal;
	color: #051747;
	line-height: 1.3;
	margin-bottom: 0.75rem;
	font-size: 40px;
}

h3 {
	font-family: "acumin-pro-condensed", sans-serif;
	font-style: normal;
	color: #051747;
	line-height: 1.3;
	margin-bottom: 0.75rem;
	font-size: 30px;
}


h4 {
	font-family: "acumin-pro-condensed", sans-serif;
	font-style: normal;
	color: #051747;
	line-height: 1.3;
	margin-bottom: 0.75rem;
	font-size: 20px;
}


.work-heading {
    color: #ffffff;
	margin-bottom: 30px;
}

/* Flex container for other content */
.flex-container {
  display: flex;
  flex-wrap: wrap;
  position: relative;
}

/* Default navbar styling for all pages */
.navbar {
  display: flex;
  justify-content: space-between; /* logo left, links right */
  align-items: center;
  padding: 1rem 1.5rem; /* slightly smaller padding to fit smaller screens */
  background: #b7b7b7;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  z-index: 10;
}

/* Navbar styling for index page */
.index .navbar {
  background: rgba(183, 183, 183, 0.9); /* slightly transparent */
  padding: 0.5rem 1rem;
  position: absolute; /* overlaps header */
  top: 0;
  left: 0;
}

/* Logo styling */
.navbar .logo {
  flex-shrink: 1; /* allows logo to shrink if needed */
}

.navbar .logo-img {
  max-height: 60px; /* reduced to fit better */
  width: auto;
  transform: scale(1);
  transform-origin: left center;
}

/* Nav links container */
.nav-links {
  display: flex;
  flex-wrap: wrap; /* allow wrapping if space is tight */
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Nav links styling (all pages) */
.nav-links a {
  color: #051747;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap; /* prevent link from breaking */
}

/* Optional: hover effect */
.nav-links a:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .navbar {
    flex-direction: column; /* stack logo and links on smaller screens */
    align-items: flex-start;
    padding: 0.5rem 1rem;
  }

  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .navbar .logo-img {
    max-height: 50px;
    margin-bottom: 0.5rem;
  }
}



/* Only add top margin to main content on about page */
.about main {
    margin-top: 120px; /* adjust if needed based on navbar height */
}

.header {
    position: relative;
    z-index: 1;
    padding-top: 50px; /* pushes header content down so navbar doesn’t cover it */
}


.header .sign img {
	width: 100%;
	height: auto;
	display: block;
}

#about {
    padding: 2rem;
    margin-top: -100px; 
    position: relative;
    z-index: 2; 
	font-size: 18px;
	line-height: 1.5;
	text-align: justify;
}

.photo-collage {
	display: grid;
	grid-template-columns: repeat(3, 1fr); /* 3 columns */
	grid-template-rows: repeat(3, 200px); /* 3 rows, all same height */
	gap: 10px;
	max-width: 900px;
	margin: 50px auto;
	padding: 10px;
	background-color: #051747;
	border-radius: 10px;
}

.collage-item {
	overflow: hidden;
	border-radius: 8px;
}

.collage-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 8px;
}

.collage-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.collage-link:hover {
  opacity: 0.9; /* subtle hover effect */
  cursor: pointer;
}





/* Optional: make some squares larger by spanning rows/columns */
.item1 { grid-column: 1 / 2; grid-row: 1 / 2; } /* top-left */
.item2 { grid-column: 2 / 3; grid-row: 1 / 2; } 
.item3 { grid-column: 3 / 4; grid-row: 1 / 3; } /* spans 2 rows */
.item4 { grid-column: 1 / 2; grid-row: 2 / 4; } /* spans 2 rows */
.item5 { grid-column: 2 / 3; grid-row: 2 / 3; }
.item6 { grid-column: 2 / 3; grid-row: 3 / 4; }
.item7 { grid-column: 1 / 2; grid-row: 4 / 4; } /* optional for spacing if needed */
.item8 { grid-column: 3 / 4; grid-row: 3 / 4; }
.item9 { grid-column: 1 / 2; grid-row: 3 / 4; }

.footer {
	background-color: #b7b7b7; 
	padding: 20px 0;
	text-align: center;
}

.footer-links {
	list-style: none;
	padding: 0;
	margin: 0 0 10px 0;
	display: flex;
	justify-content: center;
	gap: 20px; 
}

.footer-links img {
	width: 40px; 
	height: 40px;
	object-fit: contain;
	transition: transform 0.2s;
	cursor: pointer;
}

.footer-links img:hover {
	transform: scale(1.1);
}

.footer p {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
}

.contact-section {
	max-width: 800px;
	margin: 0 auto;
	padding: 40px 20px;
	text-align: center;
}

.contact-section h2 {
	margin-bottom: 20px;
	font-size: 2rem;
	color: #051747;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.form-group {
	text-align: left;
}

label {
	display: block;
	margin-bottom: 5px;
	font-weight: bold;
	color: #051747;
}

input, textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 1rem;
}

input:focus, textarea:focus {
	border-color: #051747;
	outline: none;
}

button {
	background-color: #535f80;
	color: #fff;
	border: none;
	padding: 12px;
	border-radius: 6px;
	font-size: 1rem;
	cursor: pointer;
	transition: background-color 0.3s;
}

button:hover {
	background-color: #051747;
}

 /* Optional: inline style for success/error messages */
  #form-success, #form-error {
    margin-top: 1rem;
    font-weight: bold;
    display: none;
  }
  #form-success { color: green; }
  #form-error { color: red; }



.flex-container {
    display: block;        /* don’t force flex unless you need side-by-side */
    width: 100%;
    margin: 0 auto;
    text-align: center;    /* centers inline elements like nav if needed */
}

.bio {
	width: 95%;
	max-width: 800px;
	margin: 0 auto 40px auto;
	font-size: 18px;
	line-height: 1.6;
	text-align: justify;
}

.bio img {
    width: 200px;
    height: auto;
    border-radius: 12px;
    margin: 10px 20px; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.float-left {
    float: left;
    margin-right: 20px;
}

.float-right {
    float: right;
    margin-left: 20px;
}

.bio::after {
    content: "";
    display: table;
    clear: both; 
}

.button-list {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  width: 95%;
  max-width: 800px;
  margin: 0 auto;
  justify-content: center;
  list-style: none;   /* removes bullets */
  padding: 0;         /* removes default left padding */
  margin-top: 10px;   /* small spacing from heading */
}

.button-list li {
  font-size: 18px;
  font-weight: 500;
  list-style: none;   /* extra safeguard */
}

.project {
	background: #b7b7b7;
	border-radius: 10px;
	padding: 20px;
	margin-bottom: 30px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Project details */
.project .client {
	font-style: normal;
	color: #051747;
	margin-bottom: 10px;
}

.project .tools {
	font-size: 16px;
	color: #051747;
	margin-bottom: 15px;
}

.project p {
	margin-bottom: 15px;
	line-height: 1.5;
}

/* Image grid */
.projects-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr); /* 3 columns */
	grid-template-rows: repeat(2, auto);   /* 2 rows */
	gap: 20px; /* space between images */
	margin-top: 20px;
	background-color: #051747;
	border-radius: 10px;         /* optional: rounds the container corners */
  	padding: 10px; 
}

.project-item img {
	width: 100%;
	height: auto;
	border-radius: 6px;
	display: block;
}

/* Collage container */
.collage {
	display: grid;
	grid-template-columns: repeat(4, 1fr); /* 4 columns */
	grid-auto-rows: 150px; /* base row height */
	gap: 10px;
	max-width: 1200px;
	margin: 50px auto;
	padding: 10px;
	box-sizing: border-box;
	background-color: #051747;
	border-radius: 10px;         /* optional: rounds the container corners */
  	padding: 10px;
}

.collage-item {
	width: 100%;
	height: 100%;
}

/* Collage items */
.collage-item img {
	width: 100%;
	height: 100%;
	object-fit: cover; /* fills the space */
	border-radius: 8px;
	display: block;
}

/* Layout for each photo */
.item1 { grid-column: 1 / 3; grid-row: 1 / 3; } /* large horizontal */
.item2 { grid-column: 3 / 4; grid-row: 1 / 2; } /* top horizontal */
.item7 { grid-column: 4 / 5; grid-row: 1 / 2; } /* top horizontal next to 2 */
.item3 { grid-column: 3 / 4; grid-row: 2 / 4; } /* vertical */
.item4 { grid-column: 4 / 5; grid-row: 2 / 4; } /* vertical */
.item5 { grid-column: 1 / 2; grid-row: 3 / 4; } /* bottom left horizontal */
.item6 { grid-column: 2 / 3; grid-row: 3 / 4; } /* bottom middle horizontal */


.isolated-grid {
	display: grid; /* ensures proper grid layout */
	grid-template-columns: repeat(3, 1fr); /* 3 columns */
	grid-auto-rows: 200px; /* each row has consistent height */
	gap: 15px; /* space between images */
	max-width: 1200px;
	margin: 50px auto; /* center on page */
	padding: 10px;
	box-sizing: border-box;
	background-color: #051747;
	border-radius: 10px;         /* optional: rounds the container corners */
  	padding: 10px;
}

/* Individual grid items */
.grid-item {
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: 8px;
}

.grid-item img {
	width: 100%;
	height: 100%;
	object-fit: cover; /* fills the box without distortion */
	display: block;
	border-radius: 8px;
}

.button-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */
  grid-template-rows: repeat(2, 200px); /* 2 rows, 200px height for squares */
  gap: 15px; /* space between buttons */
  max-width: 900px;
  margin: 50px auto;
  padding: 10px;
  box-sizing: border-box;
}

.button {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
  text-decoration: none;
}

.button img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures image fills the square */
  display: block;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.video-container {
  display: flex;
  justify-content: center; /* centers horizontally */
  align-items: center;     /* centers vertically if container has height */
  margin: 20px auto;       /* adds spacing around */
  width: 100%;
}


.photo-collage-5 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 150px; /* base size for squares */
  gap: 10px;
  max-width: 900px;
  margin: 50px auto;
  padding: 10px;
  box-sizing: border-box;
  background-color: #f0f0f0; /* optional background */
  border-radius: 20px;       /* rounded edges for container */
  overflow: hidden;/* ensures images stay inside rounded corners */
	background-color: #051747;
}

.photo-collage-5 .collage-item {
  overflow: hidden;
  border-radius: 8px; /* optional: rounds each image slightly */
}

.photo-collage-5 .collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

/* Collage layout */
.photo-collage-5 .item1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.photo-collage-5 .item2 { grid-column: 3 / 4; grid-row: 1 / 2; }
.photo-collage-5 .item3 { grid-column: 3 / 4; grid-row: 2 / 3; }
.photo-collage-5 .item4 { grid-column: 1 / 2; grid-row: 3 / 4; }
.photo-collage-5 .item5 { grid-column: 2 / 4; grid-row: 3 / 4; }


.photo-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns */
  grid-template-rows: repeat(2, 1fr);    /* 2 rows */
  gap: 15px;
  max-width: 800px;
  margin: 50px auto;
  padding: 10px;
  box-sizing: border-box;
  background-color: #051747; /* optional background */
  border-radius: 20px;       /* round corners for the container */
  overflow: hidden;           /* ensures images stay within rounded container */
}

.photo-grid-4 .grid-item {
  aspect-ratio: 1 / 1;   /* keeps each box square */
  overflow: hidden;
  border-radius: 15px;   /* round corners for each image box */
}

.photo-grid-4 .grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* fills the square nicely */
  display: block;
  border-radius: 15px;    /* rounds the images themselves */
}


.back-button {
  display: inline-block;
  margin: 20px 0;
  padding: 10px 20px;
  background-color: #051747;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.back-button:hover {
  background-color: #535f80;
}

