/* ===================================
   ABRAMS VIDEO PRODUKCIJA - REDESIGN
   Clean HTML + CSS + JS
   =================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Lato', sans-serif;
    font-weight: 400; line-height: 1.6; color: #e0e0e0; background-color: #0a0a0a;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; }
.uppercase { text-transform: uppercase; letter-spacing: 6px; }
.title-large { font-size: clamp(2rem, 5vw, 4rem); font-weight: 900; }
.title-xl { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 900; }

/* Transparent Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: transparent; transition: background 0.4s ease, box-shadow 0.4s ease; }
.site-header.scrolled { background: rgba(10,10,10,0.95); backdrop-filter: blur(20px); box-shadow: 0 2px 30px rgba(0,0,0,0.4); }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; }
.logo-link img { height: 35px; width: auto; }
.main-nav { display: flex; gap: 32px; }
.main-nav a { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; color: rgba(255,255,255,0.8); position: relative; padding: 8px 0; }
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: #e50914; transition: width 0.3s ease; }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: all 0.3s ease; border-radius: 2px; }

/* Hero with Video Background */
.hero-video { position: relative; height: 100vh; min-height: 600px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.video-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.6) 100%); }
.hero-content { position: relative; z-index: 2; text-align: center; color: #fff; }
.hero-title { font-family: 'Arial Black', Gadget, sans-serif; font-size: clamp(3rem, 9vw, 7rem); color: #e5e5e5; text-transform: uppercase; letter-spacing: -4px; line-height: 0.85; margin: 0; padding: 0; text-shadow: 0px 4px 12px rgba(0,0,0,0.3); }
.hero-subtitle { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: clamp(0.7rem, 2vw, 0.9rem); font-weight: 300; letter-spacing: 18px; color: #e5e5e5; text-transform: uppercase; margin-top: 16px; opacity: 0.85; line-height: 1; text-shadow: 0px 2px 8px rgba(0,0,0,0.4); }

/* Dekle iz pepela Section (below hero) */
.dip-section { position: relative; padding: 100px 24px 120px; overflow: hidden; background: linear-gradient(180deg, #3d0c08 0%, #140302 50%, #000000 100%); }
.dip-wrapper { max-width: 1100px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.dip-header { margin-bottom: 60px; }
.dip-title { font-family: 'Arial Black', Gadget, sans-serif; font-size: clamp(2.5rem, 6vw, 4.5rem); color: #e5e5e5; text-transform: uppercase; letter-spacing: -3px; line-height: 0.9; margin-bottom: 24px; text-shadow: 0px 4px 12px rgba(0,0,0,0.3); }
.dip-intro { font-size: clamp(0.85rem, 1.8vw, 1rem); color: rgba(255,255,255,0.7); max-width: 680px; margin: 0 auto; font-weight: 300; line-height: 1.8; }
.dip-poster { display: inline-block; margin-bottom: 64px; position: relative; }
.dip-poster img { width: 280px; max-width: 65vw; height: auto; border: 1px solid rgba(229,9,20,0.15); border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,0.8), 0 0 40px rgba(229,9,20,0.08); }
.dip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; max-width: 960px; margin: 0 auto; }
.dip-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); padding: 48px 32px; text-align: center; transition: all 0.4s ease; position: relative; overflow: hidden; }
.dip-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, #e50914, transparent); opacity: 0; transition: opacity 0.4s ease; }
.dip-card:hover { border-color: rgba(229,9,20,0.3); transform: translateY(-6px); background: rgba(229,9,20,0.05); }
.dip-card:hover::before { opacity: 1; }
.dip-card h3 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 4px; color: #fff; margin-bottom: 16px; }
.dip-card p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 32px; font-weight: 300; }
.dip-btn { display: inline-block; padding: 14px 32px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; color: #fff; border: 1px solid rgba(255,255,255,0.3); background: transparent; transition: all 0.3s ease; }
.dip-btn:hover { background: #e50914; border-color: #e50914; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(229,9,20,0.3); }

/* Action Cards */
.action-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.action-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); padding: 48px 32px; text-align: center; transition: all 0.4s ease; position: relative; overflow: hidden; }
.action-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, #e50914, transparent); opacity: 0; transition: opacity 0.4s ease; }
.action-card:hover { border-color: rgba(229,9,20,0.3); transform: translateY(-8px); background: rgba(229,9,20,0.03); }
.action-card:hover::before { opacity: 1; }
.card-icon { font-size: 32px; margin-bottom: 24px; color: #e50914; }
.action-card h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 4px; color: #fff; margin-bottom: 16px; }
.action-card p { font-size: 12.5px; color: rgba(255,255,255,0.45); line-height: 1.7; margin-bottom: 32px; font-weight: 300; }

/* Buttons */
.btn { display: inline-block; padding: 16px 36px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; border: none; cursor: pointer; transition: all 0.3s ease; text-align: center; }
.btn-outline { color: #fff; border: 1px solid rgba(255,255,255,0.3); background: transparent; }
.btn-outline:hover { background: #fff; color: #0a0a0a; border-color: #fff; }
.btn-primary { background: #e50914; color: #fff; box-shadow: 0 8px 30px rgba(229,9,20,0.3); }
.btn-primary:hover { background: #ff1a25; transform: translateY(-3px); box-shadow: 0 12px 40px rgba(229,9,20,0.4); }
.btn-alert { background: #e50914; color: #fff; }
.btn-alert:hover { background: #ff1a25; transform: translateY(-3px); }

/* Rental Section */
.rental-section { position: relative; padding: 160px 24px; text-align: center; overflow: hidden; }
.rental-bg { position: absolute; inset: 0; z-index: 0; background-image: url(../images/photo-bg.jpg); background-size: cover; background-position: center; background-attachment: fixed; }
.rental-overlay { position: absolute; inset: 0; z-index: 1; background: rgba(2,2,2,0.75); }
.rental-section .container { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.section-title-light { color: #f0f0f0; font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 16px; font-weight: 700; letter-spacing: 6px; }
.section-subtitle-light { color: rgba(240,240,240,0.6); font-size: 14px; font-weight: 300; margin-bottom: 48px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* Equipment Ticker */
.equipment-ticker { display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.08); padding: 14px 24px; margin: 48px auto; max-width: 700px; }
.ticker-label { font-size: 10px; font-weight: 600; letter-spacing: 3px; color: #fff; white-space: nowrap; padding-right: 20px; margin-right: 20px; border-right: 1px solid rgba(255,255,255,0.1); }
.ticker-track { display: flex; overflow: hidden; position: relative; }
.ticker-content { display: flex; align-items: center; gap: 8px; white-space: nowrap; animation: tickerScroll 20s linear infinite; padding-right: 8px; }
.ticker-content span { font-size: 13px; color: rgba(255,255,255,0.7); font-weight: 300; letter-spacing: 0.5px; }
.ticker-content .separator { color: #333; margin: 0 4px; }
@keyframes tickerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Films Section */
.films-section { background: linear-gradient(180deg, #0a0a0a, #111, #0a0a0a); padding: 120px 24px; }
.films-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; max-width: 1100px; margin: 0 auto; }
.films-info h2 { color: #fff; margin-bottom: 24px; }
.films-info p { color: rgba(255,255,255,0.5); font-size: 14px; line-height: 1.8; margin-bottom: 36px; max-width: 420px; }
.films-image img { width: 100%; border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.05); }

/* Gallery */
.gallery-section { padding: 100px 24px; background: #0a0a0a; }
.section-title-center { color: #fff; text-align: center; margin-bottom: 64px; letter-spacing: 10px; font-weight: 700; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 8px; max-width: 1200px; margin: 0 auto; }
.gallery-item { position: relative; overflow: hidden; border-radius: 4px; min-height: 280px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease, filter 0.4s ease; filter: brightness(0.85) contrast(1.05); }
.gallery-item:hover img { transform: scale(1.08); filter: brightness(0.6) contrast(1.1); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(229,9,20,0.15), transparent 60%); opacity: 0; transition: opacity 0.4s ease; pointer-events: none; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item-tall { grid-column: span 1; grid-row: span 2; }
.gallery-item-wide { grid-column: span 2; }

/* Footer */
.footer { border-top: 1px solid rgba(255,255,255,0.06); padding: 80px 24px; background: #070707; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 48px; max-width: 1000px; margin: 0 auto; text-align: center; }
.footer-logo { color: #fff; font-size: 1.5rem; letter-spacing: 8px; margin-bottom: 8px; }
.footer-brand p { color: rgba(255,255,255,0.4); font-size: 12px; letter-spacing: 4px; text-transform: uppercase; }
.contact-item { display: block; margin-bottom: 20px; }
.contact-label { display: block; color: rgba(255,255,255,0.3); font-size: 10px; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 4px; }
.contact-item span:last-child { color: rgba(255,255,255,0.8); font-size: 16px; font-weight: 300; }
.footer-links h4 { color: rgba(255,255,255,0.5); font-size: 11px; letter-spacing: 4px; margin-bottom: 12px; text-transform: uppercase; }
.footer-links p { color: rgba(255,255,255,0.3); font-size: 11px; }

/* Scroll Indicator */
.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 2; animation: scrollBounce 2s ease-in-out infinite; }
.scroll-indicator::before { content: ''; display: block; width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent); margin: 0 auto; }
@keyframes scrollBounce { 0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; } 50% { transform: translateX(-50%) translateY(10px); opacity: 0.3; } }

/* Animations */
.fade-in { opacity: 0; transform: translateY(40px); transition: all 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-toggle { display: block; z-index: 1001; }
    .main-nav { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: rgba(10,10,10,0.98); flex-direction: column; justify-content: center; gap: 24px; transition: right 0.4s ease; z-index: 1000; padding-right: 24px; }
    .main-nav.open { right: 0; }
    .mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    .action-cards { grid-template-columns: 1fr; gap: 16px; }
    .action-card { padding: 36px 24px; }
    .films-layout { grid-template-columns: 1fr; gap: 48px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item-tall { grid-row: span 1; }
    .gallery-item-wide { grid-column: span 1; }
    .gallery-item { min-height: 280px; }
    .footer-content { grid-template-columns: 1fr; gap: 36px; }
    .equipment-ticker { flex-direction: column; gap: 12px; padding: 14px 16px; }
    .ticker-label { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-right: 0; margin-right: 0; padding-bottom: 8px; }
    .dip-poster img { width: 240px; }
}
@media (max-width: 480px) {
    .hero-title { letter-spacing: 6px; }
    .nav-container { height: 60px; }
    .btn { padding: 14px 24px; font-size: 9px; letter-spacing: 2px; }
}
