/* General Styles */
body {
    padding-top: 56px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    margin-bottom: 30px;
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../assets/header-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    margin-bottom: 30px;
}

/* Feature Icons */
.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #007bff;
}

/* Feature Items */
.feature-item {
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn {
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
}

.btn-lg {
    padding: 0.75rem 2rem;
}

/* Navigation */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

/* Dropdown hover effect */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.2s ease-in-out;
        margin-top: 0;
    }
}

/* Navbar buttons fix */
@media (min-width: 992px) {
    /* Prevent navbar button wrap on desktop */
    .navbar .btn {
        white-space: nowrap;
    }
}

/* For smaller screens, ensure buttons are properly stacked */
@media (max-width: 991.98px) {
    .navbar .d-flex {
        margin-top: 10px;
        width: 100%;
        justify-content: center;
    }
}

/* Footer */
footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Documentation Sections */
.doc-section {
    padding: 2rem 0;
}

/* Command Examples */
.command-example {
    background-color: #f8f9fa;
    border-left: 4px solid #007bff;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 5px 5px 0;
}

/* Documentation Sidebar */
.scrollable-sidebar {
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding-right: 10px;
    padding-bottom: 20px;
    scrollbar-width: thin;
}

.scrollable-sidebar::-webkit-scrollbar {
    width: 6px;
}

.scrollable-sidebar::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.scrollable-sidebar::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero, .page-header {
        padding: 70px 0;
    }
    
    .feature-item {
        text-align: center;
    }
    
    .feature-img {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
}

/* Premium Page Styles */
.premium-card {
    position: relative;
    z-index: 1;
    transform: scale(1.05);
}

.features-table th, 
.features-table td {
    padding: 1rem;
}

.premium-feature {
    background-color: rgba(13, 110, 253, 0.05);
}

.premium-feature:hover {
    background-color: rgba(13, 110, 253, 0.1);
}

@media (max-width: 992px) {
    .premium-card {
        transform: none;
    }
}
