/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green-dark: #1a3c2e;
  --green-medium: #234e3b;
  --green-light: #2d6a4f;
  --navy-dark: #0f1b2d;
  --navy: #1b2a4a;
  --navy-light: #243b5e;
  --gold: #c9a84c;
  --gold-light: #ddc07a;
  --white: #ffffff;
  --off-white: #f5f5f0;
  --gray-light: #e8e8e3;
  --gray: #999;
  --text-dark: #222;
  --text-body: #444;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-body);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy-dark);
  line-height: 1.3;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title h2 {
  display: inline-block;
  position: relative;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gold);
}

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--navy-dark);
  color: var(--white);
  font-size: 0.85rem;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar a {
  color: var(--gold-light);
  transition: color var(--transition);
}

.top-bar a:hover {
  color: var(--gold);
}

.top-bar-left {
  display: flex;
  gap: 24px;
  align-items: center;
}

.top-bar-left span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-right {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* ===== HEADER / NAVBAR ===== */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: box-shadow var(--transition);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
  min-height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo img {
  height: 60px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text .name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--navy-dark);
  font-weight: 700;
}

.logo-text .title {
  font-size: 0.78rem;
  color: var(--green-medium);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

.nav-menu {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav-menu a {
  padding: 10px 18px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: 4px;
  transition: all var(--transition);
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--green-dark);
  background: rgba(26, 60, 46, 0.06);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: all var(--transition);
  transform: translateX(-50%);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 50%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  background: none;
  border: none;
}

.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--navy-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

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

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

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

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--green-dark) 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 27, 45, 0.88) 0%, rgba(26, 60, 46, 0.75) 100%);
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-content .subtitle {
  font-size: 1rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 500;
  margin-bottom: 16px;
}

.hero-content h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 35px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-green {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}

.btn-green:hover {
  background: var(--green-medium);
  border-color: var(--green-medium);
}

.hero-image {
  flex: 0 0 380px;
}

.hero-image img {
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
  width: 100%;
}

/* ===== ABOUT ===== */
.about {
  padding: 100px 0;
  background: var(--white);
}

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

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--gold);
  border-radius: 8px;
  z-index: -1;
}

.about-text p {
  margin-bottom: 18px;
  font-size: 1.02rem;
}

.about-text .highlight {
  color: var(--green-dark);
  font-weight: 600;
}

.about-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
  margin-bottom: 30px;
}

.about-specialties span {
  background: var(--off-white);
  color: var(--navy-dark);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--gray-light);
}

/* ===== SERVICES ===== */
.services {
  padding: 100px 0;
  background: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  padding: 35px 28px;
  border-radius: 8px;
  text-align: center;
  transition: all var(--transition);
  border: 1px solid var(--gray-light);
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  border-color: var(--gold);
}

.service-card .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green-dark), var(--navy));
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.5rem;
}

.service-card .icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.service-card h4 {
  margin-bottom: 12px;
  color: var(--navy-dark);
  font-family: var(--font-heading);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

.service-card .arrow {
  display: inline-block;
  margin-top: 15px;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.88rem;
  transition: transform var(--transition);
}

.service-card:hover .arrow {
  transform: translateX(5px);
}

/* ===== OPINIONS / REVIEWS ===== */
.opinions {
  padding: 100px 0;
  background: var(--white);
}

.google-reviews-widget {
  max-width: 1080px;
  margin: 0 auto;
}

/* ===== CONTACT ===== */
.contact {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--green-dark) 100%);
  color: var(--white);
}

.contact .section-title h2 {
  color: var(--white);
}

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

.contact-info h3 {
  color: var(--gold);
  margin-bottom: 30px;
  font-size: 1.4rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-item .ci-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(201, 168, 76, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
}

.contact-info-item .ci-text {
  line-height: 1.5;
}

.contact-info-item .ci-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}

.contact-info-item .ci-value {
  font-size: 1rem;
  color: var(--white);
}

.contact-info-item a {
  color: var(--gold-light);
}

.contact-info-item a:hover {
  color: var(--gold);
  text-decoration: underline;
}

