/* style.css - Premium Design System for Pacific Steel Doctors */

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

:root {
    /* Color Palette - Deep Industrial & Electric Torch */
    --bg-base: #0a0a0c;
    --bg-surface: #111115;
    --bg-surface-elevated: #1a1a22;
    
    --accent-orange: #ff5e00;
    --accent-orange-glow: rgba(255, 94, 0, 0.4);
    --accent-amber: #ffaa00;
    --accent-cyan: #00e5ff;
    --accent-cyan-glow: rgba(0, 229, 255, 0.35);
    
    --border-color: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(255, 94, 0, 0.3);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Semantic Colors */
    --status-success: #10b981;
    --status-warning: #f59e0b;
    --status-danger: #ef4444;
    
    /* Layout Constants */
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Glassmorphism settings */
    --glass-bg: rgba(17, 17, 21, 0.75);
    --glass-blur: blur(12px);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base Resets */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-surface-elevated);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-orange);
}

/* Premium Typography Utility */
.grad-text {
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-amber) 70%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.electric-text {
    background: linear-gradient(135deg, #ffffff 20%, var(--accent-cyan) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

/* Layout Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Glassmorphism Card Style */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: var(--border-hover);
    box-shadow: 0 8px 30px rgba(255, 94, 0, 0.08);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.logo span {
    color: var(--accent-orange);
}

.logo-icon {
    font-size: 28px;
    color: var(--accent-orange);
    text-shadow: 0 0 10px var(--accent-orange-glow);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition-smooth);
    position: relative;
    padding: 8px 0;
}

nav a:hover, nav a.active {
    color: var(--text-primary);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: var(--transition-smooth);
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #d83f00 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 94, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 94, 0, 0.45);
    background: linear-gradient(135deg, var(--accent-amber) 0%, var(--accent-orange) 100%);
}

.btn-secondary {
    background: var(--bg-surface-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-surface);
    border-color: var(--text-secondary);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--accent-orange);
}

.btn-outline:hover {
    background: var(--accent-orange-glow);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 94, 0, 0.2);
}

.btn-danger {
    background: linear-gradient(135deg, var(--status-danger) 0%, #b91c1c 100%);
    color: white;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px 0;
    background: radial-gradient(circle at 80% 30%, rgba(255, 94, 0, 0.05) 0%, transparent 60%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-content h1 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

/* Custom Spark Particle System Container */
.spark-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 94, 0, 0.1);
    border: 1px solid rgba(255, 94, 0, 0.25);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-orange);
    text-transform: uppercase;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

/* Spark Widget Preview Panel */
.hero-visual {
    position: relative;
    z-index: 2;
}

.welder-panel {
    padding: 30px;
    position: relative;
}

.welder-panel::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-cyan), transparent);
    z-index: -1;
    border-radius: calc(var(--radius-md) + 2px);
    opacity: 0.2;
}

.welder-panel h3 {
    margin-bottom: 16px;
    font-size: 20px;
}

/* Feature highlight list */
.spec-list {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.spec-item i {
    color: var(--accent-orange);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 40px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.service-card {
    padding: 40px;
    height: 100%;
}

.service-icon {
    font-size: 44px;
    color: var(--accent-orange);
    margin-bottom: 24px;
    display: inline-block;
    text-shadow: 0 0 20px var(--accent-orange-glow);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
}

/* Interactive Client Stock Checker Section */
.client-checker {
    padding: 100px 0;
}

.search-box-wrapper {
    max-width: 700px;
    margin: 0 auto 40px auto;
    position: relative;
}

.search-input {
    width: 100%;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    padding: 18px 24px 18px 56px;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-primary);
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 15px rgba(255, 94, 0, 0.15), inset 0 2px 4px rgba(0,0,0,0.2);
}

.search-icon-inside {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--text-muted);
    pointer-events: none;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.tab-btn {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 500;
    transition: var(--transition-smooth);
}

.tab-btn:hover, .tab-btn.active {
    background: var(--accent-orange);
    color: white;
    border-color: var(--accent-orange);
}

/* Stock grid / table */
.stock-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.stock-card {
    padding: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
}

.stock-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.stock-category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-cyan);
    font-weight: 600;
}

