/* ============================================================================
   Za Twoim Przewodem - Main Stylesheet
   
   Brand Colors:
   - Primary Gold: #D4A574
   - Dark Text: #2C2C2C
   - Cream Accent: #F5F1E8
   - Accent Gold: #C19A4A
   - Light Gray: #F0F0F0
   - Accent Blue: #4A90E2
   - Accent Green: #6BC34A
   
   Responsive Design: Mobile-first approach
   ========================================================================== */

/* ============================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #2C2C2C;
  background: linear-gradient(135deg, #f5f1e8 0%, #e8e3d6 100%);
  background-attachment: fixed;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    repeating-linear-gradient(90deg, transparent, transparent 200px, rgba(212, 165, 116, 0.03) 200px, rgba(212, 165, 116, 0.03) 201px),
    repeating-linear-gradient(0deg, transparent, transparent 200px, rgba(212, 165, 116, 0.02) 200px, rgba(212, 165, 116, 0.02) 201px),
    radial-gradient(circle at 20% 30%, rgba(212, 165, 116, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(212, 165, 116, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Electrical work pattern */
body::after {
  content: '⚡ 🔌 ⚡ 🔌 ⚡ 🔌 ⚡ 🔌 ⚡ 🔌 ⚡ 🔌 ⚡';
  position: fixed;
  top: 50%;
  left: -100%;
  font-size: 200px;
  opacity: 0.02;
  white-space: nowrap;
  animation: scrollPattern 20s linear infinite;
  pointer-events: none;
  z-index: -1;
  transform: translateY(-50%);
}

@keyframes scrollPattern {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Skip navigation link (hidden but focusable for accessibility) */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background-color: #D4A574;
  color: #fff;
  padding: 8px;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* ============================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

@media (min-width: 1024px) {
  h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
  }
}

@media (min-width: 1440px) {
  h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
  }
}

h1 {
  font-size: 2.25rem;
  color: #2C2C2C;
  text-shadow: 1px 1px 2px rgba(212, 165, 116, 0.1);
  margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
  h1 {
    font-size: 2.75rem;
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 3rem;
  }
}

h2 {
  font-size: 2rem;
  color: #2C2C2C;
  position: relative;
  padding-bottom: 0.5rem;
  letter-spacing: -0.6px;
}

@media (min-width: 768px) {
  h2 {
    font-size: 2.5rem;
  }
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #D4A574 0%, #C19A4A 100%);
  border-radius: 2px;
}

h3 {
  font-size: 1.75rem;
  color: #2C2C2C;
}

h4 {
  font-size: 1.25rem;
  color: #2C2C2C;
}

h5 {
  font-size: 1.1rem;
  color: #2C2C2C;
}

p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #3c342d;
}

@media (min-width: 768px) {
  p {
    font-size: 1.1rem;
    margin-bottom: 1.15rem;
  }
}

@media (min-width: 1024px) {
  p {
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
  }
}

.section-lead {
  font-size: 1.08rem;
  color: #2f2923;
  max-width: 900px;
}

a {
  color: #D4A574;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

a:hover,
a:focus {
  color: #C19A4A;
  outline: none;
}

a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #D4A574;
  transition: width 0.3s ease;
}

a:hover::after {
  width: 100%;
}

strong, b {
  font-weight: 700;
}

em, i {
  font-style: italic;
}

/* ============================================================================
   HEADER & NAVIGATION
   ========================================================================== */

header {
  background: linear-gradient(135deg, #D4A574 0%, #C19A4A 50%, #A67C4A 100%);
  border-bottom: 8px solid #2C2C2C;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
  padding: 0;
}

.header-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .header-container {
    padding: 1rem 2rem;
  }
}

