/* ==================================================
   KURHULA WORKS
   PREMIUM DESIGN SYSTEM
   ================================================== */

:root {

  /* BRAND
     Change these to rebrand the entire website. */
  --brand-primary: #c89b3c;
  --brand-primary-dark: #a77d29;
  --brand-secondary: #111315;

  /* SURFACES */
  --background: #f4f3ef;
  --surface: #ffffff;
  --surface-dark: #191b1e;

  /* TEXT */
  --text-main: #17191b;
  --text-muted: #6b6d70;
  --text-light: #ffffff;

  /* BORDERS */
  --border: #e4e2dc;
  --border-dark: rgba(255, 255, 255, 0.12);

  /* LAYOUT */
  --content-width: 1180px;

  /* SPACING */
  --space-xs: 8px;
  --space-sm: 14px;
  --space-md: 22px;
  --space-lg: 40px;
  --space-xl: 80px;
  --space-xxl: 120px;

  /* CORNERS */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* SHADOWS */
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 12px 35px rgba(0, 0, 0, 0.09);

  /* TRANSITIONS */
  --transition: 220ms ease;
}


/* ==================================================
   RESET
   ================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;

  line-height: 1.6;
  color: var(--text-main);
  background: var(--background);
}

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

a {
  color: inherit;
}


/* ==================================================
   GLOBAL CONTAINER
   ================================================== */

.container {
  width: min(
    calc(100% - 44px),
    var(--content-width)
  );

  margin-inline: auto;
}


/* ==================================================
   HEADER
   ================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: rgba(17, 19, 21, 0.96);

  border-bottom: 1px solid
    var(--border-dark);

  backdrop-filter: blur(12px);
}

.site-header .container {

  min-height: 76px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: var(--space-lg);
}


/* LOGO */

.logo {

  color: var(--text-light);

  text-decoration: none;

  font-size: 1.25rem;
  font-weight: 800;

  letter-spacing: -0.5px;

  margin: 0;
}

.logo::after {

  content: ".";

  color: var(--brand-primary);
}


/* NAVIGATION */

.main-nav {

  display: flex;
  align-items: center;

  gap: 28px;
}

.main-nav a {

  position: relative;

  margin: 0;
  padding: 8px 0;

  background: transparent;

  color: rgba(255, 255, 255, 0.78);

  text-decoration: none;

  font-size: 0.9rem;
  font-weight: 600;

  transition:
    color var(--transition);
}

.main-nav a::after {

  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 0;
  height: 2px;

  background: var(--brand-primary);

  transition:
    width var(--transition);
}

.main-nav a:hover {

  color: var(--text-light);

  background: transparent;
}

.main-nav a:hover::after {

  width: 100%;
}


/* ==================================================
   HERO
   ================================================== */

.hero {

  position: relative;

  min-height: 650px;

  display: flex;
  align-items: center;

  color: var(--text-light);

  background:
    linear-gradient(
      90deg,
      rgba(17, 19, 21, 0.98) 0%,
      rgba(17, 19, 21, 0.88) 55%,
      rgba(17, 19, 21, 0.68) 100%
    );

  overflow: hidden;
}


/* Decorative architectural line */

.hero::before {

  content: "";

  position: absolute;

  width: 420px;
  height: 420px;

  right: -180px;
  top: -180px;

  border: 1px solid
    rgba(200, 155, 60, 0.18);

  border-radius: 50%;
}

.hero .container {

  position: relative;

  z-index: 1;

  padding-block: var(--space-xxl);
}


/* EYEBROW */

.eyebrow {

  display: inline-flex;

  align-items: center;

  gap: 10px;

  color: var(--brand-primary);

  font-size: 0.78rem;
  font-weight: 800;

  text-transform: uppercase;

  letter-spacing: 2px;

  margin-bottom: var(--space-md);
}

.eyebrow::before {

  content: "";

  width: 30px;
  height: 2px;

  background: var(--brand-primary);
}


/* HERO TITLE */

.hero h1 {

  max-width: 850px;

  font-size:
    clamp(3rem, 8vw, 6.5rem);

  line-height: 0.98;

  letter-spacing: -4px;

  margin-bottom: var(--space-lg);
}

.hero-text {

  max-width: 620px;

  color: rgba(255, 255, 255, 0.72);

  font-size: 1.08rem;

  line-height: 1.8;
}


/* ==================================================
   BUTTONS
   ================================================== */

.hero-actions {

  display: flex;

  flex-wrap: wrap;

  gap: 12px;

  margin-top: 36px;
}

.button {

  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 52px;

  padding:
    0 24px;

  border-radius: var(--radius-sm);

  text-decoration: none;

  font-size: 0.9rem;

  font-weight: 750;

  transition:
    transform var(--transition),
    background var(--transition),
    color var(--transition);
}

