/*
Theme Name: Emporiummall57 Theme
Theme URI: https://example.com/
Author: Muhammad Irfan Amjad
Author URI: https://example.com/
Description: A simple professional WordPress theme for Emporiummall57 Ltd.
Version: 1.0
Requires at least: 5.9
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: emporiummall57-theme
*/

:root {
  --bg: #f8fafc;
  --text: #1f2937;
  --muted: #475569;
  --primary: #1d4ed8;
  --dark: #0f172a;
  --white: #ffffff;
  --card-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.branding {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.nav-menu {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-menu a {
  color: var(--white);
  opacity: 0.95;
}

.hero {
  background: linear-gradient(135deg, var(--dark), var(--primary));
  color: var(--white);
  padding: 96px 0;
}

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

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin: 0 0 18px;
}

.hero p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 0 24px;
}

.btn {
  display: inline-block;
  background: var(--white);
  color: var(--dark);
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 700;
}

.hero-card,
.about-box,
.service-card,
.contact-card,
.form-card,
.page-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}

.hero-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: none;
  padding: 28px;
}

.hero-card h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.hero-card p {
  margin: 0 0 10px;
  font-size: 1rem;
}

.section {
  padding: 76px 0;
}

.section-title {
  text-align: center;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  color: var(--dark);
  margin: 0 0 14px;
}

.section-subtitle {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
  color: var(--muted);
  font-size: 1.05rem;
}

.about-box,
.page-card,
.contact-card,
.form-card {
  padding: 34px;
}

.services-grid,
.why-grid,
.contact-grid {
  display: grid;
  gap: 24px;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 30px;
  border-radius: 22px;
  border: 1px solid #dbeafe;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #1d4ed8, #60a5fa);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(29, 78, 216, 0.16);
}

.service-card h3 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--dark);
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

.why-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.why-item {
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: #1e3a8a;
  padding: 22px;
  text-align: center;
  border-radius: 16px;
  font-weight: 700;
}

.contact-grid {
  grid-template-columns: 1fr 1fr;
}

.contact-card h3,
.form-card h3,
.page-card h1 {
  margin-top: 0;
  color: var(--dark);
}

.contact-card p,
.page-card p {
  color: var(--muted);
}

.form-field {
  width: 100%;
  padding: 14px;
  margin-bottom: 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 15px;
}

.form-button {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
}

.site-footer {
  background: var(--dark);
  color: #cbd5e1;
  text-align: center;
  padding: 24px 0;
}

.content-wrap {
  padding: 70px 0;
}

.post-list article {
  margin-bottom: 24px;
}

.entry-title {
  margin-top: 0;
  color: var(--dark);
}

@media (max-width: 992px) {
  .hero-grid,
  .services-grid,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .site-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero,
  .section,
  .content-wrap {
    padding: 60px 0;
  }

  .hero-grid,
  .services-grid,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
