/* ==============================================================
   DARIUSZ URYGA - FOTOGRAFIA SPORTOWA
   Oficjalny arkusz stylów CSS (Bez zbędnych bibliotek, 100% czysty i szybki)
   ============================================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,600;0,700;0,800;0,900;1,700;1,800;1,900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-main: #0c0d11;
  --bg-card: #14161d;
  --bg-card-hover: #1b1e27;
  --bg-input: #12141a;
  
  --color-red: #e51b24;
  --color-red-hover: #ff2a35;
  --color-red-dark: #b31018;
  --color-orange: #ff5722;
  
  --text-white: #ffffff;
  --text-gray: #a5abb5;
  --text-muted: #6b7280;
  
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-red: rgba(229, 27, 36, 0.4);
  
  --container-width: 1200px;
  --transition: 0.25s ease;
}

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

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

body {
  background-color: var(--bg-main);
  color: var(--text-white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==============================================================
   TYPOGRAFIA & PRZYCISKI
   ============================================================== */
.font-heading {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.text-red {
  color: var(--color-red);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.btn-primary {
  display: inline-block;
  background-color: var(--color-red);
  color: var(--text-white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 12px 30px;
  border: none;
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background-color var(--transition), transform var(--transition);
  text-align: center;
}

.btn-primary:hover {
  background-color: var(--color-red-hover);
  color: var(--text-white);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text-white);
  border: 1px solid var(--border-color);
  font-family: var(--font-heading);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 24px;
  transition: all var(--transition);
}

.btn-secondary:hover {
  border-color: var(--color-red);
  color: var(--color-red);
}

/* ==============================================================
   NAGŁÓWEK / MENU GŁÓWNE
   ============================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(12, 13, 17, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  padding: 15px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  flex-direction: column;
  line-height: 0.9;
}

.brand-logo .logo-top {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 1px;
  color: var(--text-white);
}

.brand-logo .logo-top span {
  color: var(--color-red);
}

.brand-logo .logo-bottom {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 2px;
  color: var(--color-red);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2.2rem;
}

.main-nav a {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #cfd4dc;
  position: relative;
  padding: 5px 0;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text-white);
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-red);
  transition: width var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.header-social a {
  color: #a5abb5;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-social a:hover {
  color: var(--color-red);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ==============================================================
   HERO BANNER
   ============================================================== */
.hero-section {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  background: #0c0d11;
  background-image: url('../images/hero_bg.jpg');
  background-size: cover;
  background-position: center top;
  border-bottom: 2px solid var(--border-color);
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 13, 17, 0.95) 0%, rgba(12, 13, 17, 0.75) 45%, rgba(12, 13, 17, 0.3) 100%),
              linear-gradient(0deg, #0c0d11 0%, transparent 60%);
  pointer-events: none;
}

.hero-accent-shape {
  position: absolute;
  right: -50px;
  bottom: 0;
  width: 250px;
  height: 120px;
  background: linear-gradient(135deg, var(--color-orange), var(--color-red));
  clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.85;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-title-box {
  margin-bottom: 15px;
}

.hero-title-main {
  font-family: var(--font-heading);
  font-size: 4.8rem;
  line-height: 0.92;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title-main .title-white {
  display: block;
  color: var(--text-white);
}

.hero-title-main .title-red {
  display: block;
  color: var(--color-red);
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 1.5px;
  color: #d1d5db;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ==============================================================
   KATEGORIE GŁÓWNEGO BANERU (6 KAFELKÓW ZE ZDJĘCIA)
   ============================================================== */
.categories-section {
  padding: 80px 0 60px;
  background: #0c0d11;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.category-card {
  position: relative;
  height: 480px;
  border-radius: 2px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  display: block;
  text-decoration: none;
}

.category-card .card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}

.category-card:hover .card-bg {
  transform: scale(1.04);
}

.category-card .card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
              rgba(12, 13, 17, 0) 40%, 
              rgba(12, 13, 17, 0.7) 70%, 
              rgba(179, 16, 24, 0.9) 95%,
              #b31018 100%);
  transition: opacity 0.25s ease;
}

.category-card:hover .card-gradient {
  background: linear-gradient(180deg, 
              rgba(12, 13, 17, 0) 35%, 
              rgba(12, 13, 17, 0.6) 65%, 
              rgba(229, 27, 36, 0.92) 92%,
              #e51b24 100%);
}

.category-card .card-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px;
  z-index: 2;
}

.category-card .card-title {
  font-family: var(--font-heading);
  font-size: 1.95rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  color: var(--text-white);
  line-height: 1.05;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.category-card .card-link-badge {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 2px solid #ffffff;
  padding-bottom: 2px;
  opacity: 0.9;
}

.category-card:hover .card-link-badge {
  opacity: 1;
}

/* ==============================================================
   SEKCJA O MNIE
   ============================================================== */
.about-section {
  padding: 90px 0;
  background: #111319;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 60px;
  align-items: center;
}

.about-photo-wrapper {
  position: relative;
}

.about-photo-wrapper::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: 12px;
  border: 4px solid var(--color-red);
  clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);
  pointer-events: none;
  z-index: 1;
}

.about-photo-img {
  position: relative;
  z-index: 2;
  border-radius: 2px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.about-text-content {
  padding-left: 10px;
}

.about-text-content .about-lead {
  font-size: 1.15rem;
  color: #e2e8f0;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.7;
}

.about-text-content .about-desc {
  color: var(--text-gray);
  margin-bottom: 30px;
  font-size: 1rem;
  line-height: 1.75;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 35px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.stat-item .stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  font-style: italic;
  color: var(--color-red);
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==============================================================
   SEKCJA OPINIE
   ============================================================== */
.testimonials-section {
  padding: 85px 0;
  background: #0c0d11;
  text-align: center;
}

.quote-icon {
  font-family: Georgia, serif;
  font-size: 4.5rem;
  color: var(--color-red);
  line-height: 1;
  margin-bottom: 10px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 20px;
  text-align: left;
}

.testimonial-card {
  background: var(--bg-card);
  padding: 30px 25px;
  border: 1px solid var(--border-color);
  position: relative;
}

.testimonial-card p {
  color: #cbd5e1;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial-author {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  font-style: italic;
  color: var(--text-white);
  text-transform: uppercase;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--color-red);
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 35px;
}

.testimonials-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2a2e39;
}

.testimonials-dots span.active {
  background: var(--color-red);
  width: 24px;
  border-radius: 4px;
}

/* ==============================================================
   SEKCJA KONTAKT
   ============================================================== */
.contact-section {
  padding: 85px 0 100px;
  background: #111319;
  border-top: 1px solid var(--border-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  color: #cbd5e1;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid #252936;
  color: var(--text-white);
  padding: 13px 16px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: border-color var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-red);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.contact-info-panel {
  padding-left: 20px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: #181b24;
  border: 1px solid var(--border-color);
  color: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-item-text .item-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-item-text .item-value {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  font-style: italic;
  color: var(--text-white);
}

.social-links-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-link-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #94a3b8;
  font-size: 0.95rem;
}

.social-link-row:hover {
  color: var(--text-white);
}

.social-link-row i {
  color: var(--color-red);
  width: 20px;
}

/* ==============================================================
   STOPKA
   ============================================================== */
.site-footer {
  background: #090a0d;
  padding: 35px 0;
  border-top: 1px solid var(--border-color);
  color: #71717a;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a:hover {
  color: var(--color-red);
}

/* ==============================================================
   STRONY PODRZĘDNE (Kategoria, Galeria)
   ============================================================== */
.subpage-header {
  padding: 60px 0 40px;
  background: #111319;
  border-bottom: 1px solid var(--border-color);
}

.breadcrumbs {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.breadcrumbs a {
  color: var(--text-gray);
}

.breadcrumbs a:hover {
  color: var(--color-red);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 25px;
  margin: 50px 0;
}

.gallery-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gallery-card-thumb {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.gallery-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-card-thumb img {
  transform: scale(1.05);
}

.gallery-card-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gallery-card-meta {
  font-size: 0.85rem;
  color: var(--color-red);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.gallery-card-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 10px;
  line-height: 1.2;
}

.gallery-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
  margin: 40px 0 80px;
}

.photo-item {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: #14161d;
  cursor: pointer;
  border: 1px solid var(--border-color);
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.photo-item:hover img {
  transform: scale(1.04);
}

.photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 13, 17, 0.4);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.photo-item:hover .photo-overlay {
  opacity: 1;
}

.photo-zoom-btn {
  background: var(--color-red);
  color: #fff;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

/* ==============================================================
   RESPONSYWNOŚĆ (TABLET & MOBILE)
   ============================================================== */
@media (max-width: 992px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-title-main {
    font-size: 3.8rem;
  }
}

@media (max-width: 768px) {
  .categories-grid {
    grid-template-columns: 1fr;
  }
  
  .category-card {
    height: 380px;
  }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0c0d11;
    border-bottom: 1px solid var(--border-color);
    padding: 20px;
  }
  
  .main-nav.show {
    display: block;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 15px;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .hero-title-main {
    font-size: 3rem;
  }
  
  .footer-inner {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
