<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  {{-- SEO Core --}}
  <title>@yield('title', 'Business Standard')</title>
  <meta name="description" content="@yield('meta_description', 'Business Standard - India\'s leading business daily. Get latest news on markets, economy, companies, politics, technology and more.')">
  <meta name="keywords" content="@yield('meta_keywords', 'business news, stock market, economy, companies, india news')">
  <link rel="canonical" href="@yield('canonical', url()->current())">

  {{-- Robots --}}
  <meta name="robots" content="@yield('robots', 'index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1')">

  {{-- Open Graph --}}
  <meta property="og:type" content="@yield('og_type', 'website')">
  <meta property="og:title" content="@yield('title', 'Business Standard')">
  <meta property="og:description" content="@yield('meta_description', 'Business Standard - India\'s leading business daily')">
  <meta property="og:url" content="@yield('canonical', url()->current())">
  <meta property="og:image" content="@yield('og_image', asset('images/img.webp'))">
  <meta property="og:site_name" content="Business Standard">

  {{-- Twitter Card --}}
  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:site" content="@businessstandard">
  <meta name="twitter:title" content="@yield('title', 'Business Standard')">
  <meta name="twitter:description" content="@yield('meta_description', 'Business Standard - India\'s leading business daily')">
  <meta name="twitter:image" content="@yield('og_image', asset('images/img.webp'))">

  @if(View::hasSection('article_published'))
  <meta name="article:published_time" content="@yield('article_published')">
  <meta name="article:modified_time" content="@yield('article_modified', now()->toIso8601String())">
  <meta name="article:section" content="@yield('article_section', '')">
  @endif

  {{-- Structured Data --}}
  @yield('schema_json')

  {{-- Fonts --}}
  <script src="https://cdn.tailwindcss.com"></script>
  <link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&display=swap" rel="stylesheet">
  <style>
    .logo-font { font-family: 'Playfair Display', serif; }
  </style>

  @stack('head')
</head>

<body class="bg-white">

<div class="max-w-[1200px] mx-auto px-4 md:px-6">

  @include('partials.header')

  <main @yield('main_attrs')>
    @yield('content')
  </main>

  @include('partials.footer')

</div>

<script src="{{ asset('js/script.js') }}"></script>
@stack('scripts')

</body>
</html>
