/**
 * SaMiRENT - Kompletný CSS
 * Luxury Automotive Design - Black & Gold
 */

:root {
    --luxury-black: #0B0B0B;
    --luxury-black-alt: #141414;
    --gold-signature: #D4AF37;
    --gold-soft: #C9A43A;
    --gold-highlight: #E6C75A;
    --dark-gray: #1F1F1F;
    --light-gray: #B3B3B3;
    --white: #FFFFFF;
    --font-main: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--white);
    background-color: var(--luxury-black);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

a { color: var(--gold-signature); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-highlight); }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 600; line-height: 1.3; margin-bottom: 1rem; color: var(--white); }
h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
p { margin-bottom: 1rem; color: var(--light-gray); }

.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-alt { background-color: var(--luxury-black-alt); }

/* === BUTTONS === */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 32px; font-size: 0.95rem; font-weight: 500;
    border-radius: 4px; cursor: pointer; transition: all 0.3s; border: none; text-decoration: none;
}
.btn-primary { background-color: var(--gold-signature); color: var(--luxury-black); }
.btn-primary:hover { background-color: var(--gold-highlight); color: var(--luxury-black); box-shadow: 0 0 20px rgba(212,175,55,0.3); }
.btn-secondary { background-color: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.3); }
.btn-secondary:hover { border-color: var(--gold-signature); color: var(--gold-signature); }
.btn-lg { padding: 16px 40px; font-size: 1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* === HEADER === */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background-color: rgba(11, 11, 11, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo-text { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 700; color: var(--white); }
.logo-text span { color: var(--gold-signature); }
.logo-image { max-height: 50px; width: auto; }

.main-nav ul { display: flex; list-style: none; gap: 40px; }
.main-nav a { color: var(--white); font-size: 0.95rem; font-weight: 500; position: relative; padding: 5px 0; }
.main-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--gold-signature); transition: width 0.3s; }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.header-cta .btn { padding: 10px 25px; }
.mobile-menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 10px; z-index: 1001; position: relative; }
.mobile-menu-toggle span { width: 25px; height: 2px; background-color: var(--white); display: block; transition: all 0.3s; }

/* === HERO === */
.hero {
    position: relative; 
    min-height: 100vh; 
    min-height: 100dvh;
    display: flex; 
    align-items: center; 
    justify-content: center;
    background-color: var(--luxury-black); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, rgba(11,11,11,0.9) 0%, rgba(11,11,11,0.7) 50%, rgba(11,11,11,0.8) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 800px; padding: 0 20px; width: 100%; }
.hero-content h1 { font-size: 3.5rem; margin-bottom: 20px; line-height: 1.2; }
.hero-content h1 span { color: var(--gold-signature); }
.hero-content p { font-size: 1.25rem; color: var(--light-gray); margin-bottom: 40px; }
.hero-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

.scroll-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); animation: bounce 2s infinite; color: var(--gold-signature); opacity: 0.7; z-index: 2; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); } 40% { transform: translateX(-50%) translateY(-10px); } }

/* === SECTION TITLES === */
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { margin-bottom: 15px; }
.section-title p { max-width: 600px; margin: 0 auto; }
.section-label { display: inline-block; color: var(--gold-signature); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 15px; }
.gold-line { width: 60px; height: 3px; background: var(--gold-signature); margin: 20px auto 0; }

