:root {
    --bg-color: #111111;
    --text-color: #f8fafc;
    --accent-color: #c62828;
    --accent-glow: rgba(198, 40, 40, 0.4);
    --card-bg: #1a1a1a;
    --border-color: rgba(255,255,255,0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 40px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.site-logo { 
    height: 65px; 
    width: auto; 
    display: block;
    border-radius: 8px;
    background-color: #ffffff;
    padding: 4px;
}

.navbar-phones {
    display: flex;
    gap: 15px;
}

.phone-btn {
    display: flex; align-items: center; gap: 8px;
    background: var(--accent-color); color: #fff;
    text-decoration: none; padding: 12px 24px;
    border-radius: 50px; font-weight: 700; font-size: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 15px var(--accent-glow);
}

.phone-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--accent-glow);
}

.pulse-btn { animation: pulse 2s infinite; }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(198, 40, 40, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(198, 40, 40, 0); }
    100% { box-shadow: 0 0 0 0 rgba(198, 40, 40, 0); }
}

/* Hero Section */
.hero {
    position: relative; height: 100vh; min-height: 600px;
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 0 20px;
    background: url('hds_hero_bg.png') center/cover no-repeat;
}

.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(17,17,17,0.6) 0%, rgba(17,17,17,0.95) 100%);
    z-index: 1;
}

.cta-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-content {
    position: relative; z-index: 2; max-width: 800px;
    animation: fadeUp 1s ease-out;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.badge {
    display: inline-block; background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2); padding: 6px 16px;
    border-radius: 30px; font-size: 14px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 24px;
    backdrop-filter: blur(5px);
}

.headline {
    font-size: clamp(40px, 6vw, 70px); font-weight: 900;
    line-height: 1.1; margin-bottom: 20px; text-transform: uppercase;
}

.headline span {
    color: transparent; -webkit-text-stroke: 2px var(--accent-color);
}

.sub-headline {
    font-size: 18px; color: #cbd5e1; margin-bottom: 40px;
    max-width: 600px; margin-inline: auto;
}

.primary-btn {
    display: inline-flex; align-items: center; gap: 12px;
    background: var(--accent-color); color: #fff; text-decoration: none;
    padding: 20px 40px; border-radius: 50px; font-weight: 900;
    font-size: 20px; letter-spacing: 1px; transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(198, 40, 40, 0.4); border: none; cursor: pointer;
}

.primary-btn i { font-size: 24px; }
.primary-btn:hover { transform: scale(1.05); background: #b71c1c; }

/* General Sections */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 40px; font-weight: 900; margin-bottom: 10px; }
.section-header h2 span { color: var(--accent-color); }
.section-header p { color: #94a3b8; font-size: 18px; }

/* Quick Services */
.services {
    position: relative; z-index: 5; margin-top: -60px;
    padding: 0 20px 40px; display: flex; justify-content: center;
    gap: 20px; flex-wrap: wrap;
}

.service-card {
    background: rgba(26, 26, 26, 0.8); backdrop-filter: blur(10px);
    border: 1px solid var(--border-color); padding: 30px;
    border-radius: 20px; text-align: center; width: 320px;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px); background: rgba(26, 26, 26, 1);
    border-color: var(--accent-color);
}

.service-card i {
    font-size: 40px; color: var(--accent-color);
    margin-bottom: 15px; display: inline-block;
}

.service-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: #94a3b8; font-size: 14px; }

/* About Us (Features) */
.about-us { background-color: #0a0a0a; }
.features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item {
    display: flex; gap: 20px; align-items: flex-start;
    background: var(--card-bg); padding: 25px;
    border-radius: 15px; border: 1px solid var(--border-color);
}

.icon-box {
    background: rgba(198, 40, 40, 0.1); width: 50px; height: 50px;
    border-radius: 12px; display: flex; align-items: center;
    justify-content: center; font-size: 24px; color: var(--accent-color);
    flex-shrink: 0;
}

.feature-item h4 { font-size: 18px; margin-bottom: 8px; }
.feature-item p { color: #94a3b8; font-size: 14px; }

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

.portfolio-item {
    position: relative; border-radius: 15px; overflow: hidden;
    height: 300px; border: 1px solid var(--border-color);
    cursor: pointer;
}

.portfolio-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img { transform: scale(1.1); }

.portfolio-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 30px 20px 20px; transform: translateY(20px);
    opacity: 0; transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0); opacity: 1;
}

