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

:root {
    /* Brand Colors - Business Luxury */
    --primary-solid: #2f3f60;
    /* More distinct Navy Blue */
    --primary-gradient: linear-gradient(135deg, #2f3f60 0%, #3b5079 100%);
    --secondary-solid: #D4AF37;
    /* Champagne Gold */
    --secondary-hover: #E5C354;

    /* Backgrounds */
    --bg-body: #FAFAFA;
    /* Alabaster White */
    --bg-surface: #FFFFFF;

    /* Text */
    --text-dark: #000000;
    /* Pure Black for Font only */
    --text-muted: #4B5563;
    --text-light: #F8FAFC;

    /* Borders & Shadows */
    --border-soft: rgba(47, 63, 96, 0.08);
    /* Dark Blue based border */
    --shadow-soft: 0 4px 24px rgba(47, 63, 96, 0.04);
    --shadow-hover: 0 16px 40px rgba(47, 63, 96, 0.12);

    /* System */
    --radius-lg: 20px;
    --radius-md: 12px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-font {
    font-family: 'Outfit', sans-serif;
}

/* =======================================
   REUSABLE UI COMPONENTS
========================================== */

/* Glass / Luxury Cards */
.glass-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    text-decoration: none;
    display: block;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--secondary-solid);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    color: inherit;
}

.glass-card:hover::before {
    transform: scaleX(1);
}

/* Buttons */
.btn-primary-luxury {
    background: var(--primary-gradient);
    border: none;
    color: var(--text-light);
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    box-shadow: 0 8px 24px rgba(10, 20, 40, 0.15);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary-luxury::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary-solid);
    z-index: -1;
    transition: var(--transition);
    opacity: 0;
}

.btn-primary-luxury:hover {
    color: var(--text-dark);
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.btn-primary-luxury:hover::after {
    opacity: 1;
}

.btn-outline-luxury {
    background: transparent;
    border: 2px solid var(--primary-solid);
    color: var(--primary-solid);
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition);
}

.btn-outline-luxury:hover {
    background: var(--primary-solid);
    color: var(--text-light);
}

/* =======================================
   SECTIONS
========================================== */

/* Header */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-soft);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--primary-solid);
    font-size: 1.8rem;
    letter-spacing: -0.5px;
}

.navbar-brand span {
    color: var(--secondary-solid);
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

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

.nav-link:hover {
    color: var(--primary-solid);
}

.nav-link:hover::after {
    width: 80%;
    height: 1px;
}

/* Hero Section */
.hero-section {
    padding: 160px 0 120px;
    background: var(--primary-gradient);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Search Bar in Hero */
.hero-search-wrapper {
    max-width: 750px;
    margin: 0 auto 3rem;
    position: relative;
}

.hero-search-input {
    width: 100%;
    padding: 22px 30px;
    border-radius: 50px;
    border: none;
    font-size: 1.1rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    padding-right: 180px;
    outline: none;
}

.hero-search-btn {
    position: absolute;
    right: 10px;
    top: 10px;
    bottom: 10px;
    padding: 0 35px;
}

/* Category Grid */
.cat-icon {
    font-size: 2.5rem;
    color: var(--secondary-solid);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    transition: var(--transition);
}

.glass-card:hover .cat-icon {
    background: var(--secondary-solid);
    color: var(--text-light);
    transform: scale(1.1);
}

.cat-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-solid);
    margin-bottom: 0.5rem;
}

.cat-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Page Headers (e.g. Catalog Subpages) */
.page-header-luxury {
    background: var(--bg-surface);
    padding: 60px 0;
    border-bottom: 1px solid var(--border-soft);
    margin-bottom: 40px;
}

