/* Variables, reset, base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #E8A020;
  --primary-dark: #C4871A;
  --primary-light: #FFF3E0;
  --primary-glow: rgba(232, 160, 32, 0.15);
  --black: #111111;
  --dark: #1A1A1A;
  --gray-900: #222222;
  --gray-700: #555555;
  --gray-500: #888888;
  --gray-300: #CCCCCC;
  --gray-200: #E5E5E5;
  --gray-100: #F5F5F5;
  --gray-50: #FAFAFA;
  --white: #FFFFFF;
  --text: #1A1A1A;
  --text-muted: #666666;
  --text-light: #999999;
  --section-padding: 120px 0;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--white); color: var(--text); overflow-x: hidden; line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { font-family: 'Bebas Neue', sans-serif; letter-spacing: 2px; line-height: 1.1; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Navbar (exact same as index.html) */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 20px 0; transition: all var(--transition); background: transparent; }
.navbar.scrolled { background: rgba(255,255,255,0.92); backdrop-filter: blur(20px); padding: 12px 0; box-shadow: 0 1px 30px rgba(0,0,0,0.08); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; }
.logo-img { height: 44px; width: auto; max-width: 200px; object-fit: contain; }
.navbar.scrolled .logo-img { height: 36px; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links > li > a { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text); position: relative; padding: 4px 0; transition: color var(--transition); }
.nav-links > li > a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--primary); transition: width var(--transition); }
.nav-links > li > a:hover { color: var(--primary); }
.nav-links > li > a:hover::after { width: 100%; }
.nav-cta { background: var(--primary) !important; color: var(--white) !important; padding: 10px 24px !important; border-radius: 8px; font-weight: 700 !important; transition: all var(--transition) !important; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--black) !important; transform: translateY(-2px); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: inline-flex; align-items: center; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--white); border: 1px solid var(--gray-200); border-radius: 12px;
  padding: 8px 0; min-width: 240px; box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  opacity: 0; visibility: hidden; transition: all 0.25s ease;
  pointer-events: none; z-index: 100;
}
/* Invisible hover bridge so menu doesn't close when moving mouse down */
.nav-dropdown::after {
  content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 20px;
}
.nav-dropdown-menu::before {
  content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px; background: var(--white); border-left: 1px solid var(--gray-200); border-top: 1px solid var(--gray-200);
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto;
}
.nav-dropdown-menu a {
  display: block; padding: 10px 20px; font-size: 13px; font-weight: 500;
  color: var(--text); text-transform: none; letter-spacing: 0.5px;
  transition: all var(--transition); position: relative;
}
.nav-dropdown-menu a::after { display: none; }
.nav-dropdown-menu a:hover { background: var(--primary-light); color: var(--primary); padding-left: 24px; }

.hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; z-index: 1001; }
.hamburger span { width: 28px; height: 2px; background: var(--black); transition: all var(--transition); transform-origin: center; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
.mobile-nav { position: fixed; inset: 0; background: rgba(255,255,255,0.98); z-index: 999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.4s; }
.mobile-nav.active { opacity: 1; visibility: visible; }
.mobile-nav ul { list-style: none; text-align: center; }
.mobile-nav li { margin: 24px 0; }
.mobile-nav a { font-family: 'Bebas Neue', sans-serif; font-size: 36px; letter-spacing: 4px; color: var(--black); transition: color var(--transition); }
.mobile-nav a:hover { color: var(--primary); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 36px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; border: none; border-radius: 8px; cursor: pointer; transition: all var(--transition); font-family: 'Inter', sans-serif; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--black); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.btn-outline { background: transparent; color: var(--black); border: 2px solid var(--gray-300); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--white); color: var(--black); transform: translateY(-3px); }

/* Section common */
.section { padding: var(--section-padding); }
.section-white { background: var(--white); }
.section-light { background: var(--gray-50); }
.section-dark { background: var(--black); color: var(--white); }
.section-header { text-align: center; margin-bottom: 70px; }
.section-tag { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 4px; color: var(--primary); margin-bottom: 16px; position: relative; }
.section-tag::before, .section-tag::after { content: ''; display: inline-block; width: 30px; height: 1px; background: var(--primary); vertical-align: middle; margin: 0 14px; opacity: 0.5; }
.section-title { font-size: clamp(36px, 5vw, 60px); color: var(--black); margin-bottom: 16px; }
.section-dark .section-title { color: var(--white); }
.section-desc { font-size: 17px; color: var(--text-muted); max-width: 600px; margin: 0 auto; line-height: 1.8; }
.section-dark .section-desc { color: rgba(255,255,255,0.6); }

