/*
Theme Name: StyleSity Construction
Theme URI: https://example.com/stylecity-theme
Author: StyleSity EOOD
Author URI: https://example.com
Description: One-page WordPress theme for a construction company. Built with sample content for "StyleSity" EOOD, Aheloy, Bulgaria. Includes a built-in BG/EN language switcher.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stylecity
*/

/* ==========================================================================
   0. Custom properties / palette
   ========================================================================== */
:root {
  --scc-navy-dark: #161d27;
  --scc-navy: #1f2a3a;
  --scc-steel: #4a5a70;
  --scc-concrete: #eef0f2;
  --scc-concrete-dark: #dadfe3;
  --scc-orange: #c9a24b;
  --scc-orange-dark: #8a6a28;
  --scc-white: #ffffff;
  --scc-ink: #181f28;
  --scc-muted: #5c6773;
  --scc-radius: 4px;
  --scc-shadow: 0 10px 30px rgba(22, 29, 39, 0.14);
  --scc-container: 1180px;
  --scc-heading: "Oswald", "Arial Narrow", Arial, sans-serif;
  --scc-sans: "Inter", "Segoe UI", Arial, sans-serif;
}

/* ==========================================================================
   1. Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--scc-sans);
  color: var(--scc-ink);
  background: var(--scc-white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--scc-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.25;
  margin: 0 0 0.5em;
  color: var(--scc-navy-dark);
}
p { margin: 0 0 1em; }
.container {
  max-width: var(--scc-container);
  margin: 0 auto;
  padding: 0 24px;
}
.scc-section { padding: 100px 0; position: relative; }
.scc-section--sand { background: var(--scc-concrete); }
.scc-section--dark { background: var(--scc-navy-dark); color: var(--scc-concrete); }
.scc-section--dark h2, .scc-section--dark h3 { color: var(--scc-white); }
.scc-eyebrow {
  display: inline-block;
  font-family: var(--scc-sans);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--scc-orange);
  font-weight: 700;
  margin-bottom: 14px;
}
.scc-title { font-size: clamp(28px, 4vw, 42px); }
.scc-lead { max-width: 640px; color: var(--scc-muted); font-size: 17px; }
.scc-center { text-align: center; margin-left: auto; margin-right: auto; }
.scc-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--scc-radius);
  background: var(--scc-orange);
  color: var(--scc-white);
  font-family: var(--scc-heading);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 2px solid var(--scc-orange);
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 14px;
}
.scc-btn:hover { background: transparent; color: var(--scc-orange); }
.scc-btn--outline {
  background: transparent;
  color: var(--scc-white);
  border-color: var(--scc-white);
}
.scc-btn--outline:hover { background: var(--scc-white); color: var(--scc-navy-dark); }
.scc-btn--navy { background: var(--scc-navy); border-color: var(--scc-navy); }
.scc-btn--navy:hover { background: transparent; color: var(--scc-navy); }

/* ==========================================================================
   2. Header / nav
   ========================================================================== */
.scc-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 18px 0;
  background: rgba(22, 29, 39, 0.8);
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.scc-header.is-scrolled {
  background: rgba(22, 29, 39, 0.96);
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.scc-header .container { display: flex; align-items: center; justify-content: space-between; }
.scc-logo { display: flex; align-items: baseline; gap: 6px; font-family: var(--scc-heading); font-size: 24px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--scc-white); }
.scc-logo span { color: var(--scc-orange); }
.scc-logo img { height: 42px; width: auto; }
.scc-logo small { font-size: 12px; font-weight: 400; letter-spacing: 1px; color: rgba(255,255,255,0.6); text-transform: uppercase; }
.scc-nav ul { display: flex; gap: 32px; align-items: center; }
.scc-nav a {
  color: var(--scc-white);
  font-family: var(--scc-heading);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.9;
}
.scc-nav a:hover { opacity: 1; color: var(--scc-orange); }
.scc-header-actions { display: flex; align-items: center; gap: 18px; }
.scc-lang-switch { display: flex; gap: 6px; }
.scc-lang-switch a {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 3px;
  color: var(--scc-white);
  opacity: 0.6;
  border: 1px solid rgba(255,255,255,0.4);
}
.scc-lang-switch a.is-active { opacity: 1; background: var(--scc-orange); border-color: var(--scc-orange); }
.scc-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 6px; }
.scc-burger span { width: 26px; height: 2px; background: var(--scc-white); }

@media (max-width: 900px) {
  .scc-nav { position: fixed; top: 0; right: -100%; width: 78%; max-width: 320px; height: 100vh; background: var(--scc-navy-dark); padding: 100px 32px; transition: right 0.35s ease; }
  .scc-nav.is-open { right: 0; }
  .scc-nav ul { flex-direction: column; align-items: flex-start; gap: 22px; }
  .scc-burger { display: flex; }
}

/* ==========================================================================
   3. Hero
   ========================================================================== */
.scc-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  color: var(--scc-white);
  background:
    linear-gradient(180deg, rgba(22,29,39,0) 65%, rgba(22,29,39,0.4) 100%),
    var(--scc-hero-image, linear-gradient(135deg, #2a3648, #161d27));
  background-size: cover;
  background-position: center;
}
.scc-hero__inner { position: relative; z-index: 2; max-width: 720px; }
/* Solid, sharp-edged dark panel behind the hero text; the photo stays bright elsewhere. */
.scc-hero__inner::before {
  content: "";
  position: absolute;
  inset: -40px -32px;
  z-index: -1;
  background: rgba(22, 29, 39, 0.74);
  border-left: 4px solid var(--scc-orange);
  pointer-events: none;
}
@media (max-width: 640px) { .scc-hero__inner::before { inset: -28px -20px; } }
.scc-hero .scc-eyebrow { color: var(--scc-orange); }
.scc-hero h1 { color: var(--scc-white); font-size: clamp(34px, 6vw, 58px); text-shadow: 0 2px 14px rgba(0,0,0,0.45); }
.scc-hero p { font-size: 18px; color: rgba(255,255,255,0.92); max-width: 560px; text-transform: none; letter-spacing: normal; text-shadow: 0 1px 8px rgba(0,0,0,0.45); }
.scc-hero__cta { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.scc-hero__scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  color: var(--scc-white); font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0.85;
}
.scc-hero__scroll::after { content: ""; width: 1px; height: 40px; background: var(--scc-white); animation: scc-scroll 1.8s infinite; }
@keyframes scc-scroll { 0% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 0; } }

