/* Theme Name: Glacier Child 
   Template: astra 
   Version: 1.0.0 
   Author: Your Name 
   Description: Child theme for Glacier built on Astra 
*/

/* ------------------------ அடிப்படை (Base) Style --------------------------- */
body {
  background: linear-gradient(to bottom, #e0f7ff, #ffffff); /* மேலிருந்து கீழே வண்ணம் மாறும் background */
  font-family: "Arial", sans-serif; /* எழுத்துரு */
  margin: 0;
  padding: 0;
  color: #222; /* இயல்பான எழுத்து நிறம் */
  line-height: 1.6; /* வரி இடைவெளி */
}

p {
  font-size: 1.1rem; 
  text-align: left; /* Corporate feel: left aligned */
  color: #333;
  margin: 0.5rem auto 1rem;
  max-width: 900px; /* பத்தி அகலம் கட்டுப்பாடு */
  padding: 0 1rem;
  line-height: 1.7;
  text-shadow: none; /* Cleaner look */
}

/* ------------------------ தலைப்புகளுக்கு (Headings) Gradient --------------------------- */
.gradient-heading {
  background: linear-gradient(to right, #1e90ff, #ff7f50); /* நீலத்திலிருந்து ஆரஞ்சு நிறம் */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  text-align: center;
  margin: 2rem 0 1rem;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.25);
}

/* ------------------------ பதில் அளிக்கும் (Responsive) எழுத்தளவு --------------------------- */
h1.gradient-heading { font-size: 2.5rem; }
h2.gradient-heading { font-size: 2rem; }
h3 { font-size: 1.5rem; text-align: left; } /* Corporate: headings left aligned */

@media (max-width: 1024px) {
  h1.gradient-heading { font-size: 2rem; }
  h2.gradient-heading { font-size: 1.7rem; }
}
@media (max-width: 768px) {
  p { font-size: 1rem; }
  h1.gradient-heading, h2.gradient-heading { font-size: 1.6rem; }
}
@media (max-width: 480px) {
  h1.gradient-heading { font-size: 1.4rem; }
  h2.gradient-heading { font-size: 1.2rem; }
}

/* ------------------------ Product Card Layout --------------------------- */
.adaptive-bg-container {
  display: flex;
  flex-wrap: wrap; /* வரிசை மாறும் */
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem 1rem;
}

.product-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
  max-width: 350px;
  flex: 1 1 280px;
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease; /* hover animation */
}

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

.product-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.product-card h3 {
  font-size: 1.4rem;
  color: #0073e6;
  margin: 1rem 0 0.5rem;
  text-transform: capitalize;
}

.product-card p {
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
  margin-bottom: 1rem;
  text-align: left; /* Ensure product descriptions are also left aligned */
}

.product-card a {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.6rem 1.2rem;
  background-color: #1e90ff;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.product-card a:hover { background-color: #005fbe; }

/* ------------------------ Home Page Specific --------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.intro-content {
  text-align: left;
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto; /* keeps content centered on wide screens */
}

.intro-content h2, 
.intro-content h3 {
  color: #003366;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  text-align: left;
}

.intro-content ul {
  padding-left: 1.5rem;
  list-style: disc;
  margin-bottom: 1rem;
}

.cta-section { margin-top: 2rem; }

.cta-button {
  background-color: #0077cc;
  color: #fff;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  display: inline-block;
  transition: background 0.3s ease;
}

.cta-button:hover { background-color: #005fa3; }

/* ------------------------ WooCommerce Tweaks --------------------------- */
.stock.out-of-stock { display: none; }
.rank-math-seo-score { display: none !important; }

.woocommerce-tabs .panel {
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 5px;
}

.woocommerce-tabs .custom-tab-content {
  font-size: 16px;
  color: #333;
}