/* CTA section */
.cta-section { padding: 100px 0; background: var(--primary); position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(255,255,255,0.06) 30px, rgba(255,255,255,0.06) 60px); }
.cta-content { position: relative; text-align: center; z-index: 1; }
.cta-content h2 { font-size: clamp(36px, 5vw, 60px); color: var(--white); margin-bottom: 16px; }
.cta-content p { font-size: 18px; color: rgba(255,255,255,0.8); margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* Contact styles */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h2 { font-size: 44px; color: var(--black); margin-bottom: 24px; }
.contact-info > p { color: var(--text-muted); margin-bottom: 32px; line-height: 1.8; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; padding: 18px 22px; background: var(--gray-50); border-radius: 12px; transition: all var(--transition); border: 1px solid transparent; }
.contact-item:hover { border-color: var(--primary); transform: translateX(5px); background: var(--primary-light); }
.contact-item-icon { width: 44px; height: 44px; background: var(--primary-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item:hover .contact-item-icon { background: var(--primary); }
.contact-item:hover .contact-item-icon svg { fill: var(--white); }
.contact-item-icon svg { width: 20px; height: 20px; fill: var(--primary); transition: fill var(--transition); }
.contact-item-text h4 { font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 700; color: var(--primary); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 4px; }
.contact-item-text p { color: var(--text); font-size: 15px; }
.contact-item-text a { color: var(--text); transition: color var(--transition); }
.contact-item-text a:hover { color: var(--primary); }
.contact-form-wrap { background: var(--gray-50); padding: 40px; border-radius: 16px; border: 1px solid var(--gray-200); }
.contact-form-wrap h3 { font-size: 28px; color: var(--black); margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-light); margin-bottom: 8px; }
.form-group input, .form-group textarea { width: 100%; padding: 14px 18px; background: var(--white); border: 1px solid var(--gray-200); border-radius: 10px; color: var(--text); font-size: 15px; font-family: 'Inter', sans-serif; transition: all var(--transition); outline: none; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-glow); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.btn-submit { width: 100%; justify-content: center; }
.social-links { display: flex; gap: 12px; margin-top: 24px; }
.social-link { width: 48px; height: 48px; background: var(--gray-50); border-radius: 12px; display: flex; align-items: center; justify-content: center; transition: all var(--transition); border: 1px solid var(--gray-200); }
.social-link:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-3px); }
.social-link svg { width: 20px; height: 20px; fill: var(--text-muted); transition: fill var(--transition); }
.social-link:hover svg { fill: var(--white); }

/* Footer */
.footer { background: var(--black); padding: 60px 0 30px; color: rgba(255,255,255,0.6); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-about .logo { margin-bottom: 16px; }
.footer .logo-img { filter: brightness(0) invert(1); }
.footer-about p { font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.footer-col h4 { font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: 2px; color: var(--white); margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--primary); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 14px; transition: all var(--transition); display: flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--primary); transform: translateX(5px); }
.footer-links a::before { content: '›'; color: var(--primary); font-weight: bold; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 13px; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,0.3); font-size: 13px; transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--primary); }

/* Scroll reveals */
.reveal { opacity: 0; transform: translateY(50px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(50px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.9); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-scale.visible { opacity: 1; transform: scale(1); }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Subpage hero banner */
.page-hero { padding: 160px 0 80px; background: var(--gray-50); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: var(--primary); }
.page-hero .breadcrumb { font-size: 13px; color: var(--text-light); margin-bottom: 16px; }
.page-hero .breadcrumb a { color: var(--primary); font-weight: 600; }
.page-hero .breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 { font-size: clamp(40px, 6vw, 72px); color: var(--black); margin-bottom: 16px; }
.page-hero h1 .highlight { color: var(--primary); }
.page-hero p { font-size: 18px; color: var(--text-muted); max-width: 600px; line-height: 1.7; }

/* Photo placeholder (for subpages - marking where photos should go) */
.photo-placeholder {
  width: 100%;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  border: 2px dashed var(--gray-300);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  min-height: 200px;
}
.photo-placeholder svg { width: 48px; height: 48px; fill: var(--gray-300); }
.photo-placeholder span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  text-align: center;
  padding: 0 20px;
  line-height: 1.5;
}
.photo-placeholder.hero-photo { aspect-ratio: 21/9; min-height: 300px; }
.photo-placeholder.square { aspect-ratio: 1/1; }
.photo-placeholder.landscape { aspect-ratio: 16/10; }
.photo-placeholder.portrait { aspect-ratio: 3/4; }

/* Gallery grid for subpages */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-grid .photo-placeholder { aspect-ratio: 4/3; }
.gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; }