.stock-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-instock {
    background: rgba(16, 185, 129, 0.1);
    color: var(--status-success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-lowstock {
    background: rgba(245, 158, 11, 0.1);
    color: var(--status-warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-outstock {
    background: rgba(239, 68, 68, 0.1);
    color: var(--status-danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.stock-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
}

.stock-specs {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    flex-grow: 1;
}

.stock-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
}

.stock-qty {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.stock-qty span {
    font-size: 18px;
    font-weight: 800;
    color: var(--accent-orange);
}

.stock-location {
    font-size: 12px;
    color: var(--text-muted);
}

/* Pulse Animation for Status Indicators */
.pulse-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.pulse-indicator.success { background: var(--status-success); }
.pulse-indicator.warning { background: var(--status-warning); }
.pulse-indicator.danger { background: var(--status-danger); }

.pulse-indicator::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: pulse-ring 1.5s infinite ease-in-out;
    opacity: 0.6;
}

.pulse-indicator.success::after { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.4); }
.pulse-indicator.warning::after { box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.4); }
.pulse-indicator.danger::after { box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.4); }

@keyframes pulse-ring {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(0.95); opacity: 0; }
}

/* Contact / Quote Form Section */
.contact-section {
    padding: 100px 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
}

.contact-info-panel h3 {
    font-size: 28px;
    margin-bottom: 18px;
}

.contact-info-panel p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-detail-item {
    display: flex;
    gap: 16px;
    align-items: center;
}

.contact-detail-icon {
    font-size: 20px;
    color: var(--accent-orange);
    width: 44px;
    height: 44px;
    background: var(--bg-surface-elevated);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.contact-form {
    padding: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.form-control {
    width: 100%;
    background: var(--bg-base);
    border: 1px solid var(--border-color);
    padding: 12px 18px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 10px rgba(255, 94, 0, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Admin Portal / Dashboard Interface */
.admin-wrapper {
    padding-top: 110px;
    padding-bottom: 80px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.admin-title-area h2 {
    font-size: 32px;
    margin-bottom: 4px;
}

.admin-title-area p {
    color: var(--text-secondary);
}

/* Stat Widgets / Gauges */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.stat-card {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-icon {
    font-size: 32px;
    color: var(--accent-orange);
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: rgba(255, 94, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 94, 0, 0.15);
}

.stat-card.cyan .stat-icon {
    color: var(--accent-cyan);
    background: rgba(0, 229, 255, 0.05);
    border-color: rgba(0, 229, 255, 0.15);
}

.stat-card.warning .stat-icon {
    color: var(--status-warning);
    background: rgba(245, 158, 11, 0.05);
    border-color: rgba(245, 158, 11, 0.15);
}

.stat-card.danger .stat-icon {
    color: var(--status-danger);
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.15);
}

.stat-info h4 {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 4px;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    font-family: var(--font-heading);
}

/* Dashboard Tabs Layout (Table vs Log) */
.dashboard-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.table-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.table-search {
    max-width: 350px;
    position: relative;
}

.table-search .search-input {
    padding: 10px 16px 10px 40px;
    font-size: 14px;
    border-radius: var(--radius-sm);
}

.table-search i {
    left: 14px;
    font-size: 16px;
}

.table-actions {
    display: flex;
    gap: 12px;
}

/* Inventory Table */
.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th {
    background: var(--bg-surface);
    padding: 16px 24px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-color);
}

.admin-table td {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    vertical-align: middle;
}

.admin-table tbody tr {
    transition: var(--transition-smooth);
}

.admin-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.015);
}

.table-item-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 15px;
}

.table-item-desc {
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 2px;
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.btn-icon {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.btn-icon:hover {
    color: var(--text-primary);
    border-color: var(--text-secondary);
}

.btn-icon.edit:hover {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan-glow);
    background: rgba(0, 229, 255, 0.05);
}

.btn-icon.delete:hover {
    color: var(--status-danger);
    border-color: var(--status-danger);
    background: rgba(239, 68, 68, 0.05);
}

/* Modals */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-backdrop.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    width: 100%;
    max-width: 600px;
    padding: 36px;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal-backdrop.show .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.modal-header h3 {
    font-size: 24px;
}

.modal-close {
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    color: var(--text-primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Audit Logs Panel */
.logs-section {
    padding: 24px;
}

.log-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 8px;
}

.log-entry {
    background: var(--bg-surface-elevated);
    padding: 16px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--accent-orange);
    font-size: 13px;
}

.log-entry.item-added {
    border-left-color: var(--status-success);
}

.log-entry.item-deleted {
    border-left-color: var(--status-danger);
}

.log-entry-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    color: var(--text-muted);
}

.log-entry-user {
    font-weight: 600;
    color: var(--text-secondary);
}

.log-entry-details {
    color: var(--text-primary);
}

/* Footer Section */
footer.site-footer {
    background: var(--bg-base);
    border-top: 1px solid var(--border-color);
    padding: 50px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-logo span {
    color: var(--accent-orange);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-left: 4px solid var(--accent-orange);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    border-left-color: var(--status-success);
}

.toast.error {
    border-left-color: var(--status-danger);
}

/* Particle animation helper styling */
.spark-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: linear-gradient(to top, var(--accent-orange), var(--accent-amber));
    border-radius: 50%;
    filter: drop-shadow(0 0 4px var(--accent-orange));
    opacity: 0.8;
    pointer-events: none;
}

/* Responsiveness adjustments */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    .stats-row {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* About Us Section Styles */
.about-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.about-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
}
.about-content p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}
.about-stat-item {
    text-align: center;
    padding: 16px;
    background: var(--bg-surface);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}