/* ==========================================================================
   4. Placeholder media
   ========================================================================== */
.scc-placeholder { width: 100%; display: block; border-radius: var(--scc-radius); overflow: hidden; }
.scc-placeholder svg { width: 100%; height: 100%; display: block; }

/* ==========================================================================
   5. About
   ========================================================================== */
.scc-about { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.scc-about__stats { display: flex; gap: 40px; margin-top: 32px; flex-wrap: wrap; }
.scc-about__stat strong { display: block; font-family: var(--scc-heading); font-size: 32px; color: var(--scc-orange); }
.scc-about__stat span { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--scc-muted); }
@media (max-width: 860px) { .scc-about { grid-template-columns: 1fr; } }

/* ==========================================================================
   6. Services
   ========================================================================== */
.scc-grid-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 50px; flex-wrap: wrap; }
.scc-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.scc-service-card { background: var(--scc-white); border-radius: var(--scc-radius); overflow: hidden; box-shadow: var(--scc-shadow); border-top: 3px solid var(--scc-orange); transition: transform 0.25s ease; display: flex; flex-direction: column; }
.scc-service-card:hover { transform: translateY(-6px); }
.scc-service-card__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.scc-service-card__footer { margin-top: auto; }
.scc-service-card__meta { display: flex; gap: 10px; font-size: 12px; color: var(--scc-muted); margin: 10px 0 14px; flex-wrap: wrap; }
.scc-service-card__meta span { display: inline-flex; align-items: center; padding: 4px 10px; background: var(--scc-concrete); border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px; }
@media (max-width: 980px) { .scc-services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .scc-services { grid-template-columns: 1fr; } }

/* ==========================================================================
   7. Advantages
   ========================================================================== */
.scc-advantages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.scc-advantage { text-align: center; padding: 34px 20px; border-radius: var(--scc-radius); background: rgba(255,255,255,0.06); }
.scc-advantage__icon { font-size: 34px; margin-bottom: 16px; display: block; }
.scc-advantage h3 { font-size: 16px; }
.scc-section--dark .scc-advantage p { color: rgba(238,240,242,0.75); font-size: 14px; margin: 0; text-transform: none; }
@media (max-width: 980px) { .scc-advantages { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .scc-advantages { grid-template-columns: 1fr; } }

/* ==========================================================================
   7b. Approach
   ========================================================================== */
.scc-approach { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.scc-approach > div { background: var(--scc-concrete); padding: 36px 32px; border-radius: var(--scc-radius); border-left: 4px solid var(--scc-orange); }
.scc-approach .icon { font-size: 32px; margin-bottom: 14px; display: block; }
@media (max-width: 860px) { .scc-approach { grid-template-columns: 1fr; } }

/* ==========================================================================
   9. Certificates / trust band
   ========================================================================== */
.scc-badges { display: flex; justify-content: center; gap: 32px; margin: 36px 0; flex-wrap: wrap; }
.scc-badge { text-align: center; max-width: 160px; }
.scc-badge .scc-placeholder { width: 100px; height: 100px; margin: 0 auto 10px; border-radius: 50%; }
.scc-badge img { width: 100px; height: 100px; object-fit: contain; margin: 0 auto 10px; border-radius: 50%; background: #fff; }
.scc-badge span { font-size: 12px; color: rgba(238,240,242,0.75); }

/* ==========================================================================
   11. Contact
   ========================================================================== */
.scc-contact { display: block; max-width: 640px; margin: 0 auto; }
.scc-contact-info { display: flex; flex-direction: column; gap: 24px; }
.scc-contact-item { display: flex; gap: 16px; align-items: flex-start; }
.scc-contact-item__icon { font-size: 22px; }
.scc-contact-item strong { display: block; margin-bottom: 4px; text-transform: uppercase; font-size: 12px; letter-spacing: 1px; color: var(--scc-muted); }
.scc-contact-item span, .scc-contact-item a { color: var(--scc-ink); }
.scc-map { border-radius: var(--scc-radius); overflow: hidden; height: 340px; margin-top: 20px; }
.scc-map iframe { width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   12. Footer
   ========================================================================== */
.scc-footer { background: var(--scc-navy-dark); color: rgba(238,240,242,0.8); padding: 60px 0 24px; }
.scc-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.scc-footer h4 { color: var(--scc-white); font-size: 15px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; }
.scc-footer ul li { margin-bottom: 10px; }
.scc-footer a:hover { color: var(--scc-orange); }
.scc-footer__social { display: flex; gap: 12px; margin-top: 18px; }
.scc-footer__social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; }
.scc-footer__bottom { display: flex; justify-content: space-between; padding-top: 24px; font-size: 13px; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) { .scc-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .scc-footer__top { grid-template-columns: 1fr; } }

/* ==========================================================================
   13. Utilities / animations
   ========================================================================== */
.scc-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.scc-reveal.is-visible { opacity: 1; transform: translateY(0); }
