/*
Theme Name: JANNAT INDUSTRIES LLC
Theme URI: https://jannatindustries.example.com
Author: JANNAT INDUSTRIES LLC
Author URI: https://jannatindustries.example.com
Description: A modern, professional industrial & business WordPress theme for JANNAT INDUSTRIES LLC. Clean, responsive, and built without page builders or external frameworks.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jannat-industries
Tags: business, industrial, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, responsive-layout
*/

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: #1f2937;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: #1d4ed8; text-decoration: none; transition: color .2s ease; }
a:hover { color: #f97316; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Inter', sans-serif;
    color: #0f172a;
    line-height: 1.2;
    margin: 0 0 .6em;
    font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section { padding: 5rem 0; }
.section--alt { background: #f8fafc; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head .eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #f97316;
    margin-bottom: .75rem;
}
.section-head p { color: #475569; font-size: 1.05rem; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: .9rem 1.75rem;
    font-weight: 600;
    font-size: .95rem;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .2s ease;
    text-align: center;
}
.btn-primary { background: #f97316; color: #fff; }
.btn-primary:hover { background: #ea580c; color: #fff; transform: translateY(-2px); box-shadow: 0 10px 25px -5px rgba(249,115,22,.4); }
.btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-secondary:hover { background: #fff; color: #0f172a; }
.btn-outline { background: transparent; color: #0f172a; border-color: #0f172a; }
.btn-outline:hover { background: #0f172a; color: #fff; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.site-branding a { display: flex; align-items: center; gap: .65rem; color: #0f172a; }
.site-branding .logo-mark {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; border-radius: 6px;
    font-family: 'Poppins', sans-serif;
}
.site-branding .site-title { font-weight: 700; font-size: 1.05rem; line-height: 1.1; }
.site-branding .site-tagline { font-size: .75rem; color: #64748b; letter-spacing: .05em; text-transform: uppercase; }

.main-navigation ul {
    list-style: none;
    margin: 0; padding: 0;
    display: flex; gap: 2rem;
}
.main-navigation a {
    color: #1f2937;
    font-weight: 500;
    font-size: .95rem;
    padding: .25rem 0;
    position: relative;
}
.main-navigation a::after {
    content: '';
    position: absolute; left: 0; bottom: -4px;
    width: 0; height: 2px; background: #f97316;
    transition: width .25s ease;
}
.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after { width: 100%; }

.menu-toggle {
    display: none;
    background: none; border: 0;
    width: 40px; height: 40px;
    cursor: pointer;
    flex-direction: column; justify-content: center; gap: 5px;
    padding: 0;
}
.menu-toggle span {
    display: block; width: 26px; height: 2px;
    background: #0f172a;
    transition: all .25s ease;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(15,23,42,.85), rgba(15,23,42,.65)),
        url('https://images.unsplash.com/photo-1565793298595-6a879b1d9492?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at top right, rgba(249,115,22,.25), transparent 60%);
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 760px; }
.hero .eyebrow {
    display: inline-block;
    padding: .35rem .9rem;
    background: rgba(249,115,22,.18);
    border: 1px solid rgba(249,115,22,.5);
    color: #fed7aa;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero p.lead { font-size: 1.2rem; color: #cbd5e1; max-width: 620px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(15,23,42,.25);
}
.about-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-stats {
    display: grid; grid-template-columns: repeat(3,1fr);
    gap: 1.5rem; margin-top: 2rem;
    padding-top: 2rem; border-top: 1px solid #e5e7eb;
}
.about-stats .stat strong {
    display: block; font-size: 2rem; font-weight: 700;
    color: #f97316; font-family: 'Poppins', sans-serif;
}
.about-stats .stat span { font-size: .85rem; color: #64748b; }

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.service-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 2rem;
    transition: all .25s ease;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute; left: 0; top: 0;
    width: 4px; height: 100%; background: #f97316;
    transform: scaleY(0); transform-origin: top;
    transition: transform .3s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -15px rgba(15,23,42,.18);
    border-color: transparent;
}
.service-card:hover::before { transform: scaleY(1); }
.service-icon {
    width: 56px; height: 56px;
    border-radius: 10px;
    background: rgba(249,115,22,.12);
    color: #f97316;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}
.service-card h3 { margin-bottom: .5rem; }
.service-card p { color: #64748b; font-size: .95rem; margin: 0; }

/* ==========================================================================
   Why Choose Us
   ========================================================================== */
.why-section { background: #0f172a; color: #e2e8f0; }
.why-section h2, .why-section .section-head .eyebrow { color: #fff; }
.why-section .section-head p { color: #94a3b8; }
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}
.why-item {
    padding: 1.5rem;
    border-left: 3px solid #f97316;
    background: rgba(255,255,255,.03);
    border-radius: 0 8px 8px 0;
}
.why-item h3 { color: #fff; font-size: 1.1rem; }
.why-item p { color: #94a3b8; font-size: .92rem; margin: 0; }

/* ==========================================================================
   Projects
   ========================================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.project-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}
.project-card img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s ease;
}
.project-card:hover img { transform: scale(1.08); }
.project-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,.92) 0%, rgba(15,23,42,.2) 60%, transparent 100%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 1.5rem;
    color: #fff;
}
.project-overlay h3 { color: #fff; margin: 0 0 .25rem; font-size: 1.15rem; }
.project-overlay span { font-size: .85rem; color: #fed7aa; font-weight: 500; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}
.contact-info {
    background: #0f172a;
    color: #fff;
    padding: 2.5rem;
    border-radius: 12px;
}
.contact-info h3 { color: #fff; }
.contact-info p { color: #cbd5e1; }
.contact-info .info-block { margin-bottom: 1.5rem; }
.contact-info .info-block strong {
    display: block; color: #f97316; font-size: .8rem;
    text-transform: uppercase; letter-spacing: .12em;
    margin-bottom: .25rem;
}

.contact-form { display: grid; gap: 1rem; }
.contact-form label { font-weight: 500; font-size: .9rem; display: block; margin-bottom: .35rem; }
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: .85rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249,115,22,.15);
}
.contact-form textarea { min-height: 140px; resize: vertical; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #0b1220; color: #cbd5e1; padding: 4rem 0 0; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 2.5rem;
    padding-bottom: 3rem;
}
.site-footer h4 {
    color: #fff; font-size: 1rem;
    text-transform: uppercase; letter-spacing: .1em;
    margin-bottom: 1.25rem;
}
.site-footer p { color: #94a3b8; font-size: .92rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: .5rem; }
.site-footer ul a { color: #cbd5e1; font-size: .92rem; }
.site-footer ul a:hover { color: #f97316; }

.site-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 1.25rem 0;
    text-align: center;
    font-size: .85rem;
    color: #94a3b8;
}

/* ==========================================================================
   Single / Page / Archive / 404
   ========================================================================== */
.page-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff; padding: 5rem 0 4rem;
    text-align: center;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: #94a3b8; }

.content-area { padding: 4rem 0; }
.entry { max-width: 800px; margin: 0 auto; }
.entry-meta { font-size: .85rem; color: #64748b; margin-bottom: 1.5rem; }
.entry img { border-radius: 8px; margin: 1.5rem 0; }
.entry blockquote {
    border-left: 4px solid #f97316;
    padding: .25rem 0 .25rem 1.25rem;
    color: #475569; font-style: italic;
    margin: 1.5rem 0;
}

.post-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 2rem; }
.post-card {
    background: #fff; border: 1px solid #e5e7eb;
    border-radius: 10px; overflow: hidden;
    transition: all .25s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 18px 35px -15px rgba(15,23,42,.2); }
.post-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-card .post-body { padding: 1.5rem; }
.post-card h3 { font-size: 1.15rem; }
.post-card a { color: #0f172a; }
.post-card a:hover { color: #f97316; }

.error-404 { text-align: center; padding: 6rem 0; }
.error-404 h1 { font-size: 7rem; color: #f97316; line-height: 1; margin: 0; }

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s ease, transform .7s ease;
}
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 3.5rem 0; }
    .menu-toggle { display: flex; }
    .main-navigation {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #fff;
        border-bottom: 1px solid #e5e7eb;
        max-height: 0; overflow: hidden;
        transition: max-height .3s ease;
    }
    .main-navigation.is-open { max-height: 500px; }
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 1.25rem;
    }
    .main-navigation li { border-bottom: 1px solid #f1f5f9; }
    .main-navigation li:last-child { border-bottom: 0; }
    .main-navigation a { display: block; padding: .9rem 0; }
    .hero { min-height: 70vh; text-align: left; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-stats { grid-template-columns: 1fr 1fr; }
}