.about-stat-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-orange);
    font-family: var(--font-heading);
}
.about-stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 4px;
}

/* Gallery Styles */
.gallery-section {
    padding: 100px 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}
.gallery-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 250px;
    cursor: pointer;
}
.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-card:hover .gallery-img {
    transform: scale(1.08);
}
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10,10,12,0.95) 0%, rgba(10,10,12,0.6) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0.9;
    transition: var(--transition-smooth);
}
.gallery-card:hover .gallery-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(255,94,0,0.9) 0%, rgba(10,10,12,0.7) 60%, transparent 100%);
}
.gallery-title {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}
.gallery-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}
.gallery-card:hover .gallery-desc {
    color: rgba(255, 255, 255, 0.9);
}

/* Persistent Role Switcher Banner */
.role-banner {
    background: linear-gradient(90deg, #16161b 0%, #0c0c0e 100%);
    border-bottom: 2px solid var(--accent-orange);
    padding: 8px 0;
    font-size: 12px;
    font-family: var(--font-heading);
    z-index: 1001;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}
.role-banner-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.role-status-text {
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}
.role-status-text span {
    color: var(--accent-orange);
    font-weight: 800;
    text-transform: uppercase;
}
.role-toggle-group {
    display: flex;
    background: var(--bg-base);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    padding: 2px;
}
.role-toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    cursor: pointer;
    border-radius: 3px;
    transition: var(--transition-smooth);
    text-transform: uppercase;
}
.role-toggle-btn:hover {
    color: var(--text-primary);
}
.role-toggle-btn.active {
    background: var(--accent-orange);
    color: white;
}

/* Offset admin and header for the role banner */
body.has-role-banner {
    padding-top: 36px;
}
body.has-role-banner header {
    top: 36px;
}

