/*
Theme Name: Hello Elementor Child (Olmo)
Theme URI: https://elementor.com/
Description: Custom child theme for the Olmo Elementor template.
Author: Antigravity
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* 
  1. Base & Typography (Inter Font)
  Fluid Typography using clamp() for smooth responsive scaling.
*/
:root {
  --font-primary: 'Inter', sans-serif;
  --color-dark: #000000;
  --color-light: #ffffff;
  --color-blue: #5c5cff;
  --color-teal: #8cbdb1;
  --color-text-body: #333333;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  color: var(--color-dark);
  font-weight: 700;
  line-height: 1.2;
}

/* Fluid Headings */
.olmo-hero-title {
  font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
  letter-spacing: -0.03em;
}

.olmo-section-title {
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
  letter-spacing: -0.02em;
}

.olmo-body-text {
  font-size: clamp(1rem, 1vw + 0.5rem, 1.125rem);
  line-height: 1.6;
}

/* 
  2. Mobile & Responsive Layout Adjustments
  Ensuring stacking behavior and padding rules.
*/

/* Elementor automatically handles basic stacking, but we enforce padding and touch targets here */
@media (max-width: 767px) {
  /* Enforce single column for grids on mobile */
  .olmo-mobile-stack .elementor-column {
    width: 100% !important;
    margin-bottom: 2rem;
  }
  
  /* Reduce excessive padding on mobile */
  .elementor-section {
    padding-left: 5% !important;
    padding-right: 5% !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  /* Tablet adjustments - e.g., 2 columns for the 4-column Team or FAQ grids */
  .olmo-tablet-2col .elementor-column {
    width: 50% !important;
  }
}

/* 
  3. UI Elements & Touch Targets
*/

/* Buttons & Links Touch Targets */
.elementor-button, 
a.touch-target {
  min-height: 48px;
  min-width: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px; /* Rounded corners for the app feel */
}

/* App Store Badge styling */
.olmo-app-badge img {
  height: clamp(40px, 5vw, 56px);
  width: auto;
  transition: transform 0.2s ease;
}

.olmo-app-badge:hover img {
  transform: translateY(-2px);
}

/* 
  4. Specific Section Styling 
*/

/* Yurukawa Hero Section */
.olmo-hero-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: visible; /* To allow phone to overlap */
}

.olmo-hero-phone {
  margin-bottom: -150px; /* Overlap the next section */
  position: relative;
  z-index: 10;
}

@media (max-width: 767px) {
  .olmo-hero-phone {
    margin-bottom: -80px; /* Smaller overlap on mobile */
  }
}

/* Expertise Grid Cards */
.olmo-expertise-card {
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.olmo-expertise-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* FAQ Grid Layout - Ensure columns align */
.olmo-faq-col {
  padding-right: 2rem;
}
@media (max-width: 767px) {
  .olmo-faq-col {
    padding-right: 0;
  }
}

/* Team Member Styling */
.olmo-team-member {
  color: var(--color-light);
}
.olmo-team-member h4 {
  color: var(--color-light);
  margin-bottom: 0.25rem;
}
.olmo-team-role {
  color: var(--color-blue);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
.olmo-team-desc {
  color: #aaaaaa;
  font-size: 0.875rem;
}
