/* 
  Rajakumari Home Physio - Base Styles 
  Colors: Red, Black, Light Grey, White
*/

@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

:root {
  /* Brand Colors */
  --primary: #c41220; /* Updated to match logo red */
  --primary-hover: #9c0e19;
  --secondary: #000000;
  --text-dark: #333333;
  --text-light: #666666;
  --bg-light: #ececec; /* Light grey for alternate sections */
  --bg-white: #f5f5f5; /* Light grey main background */
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
  
  /* Utilities */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
  --soft-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --primary: #e53935;
  --primary-hover: #ef5350;
  --secondary: #ffffff;
  --text-dark: #f0f0f0;
  --text-light: #cccccc;
  --bg-light: #1e1e1e;
  --bg-white: #121212;
  
  --glass-bg: rgba(18, 18, 18, 0.85);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
  --soft-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  transition: var(--transition);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--secondary);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

/* Brand Text Styling */
.brand-r-red { font-family: 'Great Vibes', cursive; color: #b70014; font-size: 1.5em; padding-right: 2px; }
.brand-k-grey { font-family: 'Great Vibes', cursive; color: #333333; font-size: 1.5em; padding-right: 2px; }
.brand-home { font-family: 'Outfit', sans-serif; color: #333333; font-weight: 400; letter-spacing: 1px; }
.brand-physio { font-family: 'Outfit', sans-serif; color: #b70014; font-weight: 400; letter-spacing: 1px; }
[data-theme="dark"] .brand-k-grey, [data-theme="dark"] .brand-home { color: #ffffff; }

/* Components */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow);
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.1);
}

.btn-primary-custom {
  background-color: var(--primary);
  color: #fff;
  border-radius: 50px;
  padding: 10px 24px;
  font-weight: 600;
  border: none;
  transition: var(--transition);
  box-shadow: var(--soft-shadow);
}

.btn-primary-custom:hover {
  background-color: var(--primary-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 18, 32, 0.3);
}

.btn-outline-custom {
  background-color: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
  border-radius: 50px;
  padding: 8px 24px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-outline-custom:hover {
  background-color: var(--secondary);
  color: var(--bg-white);
}

/* Navbar */
.navbar-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

.nav-link {
  color: var(--secondary) !important;
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Floating Buttons */
.floating-actions {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  box-shadow: var(--soft-shadow);
  transition: var(--transition);
}

.float-btn:hover {
  transform: scale(1.1);
  color: white;
}

.btn-whatsapp { background-color: #25D366; }
.btn-call { background-color: var(--primary); }
.btn-top { 
  background-color: var(--secondary); 
  display: none; /* hidden by default */
}

/* Hero Section */
.hero-section {
  padding: 120px 0 80px;
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(196,18,32,0.1) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: 0;
}

/* Sections */
.section-padding {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

/* Footer */
.main-footer {
  background-color: var(--secondary);
  color: #fff;
  padding: 60px 0 20px;
}

.footer-link {
  color: #ccc;
  text-decoration: none;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--primary);
  padding-left: 5px;
}

/* Theme Toggle */
.theme-toggle {
  background: transparent;
  border: none;
  color: var(--secondary);
  font-size: 1.2rem;
  cursor: pointer;
}

