/* ===========================
   Olaf Minten - Interieurarchitect
   Website Stylesheet
   =========================== */

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Base */
html {
  font-size: 16px;
  -webkit-text-size-adjust: none;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #555;
  background: #fff;
  line-height: 1.6;
  border-top: 5px solid #93bcbe;
  margin: 0;
  padding: 0;
}

a {
  color: #93bcbe;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #4d787a;
}

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

/* ===========================
   Container
   =========================== */
#container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===========================
   Header
   =========================== */
#header {
  padding: 30px 0 10px;
}

#header .inside {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

#logo a img {
  height: 60px;
  width: auto;
}

/* ===========================
   Navigation
   =========================== */
#mainNav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

#mainNav ul li a {
  color: #7b7b7b;
  font-size: 16px;
  line-height: 25px;
  text-transform: lowercase;
  transition: color 0.2s ease;
  display: block;
}

#mainNav ul li a:hover,
#mainNav ul li.current a {
  color: #93bcbe;
}

/* ===========================
   Main Content
   =========================== */
#main {
  padding: 20px 0 40px;
  border-bottom: 1px solid #e3e2de;
}

/* ===========================
   Page Header (home)
   =========================== */
#divimgtite {
  margin-bottom: 20px;
}

#divimgtite h5 {
  font-size: 20px;
  color: #000;
  margin: 0 0 4px;
  font-weight: normal;
}

#divimgtite h4 {
  font-size: 1.3em;
  margin: 0;
  color: #000;
  font-weight: bold;
}

/* ===========================
   Filter Navigation
   =========================== */
#filterNav {
  list-style: none;
  display: flex;
  gap: 0;
  margin: 0 0 25px;
  padding: 0;
}

#filterNav li {
  display: inline-block;
}

#filterNav li span {
  color: #ccc;
  margin: 0 2px;
}

#filterNav li a {
  padding: 20px 6px 0;
  display: inline-block;
  font-size: 16px;
  color: #7b7b7b;
  transition: color 0.2s ease;
}

#filterNav li a:hover,
#filterNav li a.active {
  color: #93bcbe;
}

.allBtn {
  display: none !important;
}

/* ===========================
   Project Grid (Masonry)
   =========================== */
.thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

.project {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.project a {
  display: block;
  position: relative;
  overflow: hidden;
}

.project img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.project a:hover img {
  opacity: 0.8;
  transform: scale(1.03);
}

.project .title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 10px 12px;
  font-size: 14px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.project:hover .title {
  transform: translateY(0);
}

.project .title span {
  display: block;
}

/* Hidden projects for filter */
.project.hidden {
  display: none;
}

/* ===========================
   Info Page
   =========================== */
.page-content {
  max-width: 800px;
}

.page-content h1 {
  font-size: 2em;
  color: #000;
  margin-bottom: 20px;
  font-weight: normal;
}

.page-content .info-image {
  float: left;
  margin: 0 30px 20px 0;
  max-width: 300px;
}

.page-content .info-image img {
  width: 100%;
  height: auto;
}

.page-content p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.page-content h3 {
  font-size: 1.1em;
  margin: 30px 0 10px;
}

/* ===========================
   Contact Page
   =========================== */
.contact-info {
  max-width: 600px;
}

.contact-info h1 {
  font-size: 2em;
  color: #000;
  margin-bottom: 25px;
  font-weight: normal;
}

.contact-info .map-container {
  margin-bottom: 30px;
}

.contact-info .map-container iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

.contact-info .details p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 8px;
}

.contact-info .details strong {
  color: #000;
}

.contact-info .details a {
  color: #93bcbe;
}

.contact-info .details a:hover {
  color: #4d787a;
}

/* ===========================
   Footer
   =========================== */
#footer {
  padding: 30px 0;
}

#footer .main {
  display: none;
}

#footer .secondary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

#footer .secondary p {
  font-size: 13px;
  color: #999;
}

#footer .secondary a {
  color: #999;
  font-weight: bold;
}

#footer .secondary a:hover {
  color: #93bcbe;
}

#footer .secondary .right ul {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
}

#footer .secondary .right ul li {
  display: inline-block;
}

/* ===========================
   Social Icons (simple)
   =========================== */
.ssi-simple {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ccc;
  color: #fff;
  font-size: 14px;
  transition: background 0.2s ease;
}

.ssi-simple:hover {
  background: #93bcbe;
  color: #fff;
}

/* ===========================
   Responsive
   =========================== */
@media only screen and (max-width: 768px) {
  #header .inside {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  #logo a img {
    height: 50px;
  }

  #mainNav ul {
    gap: 16px;
  }

  .thumbs {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
  }

  #divimgtite h5 {
    font-size: 16px;
  }

  #divimgtite h4 {
    font-size: 1.1em;
  }

  #filterNav li a {
    font-size: 14px;
    padding: 12px 4px 0;
  }

  .page-content .info-image {
    float: none;
    max-width: 100%;
    margin: 0 0 20px;
  }

  #footer .secondary {
    flex-direction: column;
    text-align: center;
  }
}

@media only screen and (max-width: 480px) {
  h1 {
    font-size: 1.2em;
  }

  h2 {
    font-size: 1.1em;
  }

  h3 {
    font-size: 1.0em;
  }

  h4 {
    font-size: 1.3em;
  }

  h5 {
    font-size: 0.8em;
  }

  #logo a img {
    height: 40px;
  }

  .thumbs {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .project .title {
    font-size: 12px;
    padding: 8px;
  }

  #mainNav ul {
    gap: 12px;
  }

  #mainNav ul a {
    font-size: 14px;
  }
}