.page-title {
    font-weight: 800;
    color: var(--primary-solid);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Breadcrumbs */
.breadcrumb {
    font-size: 0.9rem;
    font-weight: 500;
}

.breadcrumb a {
    color: var(--secondary-solid);
    text-decoration: none;
}

.breadcrumb .breadcrumb-item.active {
    color: var(--text-muted);
}

/* Badges */
.badge-luxury {
    background: rgba(212, 175, 55, 0.15);
    color: #B48D10;
    padding: 6px 12px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

/* Footer */
/* Footer */
.main-footer {
    background: linear-gradient(rgba(47, 63, 96, 0.6), rgba(47, 63, 96, 0.55)), url('/_res/img/footer_bg.webp');
    background-size: cover;
    background-position: center;
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 20px;
    position: relative;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    margin-top: 100px;
}

.main-footer .footer-title {
    color: var(--secondary-solid) !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-nav-link {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none;
    transition: var(--transition);
    padding: 6px 0;
}

.footer-nav-link i {
    margin-right: 12px;
    color: var(--secondary-solid);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-nav-link:hover {
    color: white !important;
    transform: translateX(5px);
}

.footer-nav-link:hover i {
    transform: scale(1.2);
}

.main-footer .border-top {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.main-footer .navbar-brand span {
    transition: var(--transition);
}

.main-footer .navbar-brand:hover span {
    color: white;
}

/* =======================================
   COMPANY PAGE PROTOTYPE COMPONENTS
========================================== */

/* Company Header */
.company-hero {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 30px;
    border: 1px solid var(--border-soft);
}

.company-logo-wrapper {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.company-logo-wrapper img {
    max-width: 100%;
    height: auto;
}

.company-name {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-solid);
    margin-bottom: 0.5rem;
}

.verified-icon {
    color: #10B981;
    font-size: 1.2rem;
    margin-left: 8px;
}

/* Company Blocks */
.content-block {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 30px;
    border: 1px solid var(--border-soft);
}

.block-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-solid);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.block-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 24px;
    background: var(--secondary-solid);
    margin-right: 12px;
    border-radius: 2px;
}

/* Products Layout */
.product-card {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: var(--transition);
}

.product-card:hover {
    border-color: var(--secondary-solid);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.1);
}

/* Contact Sidebar */
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(10, 20, 40, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-solid);
    margin-right: 15px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Reviews */
.review-item {
    border-bottom: 1px solid var(--border-soft);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.review-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.vote-btn {
    background: transparent;
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.vote-btn:hover,
.vote-btn.active {
    background: var(--primary-solid);
    color: #fff;
    border-color: var(--primary-solid);
}

/* =======================================
/* =======================================
   DEFAULT TABLES & CUSTOM TABLES (Business Luxury)
========================================== */

/* Modern & Elegant Default Table Styling */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2.5rem 0;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(14, 27, 53, 0.04);
    border: 1px solid var(--border-soft);
    position: relative;
    transition: var(--transition);
}

/* Header styling */
table thead th {
    background: var(--primary-gradient);
    color: var(--text-light);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.2px;
    padding: 1.35rem 1.6rem;
    text-align: left;
    border: none;
    position: relative;
}

/* Gold accent bar under the header */
table thead th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--secondary-solid);
    transition: width 0.6s ease;
}

table:hover thead th::after {
    width: 100%;
}

/* Cell styling */
table tbody td {
    padding: 1.2rem 1.6rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--border-soft);
    font-size: 0.98rem;
    color: var(--text-dark);
    transition: var(--transition);
    background: transparent;
}

/* Remove bottom border on last row */
table tbody tr:last-child td {
    border-bottom: none;
}

/* Elegant Zebra Striping */
table tbody tr:nth-child(even) {
    background-color: rgba(47, 63, 96, 0.015);
}

/* Interactive Hover States */
table tbody tr:hover {
    background-color: rgba(212, 175, 55, 0.04);
}

table tbody tr:hover td {
    color: var(--primary-solid);
    transform: translateX(4px);
    font-weight: 500;
}

/* Highlight first column (often name or ID) */
table tbody td:first-child {
    font-weight: 600;
    color: var(--primary-solid);
}

/* Specialized Luxury Classes */
.table-luxury,
.tabl-notarius {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
    margin: 3rem 0;
}

.table-luxury-header th {
    background: white;
    color: var(--primary-solid);
    border-bottom: 2px solid var(--secondary-solid);
}

/* Responsive Table Wrapper */
.table-responsive-luxury,
.table-responsive {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    margin-bottom: 3rem;
    padding: 5px;
    /* space for shadows */
}

/* Small data labels (optional but helpful) */
.table-label {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(47, 63, 96, 0.05);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-solid);
    margin-bottom: 4px;
}



/* Dropdown Animations */
@keyframes slideIn {
    0% {
        transform: translateY(1rem);
        opacity: 0;
    }

    100% {
        transform: translateY(0rem);
        opacity: 1;
    }
}

.animate.slideIn {
    animation-duration: 0.3s;
    animation-fill-mode: both;
    animation-name: slideIn;
}

.dropdown-menu-dark {
    background: #2f3f60;
    border-radius: var(--radius-md);
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: 8px;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--secondary-solid);
    color: var(--primary-solid) !important;
}

.dropdown-item i {
    transition: var(--transition);
}

.dropdown-item:hover i {
    color: var(--primary-solid) !important;
}