/* Section wrapper */
/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

.logo {
  justify-content: left;
  padding-top: 5px;
  height: 160px;   /* adjust to fit navbar */
  object-fit: contain;
  width: auto;     /* keep proportions */
  display: block;
}

/* Body Background */
body {
  background-color: #f0f4f8;
  font-family: 'Segoe UI', sans-serif;
}

/* Navbar Styles */
.navbar {
  height: 80px;         /* increase navbar height */
  display: flex;
  align-items: center;  /* vertically center the logo */
  top: 0;
  left: 0;
  width: 100%;
  padding: 12px 24px;   /* Set the top position to 0 so it stays at the top */
  background-color: #fbf9f9;
  box-shadow: 0 7px 6px rgba(0, 0, 0, 0.2);
  z-index: 1000; /* Keep navbar above other elements */
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-brand .brand-link {
  font-size: 2rem;
  font-weight: 600;
  text-decoration: none;
  color: #121212;
  font-family: 'Stoke', serif;
  transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
}

.navbar-brand .brand-link:hover {
  color: #171616;
}

.navbar-brand .menu-toggle {
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #2B2D42;
  cursor: pointer;
  display: none;
  margin-left: auto;
  z-index: 1001; /* Keep above links popup */
  position: relative;
}

.navbar-links {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: flex-end;
  flex-grow: 1;
}

.navbar-links a {
  text-decoration: none;
  color: #2B2D42;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-links a.active-link,
.navbar-links a:hover {
  color: #0e0f0e;
}

/* Mobile styles */
@media (max-width: 768px) {
  .navbar-container {
    flex-direction: row;
    align-items: center;
  }

  .navbar-brand {
    width: 100%;
    justify-content: space-between;
  }

  .navbar-brand .menu-toggle {
    display: block;
  }

  .navbar-links {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    transition: all 0.4s ease;
  }

  .navbar-links.open {
    display: flex;
    position: fixed;
    top: 15px; /* height of navbar (adjust if navbar height changes) */
    left: 12px;
    width: calc(100vw - 24px);
    height: calc(100vh - 76px); /* subtract navbar height and margins */
    background-color: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    justify-content: center;
    gap: 30px;
    padding: 40px 20px;
    z-index: 999;
  }
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

/* dark overlay on bg */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* dim layer */
  z-index: 1;
}

/* Background with parallax */
.hero-background {
  position: absolute;
  inset: 0;
  background-image: url('/assets/a10.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* parallax effect */
  z-index: 0;
}

/* Inner content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 1.5rem;
  color: #f5f5f5;
}

/* Subheading */
.hero-subtitle {
  font-size: 2.1rem;
  letter-spacing: 3px;
  line-height: 1.6;
  text-transform: uppercase;
  margin: 0 0 1rem 0;
}

/* Main title */
.hero-title {
  text-transform: uppercase;
  margin: 0 0 2rem 0;
}

/* Buttons */
.hero-buttons {
  display: flex;
  justify-content: center;
}

.hero-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 10px;
  background: #ffffff;
  color: #111;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-button:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.block {
  padding-top: 0rem;
}

.head {
  color: rgb(29, 28, 28);
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 20px;
}

.box1 {
  display: flex;
  align-items: center;
  justify-content: left;
  text-align: center;
}

.box1 div {
  color: rgb(245, 248, 247);
  width: 300px;
  height: 400px;
  border-radius: 5px;
  background-color: rgba(30, 31, 31, 0.788);
}

.custom-columns {
  display: flex;
  flex-wrap: wrap;
}

.custom-column {
  border-right: 1px solid #313131;
  border-bottom: 1px solid #313131;
  padding: 92px 5%;
  box-sizing: border-box;
  flex: 1 1 33.333%;
  background-color: #202021;
}

.custom-group {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

.custom-image img {
  width: 56px;
  flex-shrink: 0;
 flex-shrink: 0;
}

.custom-image{
  margin: 0;
	position: relative;
  width: auto;
	
}
.custom-text-group {
  margin-left: 1rem;
}

.custom-heading {
  font-size: 1.25rem;
  color: #f5f5f5; /* light text */
  margin: 0 0 0.25rem 0;
}

.custom-paragraph {
  color: #f5f5f5; /* light text */
  margin: 0;
}

/* Optional: tidy borders for 3-per-row layout on wide screens */
@media (min-width: 1025px) {
  .custom-column:nth-child(3n) {
    /* last in each 3-column row */
    border-right: none;
  }
}

/* Two per row on tablets */
@media (max-width: 1024px) {
  .custom-column {
    flex: 1 1 50%;
  }
  .custom-column:nth-child(2n) {
    border-right: none;
  }
}

/* One per row on phones */
@media (max-width: 640px) {
  .custom-column {
    flex: 1 1 100%;
    border-right: none;
  }
}

/* Variables converted to direct values */
/* $bg-dark: #0e0e0e;
   $text-light: #f5f5f5;
   $pad-y: 120px;
   $space-50: 2rem;
   $radius: 10px; */

/* Section */
.works-section {
  background: #0e0e0e;
  padding: 120px 2rem;
  margin-top: 0;
}

/* Header */
.works-header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.works-title {
  color: #f5f5f5;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}

.works-subtitle {
  color: #f5f5f5;
  opacity: 0.9;
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  margin: 0;
}

/*from here*/
.works-grid{
  font-family: Lato, sans-serif;
	margin: 0;
	padding: 1rem;
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	background: rgba(20, 20, 20, 1);
}

img {
	width: 100%;
	display: block;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transition: transform 1000ms;
}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.5rem;
	grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
	max-width: 100%;
	width: 70rem;
  align-items: baseline;
}

.gall {
	margin: 0;
	position: relative;
	overflow: hidden;
}

figure::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 200%;
	height: 200%;
	background: rgba(0, 0, 0, 0.5);
	transform-origin: center;
	opacity: 0;
	transform: scale(2);
	transition: opacity 300ms;
}

figcaption {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	place-items: center;
	text-align: center;
	padding: 1rem;
	color: white;
	font-size: 1.2rem;
	z-index: 1;
	opacity: 0;
	transition: opacity 600ms, transform 600ms;
}

a:is(:hover, :focus) figure::after {
	opacity: 1;
}

a:is(:hover, :focus) figcaption {
	opacity: 1;
	transition: opacity 600ms;
}

@media (prefers-reduced-motion: no-preference) {
	figcaption {
		transform: translate3d(0, 2rem, 0);
	}
	
	figure::after {
		border-radius: 50%;
		opacity: 1;
		transform: scale(0);
		transition: transform 900ms;
	}
	
	a:is(:hover, :focus) figure::after {
		transform: scale(2.5);
	}

	a:is(:hover, :focus) figcaption {
		opacity: 1;
		transform: translate3d(0, 0, 0);
		transition: opacity 600ms 400ms, transform 600ms 400ms;
	}

	a:is(:hover, :focus) img {
		transform: scale(1.2);
	}
}
/* Grid 
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 24px);
}

/* Card 
.work-card {
  position: relative;
  overflow: hidden;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  will-change: transform;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.work-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.work-image {
  display: block;
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Lightbox trigger (icon-only button in top-right) */
/*.lightbox-trigger {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
  outline: none;
}*/

/* simple plus-corners glyph */
/*.lightbox-trigger::before,
.lightbox-trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 12px;
  height: 12px;
  mask: none;
  background: #fff;
  clip-path: polygon(
    0 0, 40% 0, 40% 10%, 10% 10%, 10% 40%, 0 40%,
    0 0, 100% 0, 100% 40%, 90% 40%, 90% 10%, 60% 10%,
    60% 0, 100% 0, 100% 100%, 60% 100%, 60% 90%, 90% 90%,
    90% 60%, 100% 60%, 100% 100%, 0 100%, 0 60%, 10% 60%,
    10% 90%, 40% 90%, 40% 100%, 0 100%, 0 0
  );
}

.lightbox-trigger:hover {
  background: rgba(0, 0, 0, 0.7);
}

/* Responsive */
/*@media (max-width: 1024px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

//@media (max-width: 640px) {
  .works-section {
    padding: 72px 1rem;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }
}//*/

/* Theme tokens converted to values */
/* $bg-dark: #0e0e0e;
   $text-light: #f5f5f5;
   $text-dim: #929292;
   $pad-top: 120px;
   $pad-bottom: 64px; */

/* Wrapper */
.site-footer {
  background: #0e0e0e;
  color: #f5f5f5;
}

.footer-wrap {
  padding: 120px 1rem 64px 1rem;  /* 1rem instead of 1.25rem */
  width: 100%;
  max-width: 1200px;              /* NEW */
  margin: 0 auto;                 /* NEW: Center container */
}

/* Layout */
.footer-grid {
  display: flex;
  flex-direction: column;  /* Stack vertically */
  gap: 24px;
  align-items: center;     /* Center everything */
  width: 100%;
  padding: 0 1rem;         /* Safe side padding */
}

@media (max-width: 900px) {
  .footer-grid {
    /*grid-template-columns: 1fr;*/
    text-align: center;
  }
}

/* Brand side */
.footer-brand {
  padding-bottom: 40px;
}

@media (max-width: 900px) {
  .footer-brand {
    display: grid;
    place-items: center;
  }
}

.footer-logo img {
 /* width: 224px;*/
  height: 180px;
  display: block;
  object-fit: contain;
}

/* Contacts */
.footer-contacts {
  display: flex;
  gap: 24px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.footer-contacts a {
  color: #f5f5f5;
  text-decoration: none;
  opacity: 0.95;
}

.footer-contacts a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .footer-contacts {
    justify-content: center;
  }
}

/* Right side */
.footer-right {
  padding-bottom: 40px;
}

@media (max-width: 900px) {
  .footer-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
}

/* Nav */
.footer-nav ul {
  display: flex;
  justify-content: center;     /* FIXED: Always centered */
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin: 0 0 12px 0;
  padding: 0;
  width: 100%; 
}

@media (max-width: 900px) {
  .footer-nav ul {
    justify-content: center !important;  /* Force center */
    gap: 16px;
  }
}

.footer-nav a {
  color: #f5f5f5;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
}

.footer-nav a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 1px;
  background: #f5f5f5;
  transition: width 200ms ease;
}

.footer-nav a:hover::after {
  width: 100%;
}

/* Socials */
.footer-social {
 display: flex;
  justify-content: center;     /* FIXED: Always centered */
  gap: 24px;                   /* Smaller gap */
  list-style: none;
  margin: 0;
  padding-top: 20px;
  width: 100%;                 /* NEW: Full width container */
}

@media (max-width: 900px) {
  .footer-social {
     justify-content: center !important;  /* Force center */
    gap: 24px;
  }
}

.footer-social a {
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  transition: background 200ms ease, transform 200ms ease;
}

.footer-social a svg path {
  fill: #929292;
  transition: fill 200ms ease;
}


.footer-social a:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.footer-social a:hover svg path {
  fill: #f5f5f5;
}

/* Tokens converted */
/* $bg-light: #f7f7f7;
   $text-dark: #111;
   $text-dim: #555;
   $pad-y: 120px;
   $space-50: 2rem;
   $radius: 10px; */

html {
  scroll-behavior: smooth; /* mirrors original behavior */
}

.quote-section {
  background: #f7f7f7;
  padding: 120px 2rem;
  margin-top: 0;
  color: #111;
}

.quote-grid {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: clamp(16px, 3vw, 36px);
}

@media (max-width: 980px) {
  .quote-grid {
    grid-template-columns: 1fr;
  }
}

/* Left */
.quote-sticky {
  position: sticky;
  top: 24px;
}

.quote-title {
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  line-height: 1.25;
  margin: 0 0 1rem 0;
}

.quote-lead {
  font-size: clamp(1rem, 2.4vw, 1.125rem);
  color: #555;
  margin: 0 0 clamp(1.25rem, 3vw, 2rem) 0;
}

/* Highlights */
.quote-highlights {
  display: grid;
  gap: 12px;
}

.highlight {
  display: flex;
  align-items: center;
  gap: 10px;
}

.highlight .highlight-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.highlight p {
  margin: 0;
}

/* Right */
.quote-right {
  display: grid;
  align-content: start;
  gap: 20px;
}

/* Optional form (hidden by default) */
.is-hidden {
  display: none;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quote-form input,
.quote-form textarea {
  font-family: inherit;
  border: 1px solid #999;
  padding: 20px;
  font-size: 1em;
  border-radius: 10px;
  background: #fff;
}

.quote-form textarea {
  min-height: 400px;
  resize: vertical;
}

/* CTA button */
.quote-cta {
  display: flex;
  justify-content: flex-start;
}

@media (max-width: 980px) {
  .quote-cta {
    justify-content: center;
  }
}

.btn-ghost {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border: 2px solid #111;
  color: #111;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}

.btn-ghost:hover {
  background: #111;
  color: #fff;
  transform: translateY(-2px);
}
