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

:root {
  --primary: #c0392b;
  --primary-dark: #96281b;
  --accent: #f39c12;
  --bg: #fdfaf7;
  --text: #2c2c2c;
  --muted: #595959;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --transition: 0.3s ease;
}

/* ===== SPLASH SCREEN ===== */
.splash-screen {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: linear-gradient(135deg, #b71c1c 0%, #d32f2f 30%, #f44336 60%, #ff5252 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  animation: splashFadeIn 0.5s ease;
}

.splash-screen.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

@keyframes splashFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.splash-content {
  max-width: 560px;
}

.splash-logo {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.8);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  margin-top: 1.5rem;
}

.splash-title {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  line-height: 1.3;
}

.splash-sub {
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
  font-style: italic;
  line-height: 1.6;
}

.splash-icon {
  font-size: 3.5rem;
  margin-bottom: 2rem;
  animation: splashPulse 1.5s ease-in-out infinite;
}

.splash-fist-img {
  width: 140px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255,255,255,0.95);
  padding: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  margin: 0 auto 1.5rem;
  animation: splashPulse 1.5s ease-in-out infinite;
}

@keyframes splashPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.splash-btn {
  background: var(--white);
  color: #b71c1c;
  border: none;
  border-radius: 30px;
  padding: 0.85rem 2.5rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.splash-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.splash-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.3);
  margin: 1.5rem auto;
  width: 60%;
}

.splash-labor-img {
  width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  margin-bottom: 1.5rem;
}

.splash-svg-wrap {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.3));
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Special Elite', 'Courier New', monospace;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  height: 64px;
  width: 64px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: 'Special Elite', 'Courier New', monospace;
  font-size: 1.61rem;
  font-weight: 400;
  color: var(--primary);
  letter-spacing: 1px;
}

.brand-motto {
  font-size: 0.88rem;
  color: #555;
  font-style: italic;
}

.brand-phone {
  font-size: 0.88rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.3px;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-family: 'Special Elite', 'Courier New', monospace;
  font-weight: 400;
  font-size: 1.09rem;
  letter-spacing: 0.5px;
  transition: color var(--transition);
  padding: 0.5rem 0.25rem;
  display: inline-block;
  min-height: 48px;
  min-width: 48px;
  line-height: 48px;
}

nav a:hover { color: var(--primary); }

.lang-toggle {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 20px;
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 1px;
  min-height: 48px;
  min-width: 48px;
  transition: background var(--transition), transform var(--transition);
}

.lang-toggle:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

/* ===== HERO / SLIDER ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
  margin-top: 0;
}

.slider {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.77,0,0.175,1);
  will-change: transform;
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 3rem 2rem 5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
  color: var(--white);
  text-align: center;
  pointer-events: none;
}

.hero-overlay h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  margin-bottom: 0.5rem;
}

.hero-overlay p {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-style: italic;
  margin-bottom: 1.5rem;
  opacity: 0.92;
}

.cta-btn {
  pointer-events: all;
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 0.75rem 2.2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: background var(--transition), transform var(--transition);
  box-shadow: 0 4px 16px rgba(192,57,43,0.4);
}

.cta-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Slider buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: background var(--transition), transform var(--transition);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.1);
}

.prev { left: 1.2rem; }
.next { right: 1.2rem; }

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  border: none;
  padding: 8px;
  box-sizing: content-box;
}

.dot.active {
  background: var(--white);
  transform: scale(1.3);
}

/* ===== PRODUCTS ===== */
.products-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--primary);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.14);
}

.product-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.product-info {
  padding: 0.6rem 1rem;
  text-align: center;
}

.product-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.product-info .badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-weight: 600;
}

/* ===== BLOG ===== */
.blog-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
  background: linear-gradient(135deg, #fef9f4 0%, #fff 100%);
  border-top: 3px solid var(--primary);
}

.blog-post {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  margin-top: 1.5rem;
  border-left: 4px solid var(--primary);
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.blog-author {
  font-weight: 600;
  color: var(--primary);
}

.blog-date {
  font-style: italic;
}

.blog-post-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.blog-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: var(--text);
  font-size: 0.98rem;
}

.blog-content h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
}

.blog-content ul {
  margin: 0.8rem 0 1.2rem 1.5rem;
  line-height: 1.9;
  color: var(--text);
  font-size: 0.95rem;
}

.blog-content ul li {
  margin-bottom: 0.4rem;
}

.blog-content strong {
  color: var(--primary);
}

.blog-page {
  padding-top: 100px;
}

.blog-page .blog-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.blog-page .section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 1.5rem;
}

.blog-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

/* ===== ABOUT ===== */
.about-section {
  background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
  padding: 5rem 1.5rem;
}

.about-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.about-img {
  flex: 0 0 220px;
}

.about-img img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--primary);
  box-shadow: var(--shadow);
}

.about-text {
  flex: 1;
  min-width: 260px;
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.about-text blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 1rem;
  font-style: italic;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ===== CONTACT ===== */
.contact-section {
  max-width: 640px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  text-align: center;
}

.contact-section h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.contact-phone {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2rem;
  letter-spacing: 0.5px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid #e0d6d6;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
}

.contact-form button {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 30px;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.contact-form button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.captcha-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.captcha-input {
  width: 80px;
  padding: 0.6rem 0.8rem;
  border: 1.5px solid #e0d6d6;
  border-radius: var(--radius);
  font-size: 1rem;
  text-align: center;
  outline: none;
  transition: border-color var(--transition);
}

.captcha-input:focus {
  border-color: var(--primary);
}

.form-message {
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  min-height: 1.5rem;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
}

/* ===== FOOTER ===== */
footer {
  background: #1a1a1a;
  color: rgba(255,255,255,0.85);
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

/* ===== FLOATING PHONE BUTTON ===== */
.phone-floater {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  padding: 0.75rem 1.2rem;
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(192,57,43,0.4);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  pointer-events: none;
  cursor: default;
}

.phone-floater:hover {
  box-shadow: 0 6px 24px rgba(192,57,43,0.5);
}

@media (hover: none) and (pointer: coarse) {
  .phone-floater {
    pointer-events: auto;
    cursor: pointer;
  }
}

.phone-text {
  white-space: nowrap;
}

@media (max-width: 480px) {
  .phone-floater {
    padding: 0.7rem;
    border-radius: 50%;
  }
  .phone-text {
    display: none;
  }
}

footer .footer-motto {
  color: var(--accent);
  font-style: italic;
  margin-top: 0.4rem;
  font-size: 0.95rem;
}

/* ===== LIGHTBOX ===== */
.lightbox-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.lightbox-overlay.active {
  opacity: 1;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  min-height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  color: var(--accent);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  nav { gap: 1rem; }
  .about-inner { flex-direction: column; align-items: center; text-align: center; }
  .about-text blockquote { text-align: left; }
  .hero-overlay { padding: 2rem 1rem 4rem; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .product-card img { height: 200px; }
}
