/*
  Radheshyam Steel Works — style.css
  Core Design Tokens, Reset, Layout, Base Styles
*/

/* ── Design Tokens ── */
:root {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --text-heading: #111827;
    --text-body: #6B7280;
    --accent: #F97316;
    --accent-hover: #EA580C;
    --accent-light: rgba(249,115,22,0.08);
    --steel-dark: #1C2B3A;
    --border: #E5E7EB;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --radius: 12px;
    --section-padding: 100px 0;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px -5px rgba(0,0,0,0.06);
    --shadow-hover: 0 20px 40px -10px rgba(0,0,0,0.12);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-body); line-height: 1.6;
    overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); color: var(--text-heading); font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ── Layout ── */
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section { padding: var(--section-padding); }
.section-light {
    background-color: var(--bg-secondary);
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23f97316' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.text-center { text-align: center; }
.w-100 { width: 100%; }

/* ── Grids ── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; margin-top: 50px; }
.image-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-top: 40px; }
.grid-item { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1/1; }
.grid-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.grid-item:hover img { transform: scale(1.08); }

/* ── Hero ── */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    background-size: cover; background-position: center; color: #fff; padding: 140px 0 80px;
}
.hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(249,115,22,0.15); border: 1px solid rgba(249,115,22,0.4);
    color: var(--accent); padding: 8px 18px; border-radius: 50px;
    font-size: 0.85rem; font-weight: 600; margin-bottom: 24px; letter-spacing: 0.5px;
}
.hero-content { max-width: 720px; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 5vw, 4.5rem); margin-bottom: 20px; letter-spacing: -1px; }
.hero p { font-size: 1.15rem; margin-bottom: 40px; opacity: 0.9; max-width: 600px; }
.hero-outline-btn { color: #fff !important; border-color: rgba(255,255,255,0.4) !important; }
.hero-outline-btn:hover { background: rgba(255,255,255,0.1) !important; }

/* ── Stats ── */
.stats-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 30px; text-align: center; background: #fff; padding: 40px;
    border-radius: var(--radius); box-shadow: var(--shadow);
    margin-top: -80px; position: relative; z-index: 10;
}
.stat-item h2 { font-size: 2.5rem; color: var(--accent); margin-bottom: 5px; }
.stat-item p { font-weight: 600; color: var(--text-heading); text-transform: uppercase; font-size: 0.85rem; }

/* ── Page Header Banner ── */
.page-header {
    padding: 150px 0 80px; background-color: var(--text-heading);
    background-position: center; background-size: cover;
    color: #fff; text-align: center; position: relative;
}
.page-header::before { content: ''; position: absolute; inset: 0; background: rgba(17,24,39,0.72); z-index: 1; }
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { font-size: 3.5rem; color: #fff; margin-bottom: 12px; }
.page-header p { opacity: 0.82; font-size: 1.15rem; }

/* ── Gallery ── */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-top: 40px; }
.gallery-card { cursor: pointer; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-card:hover img { transform: scale(1.08); }

/* ── Service Row ── */
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; margin-bottom: 90px; }
.service-row:nth-child(even) { direction: rtl; }
.service-row:nth-child(even) .service-content { direction: ltr; }
.service-image img { border-radius: var(--radius); box-shadow: var(--shadow-hover); width: 100%; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h4 { cursor: pointer; color: var(--text-heading); font-size: 1.05rem; user-select: none; }
.faq-item h4:hover { color: var(--accent); }
.faq-answer { padding-top: 12px; color: var(--text-body); line-height: 1.7; display: none; }
.faq-answer.open { display: block; }

/* ── Contact Page Specific ── */
.contact-method-card {
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9 !important;
}
.contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    border-color: var(--accent) !important;
}
.icon-box {
    transition: all 0.3s ease;
}
.contact-method-card:hover .icon-box {
    transform: scale(1.1);
}
.btn-white:hover {
    background: var(--bg) !important;
    color: var(--accent) !important;
}
