/* Font Face */
@font-face {
  font-family: "ArbutusSlab";
  src: url("/fonts/ArbutusSlab-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: "ArbutusSlab", serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "ArbutusSlab", serif;
  line-height: 1.6;
  color: #333;
}

/* Full-width container - no side margins */
.container {
  width: 100%;
  padding: 0;
}

.container-nav {
  width: 100%;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Hero Section - Full Screen */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.navbar {
  position: absolute;
  padding-top: 40px;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
}

.logo {
  width: 177px;
  height: auto;
  opacity: 0;
  animation: slideInFromTop 0.5s ease forwards;
  /* animation-delay: 0.3s; */
}

.nav-menu {
  display: flex;
}

.nav-link {
  color: white;
  margin-left: 20px;
  text-decoration: none;
  font-weight: normal;
  font-size: 18px;
  transition: color 0.3s ease;
  opacity: 0;
  animation: slideInFromTop 0.5s ease forwards;
}

.nav-link:nth-child(1) {
  animation-delay: 0.1s;
}
.nav-link:nth-child(2) {
  animation-delay: 0.3s;
}
.nav-link:nth-child(3) {
  animation-delay: 0.5s;
}
.nav-link:nth-child(4) {
  animation-delay: 0.7s;
}
.nav-link:nth-child(5) {
  animation-delay: 0.9s;
}

.nav-link:hover {
  color: #ea3200;
}

.nav-link.current {
  font-weight: bold;
  color: #ea3200;
}

.hero-image {
  width: 100vw;
  height: 100vh;
  position: relative;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.company-info {
  background: white;
  max-width: 100%;
  padding: 20px 55px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  opacity: 0;
  max-width: 1400px;
  margin-top: 40px;
  margin-bottom: 40px;
  transform: translateX(-100px);
  transition: opacity 1s ease, transform 1s ease;
}

.info-grid.in-view {
  opacity: 1;
  transform: translateX(0);
}

.grid-5 {
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  grid-template-rows: auto;
  grid-template-columns: 0.25fr minmax(250px, 250px) minmax(400px, 400px);
  justify-items: start;
}

.info-left-grid {
  display: grid;
  grid-auto-columns: 1fr;
}

.info-text {
  color: #ff4917;
  font-size: 16px;
  line-height: 20px;
  font-weight: bold;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.orange-shape {
  width: 200px;
  height: 180px;
}

.company-description {
  font-size: 16px;
  font-weight: bold;
  line-height: 20px;
  color: #ff4917;
  letter-spacing: 0.5px;
  text-align: left;
}

.contact-info {
  color: #ff4917;
  margin-bottom: 0;
  font-family: Arbutusslab, Times New Roman, sans-serif;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0.5px;
  font-weight: 300;
  text-align: left;
}

.grid {
  grid-column-gap: 0px;
  grid-row-gap: 20px;
  grid-template-rows: auto auto auto auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  align-items: stretch;
  max-width: 100%;
  display: grid;
}

.project-images-box {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  aspect-ratio: 3/2;
}

.slider {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.slide {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slide.active {
  opacity: 1;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.slider-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}

.slider-dots {
  position: absolute;
  bottom: 0.8em;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.3em;
  pointer-events: auto;
}

.slider-dot {
  width: 1em;
  height: 1em;
  background: #fff6;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slider-dot.active {
  background: white;
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.prev-btn,
.next-btn {
  background: none;
  border: none;
  height: 80px;
  width: 60px;
  cursor: pointer;
  color: transparent;
  position: relative;
  transition: all 0.3s ease;
  pointer-events: auto;
}

.prev-btn::after,
.next-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border-left: 3px solid white;
  border-top: 3px solid white;
  transform: translate(-50%, -50%);
}

/* Left arrow */
.prev-btn::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Right arrow */
.next-btn::after {
  transform: translate(-50%, -50%) rotate(135deg);
}

.prev-btn:hover::after,
.next-btn:hover::after {
  border-color: rgba(255, 255, 255, 0.7);
}

.project-description {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 20px;
  padding-right: 20px;
  overflow: visible;
  background: white;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  /* height: 100%; */
}

.project-title {
  font-weight: bold;
  color: #000;
  text-align: left;
  font-family: Arbutusslab, Times New Roman, sans-serif;
  font-size: 22px;
  line-height: 24px;
}

.project-meta {
  color: #b4b4b4;
  margin-top: 0;
  margin-bottom: 0;
  font-family: Arbutusslab, Times New Roman, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 30px;
}

.project-content {
  color: #000;
  border-top: 1px solid #000;
  border-radius: 0;
  font-family: Arbutusslab, Times New Roman, sans-serif;
  font-size: 16px;
  line-height: 20px;
}

.project-content p {
  margin-top: 20px;
}

/* About Page Styles - Full Width */
.about-hero-img,
.contact-hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
}

.about-content,
.contact-content {
  padding: 60px 40px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  grid-template-rows: auto;
  grid-row-gap: 16px;
  grid-column-gap: 16px;
  grid-auto-columns: 1fr;
}

.about-text-main {
  color: #000;
  text-align: left;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  font-family: Arbutusslab, Times New Roman, sans-serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px;
  text-decoration: none;
  display: block;
}

.about-text-main p {
  margin-bottom: 30px;
  line-height: 32px;
}

.about-team {
  color: #000;
  text-align: right;
  font-family: Arbutusslab, Times New Roman, sans-serif;
  font-size: 18px;
  line-height: 1;
}

/* Contact Page Styles */
.contact-info-section {
  color: #000;
  text-align: left;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  font-family: Arbutusslab, Times New Roman, sans-serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px;
  text-decoration: none;
  display: block;
  letter-spacing: 0.5px;
}

.contact-info-section p {
  margin-bottom: 1em;
}

/* .contact-info-section {
  margin-bottom: 60px;
}

.contact-info-section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #333;
  font-weight: normal;
}

.contact-info-section > p {
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
} */

.contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-location h3 {
  font-size: 20px;
  color: #e74c3c;
  margin-bottom: 15px;
  font-weight: normal;
}

.contact-location p {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 10px;
}

.contact-location a {
  color: #e74c3c;
  text-decoration: none;
}

.contact-location a:hover {
  text-decoration: underline;
}

/* Medium Text Style */
.medium-text {
  color: #000;
  text-align: left;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  font-family: Arbutusslab, Times New Roman, sans-serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px;
  text-decoration: none;
  display: block;
}

/* instagram hyperlinks */
a[href*="instagram.com"] {
  color: #ea3200;
  text-decoration: none;
}

a[href*="instagram.com"]:hover {
  text-decoration: underline;
}

/* Contact Form Styles */
.contact-form-section h3 {
  font-size: 24px;
  margin-bottom: 30px;
  color: #333;
  font-weight: normal;
}

.contact-form {
  max-width: 600px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: normal;
  color: #333;
  font-family: "ArbutusSlab", serif;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #eee;
  border-radius: 4px;
  font-size: 16px;
  font-family: "ArbutusSlab", serif;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e74c3c;
}

.submit-btn {
  background: #e74c3c;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 16px;
  font-family: "ArbutusSlab", serif;
  font-weight: normal;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background: #c0392b;
}

/* Footer - Full Width */
.footer {
  color: #999;
  text-align: left;
  border: 0 #000;
  border-top-width: 0px;
  border-top-style: none;
  border-top-color: rgb(0, 0, 0);
  border-top: 1px solid #000;
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
  padding-top: 36px;
  padding-bottom: 36px;
  font-size: 12px;
  line-height: 18px;
  display: block;
  position: static;
  inset: auto 0% 0%;
  overflow: visible;
}

.container-footer {
  max-width: 100%;
  padding-left: 40px;
  padding-right: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
  margin: 0 auto;
}

.footer-section h3 {
  font-size: 20px;
  color: #333;
  font-weight: normal;
}

.footer-section p {
  padding-top: 20px;
  font-size: 12px;
  line-height: 1.8;
  color: #000;
  text-decoration: none;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  font-weight: 300;
  line-height: 24px;
}

.footer-section a {
  color: #00d6b4;
  align-self: end;
  text-align: right;
  text-decoration: none;
}

.footer-links {
  text-align: right;
  align-self: end;
}

.footer-section a:hover {
  color: #e74c3c;
  transition: color 0.3s ease;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  color: #999;
  font-size: 12px;
}

/* Single and List Pages */
.single-content,
.list-content {
  padding: 120px 60px 80px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.single-content h1,
.list-content h1 {
  font-size: 36px;
  margin-bottom: 30px;
  font-weight: normal;
}

/* Hamburger Menu Styles */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
  position: relative;
  background: #ea3200;
}

.nav-toggle-bar {
  width: 24px;
  height: 3px;
  background: white;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Prevent body scroll when nav is open */
body.nav-open {
  overflow: hidden;
}

/* Responsive Design */

/* Base responsive adjustments for all screen sizes */
html {
  font-size: 16px;
}

/* Tablet Styles - 990px to 1024px */
@media (max-width: 1024px) and (min-width: 990px) {
  .container-nav {
    padding: 0 30px;
  }

  .company-info {
    padding: 20px 55px;
  }

  .about-content,
  .contact-content {
    padding: 50px 30px;
  }

  .info-grid {
    gap: 30px;
  }

  .about-grid {
    gap: 40px;
  }

  .footer-grid {
    gap: 40px;
  }

  .project-title {
    font-size: 20px;
    line-height: 22px;
  }

  .about-text-main {
    font-size: 26px;
    line-height: 28px;
  }

  .contact-info-section {
    font-size: 26px;
    line-height: 28px;
  }
}

/* Mobile Styles - up to 990px */
@media (max-width: 990px) {
  html {
    font-size: 14px;
  }

  /* Navigation */
  .container-nav {
    justify-content: space-between;
    padding: 15px 20px;
    position: relative;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    flex-direction: column;
    align-items: flex-end;
    padding: 20px;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link {
    color: white;
    font-size: 18px;
    padding: 8px 12px;
    text-align: right;
    display: block;
    white-space: nowrap;
    transition: color 0.3s ease;
  }

  .nav-link:hover {
    color: #ea3200;
  }

  .nav-link.current {
    color: #ea3200;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .logo {
    width: 120px;
  }

  /* Hero Section */
  .hero {
    height: 70vh;
    min-height: 500px;
  }

  .navbar {
    padding-top: 0;
    /* background: rgba(0, 0, 0, 0.3); */
  }

  .hero-image,
  .hero-img {
    height: 70vh;
    min-height: 500px;
  }

  /* Company Info */
  .info-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .grid-5 {
    /* grid-template-columns: 1fr; */
    grid-template-rows: auto auto auto;
    gap: 20px;
    text-align: center;
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .orange-shape {
    margin: 0 auto;
    width: 100%;
    height: 100%;
  }

  .info-text {
    font-size: 16px;
    line-height: 22px;
  }

  .company-description {
    font-size: 16px;
    text-align: left;
  }

  .contact-info {
    font-size: 16px;
    line-height: 20px;
    text-align: left;
  }

  /* Projects */
  .grid {
    grid-template-columns: 1fr;
    grid-row-gap: 0;
  }

  .project-images {
  }

  .project-description {
    padding: 30px 20px;
  }

  .slider {
    aspect-ratio: 4 / 3;
  }

  .project-title {
    font-size: 18px;
    line-height: 20px;
    margin-bottom: 10px;
  }

  .project-meta {
    font-size: 16px;
    line-height: 20px;
  }

  .project-content {
    font-size: 14px;
    line-height: 18px;
    margin-top: 15px;
  }

  /* About Page */
  .about-hero-img,
  .contact-hero-img {
    height: 400px;
  }

  .about-content,
  .contact-content {
    padding: 40px 20px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-text-main {
    font-size: 22px;
    line-height: 26px;
    text-align: left;
  }

  .about-text-main p {
    margin-bottom: 20px;
    line-height: 26px;
  }

  .about-team {
    font-size: 16px;
    text-align: left;
  }

  /* Contact Page */
  .contact-info-section {
    font-size: 22px;
    line-height: 26px;
  }

  .contact-details {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .form-group input,
  .form-group textarea {
    font-size: 16px;
    padding: 15px;
  }

  .submit-btn {
    width: 100%;
    padding: 18px;
    font-size: 18px;
  }

  /* Footer */
  .footer {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .container-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-section p {
    font-size: 14px;
    line-height: 22px;
  }

  .single-content,
  .list-content {
    padding: 80px 20px 60px 20px;
  }

  .language-dropdown {
    padding-right: 12px;
  }
}

/* Small Mobile Styles - up to 480px */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .container-nav {
    padding: 12px 15px;
  }

  .logo {
    width: 100px;
  }

  .hero {
    height: 60vh;
    min-height: 400px;
  }

  .hero-image,
  .hero-img {
    height: 60vh;
    min-height: 400px;
  }

  .company-info {
    padding: 20px 15px;
  }

  .info-text,
  .company-description {
    font-size: 15px;
    line-height: 20px;
    text-align: left;
  }

  .contact-info {
    font-size: 13px;
    line-height: 17px;
    text-align: left;
  }

  .project-description {
    padding: 25px 15px;
  }

  .project-title {
    font-size: 17px;
    line-height: 19px;
  }

  .project-meta {
    font-size: 15px;
    line-height: 18px;
  }

  .project-content {
    font-size: 13px;
    line-height: 17px;
  }

  .about-content,
  .contact-content {
    padding: 30px 15px;
  }

  .about-text-main {
    font-size: 20px;
    line-height: 24px;
  }

  .contact-info-section {
    font-size: 20px;
    line-height: 24px;
  }

  .container-footer {
    padding-left: 15px;
    padding-right: 15px;
  }

  .nav-menu {
    width: 85%;
  }

  .nav-link {
    font-size: 18px;
  }
}

/* Landscape phone orientation */
@media (max-width: 990px) and (orientation: landscape) {
  .hero {
    height: 100vh;
  }

  .hero-image,
  .hero-img {
    height: 100vh;
  }
}

/* Touch-friendly enhancements */
@media (hover: none) and (pointer: coarse) {
  .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .submit-btn {
    min-height: 44px;
  }

  .prev-btn,
  .next-btn {
    width: 80px;
    height: 100px;
  }
}

/* Add the slide-in animation */
@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes triggerInfoGrid {
  to {
    /* This keyframe doesn't change anything, but triggers the animation */
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.flag {
  width: 25px;
  height: auto;
  margin: 4px;
  display: inline-block;
  vertical-align: middle;
}

.language-switcher {
  position: relative;
  display: inline-block;
}

.language-current {
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s;
}
.language-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 1000;
}

.language-dropdown.show {
  display: block;
}

.language-option {
  display: block;
  cursor: pointer;
  transition: background-color 0.2s;
  text-decoration: none;
  border-radius: 2px;
  line-height: 0;
}

.language-option:hover {
  background-color: #f5f5f5;
  text-decoration: none;
}