/* Image Thumbnails and upload boxes */
.table-thumbnail {
    width: 44px;
    height: 44px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid var(--border-color);
    background: var(--bg-base);
}
.card-thumbnail-wrapper {
    width: 100%;
    height: 140px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-surface-elevated);
    margin-bottom: 14px;
}
.card-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-no-thumbnail {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 24px;
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-surface-elevated) 100%);
}
.img-preview-box {
    margin-top: 8px;
    width: 80px;
    height: 80px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background: var(--bg-base);
    display: none;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.img-preview-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Delete Requests Panel Styles */
.delete-requests-section {
    margin-bottom: 32px;
}
.delete-request-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}
.delete-request-card {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 3px solid var(--status-warning);
}
.delete-request-info h5 {
    font-size: 14px;
    margin-bottom: 4px;
}
.delete-request-info p {
    font-size: 12px;
    color: var(--text-secondary);
}
.delete-request-actions {
    display: flex;
    gap: 8px;
}
.delete-request-reason {
    margin-top: 6px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    font-size: 12px;
    font-style: italic;
    color: var(--text-secondary);
}

/* Sub-header Tabs for Admin Panels (Inventory vs Gallery) */
.admin-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}
.admin-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 4px;
    transition: var(--transition-smooth);
}
.admin-tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.02);
}
.admin-tab-btn.active {
    color: white;
    background: var(--accent-orange);
}
.dashboard-view-panel {
    display: none;
}
.dashboard-view-panel.active {
    display: grid;
}

/* Centered Service Icon Wrappers */
.service-icon-wrapper {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(255, 94, 0, 0.05);
    border: 1px solid rgba(255, 94, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    box-shadow: 0 0 15px rgba(255, 94, 0, 0.05);
    transition: var(--transition-smooth);
}
.service-card {
    text-align: center;
}
.service-card:hover .service-icon-wrapper {
    background: rgba(255, 94, 0, 0.12);
    border-color: var(--accent-orange);
    box-shadow: 0 0 20px rgba(255, 94, 0, 0.2);
    transform: scale(1.05);
}
.service-icon {
    font-size: 32px !important;
    margin-bottom: 0 !important;
    text-shadow: 0 0 15px var(--accent-orange-glow);
}

/* Hamburger Toggler Icon */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1010;
}
.hamburger-menu span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.hamburger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile responsive drawer overrides */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }
    nav ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 12, 0.96);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-bottom: 1px solid var(--border-color);
        padding: 30px 24px;
        gap: 20px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 999;
    }
    nav ul.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    nav ul li {
        width: 100%;
        text-align: center;
    }
    nav ul a {
        display: block;
        padding: 10px 0;
        font-size: 16px;
    }
    body.has-role-banner nav ul {
        top: 116px; /* offset for role switcher height */
    }
}

/* Prevent scrolling when mobile menu is open */
body.nav-open {
    overflow: hidden;
    height: 100vh;
}

/* Dashboard Responsiveness Grid Layout */
.dashboard-grid-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 32px;
    align-items: start;
}

/* Lightbox Slider and Shared Upload Previews */
.slider-arrow:hover {
    background: var(--accent-orange) !important;
    border-color: var(--accent-orange) !important;
}
.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: var(--transition-smooth);
}
.slider-dot.active {
    background: var(--accent-orange);
    box-shadow: 0 0 8px var(--accent-orange-glow);
}
.thumbnail-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.thumbnail-preview-item {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: rgba(0,0,0,0.2);
}
.thumbnail-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gallery Showcase Photo Count Badge */
.gallery-count-badge {
    position: absolute;
    right: 12px;
    top: 12px;
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border-color);
    color: var(--accent-orange);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    line-height: 1;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .dashboard-grid-layout,
    .dashboard-view-panel.active.dashboard-grid-layout {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}

@media (max-width: 768px) {
    .admin-header {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 16px !important;
    }
    .admin-tabs {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 6px !important;
        padding-bottom: 8px !important;
        width: 100% !important;
    }
    .admin-tab-btn {
        padding: 6px 12px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 576px) {
    .table-controls {
        flex-direction: column !important;
        gap: 12px !important;
        align-items: stretch !important;
    }
    .table-search {
        width: 100% !important;
        max-width: 100% !important;
    }
    .table-controls .btn {
        width: 100% !important;
    }
}



