/* Pracownia Tapicerska - Upholstery Workshop */
/* Warm, professional furniture-inspired design */

:root {
  --primary: #2c1810;
  --secondary: #3d2317;
  --accent: #4a2c1a;
  --gold: #c9a227;
  --text: #f5f0eb;
  --text-light: #b8a89a;
  --bg: #1a0f0a;
  --bg-light: #2a1a12;
  --white: #ffffff;
  --border: #4a3428;
}

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

html {
  scroll-behavior: auto;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--gold);
}

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

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

.header-top {
  background: var(--secondary);
  padding: 8px 0;
  font-size: 14px;
}

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

.header-top a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.9;
}

.header-top a:hover {
  opacity: 1;
}

.phone-highlight {
  background: var(--gold);
  color: var(--primary) !important;
  padding: 4px 12px;
  font-weight: 600;
  opacity: 1 !important;
}

.header-main {
  padding: 15px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: var(--white);
}

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

.logo-text h1 {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.logo-text span {
  font-size: 0.8rem;
  opacity: 0.8;
  display: block;
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
  gap: 5px;
}

nav a {
  color: var(--white);
  text-decoration: none;
  padding: 10px 18px;
  transition: background 0.3s;
  font-size: 15px;
}

nav a:hover,
nav a.active {
  background: rgba(255,255,255,0.1);
}

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

/* Hero Section */
.hero {
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
}

@media (min-width: 769px) {
  .hero {
    flex-direction: row;
  }
}

.hero-image {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
}

@media (min-width: 769px) {
  .hero-image {
    width: 50%;
    height: auto;
    max-height: 500px;
  }
}

.hero-content {
  text-align: center;
  padding: 40px 20px;
}

@media (min-width: 769px) {
  .hero-content {
    width: 50%;
    padding: 60px 50px;
    text-align: left;
  }
}

.hero h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 300;
  letter-spacing: 2px;
}

@media (min-width: 769px) {
  .hero h2 {
    font-size: 2.2rem;
  }
}

.hero p {
  font-size: 1rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 0 30px;
}

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

.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--primary);
  padding: 10px 30px;
  font-weight: 600;
  font-size: 1rem;
}

