/*
Theme Name: GRIT Barber Studio
Theme URI: https://gritbarberstudio.com
Author: GRIT Barber Studio
Description: Custom theme for GRIT Barber Studio Plovdiv
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: grit-barber
*/

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  --bg: #f0ece6;
  --bg2: #e8e4de;
  --bg3: #dedad4;
  --surface: #ffffff;
  --concrete: #c8c4bc;
  --stone: #8a8680;
  --ash: #5a5652;
  --dark: #1a1816;
  --darkest: #0e0c0a;
  --white: #f8f5f0;
  --r: 4px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--dark);
  font-family: 'Oswald', sans-serif;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* =============================================
   GRAIN TEXTURE
   ============================================= */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.055'/%3E%3C/svg%3E");
  opacity: .7;
  mix-blend-mode: multiply;
}

/* =============================================
   WORN / DISTRESSED TEXT EFFECT
   ============================================= */
.worn {
  filter: url(#worn-filter);
}

/* =============================================
   LOGO
   ============================================= */
.logo-dark  { display: block; filter: invert(1); }
.logo-light { display: block; filter: invert(0); }

/* =============================================
   TOP BANNER
   ============================================= */
.top-banner {
  background: var(--darkest);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 600;
}

.tb-text {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--concrete);
}

.tb-dot {
  width: 3px;
  height: 3px;
  background: var(--stone);
  border-radius: 50%;
  opacity: .6;
  flex-shrink: 0;
}

.tb-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: underline;
  cursor: pointer;
  text-underline-offset: 3px;
}

/* =============================================
   NAVIGATION
   ============================================= */
nav {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--white);
  border-bottom: 1px solid rgba(26,24,22,.08);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ash);
  transition: color .2s;
}

.nav-links a:hover {
  color: var(--darkest);
}

.nav-cta {
  background: var(--darkest);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: var(--r);
  font-size: 10px !important;
  letter-spacing: 3px !important;
}

.nav-cta:hover {
  background: var(--ash);
  color: var(--white) !important;
}

/* =============================================
   TICKER
   ============================================= */
.ticker {
  background: var(--darkest);
  padding: 11px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-inner {
  display: inline-flex;
  animation: tick 22s linear infinite;
}

.ticker-item {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--stone);
  padding: 0 40px;
  display: inline-flex;
  align-items: center;
  gap: 40px;
}

.tick-dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  background: var(--ash);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes tick {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =============================================
   SECTIONS — GENERAL
   ============================================= */
.sec-head {
  padding: 0 64px 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid rgba(26,24,22,.08);
}

.sec-tag {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 10px;
}

.sec-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px;
  letter-spacing: 4px;
  color: var(--darkest);
  line-height: 1;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--darkest);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--r);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background .2s;
}

.btn-dark:hover {
  background: var(--ash);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--darkest);
  padding: 13px 28px;
  border-radius: var(--r);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid rgba(26,24,22,.3);
  transition: all .2s;
}

.btn-outline:hover {
  background: var(--darkest);
  color: var(--white);
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--darkest);
  color: var(--white);
  padding: 64px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

footer h4 {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 20px;
}

footer ul li {
  font-size: 13px;
  font-weight: 300;
  color: var(--concrete);
  margin-bottom: 10px;
  letter-spacing: 1px;
}

footer ul li a {
  color: var(--concrete);
  transition: color .2s;
}

footer ul li a:hover {
  color: var(--white);
}

.f-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.7;
  margin-top: 16px;
}

.footer-bot {
  background: var(--darkest);
  border-top: 1px solid rgba(248,245,240,.06);
  padding: 20px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fb-copy {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ash);
}

.fb-soc {
  display: flex;
  gap: 16px;
}

.fb-soc a {
  font-size: 13px;
  color: var(--ash);
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color .2s;
}

.fb-soc a:hover {
  color: var(--white);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  nav {
    padding: 0 16px;
  }

  .nav-links {
    display: none;
  }

  footer {
    grid-template-columns: 1fr;
    padding: 40px 24px;
  }

  .footer-bot {
    padding: 16px 24px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .sec-head {
    padding: 0 24px 32px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
