/* ==========================================================================
   CoolSphere Theme Custom Styles
   ========================================================================== */

/* Header Styles */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.main-nav {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    display: flex;
    align-items: center;
}

.custom-logo {
    max-height: 60px;
    width: auto;
}

.site-title-wrapper .site-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    color: #0d6efd;
}

.site-title-wrapper .site-description {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
}

/* Desktop Menu */
.desktop-menu {
    display: flex;
    align-items: center;
}

.main-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu li {
    position: relative;
    margin: 0 0.5rem;
}

.main-menu a {
    color: #333;
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.main-menu a:hover {
    color: #0d6efd;
    background: rgba(13, 110, 253, 0.1);
}

.main-menu .current-menu-item a {
    color: #0d6efd;
    font-weight: 600;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.toggle-bar {
    display: block;
    width: 25px;
    height: 2px;
    background: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    margin-top: 1rem;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-list li {
    margin-bottom: 0.5rem;
}

.mobile-menu-list a {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mobile-menu-list a:hover {
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

/* Hero Section */
.hero-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: #0d6efd;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: relative;
}

.hero-main-image {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.hero-main-image:hover {
    transform: translateY(-5px);
}

/* Feature Cards */
.feature-card {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: #0d6efd;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-description {
    color: #666;
    margin: 0;
}

/* Comparison Table */
.comparison-table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table th {
    background: #f8f9fa;
    font-weight: 600;
    padding: 1rem;
}

.comparison-table td {
    padding: 1rem;
    vertical-align: middle;
}

.comparison-table tbody tr:hover {
    background: #f8f9fa;
}

.model-badge {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.model-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.model-features li {
    margin-bottom: 0.25rem;
    color: #555;
}

.feature-tags .badge {
    margin: 0.25rem;
    font-weight: normal;
}

/* Project Cards */
.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

.project-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #333;
}

.project-description {
    color: #666;
    margin-bottom: 1rem;
}

.project-link {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.project-link:hover {
    text-decoration: underline;
}

/* CTA Sections */
.cta-section {
    padding: 4rem 0;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.25rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

/* Footer Styles */
.site-footer {
    background: #212529;
    color: white;
}

.footer-top {
    padding: 4rem 0;
}

.footer-col {
    margin-bottom: 2rem;
}

.footer-widget {
    height: 100%;
}

.footer-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255,255,255,0.8);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #0d6efd;
    transform: translateY(-3px);
}

.widget-title {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #0d6efd;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.8);
}

.contact-item i {
    margin-right: 0.75rem;
    color: #0d6efd;
    margin-top: 0.25rem;
}

.contact-item a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.contact-item a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    padding: 1.5rem 0;
    background: rgba(0,0,0,0.2);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.copyright {
    color: rgba(255,255,255,0.7);
}

.footer-links-bottom {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-links-bottom a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.875rem;
}

.footer-links-bottom a:hover {
    color: white;
}

.footer-links-bottom .separator {
    color: rgba(255,255,255,0.3);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: #0d6efd;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #0a58ca;
    transform: translateY(-3px);
}

/* Page Header */
.page-header {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
    text-align: center;
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.page-description {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.page-header-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Filter Buttons */
.filter-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: #0d6efd;
    color: white;
    border-color: #0d6efd;
}

.filter-btn:hover:not(.active) {
    background: rgba(13, 110, 253, 0.1);
    border-color: #0d6efd;
}

/* Stat Cards */
.stat-card {
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.stat-icon i {
    font-size: 1.5rem;
    color: #0d6efd;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0d6efd;
    margin: 0;
}

.stat-label {
    color: #666;
    margin: 0;
}

/* Product Sections */
.product-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.product-image {
    border-radius: 8px;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.product-img:hover {
    transform: scale(1.02);
}

.product-category {
    display: inline-block;
    color: #0d6efd;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.product-description {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 2rem;
}

.specs-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.specs-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.specs-list li:last-child {
    border-bottom: none;
}

.specs-list strong {
    color: #333;
    min-width: 150px;
    display: inline-block;
}

.features-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.features-tags .badge {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.product-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Comparison Legend */
.comparison-legend {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    margin-right: 0.75rem;
}

.legend-color.easy {
    background: #28a745;
}

.legend-color.moderate {
    background: #ffc107;
}

.legend-color.complex {
    background: #dc3545;
}

.legend-text {
    color: #666;
}

/* Technical Support Form */
.support-content {
    padding-right: 3rem;
}

.support-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.support-content p {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 2rem;
}

.support-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.support-features li {
    padding: 0.5rem 0;
    color: #555;
}

.support-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.support-form h3 {
    color: #333;
    margin-bottom: 1.5rem;
}

.support-form .form-control {
    padding: 0.75rem 1rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.support-form .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.support-form .form-control.is-invalid {
    border-color: #dc3545;
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.testimonial-avatar i {
    font-size: 1.5rem;
    color: #666;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-size: 1.25rem;
    margin: 0 0 0.25rem 0;
    color: #333;
}

.testimonial-position {
    color: #666;
    margin: 0 0 0.5rem 0;
    font-size: 0.875rem;
}

.testimonial-rating {
    color: #ffc107;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    color: #666;
    font-style: italic;
    margin: 0;
}

.testimonial-footer {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .desktop-menu {
        display: none;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .product-section .row {
        flex-direction: column;
    }
    
    .support-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.75rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-description {
        font-size: 1.125rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .table-responsive {
        font-size: 0.875rem;
    }
    
    .product-title {
        font-size: 2rem;
    }
}

@media (max-width: 575.98px) {
    .filter-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-btn {
        width: 100%;
    }
    
    .project-stats .col-6 {
        margin-bottom: 1rem;
    }
    
    .features-tags {
        justify-content: center;
    }
    
    .product-cta {
        flex-direction: column;
    }
    
    .product-cta .btn {
        width: 100%;
    }
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .hero-section,
    .cta-section,
    .page-header {
        background: white !important;
        color: black !important;
        padding: 2rem 0 !important;
    }
    
    .hero-title,
    .page-title,
    .section-title {
        color: black !important;
    }
    
    .btn {
        display: none !important;
    }
    
    a {
        color: black !important;
        text-decoration: underline !important;
    }
    
    .table {
        border: 1px solid #000 !important;
    }
    
    .table th,
    .table td {
        border: 1px solid #000 !important;
    }
}