/* ===============================
   FILE: style.css
   =============================== */
/*
Theme Name: Astrocare
Author: Sivanidhi s
Description: A blank starter theme for building custom sites
Version: 1.0
Text Domain: astrocare
*/

/* Default blank styling */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}
/* ===============================
   FILE: functions.php
   =============================== */
<?php
// Enqueue stylesheet
function astrocare_enqueue_styles() {
    wp_enqueue_style('astrocare-style', get_stylesheet_uri());
}
add_action('wp_enqueue_scripts', 'astrocare_enqueue_styles');
/* ===============================
   FILE: header.php
   =============================== */
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
    <meta charset="<?php bloginfo( 'charset' ); ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>

<header>
    <h1><?php bloginfo('name'); ?></h1>
    <p><?php bloginfo('description'); ?></p>
</header>
/* ===============================
   FILE: footer.php
   =============================== */
<footer>
    <p>&copy; <?php echo date('Y'); ?> <?php bloginfo('name'); ?>. All rights reserved.</p>
</footer>

<?php wp_footer(); ?>
</body>
</html>
/* ===============================
   FILE: index.php
   =============================== */
<?php get_header(); ?>

<main>
    <?php
    if ( have_posts() ) :
        while ( have_posts() ) : the_post();
            the_title('<h2>', '</h2>');
            the_content();
        endwhile;
    else :
        echo '<p>No content found. Add posts or pages.</p>';
    endif;
    ?>
</main>

<?php get_footer(); ?>
