/*
Theme Name: Tech Blog
Theme URI: https://webixyhub.com
Author: Ayesha
Author URI: https://webixyhub.com
Description: A modern tech blog WordPress theme built with Tailwind CSS.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: tech-blog
Tags: blog, tech, tailwind, responsive
*/

/* basic reset */

body{
margin:0;
padding:0;
font-family: Arial, sans-serif;
min-height:100vh;
display:flex;
flex-direction:column;
}

.site-main{
flex:1;
}

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

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

.container{
max-width:1200px;
margin:auto;
padding:20px;
}


/* footer */
.footer-menu{
list-style: none;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
gap: 24px;
}

/* book style */
.books-title{
text-align:center;
margin:40px 0;
}

.books-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px, max-content));
gap:30px;
padding:20px;
justify-content:left;   /* cards center me aa jayenge */
}

.book-card{
background:#fff;
border-radius:10px;
padding:15px;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
text-decoration:none;
color:#000;
transition:0.3s;
width:250px;   /* card width fix */
}

.book-card img{
width:100%;
height:auto;
border-radius:8px;
}

.book-card:hover{
transform:translateY(-5px);
box-shadow:0 10px 25px rgba(0,0,0,0.2);
}



.book-card h2{
font-size:20px;
margin-bottom:10px;
}

/* Contact Form */

.wpcf7{
max-width:600px;
margin:50px auto;
padding:25px;
background:#f9f9f9;
border-radius:8px;
box-shadow:0 0 10px rgba(0,0,0,0.08);
}

.wpcf7 input,
.wpcf7 textarea{
width:100%;
padding:12px;
margin-bottom:15px;
border:1px solid #ccc;
border-radius:6px;
}

.wpcf7-submit{
background:#0073aa;
color:#fff;
border:none;
padding:12px 25px;
cursor:pointer;
border-radius:6px;
width:100%;
}

.wpcf7-submit:hover{
background:#005177;
}


/* search form */
.search-form{
display:flex;
align-items:center;
margin-left:20px;
}

.search-field{
padding:6px 10px;
border-radius:4px;
border:none;
outline:none;
background:white;
color:black;
caret-color:black;
}

.search-form button{
background:#0073aa;
color:black;
border:none;
padding:6px 10px;
margin-left:5px;
cursor:pointer;
border-radius:4px;
}

.search-form{
position:relative;
z-index:10;
}

.search-field{
position:relative;
z-index:20;
}

/* products style */

.product-heading{
text-align:center;
margin-top:40px;
font-size:32px;
}

.products-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
padding:40px;
max-width:1200px;
margin:auto;
}

.product-card{
background:#fff;
padding:20px;
border-radius:10px;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
text-align:center;
transition:0.3s;
}

.product-card:hover{
transform:translateY(-5px);
}

.product-card img{
width:100%;
height:220px;
object-fit:contain;
margin-bottom:10px;
}

.product-card h3{
font-size:20px;
margin:10px 0;
}

.product-btn{
display:inline-block;
background:#0073aa;
color:white;
padding:10px 20px;
border-radius:5px;
margin-top:10px;
}

img {
border: none;
outline: none;
box-shadow: none;
}