.contact-details-extra {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

.contact-form h3 {
  color: var(--gold);
  margin-bottom: 30px;
  font-size: 1.4rem;
}

.form-group {
  margin-bottom: 18px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  color: var(--white);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: border-color var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

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

.form-consent {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
  line-height: 1.6;
}

.form-consent label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  cursor: pointer;
}

.form-consent input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--gold);
}

.form-hidden {
  display: none;
}

.form-status {
  min-height: 1.5em;
  margin-top: 16px;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}

.form-status.success {
  color: #b9f2c1;
}

.form-status.error {
  color: #ffd1d1;
}

/* ===== NEWS / AKTUALNOSCI ===== */
.news {
  padding: 100px 0;
  background: var(--off-white);
}

.news-placeholder {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray);
  font-size: 1.05rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  padding: 30px 0;
  text-align: center;
  font-size: 0.85rem;
  border-top: 3px solid var(--gold);
}

.footer a {
  color: var(--gold-light);
}

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

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--green-dark);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all var(--transition);
  z-index: 999;
}

.scroll-top:hover {
  background: var(--green-medium);
  transform: translateY(-3px);
}

.scroll-top.visible {
  display: flex;
}

/* ===== SERVICE SUBPAGE ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--green-dark) 100%);
  padding: 120px 0 60px;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.page-hero .breadcrumb {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

.page-hero .breadcrumb a {
  color: var(--gold-light);
}

.page-hero .breadcrumb a:hover {
  color: var(--gold);
}

.page-content {
  padding: 80px 0;
}

.page-content .content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.page-content h2 {
  margin-bottom: 25px;
  font-size: 1.8rem;
}

.page-content p {
  margin-bottom: 20px;
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.services-list li {
  padding: 12px 0 12px 35px;
  position: relative;
  border-bottom: 1px solid var(--gray-light);
  font-size: 0.98rem;
  line-height: 1.6;
}

.services-list li:last-child {
  border-bottom: none;
}

.services-list li::before {
  content: '⬥';
  position: absolute;
  left: 8px;
  top: 12px;
  color: var(--gold);
  font-size: 0.8rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  color: var(--green-dark);
  font-weight: 600;
  font-size: 0.95rem;
}

.back-link:hover {
  color: var(--gold);
}

/* ===== FOOTER LINKS ===== */
.footer-links {
  margin-top: 8px;
}

.footer-links a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy-dark);
  color: rgba(255,255,255,0.9);
  padding: 20px 24px;
  z-index: 10000;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  font-size: 0.9rem;
  line-height: 1.6;
  display: none;
}

.cookie-banner.visible {
  display: block;
}

.cookie-banner .container {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner p {
  flex: 1;
  min-width: 250px;
  margin: 0;
}

.cookie-banner a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner a:hover {
  color: var(--gold);
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 22px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: all var(--transition);
}

.cookie-btn-accept {
  background: var(--green-light);
  color: var(--white);
}

.cookie-btn-accept:hover {
  background: var(--green-medium);
}

.cookie-btn-reject {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.3);
}

.cookie-btn-reject:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    flex: none;
    max-width: 350px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    max-width: 380px;
    margin: 0 auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
}

@media (max-width: 768px) {
  .top-bar .container {
    justify-content: center;
  }

  .top-bar-left,
  .top-bar-right {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 90px 30px 30px;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    transition: right var(--transition);
    align-items: stretch;
    gap: 0;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-menu a {
    padding: 14px 10px;
    border-bottom: 1px solid var(--gray-light);
    font-size: 1rem;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-image {
    max-width: 280px;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
  }

  .opinions-grid {
    grid-template-columns: 1fr;
  }

  .about-image::before {
    display: none;
  }

  .section-title {
    margin-bottom: 35px;
  }

  .about,
  .services,
  .opinions,
  .contact,
  .news {
    padding: 70px 0;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.7rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .logo-text .name {
    font-size: 1rem;
  }

  .service-card {
    padding: 25px 20px;
  }

  .contact-info-item {
    flex-direction: column;
    gap: 8px;
  }

  .cookie-banner .container {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
}

/* ===== MOBILE OVERLAY ===== */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