.portfolio-overlay h4 { font-size: 20px; color: #fff; margin-bottom: 5px; }
.portfolio-overlay p { font-size: 14px; color: var(--accent-color); font-weight: 600; }

/* How it works */
.how-it-works { background-color: #0a0a0a; }
.steps {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px; text-align: center;
}

.step {
    background: var(--card-bg); padding: 40px 20px;
    border-radius: 20px; border: 1px solid var(--border-color);
    position: relative;
}

.step-num {
    width: 50px; height: 50px; background: var(--accent-color);
    color: #fff; font-size: 24px; font-weight: 900;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; position: absolute; top: -25px; left: 50%;
    transform: translateX(-50%); box-shadow: 0 5px 15px rgba(198, 40, 40, 0.4);
}

.step h4 { font-size: 20px; margin-bottom: 10px; margin-top: 10px; }
.step p { color: #94a3b8; font-size: 15px; }

/* Footer */
footer {
    background: #000; padding: 60px 20px 40px; text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

footer h2 { font-size: 28px; margin-bottom: 30px; }

.footer-phones {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

footer .phone { font-size: 40px; font-weight: 900; color: var(--accent-color); }
footer .copyright { color: #64748b; font-size: 14px; }

/* Mobile Sticky Footer */
.mobile-sticky-cta {
    display: none; position: fixed; bottom: 0; width: 100%;
    background: var(--bg-color); z-index: 100;
    padding: 10px; box-shadow: 0 -5px 20px rgba(0,0,0,0.8);
    gap: 10px; border-top: 1px solid var(--border-color);
}

.mobile-sticky-cta .mobile-btn {
    flex: 1; background: var(--accent-color);
    color: #fff; text-decoration: none; font-weight: 900;
    font-size: 16px; display: flex; align-items: center;
    justify-content: center; gap: 8px; padding: 12px;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .navbar { padding: 15px 20px; }
    .phone-text { display: none; }
    .phone-btn { padding: 12px; border-radius: 50%; }
    .navbar-phones { gap: 10px; }
    
    .primary-btn { width: 100%; justify-content: center; }
    
    .mobile-sticky-cta { display: flex; }
    .services { padding: 0 20px 40px; }
    .service-card { width: 100%; }
    footer { padding-bottom: 100px; } /* Space for sticky footer */
    .footer-phones { flex-direction: column; gap: 10px; }
    .section { padding: 50px 0; }
    .headline { font-size: 36px; }
    
    .advanced-cookie-banner {
        bottom: 80px;
        left: 10px;
        right: 10px;
    }
    .cookie-buttons { flex-direction: column; width: 100%; }
    .cookie-buttons .cookie-btn { width: 100%; }
}

/* Advanced Cookie Banner */
.advanced-cookie-banner {
    display: none; position: fixed; bottom: 20px; left: 20px; right: 20px;
    max-width: 900px; margin: 0 auto; background: var(--card-bg);
    border: 1px solid var(--border-color); box-shadow: 0 -10px 40px rgba(0,0,0,0.9);
    padding: 25px; border-radius: 16px; z-index: 1000;
    align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}

.cookie-content { flex: 1; min-width: 250px; }
.cookie-content h4 { font-size: 18px; margin-bottom: 8px; color: #fff; }
.cookie-content p { font-size: 14px; color: #cbd5e1; margin: 0; line-height: 1.5; }

.cookie-buttons { display: flex; gap: 10px; }
.cookie-btn {
    background: var(--accent-color); color: #fff; border: 1px solid var(--accent-color);
    padding: 10px 20px; border-radius: 8px; font-weight: 700; cursor: pointer; transition: 0.3s;
}
.cookie-btn:hover { background: #b71c1c; }
.cookie-btn-outline { background: transparent; color: #cbd5e1; border-color: #475569; }
.cookie-btn-outline:hover { background: #334155; border-color: #cbd5e1; color: #fff; }

/* Cookie Settings Modal */
.cookie-modal {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); z-index: 2000; align-items: center; justify-content: center; padding: 20px;
}
.cookie-modal-content {
    background: var(--bg-color); width: 100%; max-width: 500px; padding: 30px;
    border-radius: 16px; border: 1px solid var(--border-color);
}
.cookie-modal-content h3 { margin-bottom: 10px; font-size: 24px; }
.cookie-modal-content > p { color: #94a3b8; font-size: 14px; margin-bottom: 25px; }

.cookie-option {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 0; border-bottom: 1px solid var(--border-color);
}
.cookie-option:last-of-type { border-bottom: none; margin-bottom: 10px; }
.cookie-option-info h4 { font-size: 16px; margin-bottom: 5px; }
.cookie-option-info p { font-size: 13px; color: #64748b; margin: 0; }

/* Toggle Switch */
.switch { position: relative; display: inline-block; width: 50px; height: 26px; flex-shrink: 0; margin-left: 15px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #334155; transition: .4s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: var(--accent-color); }
input:checked + .slider:before { transform: translateX(24px); }
input:disabled + .slider { opacity: 0.5; cursor: not-allowed; }
