/* ANVI INDIA - Visual Design System Stylesheet */

:root {
    --anvi-primary: #9a4600; /* Safety Orange */
    --anvi-primary-container: #f47920; /* Accent Orange */
    --anvi-secondary: #4e5f7c; /* Blue-Gray */
    --anvi-dark-navy: #263143; /* Surface Dark Navy */
    --anvi-on-surface: #111c2d; /* Rich Blue-Black */
    --anvi-background: #f9f9ff; /* Soft Background */
    --anvi-border-color: #dec0b1; /* Outline Variant */
    --anvi-surface-lowest: #ffffff;
    --anvi-surface-container: #e7eeff;
    --anvi-surface-container-low: #f0f3ff;
    --anvi-surface-dim: #cfdaf2;
}

/* Base resets & typography overrides */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--anvi-background);
    color: var(--anvi-on-surface);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Colors Utilities */
.text-primary-brand { color: var(--anvi-primary); }
.text-primary-container-brand { color: var(--anvi-primary-container); }
.text-on-surface-brand { color: var(--anvi-on-surface); }
.bg-primary-brand { background-color: var(--anvi-primary); }
.bg-primary-container-brand { background-color: var(--anvi-primary-container); }
.bg-dark-navy-brand { background-color: var(--anvi-dark-navy); }
.bg-surface-container-brand { background-color: var(--anvi-surface-container); }
.border-brand { border-color: var(--anvi-border-color) !important; }

/* Custom Buttons matching approved brand personality */
.btn-primary-brand {
    background-color: var(--anvi-primary);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    padding: 12px 28px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(154, 70, 0, 0.15);
}
.btn-primary-brand:hover {
    background-color: var(--anvi-primary-container);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(244, 121, 32, 0.25);
}
.btn-primary-brand:active {
    transform: translateY(0);
}

.btn-secondary-brand {
    background-color: transparent;
    color: var(--anvi-dark-navy);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 2px solid var(--anvi-dark-navy);
    border-radius: 4px;
    padding: 10px 26px;
    transition: all 0.3s ease;
}
.btn-secondary-brand:hover {
    background-color: var(--anvi-dark-navy);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Custom Header Navigation styling */
.top-contact-bar {
    font-size: 13px;
    position: relative;
    z-index: 1031;
}

.top-contact-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
}

.top-contact-link:hover {
    color: var(--anvi-primary-container);
}

.top-contact-link .material-symbols-outlined {
    font-size: 17px;
}

.navbar-brand-custom {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--anvi-primary) !important;
}

.nav-link-custom {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.05em;
    color: var(--anvi-secondary) !important;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
    padding: 8px 0;
}
.nav-link-custom:hover, .nav-link-custom.active {
    color: var(--anvi-primary) !important;
}
.nav-link-custom.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--anvi-primary);
}

/* Industrial Grid Background Pattern */
.industrial-grid {
    background-image: radial-gradient(circle, #dec0b133 1.5px, transparent 1.5px);
    background-size: 32px 32px;
}

/* 45-degree Chamfer visuals */
.chamfer-clip-left {
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}
.chamfer-clip-right {
    clip-path: polygon(0 0, 90% 0, 100% 10%, 100% 100%, 0 100%);
}
.hero-clip {
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0% 100%);
}

@media (max-width: 768px) {
    .hero-clip {
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0% 100%);
    }
}

/* Bento Cards layout grids & details */
.bento-card {
    background-color: var(--anvi-surface-lowest);
    border: 1px solid var(--anvi-border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 2px 4px rgba(10, 29, 55, 0.03);
}
.bento-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(10, 29, 55, 0.08);
    border-color: var(--anvi-primary);
}

.bento-card-image-flush {
    border-radius: 0;
    width: 100%;
    object-cover: cover;
}

/* Floating Actions button structure */
.floating-actions-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1050;
}

.btn-floating {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--anvi-primary);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(154, 70, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}
.btn-floating:hover {
    transform: scale(1.1) rotate(5deg);
    color: #ffffff;
    background-color: var(--anvi-primary-container);
}
.btn-floating .floating-label {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--anvi-dark-navy);
    color: #ffffff;
    font-size: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.btn-floating:hover .floating-label {
    opacity: 1;
    visibility: visible;
}

/* Custom validation indicators */
.form-control-custom {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 14px 16px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.form-control-custom:focus {
    border-color: var(--anvi-primary);
    box-shadow: 0 0 0 0.25rem rgba(154, 70, 0, 0.15);
    outline: 0;
}
.input-error-indicator {
    border-left: 4px solid var(--anvi-primary) !important;
}

/* Admin Dashboard Cards styling */
.admin-card {
    border: none;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.05);
}

/* Form Styles and Overrides */
.form-focus-ring:focus {
    border-color: var(--anvi-primary-container) !important;
    box-shadow: 0 0 0 4px rgba(244, 121, 32, 0.25) !important;
}

/* Simple transitions and animations */
.transition-slow {
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-hidden {
    opacity: 0;
    transform: translateY(20px);
}
.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ANVI visibility fixes - keep original UI */
.bg-primary-brand, .bg-primary-container-brand { color:#fff; }
.bg-primary-brand *, .bg-primary-container-brand * { color: inherit; }
.text-on-surface-brand { color:#111c2d !important; }
.modal .badge.bg-primary-brand { color:#ffffff !important; }
.about-section p, .industrial-grid p { color:#263143; }
.navbar-brand img { height:42px; width:auto; }
