/* style.css - Aurorae Biolabs Custom Theme */

/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #0a4f5c;      /* Deep Teal */
    --primary-light: #e6f2f4;
    --secondary: #10b981;    /* Vibrant Emerald */
    --dark: #0f172a;         /* Slate 900 */
    --light: #f8fafc;        /* Slate 50 */
    --border-color: #e2e8f0; /* Slate 200 */
    --text-main: #334155;    /* Slate 700 */
    --text-muted: #64748b;   /* Slate 500 */
    --font-family: 'Outfit', sans-serif;
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Glassmorphism Navigation */
.navbar-custom {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    z-index: 1050;
}

.navbar-brand img {
    height: 48px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.02);
}

.navbar-custom .nav-link {
    font-weight: 500;
    color: var(--text-main);
    padding: 0.6rem 1.2rem !important;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.navbar-custom .nav-link:hover {
    color: var(--primary);
    background-color: var(--primary-light);
}

.navbar-custom .nav-link.active {
    color: #ffffff !important;
    background-color: var(--primary);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background-color: var(--dark);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: slowZoom 20s infinite alternate ease-in-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 79, 92, 0.85) 0%, rgba(15, 23, 42, 0.9) 100%);
    display: flex;
    align-items: center;
}

@keyframes slowZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

.hero-title {
    font-weight: 700;
    font-size: 3.5rem;
    letter-spacing: -0.02em;
    color: #ffffff;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.2s;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cards & Grid Items */
.premium-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(10, 79, 92, 0.2);
}

.premium-card .card-img-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.premium-card .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.premium-card:hover .card-img {
    transform: scale(1.05);
}

.premium-card .card-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.premium-card .card-title {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
    transition: color 0.2s ease;
}

.premium-card:hover .card-title {
    color: var(--primary);
}

.premium-card .card-text {
    color: var(--text-muted);
    font-size: 0.975rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Custom Buttons */
.btn-premium {
    background-color: var(--primary);
    color: #ffffff;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    border: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(10, 79, 92, 0.15);
}

.btn-premium:hover {
    background-color: #083c46;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(10, 79, 92, 0.25);
}

.btn-premium:active {
    transform: translateY(0);
}

.btn-premium-outline {
    background-color: transparent;
    color: var(--primary);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    border: 2px solid var(--primary);
    transition: all 0.2s ease;
}

.btn-premium-outline:hover {
    background-color: var(--primary);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Products Table Styles */
.product-filters {
    margin-bottom: 2rem;
}

.product-filters .nav-pills .nav-link {
    color: var(--text-main);
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    margin-right: 0.5rem;
    border-radius: 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.product-filters .nav-pills .nav-link:hover {
    background-color: var(--light);
}

.product-filters .nav-pills .nav-link.active {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 6px -1px rgba(10, 79, 92, 0.15);
}

.search-input-wrapper {
    position: relative;
}

.search-input-wrapper i {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-input-wrapper input {
    padding-left: 3rem !important;
    border-radius: 0.75rem !important;
    border: 1px solid var(--border-color) !important;
    height: 50px;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.search-input-wrapper input:focus {
    box-shadow: 0 0 0 4px rgba(10, 79, 92, 0.1) !important;
    border-color: var(--primary) !important;
}

.table-premium {
    background: #ffffff;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.table-premium th {
    background-color: var(--light);
    color: var(--dark);
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.table-premium td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.table-premium tr:last-child td {
    border-bottom: none;
}

.table-premium tbody tr {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.table-premium tbody tr:hover {
    background-color: rgba(10, 79, 92, 0.03);
}

.catalog-badge {
    background-color: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    display: inline-block;
}

/* Modal styling */
.modal-content-custom {
    border-radius: 1.5rem;
    border: none;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-header-custom {
    background-color: var(--primary);
    color: #ffffff;
    padding: 1.5rem 2rem;
}

.modal-body-custom {
    padding: 2rem;
}

/* Service Detail Layout */
.service-icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: var(--primary-light);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.1);
}

.service-icon-wrapper img {
    width: 48px;
    height: 48px;
}

/* Values Grid */
.value-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border-color: rgba(10, 79, 92, 0.2);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

/* Footer Section */
.footer-section {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.6);
    border-top: 4px solid var(--primary);
}

.footer-section h5 {
    color: #ffffff;
    font-weight: 600;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: #ffffff;
}

/* Form Styles */
.form-floating > .form-control:focus ~ label::after,
.form-floating > .form-control:not(:placeholder-shown) ~ label::after {
    background-color: transparent !important;
}

.form-control {
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(10, 79, 92, 0.1);
}
