/* Steel Craft Industries - Modern Light Theme Stylesheet */
:root {
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --bg-secondary: #f1f5f9;
    --header-bg: #0f172a;
    --primary-black: #1e293b;
    --secondary-black: #334155;
    --accent-gold: #d97706;
    --accent-gold-hover: #b45309;
    --accent-silver: #64748b;
    --text-dark: #0f172a;
    --text-muted: #475569;
    --text-white: #ffffff;
    --border-color: #e2e8f0;
    --card-shadow: 0 4px 6px -1px rgba(0,0,0,0.06), 0 2px 4px -2px rgba(0,0,0,0.04);
    --card-shadow-hover: 0 10px 20px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-body);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Header & Navigation */
header {
    background-color: var(--header-bg);
    padding: 1.1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--accent-gold);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.logo-container h1 {
    font-size: 1.4rem;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}
.logo-container span {
    color: #f59e0b;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: #f8fafc;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #f59e0b;
}

/* Hero Section */
.hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.88)), url('https://images.unsplash.com/photo-1565439399249-14a9386d9943?auto=format&fit=crop&q=80') center/cover;
    padding: 0 20px;
}

.hero h2 {
    font-size: 3.2rem;
    color: #fbbf24;
    margin-bottom: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.25rem;
    max-width: 820px;
    margin: 0 auto 2.2rem auto;
    color: #e2e8f0;
    font-weight: 400;
}

/* Sections General */
section {
    padding: 4.5rem 5%;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background-color: var(--accent-gold);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* About Section */
#about {
    background-color: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    background: var(--bg-body);
    padding: 2.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--accent-gold);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

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

.about-card h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.about-card p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
}

/* Products Section */
.products-section {
    background-color: var(--bg-secondary);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
}

.product-item {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.product-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(217, 119, 6, 0.4);
}

.product-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 1.2rem;
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.product-item h4 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.category-badge {
    display: inline-block;
    background: rgba(217, 119, 6, 0.12);
    color: #b45309;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(217, 119, 6, 0.25);
    margin-bottom: 0.6rem;
    letter-spacing: 0.5px;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-top: 0.4rem;
}

/* Contact Area */
#contact {
    background-color: #ffffff;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    background: var(--bg-body);
    padding: 2.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-gold);
}

.contact-info h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.contact-info p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    color: var(--text-muted);
}

.contact-info strong {
    color: var(--text-dark);
    font-weight: 700;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: var(--text-dark);
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.btn {
    background: var(--accent-gold);
    color: #ffffff;
    padding: 13px 26px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s, transform 0.1s;
    display: inline-block;
    text-align: center;
}

.btn:hover {
    background: var(--accent-gold-hover);
}

/* Clients Section */
.clients-section {
    background-color: #ffffff;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: -2rem;
    margin-bottom: 2.5rem;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.client-card {
    background: var(--bg-body);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
}

.client-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-gold);
    box-shadow: var(--card-shadow-hover);
}

.client-logo-img {
    max-height: 55px;
    width: auto;
    object-fit: contain;
    margin-bottom: 0.8rem;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.client-card:hover .client-logo-img {
    filter: grayscale(0%);
}

.client-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.client-card-location {
    font-size: 0.85rem;
    color: var(--accent-silver);
    font-weight: 500;
}

/* Achievements Section */
.achievements-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
}

.achievements-section .section-title {
    color: #ffffff;
}

.achievements-section .section-subtitle {
    color: #cbd5e1;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.8rem;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 4px solid var(--accent-gold);
    padding: 2rem 1.5rem;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.09);
    border-color: var(--accent-gold);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: #f59e0b;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.achievement-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.6rem;
}

.achievement-desc {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* Product Card Actions */
.product-actions {
    display: flex;
    gap: 8px;
    margin-top: 1rem;
}

.btn-product-detail {
    flex: 1;
    background: var(--header-bg);
    color: #ffffff;
    padding: 9px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.2s;
    text-align: center;
}

.btn-product-detail:hover {
    background: #334155;
    color: #fbbf24;
}

.btn-product-inquire {
    background: var(--accent-gold);
    color: #ffffff;
    padding: 9px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: background 0.2s;
    text-align: center;
}

.btn-product-inquire:hover {
    background: var(--accent-gold-hover);
}

/* Footer */
footer {
    background: var(--header-bg);
    color: #94a3b8;
    text-align: center;
    padding: 2.2rem;
    border-top: 1px solid #1e293b;
    font-size: 0.9rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    nav ul {
        display: none;
    }
    .hero h2 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1.05rem;
    }
    .admin-container {
        flex-direction: column;
    }
    .admin-sidebar {
        width: 100%;
    }
}

/* Admin Panel Light Theme Styles */
.admin-container {
    padding: 35px 5%;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    background-color: var(--bg-body);
    min-height: 85vh;
}

.admin-sidebar {
    width: 260px;
    background: #ffffff;
    padding: 24px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--accent-gold);
    box-shadow: var(--card-shadow);
    height: fit-content;
}

.admin-sidebar ul {
    list-style: none;
}

.admin-sidebar ul li {
    margin-bottom: 8px;
}

.admin-sidebar ul li a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    display: block;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.92rem;
    transition: all 0.2s;
}

.admin-sidebar ul li a:hover, .admin-sidebar ul li a.active {
    background: rgba(217, 119, 6, 0.12);
    color: var(--accent-gold);
}

.admin-content {
    flex: 1;
    min-width: 320px;
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

.admin-card {
    background: #f8fafc;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 25px;
}

.status-pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-active {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.status-inactive {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #cbd5e1;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary { background: var(--accent-gold); color: #fff; }
.btn-primary:hover { background: var(--accent-gold-hover); }
.btn-success { background: #16a34a; color: #fff; }
.btn-success:hover { background: #15803d; }
.btn-warning { background: #ea580c; color: #fff; }
.btn-warning:hover { background: #c2410c; }
.btn-danger { background: #dc2626; color: #fff; }
.btn-danger:hover { background: #b91c1c; }
.btn-secondary { background: #64748b; color: #fff; }
.btn-secondary:hover { background: #475569; }

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.admin-table th, .admin-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    vertical-align: middle;
}

.admin-table th {
    color: var(--text-dark);
    background: #f1f5f9;
    font-weight: 700;
}

.admin-table tr:hover {
    background-color: #f8fafc;
}


