/* Norse Scapes - Global Styles */
:root {
  --orange: #C75B12;
  --orange-dark: #A64A0E;
  --orange-light: #E8863F;
  --charcoal: #2C2C2C;
  --dark: #1A1A1A;
  --grey: #4A4A4A;
  --light-grey: #F5F5F5;
  --white: #FFFFFF;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--charcoal);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--orange-dark); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.header-logo img { height: 50px; width: auto; }

.header-phone {
  display: none;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--orange);
  font-size: 1.1rem;
}

.header-phone svg { width: 20px; height: 20px; fill: var(--orange); }

@media (min-width: 768px) {
  .header-phone { display: flex; }
}

/* Navigation */
.main-nav { display: none; }
.main-nav.active { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.main-nav ul { list-style: none; }
.main-nav ul li a {
  display: block;
  padding: 14px 20px;
  color: var(--charcoal);
  font-weight: 500;
  border-bottom: 1px solid var(--light-grey);
  transition: background 0.2s;
}
.main-nav ul li a:hover, .main-nav ul li a.active { color: var(--orange); background: var(--light-grey); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown .dropdown-menu { display: none; background: var(--white); }
.nav-dropdown .dropdown-menu.active { display: block; }
.nav-dropdown .dropdown-menu a { padding-left: 40px; font-size: 0.95rem; }

@media (min-width: 900px) {
  .main-nav { display: block !important; }
  .main-nav ul { display: flex; align-items: center; gap: 4px; }
  .main-nav ul li a { padding: 10px 14px; border-bottom: none; font-size: 0.95rem; border-radius: 4px; }
  .nav-dropdown .dropdown-menu {
    position: absolute; top: 100%; left: 0; min-width: 220px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12); border-radius: 6px; z-index: 100;
  }
  .nav-dropdown .dropdown-menu a { padding: 10px 16px; }
  .nav-dropdown:hover .dropdown-menu { display: block; }
  .hamburger { display: none !important; }
}

/* Hamburger */
.hamburger {
  background: none; border: none; cursor: pointer; padding: 8px;
  display: flex; flex-direction: column; gap: 5px;
}
.hamburger span { display: block; width: 26px; height: 3px; background: var(--charcoal); border-radius: 2px; transition: 0.3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--dark) 60%, var(--orange-dark) 100%);
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
}
.hero h1 { font-size: 2.2rem; margin-bottom: 16px; line-height: 1.2; }
.hero p { font-size: 1.15rem; max-width: 650px; margin: 0 auto 30px; opacity: 0.92; }

.hero-sm {
  padding: 50px 20px;
}

@media (min-width: 768px) {
  .hero { padding: 100px 20px; }
  .hero h1 { font-size: 3rem; }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  text-align: center;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); color: var(--white); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-secondary:hover { background: var(--white); color: var(--charcoal); }
.btn-outline { background: transparent; color: var(--orange); border: 2px solid var(--orange); }
.btn-outline:hover { background: var(--orange); color: var(--white); }

.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Sections */
.section { padding: 60px 20px; }
.section-grey { background: var(--light-grey); }
.section-dark { background: var(--charcoal); color: var(--white); }
.section h2 { font-size: 2rem; margin-bottom: 16px; text-align: center; }
.section .subtitle { text-align: center; max-width: 650px; margin: 0 auto 40px; color: var(--grey); font-size: 1.1rem; }
.section-dark .subtitle { color: rgba(255,255,255,0.7); }

/* Grid */
.grid-2 { display: grid; gap: 30px; }
.grid-3 { display: grid; gap: 30px; }
@media (min-width: 600px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* Cards */
.card {
  background: var(--white);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.card h3 { font-size: 1.3rem; margin-bottom: 12px; color: var(--charcoal); }
.card p { color: var(--grey); margin-bottom: 16px; }
.card-icon { font-size: 2.5rem; margin-bottom: 16px; }

/* Service page content */
.service-content { max-width: 800px; margin: 0 auto; }
.service-content h2 { text-align: left; margin-top: 40px; }
.service-content p { margin-bottom: 16px; color: var(--grey); }
.service-content ul { margin: 0 0 20px 20px; color: var(--grey); }
.service-content ul li { margin-bottom: 8px; }

/* CTA Band */
.cta-band {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 50px 20px;
}
.cta-band h2 { font-size: 1.8rem; margin-bottom: 12px; }
.cta-band p { margin-bottom: 24px; opacity: 0.92; }
.cta-band .btn-secondary { border-color: var(--white); }
.cta-band .btn-secondary:hover { background: var(--white); color: var(--orange); }

/* Contact Form */
.form-wrap { max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  font-family: var(--font);
  transition: border-color 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--orange); outline: none; }
.form-group textarea { min-height: 120px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; }

.form-status { padding: 12px; border-radius: 6px; margin-top: 16px; display: none; }
.form-status.success { display: block; background: #d4edda; color: #155724; }
.form-status.error { display: block; background: #f8d7da; color: #721c24; }

/* About */
.about-values { counter-reset: val; }
.about-values .card { position: relative; padding-left: 60px; }
.about-values .card::before {
  counter-increment: val;
  content: counter(val);
  position: absolute; left: 20px; top: 28px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--orange); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 50px 20px 24px;
}
.footer-grid { display: grid; gap: 30px; margin-bottom: 30px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h4 { color: var(--white); margin-bottom: 12px; font-size: 1.1rem; }
.site-footer a { color: rgba(255,255,255,0.7); }
.site-footer a:hover { color: var(--orange); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 0.9rem; }
