/*
Theme Name: Elegant Raman
Theme URI: https://example.com/elegant-raman
Author: Studio
Author URI: https://example.com
Description: Modern, lightweight Full Site Editing (FSE) block theme designed for gamification consulting, case studies, and high conversion. Built for WordPress 6.6+ with full RTL and WCAG 2.0 AA support.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elegant-raman
Tags: block-theme, full-site-editing, one-column, custom-colors, custom-menu, rtl-language-support
*/

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999999;
  padding: 0.75rem 1.5rem;
  background: var(--wp--preset--color--primary, #4f46e5);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 0.5rem 0.5rem;
}

.skip-link:focus {
  top: 0;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  transition:
    transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.2s ease;
  text-decoration: none;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  outline: 2px solid var(--wp--preset--color--primary, #4f46e5);
  outline-offset: 3px;
}

.floating-whatsapp svg {
  width: 1.875rem;
  height: 1.875rem;
  fill: currentColor;
}

/* RTL Layout Safety */
[dir="rtl"] .floating-whatsapp {
  left: 1.5rem;
  right: auto;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Clean Card Styles & Micro-interactions */
.is-style-clean-card {
  background-color: var(--wp--preset--color--surface, #f8fafc);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0.75rem;
  padding: 1.75rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.is-style-clean-card:hover {
  transform: translateY(-3px);
  border-color: rgba(79, 70, 229, 0.3);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05);
}