.button:hover {

  transform: translateY(-2px);
}

.button-primary {

  background: var(--brand-primary);

  color: #111315;
}

.button-primary:hover {

  background: var(--brand-primary-dark);
}

.button-secondary {

  background: transparent;

  color: var(--text-light);

  border: 1px solid
    rgba(255, 255, 255, 0.28);
}

.button-secondary:hover {

  background: var(--text-light);

  color: var(--brand-secondary);
}


/* ==================================================
   SECTIONS
   ================================================== */

.section {

  padding:
    var(--space-xxl) 0;
}

.section .container {

  width: min(
    calc(100% - 44px),
    var(--content-width)
  );

  margin-inline: auto;
}

.section-alt {

  background: var(--surface);
}

.section h2 {

  max-width: 700px;

  font-size:
    clamp(2.2rem, 5vw, 4rem);

  line-height: 1.05;

  letter-spacing: -2px;

  margin-bottom: 24px;
}

.section-intro {

  max-width: 650px;

  color: var(--text-muted);

  font-size: 1.05rem;

  line-height: 1.8;
}


/* ==================================================
   SERVICES
   ================================================== */

.services-grid {

  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 20px;

  margin-top: 45px;
}

.service-card {

  position: relative;

  margin: 0;

  padding: 42px;

  background: var(--surface);

  border:
    1px solid var(--border);

  border-radius: var(--radius-md);

  box-shadow: var(--shadow-sm);

  overflow: hidden;

  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.service-card::after {

  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 100%;
  height: 3px;

  background: var(--brand-primary);

  transform: scaleX(0);

  transform-origin: left;

  transition:
    transform var(--transition);
}

.service-card:hover {

  transform: translateY(-5px);

  box-shadow: var(--shadow-md);
}

.service-card:hover::after {

  transform: scaleX(1);
}

.service-number {

  color: var(--brand-primary);

  font-size: 0.8rem;

  font-weight: 800;

  letter-spacing: 1px;

  margin-bottom: 50px;
}

.service-card h3 {

  font-size: 1.6rem;

  margin-bottom: 12px;
}

.service-card p {

  color: var(--text-muted);

  line-height: 1.75;
}


/* ==================================================
   PROJECTS
   ================================================== */

.projects-placeholder {

  margin-top: 45px;

  min-height: 250px;

  display: flex;

  align-items: center;
  justify-content: center;

  padding: 40px;

  background:
    linear-gradient(
      135deg,
      #eceae4,
      #f7f6f2
    );

  border:
    1px solid var(--border);

  border-radius: var(--radius-md);

  color: var(--text-muted);

  text-align: center;
}


/* ==================================================
   CONTACT
   ================================================== */

.contact-section {

  background: var(--brand-secondary);

  color: var(--text-light);
}

.contact-section .section-intro {

  color: rgba(255, 255, 255, 0.65);
}

.contact-section p {

  margin-bottom: 18px;

  color: rgba(255, 255, 255, 0.72);
}

.contact-section a:not(.button) {

  color: var(--brand-primary);

  text-decoration: none;
}


/* ==================================================
   FOOTER
   ================================================== */

.site-footer {

  background: #0b0c0d;

  color: rgba(255, 255, 255, 0.55);

  padding: 30px 0;

  text-align: center;

  font-size: 0.85rem;
}

.site-footer .container {

  width: min(
    calc(100% - 44px),
    var(--content-width)
  );

  margin-inline: auto;
}


/* ==================================================
   MOBILE
   ================================================== */

@media (max-width: 700px) {

  .container,
  .section .container,
  .site-footer .container {

    width:
      calc(100% - 32px);
  }


  .site-header .container {

    min-height: auto;

    padding-block: 14px;

    flex-direction: column;

    align-items: flex-start;

    gap: 8px;
  }


  .main-nav {

    width: 100%;

    overflow-x: auto;

    gap: 22px;

    padding-bottom: 3px;

    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {

    display: none;
  }

  .main-nav a {

    flex: 0 0 auto;

    white-space: nowrap;

    font-size: 0.82rem;
  }


  .hero {

    min-height: 600px;
  }

  .hero .container {

    padding-block:
      80px;
  }

  .hero h1 {

    font-size: 3.3rem;

    letter-spacing: -2px;
  }

  .hero-text {

    font-size: 1rem;
  }


  .hero-actions {

    flex-direction: column;

    width: 100%;
  }

  .hero-actions .button {

    width: 100%;
  }


  .section {

    padding:
      75px 0;
  }


  .section h2 {

    font-size: 2.5rem;

    letter-spacing: -1.2px;
  }


  .services-grid {

    grid-template-columns: 1fr;

    margin-top: 32px;
  }


  .service-card {

    padding: 30px;
  }


  .service-number {

    margin-bottom: 35px;
  }

}
