/**
 * Seniori Custom Styles
 * 
 * Combined styles from Seniori-2 theme
 */

/* Hero Section Custom Styles */
.hero-section {
  position: relative;
  padding: 5rem 0;
  background-color: #ffffff !important;
  background-image: none !important;
}

.hero-image-container .position-relative {
  position: relative;
}

.hero-content {
  max-width: 600px;
}

.section-badge {
  display: inline-block;
  background: var(--theme-accent-color);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
}

.text-gradient, .has-inline-color {
  background: var(--theme-accent-color);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #6b7280;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn, .wp-block-button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-cta, .is-style-fill .wp-block-button__link {
  background: var(--theme-accent-color);
  color: var(--contrast-color, white);
  border: none;
  padding: 0.875rem 2rem;
  font-weight: 500;
  border-radius: 100px;
}

.btn-secondary, .is-style-outline .wp-block-button__link {
  background: transparent;
  color: #374151;
  border: 2px solid #e5e7eb;
}

.emergency-notice {
  color: #9ca3af;
  font-size: 0.875rem;
  margin-top: 1rem;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.hero-card-1 {
  top: 1.25rem;
  right: 1.25rem;
  max-width: 280px;
}

.hero-card-2 {
  bottom: 1.25rem;
  left: 1.25rem;
  max-width: 300px;
  background: var(--theme-accent-color-dark, rgba(249, 115, 22, 0.95));
  color: white;
}

.hero-card-content {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.hero-card-icon,
.hero-card-icon-primary {
  padding: 0.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-icon {
  background: #f3f4f6;
  color: var(--theme-accent-color);
}

.hero-card-icon-primary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.hero-card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #111827;
}

.hero-card-title-primary {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: white;
}

.hero-card-description {
  font-size: 0.875rem;
  line-height: 1.4;
  color: #6b7280;
}

.hero-card-description-primary {
  font-size: 0.875rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 1024px) {
  .hero-layout-grid, 
  .wp-block-columns.are-vertically-aligned-center {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-title, 
  .wp-block-heading.has-xxx-large-font-size {
    font-size: 2.5rem;
  }
  
  .hero-cta-group,
  .wp-block-buttons {
    justify-content: center;
  }
}

/* Base colors and variables from main.css */
:root {
  /* Professional clean base colors */
  --background: 0 0% 100%;
  --foreground: 220 13% 18%;
  --card: 0 0% 100%;
  --card-foreground: 220 13% 18%;
  --popover: 0 0% 100%;
  --popover-foreground: 220 13% 18%;
  
  /* Warm professional orange for CTAs */
  --primary: 21 94% 57%;
  --primary-foreground: 0 0% 100%;
  --primary-hover: 21 94% 52%;
  
  /* Soft neutral backgrounds */
  --secondary: 220 14% 96%;
  --secondary-foreground: 220 13% 18%;
  --muted: 220 14% 96%;
  --muted-foreground: 220 9% 46%;
  --accent: 220 14% 96%;
  --accent-foreground: 220 13% 18%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;
  --border: 220 13% 91%;
  --input: 220 13% 91%;
  --ring: 21 94% 57%;
  --radius: 0.75rem;
}

/* Theme Style Variables from style-variables.css */
:root {
    /* Colors */
    --primary-color: var(--wp--preset--color--primary, #F97A50);
    --secondary-color: var(--wp--preset--color--secondary, #333333);
    --background-color: var(--wp--preset--color--background, #FFFFFF);
    --text-color: var(--wp--preset--color--text, #333333);
    --button-color: var(--wp--preset--color--button, #F97A50);
    
    /* Typography */
    --heading-font: var(--wp--preset--font-family--heading, 'Roboto'), sans-serif;
    --body-font: var(--wp--preset--font-family--body, 'Open Sans'), sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --content-spacing: 2rem;
    
    /* Common spacing values */
    --spacing-small: 1rem;
    --spacing-medium: 2rem;
    --spacing-large: 3rem;
    --spacing-xl: 5rem;
}

/* Typography System from typography.css */
:root {
  /* Font Weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Line Heights */
  --line-height-tight: 1.2;
  --line-height-normal: 1.4;
  --line-height-relaxed: 1.6;
  
  /* Letter Spacing */
  --letter-spacing-tight: -0.025em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.025em;
}

/* Apply CSS variables */

/* Typography */
body {
    font-family: var(--body-font);
    color: var(--text-color);
    background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
}

/* Buttons */
.btn, .button, button,
.wp-block-button__link {
    background-color: var(--button-color);
    color: #ffffff;
}

/* ============================================
   Simple Pricing Box - Compact & Restrained
   ============================================ */

.simple-pricing-box {
    background: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 1.25rem;
    box-shadow: none;
    margin-top: 1.25rem;
}

/* Header Section */
.simple-pricing-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.875rem;
    margin-bottom: 0.875rem;
    border-bottom: none;
}

.simple-pricing-icon {
    color: var(--theme-palette-color-1, #f97316);
    flex-shrink: 0;
}

.simple-pricing-title {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--theme-heading-color, #111827);
    line-height: 1.3;
}

/* Content Section */
.simple-pricing-content {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

/* Pricing List */
.simple-pricing-list {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.simple-pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.625rem;
    border-radius: 6px;
}

.simple-pricing-item:first-child {
    font-weight: 600;
    color: var(--theme-heading-color, #111827);
    background-color: #FBFCFC;
    padding: 0.5rem 0.625rem;
}

.simple-pricing-label {
    font-size: 0.875rem;
    color: var(--theme-muted-foreground, #64748B);
    font-weight: 500;
}

.simple-pricing-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--theme-heading-color, #111827);
}

.simple-pricing-item:first-child .simple-pricing-label {
    color: var(--theme-heading-color, #111827);
    font-weight: 600;
}

/* Total Row */
.simple-pricing-total {
    margin-top: 0.375rem;
    padding: 0.625rem !important;
    background: #FBFCFC;
    border: none;
    border-radius: 6px;
}

.simple-pricing-total .simple-pricing-label,
.simple-pricing-total .simple-pricing-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--theme-heading-color, #111827);
}

/* Note */
.simple-pricing-note {
    font-size: 0.8125rem;
    color: var(--theme-muted-foreground, #64748B);
    font-style: italic;
    padding: 0.5rem 0.625rem;
    background-color: #FBFCFC;
    border-left: none;
    border-radius: 4px;
    margin: 0.375rem 0;
}

/* Opening Hours Section */
.simple-pricing-hours {
    background-color: #f8fafc;
    border-radius: 6px;
    padding: 0.875rem;
    border: none;
}

.simple-pricing-hours-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.625rem;
    padding-bottom: 0.625rem;
    border-bottom: none;
}

.simple-pricing-hours-icon {
    color: var(--theme-palette-color-1, #f97316);
    flex-shrink: 0;
}

.simple-pricing-hours-title {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--theme-heading-color, #111827);
}

.simple-pricing-hours-content {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.simple-pricing-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.375rem 0.5rem;
    background-color: #ffffff;
    border-radius: 4px;
}

.simple-pricing-hours-row span:first-child {
    font-weight: 600;
    color: var(--theme-heading-color, #111827);
    font-size: 0.8125rem;
}

.simple-pricing-hours-row span:last-child {
    color: var(--theme-muted-foreground, #64748B);
    font-size: 0.8125rem;
    font-weight: 500;
}

/* Button - Hidden */
.simple-pricing-button {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .simple-pricing-box {
        padding: 1rem;
    }
    
    .simple-pricing-header {
        padding-bottom: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .simple-pricing-title {
        font-size: 0.875rem;
    }
    
    .simple-pricing-item {
        padding: 0.375rem 0.5rem;
    }
    
    .simple-pricing-label,
    .simple-pricing-value {
        font-size: 0.8125rem;
    }
    
    .simple-pricing-hours {
        padding: 0.75rem;
    }
}

/* ============================================
   Process Step Cards
   ============================================ */

.process-step-card {
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.process-step-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.process-step-card .w-12 {
    width: 3rem;
    height: 3rem;
    background-color: var(--theme-palette-color-6, #F2F7F6);
    border-radius: 9999px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-step-card .w-6 {
    width: 1.5rem;
    height: 1.5rem;
}

/* Process card heading styling */
.process-step-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--theme-heading-color, #111827);
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

/* Process card paragraph styling */
.process-step-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--theme-muted-foreground, #6B7280);
}

/* Responsive adjustments for process cards */
@media (max-width: 768px) {
    .process-step-card {
        margin-bottom: var(--wp--preset--spacing--40);
    }
    
    .process-step-card h3 {
        font-size: 1rem;
    }
    
    .process-step-card p {
        font-size: 0.875rem;
    }
}

/* ============================================
   Video Play Button Overlay
   ============================================ */

.wp-block-video {
    position: relative;
}

/* Blur video when play button is visible */
.wp-block-video.show-play-button video {
    filter: blur(0px);
    transition: filter 0.3s ease;
    cursor: pointer;
}

/* Remove blur when playing */
.wp-block-video.playing video {
    filter: blur(0);
}

/* Orange circle background - smaller size */
.wp-block-video.show-play-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: var(--theme-palette-color-1, #f97316);
    border-radius: 50%;
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
    pointer-events: none;
}

/* White play triangle - smaller size */
.wp-block-video.show-play-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-35%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 11px 0 11px 18px;
    border-color: transparent transparent transparent #ffffff;
    z-index: 11;
    pointer-events: none;
}

/* Hover effect on the video block */
.wp-block-video.show-play-button:hover::before {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 30px rgba(249, 115, 22, 0.5);
}

/* Hide play button when video is playing */
.wp-block-video.playing::before,
.wp-block-video.playing::after {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Make sure video overlay works with the figure element */
.wp-block-video figure {
    margin: 0;
    position: relative;
}

/* Hide download button from video controls */
.wp-block-video video::-webkit-media-controls-download-button {
    display: none !important;
}

.wp-block-video video::-webkit-media-controls-enclosure {
    overflow: hidden;
}

.wp-block-video video::-internal-media-controls-download-button {
    display: none !important;
}

/* ============================================
   Hero Section Video Sizing
   ============================================ */

.hero-media-frame {
    max-width: 65%;
    margin: 0 auto;
}

.hero-media-frame .wp-block-video,
.hero-media-frame video {
    width: 100%;
    height: auto;
}

/* Responsive: Different sizes for different screens */
@media (max-width: 1024px) {
    .hero-media-frame {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .hero-media-frame {
        max-width: 95%;
    }
}

@media (max-width: 480px) {
    .hero-media-frame {
        max-width: 100%;
    }
}

/* Add more custom styles here as needed */