/* Custom styles to complement Bootstrap */
.hero-section {
    padding-top: 76px;
    min-height: 100vh;
    color: white;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('../images/Grid_RAPIENERGY_3371103285.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

@media (max-width: 828px) {
    .hero-section {
        background-position: center 25%;
        background-attachment: scroll;
        height: 100vh;
        padding-top: 60px;
    }

    .hero-section .display-4 {
        font-size: calc(1.8rem + 1.5vw);
    }

    .hero-section .lead {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
}

.card {
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.social-links a {
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--bs-primary) !important;
}

.specs-table {
    background: var(--bs-dark);
    padding: 20px;
    border-radius: 8px;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bs-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--bs-primary);
    border-radius: 4px;
}

/* Responsive images */
.img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.text-gold {
    color: #FFEB99 !important;
}

body {
    min-height: 100vh;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* iPhone 11 and similar mobile devices */
@media (max-width: 428px) {
    body {
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: scroll;
    }    
    .hero-section {
        background-position: center;
        background-size: cover;
    }
}

.comparison-section, .contact-section {
    background-color: rgba(33, 37, 41, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem auto;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.comparison-section .table {
    background-color: rgba(33, 37, 41, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 10px;
    padding: 1rem;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-bg, .comparison-bg {
    position: relative;
    min-height: 100vh;
}

.contact-section {
    background-color: rgba(33, 37, 41, 0.75);
    backdrop-filter: blur(8px);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem auto;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.contact-form {
    background-color: rgba(33, 37, 41, 0.6);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(4px);
}

.contact-form input,
.contact-form textarea {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form input:focus,
.contact-form textarea:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.1);
}
/* Basic comparison section styles */
.comparison-section {
    margin: 2rem 0;
    padding: 2rem;
    background: var(--bs-dark);
    border-radius: 8px;
}

.table {
    margin-bottom: 2rem;
    background: var(--bs-dark);
}

.table th {
    background-color: var(--bs-dark);
    color: var(--bs-warning);
    border-bottom: 2px solid var(--bs-warning);
}

.table td {
    transition: all 0.3s ease;
    color: white !important;
}

.table td.highlight {
    background-color: var(--bs-dark-bg-subtle);
}

footer {
    margin-top: 0;
    padding: 2rem 0;
    position: relative;
    z-index: 1000;
    background-color: rgba(33, 37, 41, 0.95);
}

footer .container {
    position: relative;
}

.comparison-section .table-responsive {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}
/* Simple comparison table styles */
.table {
    color: var(--bs-light) !important;
}

.table th {
    font-weight: 500;
}

.table td, .table th {
    transition: background-color 0.2s ease;
}