/* Navvico Public Website Styles */

:root {
    --bs-primary: #7cecb3;
    --bs-primary-rgb: 124, 236, 179;
    --bs-primary-dark: #6dd4a3;
    --bs-primary-light: #8ff4c3;
}

/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Primary Color Overrides */
.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--bs-primary-dark);
    border-color: var(--bs-primary-dark);
}

.btn-outline-primary {
    color: var(--bs-primary);
    border-color: var(--bs-primary);
    border-width: 2px;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
}

/* Navbar specific button styling */
.navbar .btn-outline-primary {
    color: #333;
    border-color: #333;
    background-color: transparent;
    border-width: 2px;
    font-weight: 600;
}

.navbar .btn-outline-primary:hover {
    background-color: #333;
    border-color: #333;
    color: #fff;
}

.navbar .btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    border-width: 2px;
    font-weight: 600;
}

.navbar .btn-primary:hover {
    background-color: var(--bs-primary-dark);
    border-color: var(--bs-primary-dark);
}

/* Page buttons styling */
.btn-primary {
    border-width: 2px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary {
    border-width: 2px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Hero section buttons */
.hero .btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
    padding: 0.75rem 1.5rem;
}

.hero .btn-primary:hover {
    background-color: var(--bs-primary-dark);
    border-color: var(--bs-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(124, 236, 179, 0.3);
}

.hero .btn-outline-primary {
    color: #333;
    border-color: #333;
    background-color: transparent;
    padding: 0.75rem 1.5rem;
}

.hero .btn-outline-primary:hover {
    background-color: #333;
    border-color: #333;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Pricing section button */
.pricing-card .btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
    font-weight: 600;
    border-width: 2px;
    padding: 0.75rem 1.5rem;
}

.pricing-card .btn-primary:hover {
    background-color: var(--bs-primary-dark);
    border-color: var(--bs-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(124, 236, 179, 0.3);
}

.text-primary {
    color: var(--bs-primary) !important;
}

.bg-primary {
    background-color: var(--bs-primary) !important;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease, transform 0.3s ease;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 1rem 0;
    min-height: 80px;
    display: flex;
    align-items: center;
}

/* Navbar scroll effect */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    min-height: 70px;
}

/* Navbar brand animation */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand {
    font-size: 1.3rem;
}

/* Logo sizing */
.navbar-logo {
    transition: all 0.3s ease;
    height: 60px !important;
}

.navbar.scrolled .navbar-logo {
    height: 40px !important;
}

/* Navbar links animation */
.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--bs-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--bs-primary) !important;
    transform: translateY(-2px);
}

/* Navbar buttons animation */
.navbar .btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Navbar buttons alignment */
.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-item {
    display: flex;
    align-items: center;
}

.navbar .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.navbar .btn:hover::before {
    left: 100%;
}

.navbar .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(124, 236, 179, 0.3);
}

/* Mobile navbar toggle animation */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(124, 236, 179, 0.25);
}

.navbar-toggler-icon {
    transition: all 0.3s ease;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    transform: rotate(90deg);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--bs-primary) !important;
}

/* Hero Section */
.hero {
    background: url('../img/bgp3.png') center/contain no-repeat;
    background-size: 95% auto;
    padding: 80px 0 60px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    margin-top: 100px; /* Navbar height compensation for larger logo */
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/bgp3.png') center/contain no-repeat;
    background-size: 95% auto;
    transform: scaleY(-1);
    z-index: -1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content .lead {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-alt {
    background-color: #f8f9fa;
}

/* Feature Cards */
.feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #fff;
    font-size: 2rem;
}

.feature-card h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    margin-bottom: 0;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Pricing */
.pricing-card {
    border: 2px solid #e9ecef;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: var(--bs-primary);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(124, 236, 179, 0.2);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--bs-primary);
    margin: 1rem 0;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-features li:before {
    content: "✓";
    color: var(--bs-primary);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* FAQ */
.faq-item {
    margin-bottom: 1rem;
}

.faq-question {
    width: 100%;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: left;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
    border-color: var(--bs-primary);
}

.faq-question:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(124, 236, 179, 0.25);
}

.faq-answer {
    background: #f8f9fa;
    border-radius: 0 0 8px 8px;
    padding: 1.5rem;
    margin-top: -1px;
    border: 1px solid #e9ecef;
    border-top: none;
}

/* Contact Form */
.contact-form {
    background: #fff;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 3px rgba(124, 236, 179, 0.25);
}

/* Footer */
.footer {
    background: #2c3e50;
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer h5 {
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--bs-primary);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 2rem;
    margin-top: 2rem;
}

/* Cookie Consent */
.cookie-consent {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content .lead {
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .contact-form {
        padding: 2rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

/* Skip to content link */
.visually-hidden-focusable:not(:focus):not(:focus-within) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}