/* Contact Banner */
.banner-contact {
  background: var(--gold);
  color: var(--primary);
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.banner-contact a {
  color: var(--primary);
  text-decoration: none;
  font-size: 1.3rem;
}

/* Sections */
section {
  padding: 60px 0;
}

section.alt {
  background: var(--bg-light);
}

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

.section-title h2 {
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 10px;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

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

.service-card {
  background: var(--accent);
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--border);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.service-card h3 {
  color: var(--white);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.service-card a {
  display: inline-block;
  margin-top: 15px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
}

.service-card a:hover {
  text-decoration: underline;
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

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

.gallery-item {
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: transform 0.3s;
  background: var(--accent);
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 15px;
  color: var(--text-light);
}

.about-image {
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature {
  padding: 20px;
  background: var(--accent);
  border-left: 3px solid var(--gold);
}

.feature h4 {
  color: var(--white);
  margin-bottom: 5px;
}

.feature p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h3 {
  color: var(--white);
  margin-bottom: 25px;
  font-size: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  align-items: flex-start;
}

.contact-item h4 {
  color: var(--white);
  margin-bottom: 5px;
}

.contact-item p,
.contact-item a {
  color: var(--text-light);
  text-decoration: none;
}

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

/* CTA Section */
.cta {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 60px 20px;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.cta p {
  opacity: 0.9;
  margin-bottom: 25px;
}

.cta-phone {
  display: inline-block;
  background: var(--gold);
  color: var(--primary);
  padding: 15px 40px;
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s;
}

.cta-phone:hover {
  transform: scale(1.05);
}

/* Footer */
footer {
  background: var(--secondary);
  color: var(--white);
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--gold);
}

.footer-section p,
.footer-section a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 40px 0 60px;
  text-align: center;
}

.page-header h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.page-header p {
  opacity: 0.9;
}

.back-link {
  display: inline-block;
  color: var(--text-light);
  text-decoration: none;
  padding: 10px 0;
  margin-bottom: 10px;
  font-size: 0.9rem;
  transition: color 0.3s;
}

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

.back-link::before {
  content: "\2190";
  margin-right: 8px;
}

/* Offer Page */
.offer-nav {
  background: var(--gold);
  padding: 20px;
  margin-bottom: 40px;
  position: sticky;
  top: 100px;
  z-index: 100;
}

.offer-nav h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.offer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.offer-nav a {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.offer-nav a:hover {
  background: var(--white);
  color: var(--primary);
}

.offer-section {
  background: var(--bg-light);
  padding: 40px;
  margin-bottom: 30px;
  border-left: 4px solid var(--gold);
  scroll-margin-top: 230px;
}

.offer-section h2 {
  color: var(--white);
  font-size: 1.6rem;
  margin: 0 0 20px 0;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border);
}

.offer-section > p {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 25px;
}

/* Content Page */
.content-page {
  padding: 60px 0;
}

.content-page h2 {
  color: var(--white);
  margin: 30px 0 15px;
  font-size: 1.5rem;
}

.content-page h3 {
  color: var(--gold);
  margin: 25px 0 10px;
  font-size: 1.2rem;
}

.content-page p {
  margin-bottom: 15px;
  color: var(--text);
}

.content-page ul {
  margin: 15px 0 15px 25px;
}

.content-page li {
  margin-bottom: 8px;
  color: var(--text);
}

.content-page li::marker {
  color: var(--gold);
}

/* About Page */
.about-main {
  padding: 50px 0;
  background: var(--bg);
}

.about-flow {
  max-width: 900px;
  margin: 0 auto;
}

.about-float-image {
  float: right;
  width: 380px;
  margin: 0 0 25px 35px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.about-flow h2 {
  color: var(--white);
  font-size: 1.5rem;
  margin: 35px 0 15px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.about-flow h2:first-of-type {
  margin-top: 0;
}

.about-flow p {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 15px;
}

.services-list {
  margin: 0 0 20px 0;
  padding-left: 25px;
}

.services-list li {
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.6;
}

.services-list li::marker {
  color: var(--gold);
}

/* Location Cards */
.location-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.location-card {
  background: var(--accent);
  padding: 30px;
  border-left: 4px solid var(--gold);
}

.location-card h3 {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.location-card p {
  color: var(--text);
  margin-bottom: 10px;
}

.location-card a {
  color: var(--gold);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

/* Button */
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--primary);
  padding: 12px 30px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}

.btn:hover {
  background: #b8911f;
  color: var(--white);
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .about-content,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }
}

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

  .header-main .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .menu-toggle {
    display: block;
    position: static;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 15px 0;
  }

  nav.active ul {
    display: flex;
  }

  .hero {
    flex-direction: column;
  }

  .back-link {
    display: none;
  }

  .about-float-image {
    float: none;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 25px auto;
    display: block;
  }

  .section-title h2 {
    font-size: 1.6rem;
  }

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

  .gallery-item img {
    height: 200px;
  }

  .offer-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    background: linear-gradient(to top, var(--primary) 0%, rgba(44,24,16,0.95) 100%);
    padding: 12px 10px 16px;
    margin: 0;
    border-top: 1px solid var(--gold);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
  }

  .offer-nav h3 {
    display: none;
  }

  .offer-nav ul {
    flex-direction: row;
    justify-content: center;
    gap: 6px;
  }

  .offer-nav a {
    flex: 1;
    text-align: center;
    padding: 12px 6px;
    font-size: 0.65rem;
    font-weight: 600;
    background: var(--accent);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 6px;
    line-height: 1.2;
  }

  .offer-section:last-of-type {
    padding-bottom: 100px;
  }

  .location-cards {
    grid-template-columns: 1fr;
  }
}

/* Service Detail Sections */
.service-detail {
  background: var(--bg-light);
  padding: 40px;
  margin-bottom: 30px;
  border-left: 4px solid var(--gold);
  scroll-margin-top: 180px;
}

.service-detail h2 {
  color: var(--white);
  font-size: 1.6rem;
  margin: 0 0 25px 0;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border);
}

.service-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  align-items: start;
}

.service-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.service-text p {
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 15px;
}

.service-text h4 {
  color: var(--gold);
  margin: 20px 0 10px;
  font-size: 1rem;
}

.service-text ul {
  margin: 0 0 15px 25px;
}

.service-text li {
  color: var(--text);
  margin-bottom: 8px;
}

.service-text li::marker {
  color: var(--gold);
}

/* Additional Services Grid */
.additional-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.additional-item {
  background: var(--accent);
  padding: 25px;
  border-left: 3px solid var(--gold);
}

.additional-item h4 {
  color: var(--white);
  margin-bottom: 10px;
}

.additional-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .service-content {
    grid-template-columns: 1fr;
  }

  .service-image {
    height: 200px;
  }

  .service-detail {
    padding: 25px;
    scroll-margin-top: 120px;
  }

  .service-detail:last-child {
    margin-bottom: 100px;
  }
}

/* Hours Section */
.hours-section {
  margin-top: 50px;
  padding: 40px;
  background: var(--bg-light);
  border-left: 4px solid var(--gold);
}

.hours-section h2 {
  color: var(--white);
  margin-bottom: 25px;
  font-size: 1.5rem;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
  background: var(--accent);
}

.hours-item .day {
  color: var(--text);
  font-weight: 500;
}

.hours-item .time {
  color: var(--gold);
  font-weight: 600;
}

.hours-note {
  color: var(--text-light);
  font-size: 0.95rem;
  font-style: italic;
}

/* Contact CTA Boxes */
.contact-cta {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-box {
  background: var(--bg-light);
  padding: 30px;
  border-left: 4px solid var(--gold);
}

.contact-box h3 {
  color: var(--gold);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.contact-box p {
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.7;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}

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

@media (max-width: 768px) {
  .hours-grid {
    grid-template-columns: 1fr;
  }

  .hours-item {
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }
}