@media (min-width: 1024px) {
  .header-container {
    padding: 1rem 3rem;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 0;
  font-weight: 900;
  color: #2C2C2C;
  text-decoration: none;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.logo span {
  display: none;
}

.logo:hover {
  transform: scale(1.12) rotate(-2deg);
}

.logo img {
  height: clamp(120px, 18vw, 200px);
  width: auto;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.3)) contrast(1.15) brightness(1.02);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: linear-gradient(135deg, #D4A574 0%, #C19A4A 50%, #A67C4A 100%);
  padding: 12px;
  border-radius: 16px;
  border: 2px solid rgba(44, 44, 44, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (min-width: 1024px) {
  .logo img {
    height: clamp(180px, 20vw, 240px);
  }
}

.logo:hover img {
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.4)) contrast(1.25) brightness(1.05);
  transform: scale(1.05);
  background: linear-gradient(135deg, #E0B684 0%, #D4A574 50%, #C19A4A 100%);
  border-color: rgba(44, 44, 44, 0.25);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, #D4A574 0%, #C19A4A 100%);
  flex-direction: column;
  border-top: 3px solid #2C2C2C;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

nav.active {
  display: flex;
}

nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
}

nav ul li {
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

nav ul li:last-child {
  border-bottom: none;
}

nav ul li a {
  display: block;
  padding: 1.2rem;
  color: #2C2C2C;
  font-weight: 700;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  font-size: 1.1rem;
}

nav ul li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.3s ease;
}

nav ul li a:hover {
  background-color: rgba(0, 0, 0, 0.1);
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  padding-left: 1.6rem;
}

nav ul li a:hover::before {
  left: 100%;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  transition: all 0.3s ease;
}

.hamburger:hover {
  opacity: 0.7;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #2C2C2C;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
  background: #D4A574;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
  background: #D4A574;
}

@media (max-width: 767px) {
  .header-container {
    padding: 1.25rem 1.5rem;
    gap: 1.25rem;
  }

  .logo img {
    height: clamp(120px, 18vw, 150px);
    padding: 16px;
    border-radius: 20px;
  }
}

/* Desktop Navigation */
@media (min-width: 768px) {
  nav {
    display: flex;
    position: static;
    border: none;
    background: transparent;
    box-shadow: none;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
  }

  nav ul {
    flex-direction: row;
    gap: 0.55rem;
    justify-content: flex-end;
    align-items: center;
    padding: 0.85rem 1.05rem;
    background: linear-gradient(135deg, rgba(235, 202, 150, 0.9) 0%, rgba(218, 176, 120, 0.82) 100%);
    border: 1px solid rgba(44, 44, 44, 0.12);
    border-radius: 999px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
  }

  nav ul li {
    border: none;
  }

  nav ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: 0 24px;
    border: 1px solid rgba(44, 44, 44, 0.12);
    color: #2C2C2C;
    font-weight: 800;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
    transition: all 0.2s ease;
    font-size: 1.12rem;
    border-radius: 999px;
    background: linear-gradient(150deg, rgba(245, 230, 208, 0.96) 0%, rgba(233, 202, 150, 0.9) 55%, rgba(212, 165, 116, 0.18) 100%);
    letter-spacing: 0.08px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
  }

  nav ul li a:hover {
    background: linear-gradient(145deg, #2C2C2C 0%, #1c1c1c 100%);
    border-color: #2C2C2C;
    padding-left: 22px;
    padding-right: 22px;
    transform: translateY(-2px);
    color: #fff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(212, 165, 116, 0.22);
  }

  nav ul li a:hover::before {
    display: none;
  }

  .hamburger {
    display: none;
  }
}

/* ============================================================================
   CALL BUTTON
   ========================================================================== */

.call-button {
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 64px;
  padding: 0 24px;
  background: linear-gradient(135deg, #2C2C2C 0%, #1c1c1c 100%);
  color: #fff;
  border: 1px solid rgba(44, 44, 44, 0.12);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.12rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  margin-left: auto;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.call-button svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.call-button-text {
  font-size: 1.12rem;
}

.call-button:hover {
  background: linear-gradient(135deg, #D4A574 0%, #C19A4A 100%);
  color: #2C2C2C;
  border-color: rgba(44, 44, 44, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  text-decoration: none;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
}

.call-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

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

/* Small screen optimization - show icon only on very small screens if needed */
@media (max-width: 900px) {
  .call-button-text {
    display: none;
  }
  
  .call-button {
    padding: 0 20px;
    min-width: 64px;
    justify-content: center;
  }
}

/* ============================================================================
   LANGUAGE SWITCHER
   ========================================================================== */

.lang-switcher {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 52px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.15);
  color: #2C2C2C;
  border: 2px solid #2C2C2C;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  letter-spacing: 0.5px;
  margin-left: 0.75rem;
}

.lang-switcher:hover {
  background: #2C2C2C;
  color: #D4A574;
  border-color: #D4A574;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(44, 44, 44, 0.25);
}

.lang-switcher::after {
  content: none;
}

@media (max-width: 768px) {
  .lang-switcher {
    position: absolute;
    top: 50%;
    right: 80px;
    transform: translateY(-50%);
    min-width: 48px;
    min-height: 48px;
    padding: 0 14px;
    font-size: 0.9rem;
  }
}

/* ============================================================================
   BREADCRUMB NAVIGATION
   ========================================================================== */

.breadcrumb {
  background: linear-gradient(90deg, #D4A574 0%, #C19A4A 100%);
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  border-bottom: 2px solid #2C2C2C;
  color: #fff;
  font-weight: 500;
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.breadcrumb-list li:not(:last-child)::after {
  content: ' / ';
  margin-left: 0.5rem;
  color: #2C2C2C;
  font-weight: 700;
}

.breadcrumb-list a {
  color: #2C2C2C;
  transition: all 0.3s ease;
  font-weight: 700;
}

.breadcrumb-list a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ============================================================================
   MAIN CONTENT & LAYOUT
   ========================================================================== */

main {
  min-height: calc(100vh - 200px);
}

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

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0.25rem 2.5rem;
  }
}

@media (min-width: 1440px) {
  .container {
    padding: 0.5rem 3rem;
  }
}

section {
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  section {
    margin-bottom: 0.75rem;
  }
}

@media (min-width: 1024px) {
  section {
    margin-bottom: 1rem;
  }
}

@media (min-width: 1440px) {
  section {
    margin-bottom: 1.25rem;
  }
}

article {
  background-color: #fff;
}

.content-section {
  animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

section ul li {
  padding: 0.85rem 0;
  padding-left: 2.2rem;
  position: relative;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #3c342d;
  transition: color 0.2s ease;
  border-bottom: 1px solid #e8decf;
}

section ul li:last-child {
  border-bottom: none;
}

section ul li:hover {
  color: #2C2C2C;
}

section ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #d4a574;
  font-weight: 700;
  font-size: 1.1rem;
  transition: color 0.2s ease;
}

section ul li:hover::before {
  color: #C19A4A;
  transform: scale(1.2);
}

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

.hero {
  background: linear-gradient(135deg, #2C2C2C 0%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 1rem 1rem 1rem;
  text-align: center;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.5), 0 10px 40px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .hero {
    padding: 1.5rem 1.5rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 2rem 2rem 2rem;
  }
}

@media (min-width: 1440px) {
  .hero {
    padding: 2rem 3rem 2rem;
  }
}

.hero::before {
  content: '⚡ 🔌 ⚡ 🔌 ⚡ 🔌 ⚡ 🔌 ⚡ 🔌 ⚡ 🔌 ⚡ 🔌 ⚡';
  position: absolute;
  top: 0;
  left: -100%;
  right: 100%;
  font-size: 120px;
  opacity: 0.04;
  white-space: nowrap;
  animation: slideBackground 30s linear infinite;
  z-index: 0;
  height: 100%;
}

@keyframes slideBackground {
  0% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(212, 165, 116, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(212, 165, 116, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: #D4A574;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
  letter-spacing: -1px;
  font-weight: 900;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 2.75rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}

.hero p {
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .hero p {
    font-size: 1.2rem;
  }
}

@media (min-width: 1024px) {
  .hero p {
    font-size: 1.4rem;
  }
}
  font-weight: 500;
}

@media (min-width: 768px) {
  .hero {
    padding: 10rem 1rem 8rem;
  }

  .hero h1 {
    font-size: 4.5rem;
  }
}

/* ============================================================================
   BUTTONS & CALL-TO-ACTION
   ========================================================================== */

.btn {
  display: inline-block;
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  margin: 0.5rem 0.5rem 0.5rem 0;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, #D4A574 0%, #C19A4A 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(212, 165, 116, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #C19A4A 0%, #A67C4A 100%);
  color: #fff;
  outline: none;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 165, 116, 0.6);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: #fdf7ee;
  color: #2C2C2C;
  border: 2px solid #C19A4A;
  box-shadow: 0 4px 14px rgba(44, 44, 44, 0.12);
}

.btn.btn-secondary,
.btn.btn-secondary:link,
.btn.btn-secondary:visited,
.btn.btn-secondary:focus {
  color: #2C2C2C;
}

.btn.btn-secondary::after {
  content: none;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #D4A574 0%, #C19A4A 100%);
  color: #fff;
  border-color: transparent;
  outline: none;
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(212, 165, 116, 0.45);
}

.btn-secondary:active {
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: #D4A574;
  border: 2px solid #D4A574;
  box-shadow: 0 2px 10px rgba(212, 165, 116, 0.2);
}

.btn-outline:hover {
  background: linear-gradient(135deg, #D4A574 0%, #C19A4A 100%);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 165, 116, 0.4);
}

/* ============================================================================
   SERVICE CARDS
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: #fffdf8;
  border: 1px solid #ead7b8;
  border-radius: 14px;
  padding: 2.2rem 1.8rem;
  text-align: center;
  transition: all 0.28s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4a574, #c19a4a);
}

.service-card:hover {
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(-6px);
  border-color: #d4a574;
}

.service-icon {
  font-size: 3.2rem;
  margin-bottom: 1rem;
  width: 100%;
  max-width: 240px;
  height: 100px;
  background: radial-gradient(circle at 30% 30%, #f9e7cd, #d4a574);
  color: #2c2c2c;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: 0 6px 16px rgba(212, 165, 116, 0.25);
  overflow: hidden;
}

@media (min-width: 768px) {
  .service-icon {
    max-width: 280px;
    height: 140px;
  }
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.service-card:hover .service-icon {
  transform: scale(1.08);
}

.service-card h3 {
  color: #2c2c2c;
  margin-top: 0.6rem;
  margin-bottom: 0.6rem;
  font-size: 1.3rem;
}

.service-card p {
  font-size: 0.98rem;
  color: #4a3b2e;
  line-height: 1.6;
}

/* Newsletter & CTA Blocks */
.newsletter-block {
  background: #f9f3e8;
  border: 1px solid #ead7b8;
  border-radius: 14px;
  padding: 2.4rem 2rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.newsletter-block h2 {
  margin-top: 0;
  color: #2c2c2c;
}

.newsletter-block p {
  color: #3c342d;
}

.newsletter-block .form-container {
  margin-top: 1.25rem;
  display: grid;
  gap: 1rem;
}

.newsletter-block .btn {
  width: 100%;
}

.cta-band {
  background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
  color: #f5f1e8;
  padding: 3rem 2rem;
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.4);
}

.cta-band h2 {
  color: #f5f1e8;
}

.cta-band p {
  color: #d8d2c8;
  margin-bottom: 1.6rem;
}

/* ============================================================================
   DETAILED SERVICE CARDS (uslugi.html)
   ========================================================================== */

.services-detailed-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .services-detailed-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .services-detailed-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-detail-card {
  background: #fffdf8;
  border: 1px solid #ead7b8;
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
  transition: all 0.28s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.service-detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4a574, #c19a4a);
}

.service-detail-card:hover {
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(-6px);
  border-color: #d4a574;
}

.service-detail-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 260px;
  height: 120px;
  background: radial-gradient(circle at 30% 30%, #f9e7cd, #d4a574);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(212, 165, 116, 0.25);
}

@media (min-width: 768px) {
  .service-detail-icon {
    max-width: 320px;
    height: 160px;
  }
}

.service-detail-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.service-detail-card h3 {
  color: #2c2c2c;
  margin-top: 0.5rem;
  margin-bottom: 0.6rem;
  font-size: 1.4rem;
}

.service-detail-subtitle {
  color: #d4a574;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.service-detail-card > p {
  color: #3c342d;
  font-size: 0.95rem;
  flex-grow: 1;
  text-align: left;
}

.service-detail-features {
  text-align: left;
  margin: 1.2rem 0;
  padding: 1.2rem 0;
  border-top: 1px solid #e8decf;
  border-bottom: 1px solid #e8decf;
}

.service-detail-features h4 {
  font-size: 0.95rem;
  color: #2c2c2c;
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.service-detail-features ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-detail-features ul li {
  font-size: 0.85rem;
  color: #4a3b2e;
  padding: 0.3rem 0 0.3rem 2rem;
  line-height: 1.5;
  border: none;
  position: relative;
  display: block;
}

.service-detail-features ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.2rem;
  color: #d4a574;
  font-weight: 700;
  font-size: 0.95rem;
  width: 1.2rem;
  text-align: center;
}

section .service-detail-features ul li {
  padding-left: 2.4rem;
}

section .service-detail-features ul li::before {
  left: 0.3rem;
}

.service-detail-info {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1.2rem 0;
  text-align: left;
}

.info-item {
  font-size: 0.9rem;
  color: #3c342d;
}

.service-detail-card .btn {
  width: 100%;
  margin: 0;
}

/* ============================================================================
   BLOG CARDS
   ========================================================================== */

.blog-article {
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 2.2rem 2.4rem;
  background: #fffdf8;
  border: 1px solid #ead7b8;
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
}

.blog-article ul {
  padding-left: 1.6rem;
  margin: 1rem 0 1.4rem;
}

.blog-article ul li {
  padding-left: 0.2rem;
  margin: 0.35rem 0;
}

@media (max-width: 768px) {
  .blog-article {
    padding: 1.6rem 1.4rem;
    border-radius: 12px;
  }
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  background-color: #fff;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.blog-card:hover {
  box-shadow: 0 12px 40px rgba(212, 165, 116, 0.25);
  transform: translateY(-8px);
  border-color: #D4A574;
}

.blog-card:hover::before {
  opacity: 1;
}

.blog-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: linear-gradient(135deg, #D4A574 0%, #C19A4A 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  transition: all 0.3s ease;
}

.blog-card:hover .blog-card-image {
  filter: brightness(1.1);
  transform: scale(1.05);
}

.blog-card-content {
  padding: 2rem 1.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.blog-card h3 {
  margin-top: 0;
  color: #2C2C2C;
  margin-bottom: 0.75rem;
}

.blog-card h3 a {
  color: inherit;
}

.blog-card h3 a:hover {
  color: #D4A574;
}

.blog-meta {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-meta::before {
  content: '📅';
  font-size: 0.9rem;
}

.blog-card p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  color: #666;
}

.read-more {
  color: #D4A574;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.read-more:hover {
  gap: 0.8rem;
}

/* ============================================================================
   FORMS
   ========================================================================== */

.form-group {
  margin-bottom: 1.75rem;
}

label {
  display: block;
  margin-bottom: 0.6rem;
  font-weight: 600;
  color: #2C2C2C;
  font-size: 1rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 1rem;
  border: 2px solid #E0E0E0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #fff;
  color: #2C2C2C;
}

input::placeholder,
textarea::placeholder {
  color: #999;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #D4A574;
  box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.15);
  background-color: #fafaf8;
}

textarea {
  resize: vertical;
  min-height: 150px;
  font-family: inherit;
}

.form-container {
  background: linear-gradient(135deg, #F5F1E8 0%, #fafaf8 100%);
  padding: 2.5rem;
  border-radius: 12px;
  max-width: 500px;
  border: 1px solid #E0E0E0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-success {
  background: linear-gradient(135deg, #d4edda 0%, #c8e6c9 100%);
  border: 2px solid #28a745;
  color: #155724;
  padding: 1.25rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: none;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
  font-weight: 500;
}

.form-success.show {
  display: block;
  animation: slideInDown 0.4s ease;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

footer {
  background: linear-gradient(135deg, #2C2C2C 0%, #1a1a1a 100%);
  color: #fff;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(212, 165, 116, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(212, 165, 116, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

footer .container {
  padding: 3rem 1rem;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-section {
  transition: all 0.3s ease;
}

.footer-section h3 {
  color: #D4A574;
  margin-top: 0;
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: linear-gradient(90deg, #D4A574, #C19A4A);
  border-radius: 2px;
}

.footer-section p {
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
  padding: 0.35rem 0;
  transition: all 0.3s ease;
}

.footer-section ul li:hover {
  padding-left: 0.5rem;
}

.footer-section a {
  color: #D4A574;
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: #C19A4A;
  text-shadow: 0 0 10px rgba(212, 165, 116, 0.3);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #D4A574 0%, #C19A4A 100%);
  color: #fff;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.social-links a:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 25px rgba(212, 165, 116, 0.5);
  background: linear-gradient(135deg, #C19A4A 0%, #A67C4A 100%);
}

.footer-bottom {
  border-top: 1px solid rgba(212, 165, 116, 0.2);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #999;
}

.footer-bottom a {
  color: #D4A574;
  transition: all 0.3s ease;
}

/* ============================================================================
   ACCESSIBILITY & UTILITY CLASSES
   ========================================================================== */

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.p-1 {
  padding: 0.5rem;
}

.p-2 {
  padding: 1rem;
}

.gap-1 {
  gap: 0.5rem;
}

.gap-2 {
  gap: 1rem;
}

.gap-3 {
  gap: 1.5rem;
}

.shadow {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.shadow-lg {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.rounded {
  border-radius: 8px;
}

.rounded-lg {
  border-radius: 12px;
}

.badge {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: linear-gradient(135deg, #D4A574 0%, #C19A4A 100%);
  color: #fff;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.badge:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #D4A574, transparent);
  margin: 2rem 0;
}

/* Visually hidden but accessible to screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
  header,
  footer,
  nav,
  .breadcrumb {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }

  a {
    color: #000;
  }

  h1, h2, h3, h4, h5, h6 {
    color: #000;
  }
}
