:root {
    --primary-color: #e61e1e; 
    --secondary-color: #1a1a1a; 
    --bg-dark: #0b0b0b; 
    --text-light: #ffffff;
    --text-muted: #a0a0a0;
    --card-bg: #1a1a1a;
    --input-bg: #222222;
    --input-border: #333333;
    --transition-speed: 0.4s;
}

body.light-mode {
    --bg-dark: #f0f2f5; 
    --secondary-color: #ffffff; 
    --text-light: #1c1e21; 
    --text-muted: #606770;
    --card-bg: #ffffff;
    --input-bg: #f5f6f7;
    --input-border: #dddfe2;
}

.social-icons a.fa-facebook:hover { background: #1877F2 !important; color: #fff !important; }
.social-icons a.fa-instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important; color: #fff !important; }
.social-icons a.fa-twitter:hover { background: #1DA1F2 !important; color: #fff !important; }
.social-icons a.fa-youtube:hover { background: #FF0000 !important; color: #fff !important; }

.social-icons a {
    display: inline-flex;
    width: 45px;
    height: 45px;
    background: #333;
    color: #fff;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 12px;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

body.light-mode .social-icons a {
    background: #dddfe2;
    color: #4b4f56;
}

.social-icons a:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

footer .social-icons a {
    background: #222 !important;
    color: #ffffff !important;
}

footer .social-icons a:hover {
    background: var(--primary-color) !important;
}

.hero-section, 
.bg-danger,
.hero-content p,
.hero-content h1,
.bg-danger h2,
.bg-danger p {
    color: #ffffff !important;
}


footer, 
footer h1, footer h2, footer h3, footer h4, footer h5, footer h6,
footer p, 
footer a,
.hero-section,
.bg-danger,
.hero-content h1,
.hero-content p {
    color: #ffffff !important;
}

.footer-logo, .footer-links h4 {
    color: var(--primary-color) !important;
}

.footer-links ul li a:hover {
    color: var(--primary-color) !important;
}

body, 
.navbar, 
.feature-card, 
.form-control, 
footer, 
.section-padding,
.nav-link,
h1, h2, h3, h4, h5, p,
i {
    transition: background-color var(--transition-speed) ease, 
                color var(--transition-speed) ease, 
                border-color var(--transition-speed) ease,
                box-shadow var(--transition-speed) ease;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.navbar {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 1.2rem 0;
    z-index: 1050;
}

.navbar.scrolled {
    background-color: var(--bg-dark) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 0.8rem 0;
}

body.light-mode .navbar {
    background-color: rgba(255, 255, 255, 0.95);
}

body.light-mode .navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
    font-weight: 900;
    font-size: 1.6rem;
    color: var(--primary-color) !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 600;
    margin: 0 12px;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 5px;
    color: #fff; 
}

.hero-content h1 span {
    color: var(--primary-color) !important;
    text-shadow: 2px 2px 10px rgba(230, 30, 30, 0.3);
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    color: #eeeeee;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-elite {
    background-color: var(--primary-color);
    color: #fff;
    padding: 15px 40px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    border-radius: 5px;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(230, 30, 30, 0.4);
}

.btn-elite:hover {
    background-color: #c41818;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(230, 30, 30, 0.6);
}

.section-padding {
    padding: 100px 0;
}

.bg-dark-alt {
    background-color: var(--secondary-color);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    color: var(--text-light);
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 5px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.feature-card {
    background-color: var(--card-bg);
    padding: 50px 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    height: 100%;
    border-bottom: 4px solid transparent;
    transition: all var(--transition-speed) ease;
}

.themed-section {
    background-color: var(--card-bg);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-speed) ease;
    border: 1px solid var(--input-border);
}

body.light-mode .themed-section {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--input-border);
}

.themed-section .form-label {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    font-size: 0.9rem;
}

.feature-card p, .themed-section p, .text-muted {
    color: var(--text-muted) !important;
}

.feature-card h3, .themed-section h5, .themed-section h3, .themed-section h1 {
    color: var(--text-light);
}

body.light-mode .feature-card, body.light-mode .themed-section {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-15px);
    border-bottom: 4px solid var(--primary-color);
}

.feature-card i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.slider-container {
    position: relative;
    overflow: hidden;
    height: 500px; 
    border-radius: 15px;
    background-color: #000; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    filter: brightness(0.7); 
}

#backToTop {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: var(--primary-color);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(230, 30, 30, 0.4);
}

footer {
    background-color: #080808;
    color: #fff;
    padding: 80px 0 30px;
}

body.light-mode footer {
    background-color: #111111; 
}

.footer-logo {
    font-weight: 900;
    font-size: 2rem;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-links h4 {
    margin-bottom: 30px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.footer-links ul li a {
    color: #ffffff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.form-control {
    background-color: var(--input-bg);
    border: 2px solid var(--input-border);
    color: var(--text-light);
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 0.95rem;
}

.form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(230, 30, 30, 0.15);
    background-color: var(--input-bg);
    color: var(--text-light);
}

.theme-toggle {
    cursor: pointer;
    padding: 8px 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    margin-left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.light-mode .theme-toggle {
    background: rgba(0,0,0,0.05);
}

@media (max-width: 991px) {
    .hero-content h1 { font-size: 3.5rem; }
    .section-padding { padding: 60px 0; }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.8rem; }
    .navbar-collapse {
        background-color: var(--bg-dark);
        padding: 20px;
        margin-top: 15px;
        border-radius: 10px;
    }
}