/* Process / steps */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.process-step { text-align: center; position: relative; }
.process-step:not(:last-child)::after {
  content: ''; position: absolute; top: 30px; right: -15px;
  width: 30px; height: 2px; background: var(--gray-300);
}
.process-number {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif; font-size: 24px;
  margin: 0 auto 16px; box-shadow: 0 8px 20px rgba(232,160,32,0.3);
}
.process-step h3 { font-size: 20px; color: var(--black); margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* Detail list with icons (ul > li variant used on stavby/kontejnerova-doprava) */
ul.detail-list { list-style: none; }
ul.detail-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px; background: var(--gray-50); border-radius: 10px;
  border-left: 3px solid var(--primary); transition: all var(--transition);
}
ul.detail-list li:hover { background: var(--primary-light); transform: translateX(5px); }
ul.detail-list li svg { width: 22px; height: 22px; fill: var(--primary); flex-shrink: 0; margin-top: 2px; }
ul.detail-list li .detail-text h4 { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 700; color: var(--black); margin-bottom: 4px; letter-spacing: 0; }
ul.detail-list li .detail-text p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* Container types grid */
.types-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.type-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 16px; overflow: hidden; transition: all 0.4s;
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
}
.type-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); border-color: var(--primary); }
.type-card-image { padding: 30px; display: flex; align-items: center; justify-content: center; background: var(--gray-50); }
.type-card-image .photo-placeholder { min-height: 160px; border: none; }
.type-card-body { padding: 24px; }
.type-card h3 { font-size: 22px; color: var(--black); margin-bottom: 8px; }
.type-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* Realization detail card */
.realization-detail { margin-bottom: 60px; padding-bottom: 60px; border-bottom: 1px solid var(--gray-200); }
.realization-detail:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.realization-detail h3 { font-size: 32px; color: var(--black); margin-bottom: 12px; }
.realization-detail > p { color: var(--text-muted); font-size: 16px; line-height: 1.7; margin-bottom: 24px; }
.realization-photos { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; }
.realization-photos .photo-placeholder:first-child { grid-row: 1 / 3; aspect-ratio: auto; }

/* Map placeholder */
.map-placeholder {
  width: 100%; height: 400px; background: var(--gray-100);
  border: 2px dashed var(--gray-300); border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px;
}
.map-placeholder svg { width: 48px; height: 48px; fill: var(--gray-300); }
.map-placeholder span { font-size: 14px; color: var(--text-light); font-weight: 600; }

/* Breadcrumb extras */
.page-hero .hero-subtitle { margin-bottom: 24px; }
.page-hero .breadcrumb .separator { margin: 0 8px; color: var(--gray-300); }
.page-hero .breadcrumb .current { color: var(--text); font-weight: 600; }

/* Detail grid (2-col layout) */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.detail-grid img { width: 100%; border-radius: 16px; }
.detail-text h2 { font-size: clamp(28px, 4vw, 44px); color: var(--black); margin-bottom: 20px; }
.detail-text p { color: var(--text-muted); line-height: 1.8; margin-bottom: 14px; }
.detail-text ul { list-style: none; margin-top: 20px; }
.detail-text ul li { padding: 8px 0; font-size: 15px; color: var(--text-muted); display: flex; align-items: center; gap: 10px; }
.detail-text ul li::before { content: ''; width: 8px; height: 8px; background: var(--primary); border-radius: 50%; flex-shrink: 0; }

/* Detail list card grid */
.detail-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.detail-list-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: 16px; padding: 32px; transition: all 0.4s; box-shadow: 0 2px 20px rgba(0,0,0,0.04); }
.detail-list-item:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); border-color: var(--primary); }
.item-icon { width: 56px; height: 56px; background: var(--primary-light); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.item-icon svg { width: 28px; height: 28px; fill: var(--primary); }
.detail-list-item h3 { font-size: 20px; color: var(--black); margin-bottom: 10px; }
.detail-list-item p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* Responsive for subpages */
@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:not(:last-child)::after { display: none; }
  .types-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :root { --section-padding: 70px 0; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; gap: 30px; }
  .detail-list { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .realization-photos { grid-template-columns: 1fr; }
  .realization-photos .photo-placeholder:first-child { grid-row: auto; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-hero { padding: 120px 0 60px; }
}
