/*
Theme Name: Green Ray Solutions
Theme URI: https://greenraysolutions.com/
Author: Green Ray Solutions Development Team
Author URI: https://greenraysolutions.com/
Description: Custom high-performance WordPress theme for Green Ray Solutions - leading provider of solar energy installations, Tier 1 solar panels (Tata Power Solaroof, Waaree, Adani Solar, Bloomberg Tier 1), residential & commercial solar solutions across Kerala.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: greenraysolutions
Tags: solar, renewable-energy, business, corporate, clean, responsive-layout, custom-menu, featured-images
*/

:root {
  --color-brand-green: #4d9925;
  --color-brand-green-hover: #41821f;
  --color-brand-green-light: #edf7e7;
  --color-brand-blue: #0e5093;
  --color-brand-blue-hover: #0b427b;
  --color-brand-blue-light: #e8f1fa;
  --color-forest-950: #071b34;
  --color-forest-900: #082548;
  --color-forest-850: #0b427b;
  --color-forest-800: #0e5093;
  --color-ivory-50: #ffffff;
  --color-ivory-100: #f8fafc;
  --color-ivory-200: #e2e8f0;
  --color-solar-300: #68bd37;
  --color-solar-400: #4d9925;
  --color-solar-500: #41821f;
  --color-solar-600: #0e5093;
  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --shadow-editorial: 0 20px 45px -15px rgba(14, 80, 147, 0.10);
  --shadow-gold: 0 10px 25px -5px rgba(77, 153, 37, 0.35);
}

html {
  font-family: var(--font-family);
  font-size: 14.5px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--color-ivory-50);
  color: #1e293b;
  font-family: var(--font-family);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}

body, h1, h2, h3, h4, h5, h6, p, span, a, button, input, select, textarea, address, strong {
  font-family: var(--font-family);
}

h1 {
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.25;
}

h2 {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.3;
}

h3 {
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.35;
}

p {
  font-size: 13.5px;
  line-height: 1.65;
}

strong {
  font-weight: 600;
}

/* Subtle architectural grid */
.arch-grid {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* Image zoom transitions */
.img-zoom-wrap {
  overflow: hidden;
}

.img-zoom-wrap img {
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.img-zoom-wrap:hover img {
  transform: scale(1.05);
}

/* Accordion Animation */
.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-content {
  grid-template-rows: 1fr;
}

.faq-inner {
  overflow: hidden;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Scroll reveal utilities */
.reveal-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease-out, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Custom focus states */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--color-solar-400);
  outline-offset: 2px;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