/* === STATS BAR === */
.stats-bar { background: var(--dark-gray); padding: 40px 0; border-top: 1px solid rgba(212,175,55,0.2); border-bottom: 1px solid rgba(212,175,55,0.2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item .stat-number { font-size: 2.5rem; font-weight: 700; color: var(--gold-signature); font-family: var(--font-heading); }
.stat-item .stat-label { color: var(--light-gray); font-size: 0.95rem; margin-top: 5px; }

/* === ABOUT === */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-content h2 { margin-bottom: 20px; }
.about-content h2 .gold { color: var(--gold-signature); }
.features-list { margin-top: 30px; display: grid; gap: 20px; }
.feature-item { display: flex; align-items: flex-start; gap: 15px; }
.feature-icon { width: 40px; height: 40px; background: rgba(212,175,55,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-icon svg { fill: var(--gold-signature); width: 20px; height: 20px; }
.feature-item strong { display: block; margin-bottom: 3px; color: var(--white); }
.feature-item p { margin: 0; font-size: 0.9rem; }
.about-image .image-card { background: var(--dark-gray); border-radius: 12px; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; }

/* === VEHICLES GRID === */
.vehicles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 30px; }

.vehicle-card {
    background-color: var(--dark-gray); border-radius: 12px; overflow: hidden;
    transition: all 0.3s; display: block; color: var(--white);
}
.vehicle-card:hover { transform: translateY(-5px); box-shadow: 0 8px 24px rgba(0,0,0,0.5); }

.vehicle-card-image, .vehicle-image { position: relative; aspect-ratio: 16/10; overflow: hidden; background-color: var(--luxury-black-alt); }
.vehicle-card-image img, .vehicle-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.vehicle-card:hover .vehicle-card-image img, .vehicle-card:hover .vehicle-image img { transform: scale(1.05); }

.vehicle-badge { position: absolute; top: 15px; left: 15px; padding: 6px 12px; background-color: var(--gold-signature); color: var(--luxury-black); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; border-radius: 4px; z-index: 2; }

.vehicle-card-content, .vehicle-info { padding: 25px; }
.vehicle-card-title, .vehicle-info h3 { font-size: 1.3rem; margin-bottom: 15px; color: var(--white); }

.vehicle-card-specs, .vehicle-specs { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 20px; }
.vehicle-spec, .vehicle-specs span { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--light-gray); }
.vehicle-spec svg, .vehicle-specs svg { width: 16px; height: 16px; fill: var(--gold-signature); }

.vehicle-card-price, .vehicle-price { padding-top: 15px; border-top: 1px solid rgba(255,255,255,0.1); }
.vehicle-card-price .price-label, .price-label { font-size: 0.85rem; color: var(--light-gray); }
.vehicle-card-price .price-value, .price-value { font-size: 1.5rem; font-weight: 700; color: var(--gold-signature); }
.vehicle-card-price .price-value span, .price-period { font-size: 0.85rem; color: var(--light-gray); font-weight: 400; }
.price-vat { font-size: 0.75rem; color: var(--light-gray); margin-left: 5px; opacity: 0.8; }

.no-image { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--luxury-black-alt); }

/* === FILTERS === */
.filters-bar { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 40px; padding: 25px; background: var(--dark-gray); border-radius: 8px; }
.filter-group { flex: 1; min-width: 150px; }
.filter-group label { display: block; font-size: 0.85rem; color: var(--light-gray); margin-bottom: 8px; }
.filter-group select {
    width: 100%; padding: 12px 15px; font-size: 0.95rem; color: var(--white);
    background-color: var(--luxury-black); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px;
    cursor: pointer; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23D4AF37' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 15px center;
}
.filter-group select:focus { outline: none; border-color: var(--gold-signature); }

/* === PROCESS === */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 40px; }
.process-step { text-align: center; }
.step-number { font-size: 3rem; font-weight: 700; color: rgba(212,175,55,0.2); font-family: var(--font-heading); line-height: 1; }
.step-icon { width: 80px; height: 80px; background: rgba(212,175,55,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 15px auto 20px; }
.process-step h3 { font-size: 1.1rem; margin-bottom: 10px; }
.process-step p { font-size: 0.9rem; color: var(--light-gray); margin: 0; }

/* === CTA === */
.cta-section { background: linear-gradient(135deg, var(--dark-gray) 0%, var(--luxury-black) 100%); }
.cta-content { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; align-items: center; }
.cta-text h2 { margin-bottom: 15px; }
.cta-text p { margin-bottom: 25px; }
.cta-features { display: grid; gap: 15px; }
.cta-feature { display: flex; align-items: center; gap: 12px; color: var(--white); }

/* === FORMS === */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.9rem; color: var(--white); margin-bottom: 8px; font-weight: 500; }
.form-control {
    width: 100%; padding: 14px 18px; font-size: 1rem; color: var(--white);
    background-color: var(--dark-gray); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px;
    transition: all 0.2s; font-family: var(--font-main);
}
.form-control:focus { outline: none; border-color: var(--gold-signature); box-shadow: 0 0 0 3px rgba(212,175,55,0.1); }
.form-control::placeholder { color: var(--light-gray); }
textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control {
    cursor: pointer; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23D4AF37' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 18px center;
}

/* === ALERTS === */
.alert { padding: 16px 20px; border-radius: 4px; margin-bottom: 20px; }
.alert-success { background-color: rgba(40,167,69,0.2); border: 1px solid #28a745; color: #28a745; }
.alert-error { background-color: rgba(220,53,69,0.2); border: 1px solid #dc3545; color: #dc3545; }
.alert-info { background-color: rgba(212,175,55,0.2); border: 1px solid var(--gold-signature); color: var(--gold-signature); }

/* === FOOTER === */
.site-footer { background-color: var(--luxury-black); border-top: 1px solid rgba(255,255,255,0.05); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo-text { margin-bottom: 15px; display: inline-block; }
.footer-brand .footer-logo { max-height: 50px; width: auto; margin-bottom: 15px; display: block; }
.footer-brand p { font-size: 0.9rem; color: var(--light-gray); }
.footer-col h4 { font-size: 1rem; margin-bottom: 20px; color: var(--white); font-family: var(--font-main); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 12px; color: var(--light-gray); font-size: 0.9rem; }
.footer-col a { color: var(--light-gray); font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold-signature); }
.footer-bottom { padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05); text-align: center; color: var(--light-gray); font-size: 0.85rem; }
.footer-bottom p { margin: 0; }

/* === PAGE HERO === */
.page-hero { position: relative; height: 300px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #0B0B0B 0%, #1F1F1F 100%); }
.page-hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.4); }
.page-hero-content { position: relative; z-index: 1; text-align: center; }
.page-hero h1 { font-size: 3rem; margin-bottom: 10px; }
.page-hero p { color: var(--gold-signature); font-size: 1.2rem; margin: 0; }

/* === RESPONSIVE === */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .header-cta { display: none; }
    .mobile-menu-toggle { display: flex !important; }
    .hero-content h1 { font-size: 2.5rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .cta-content { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .vehicles-grid { grid-template-columns: 1fr; }
    .filters-bar { flex-direction: column; }
    .filter-group { min-width: 100%; }
    
    /* Mobile menu */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        height: 100dvh;
        background: var(--luxury-black);
        padding: 100px 30px 30px;
        transition: right 0.3s ease;
        z-index: 999;
        border-left: 1px solid rgba(212,175,55,0.2);
        overflow-y: auto;
    }
    .main-nav.active {
        right: 0;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    .main-nav li {
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .main-nav a {
        display: block;
        padding: 15px 0;
        font-size: 1.1rem;
    }
    .main-nav a::after {
        display: none;
    }
    
    /* Hamburger animation */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    /* Body overlay when menu open */
    body.menu-open {
        overflow: hidden;
    }
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 998;
    }
}

@media (max-width: 576px) {
    .section { padding: 60px 0; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    .hero-content h1 { font-size: 2rem; }
    .hero-content p { font-size: 1rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    .page-hero { height: 200px; }
    .page-hero h1 { font-size: 2rem; }
}
