/* 
 * Lemon Tree - Chi Siamo Page Styles
 * Enhanced visuals with subtle animations for the about page
 */

/* ---------- Hero Section ---------- */
.about-hero {
    position: relative;
    padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
    background-color: var(--color-secondary);
    overflow: hidden;
  }
  
  .about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 213, 71, 0.1) 0%, rgba(245, 213, 71, 0) 70%);
    border-radius: 50%;
    transform: translate(30%, -40%);
  }
  
  .about-hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 213, 71, 0.05) 0%, rgba(245, 213, 71, 0) 70%);
    border-radius: 50%;
  }
  
  .about-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
  }
  
  .about-title {
    color: var(--color-white);
    margin-bottom: var(--space-md);
    position: relative;
    display: inline-block;
  }
  
  .about-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--color-primary);
    border-radius: var(--radius-pill);
  }
  
  .about-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--text-xl);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 500;
    letter-spacing: 0.2px;
  }
  
  /* ---------- Mission Section ---------- */
  .about-mission {
    background-color: var(--color-white);
  }
  
  .mission-container {
    display: flex;
    align-items: center;
    gap: var(--space-3xl);
  }
  
  .mission-visual {
    flex: 0 0 300px;
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .mission-icon {
    position: relative;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.95);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
  }
  
  .mission-visual:hover .mission-icon {
    transform: scale(1.05) translateY(-5px);
  }
  
  .accent-shape {
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(135deg, var(--color-tertiary) 0%, var(--color-quaternary) 100%);
    opacity: 0.1;
    animation: morphing 15s ease-in-out infinite alternate;
    will-change: border-radius;
  }
  
  @keyframes morphing {
    0% {
      border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
      border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
      border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
      border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
    100% {
      border-radius: 40% 60% 27% 73% / 40% 40% 60% 60%;
    }
  }
  
  .mission-content {
    flex: 1;
  }
  
  .mission-content h2 {
    margin-bottom: var(--space-lg);
    position: relative;
    display: inline-block;
  }
  
  .mission-content h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: var(--radius-pill);
  }
  
  .mission-content p {
    margin-bottom: var(--space-md);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-gray-dark);
  }
  
  .mission-content p:last-child {
    margin-bottom: 0;
  }
  
  /* ---------- Founder Section ---------- */
  .about-founder {
    background-color: var(--color-gray-light);
    position: relative;
    overflow: hidden;
  }
  
  .about-founder::before {
    content: '';
    position: absolute;
    right: -150px;
    bottom: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 213, 71, 0.1) 0%, rgba(245, 213, 71, 0) 70%);
    border-radius: 50%;
  }
  
  .founder-container {
    display: flex;
    align-items: center;
    gap: var(--space-3xl);
  }
  
  .founder-photo {
    flex: 0 0 320px;
    position: relative;
  }
  
  .photo-frame {
    position: relative;
    width: 320px;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-color: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: rgba(52, 73, 94, 0.05);
  }
  
  .founder-badge {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--color-tertiary) 0%, var(--color-quaternary) 100%);
    color: var(--color-white);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: var(--text-sm);
    box-shadow: var(--shadow-md);
    white-space: nowrap;
  }
  
  .founder-bio {
    flex: 1;
  }
  
  .founder-name {
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--color-secondary);
    position: relative;
    display: inline-block;
  }
  
  .founder-name::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: var(--radius-pill);
  }
  
  .founder-story p {
    margin-bottom: var(--space-md);
    line-height: var(--leading-relaxed);
    color: var(--color-gray-dark);
  }
  
  .founder-story p:last-child {
    margin-bottom: 0;
  }
  
  /* ---------- Values Section ---------- */
  .about-values {
    background-color: var(--color-white);
  }
  
  .values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
  }
  
  .value-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-bounce), box-shadow var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
  }
  
  .value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: var(--color-primary);
    transition: height 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: -1;
  }
  
  .value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
  }
  
  .value-card:hover::before {
    height: 100%;
  }
  
  .value-icon {
    margin-bottom: var(--space-md);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(245, 213, 71, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease;
  }
  
  .value-card:hover .value-icon {
    transform: translateY(-3px);
    background-color: rgba(245, 213, 71, 0.2);
  }
  
  .value-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
    color: var(--color-secondary);
  }
  
  .value-card p {
    color: var(--color-gray);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
  }
  
  /* ---------- Contact Section ---------- */
  .about-contact {
    background-color: var(--color-gray-light);
    position: relative;
  }
  
  .contact-personal {
    display: flex;
    align-items: center;
    gap: var(--space-3xl);
  }
  
  .contact-personal-content {
    flex: 1;
  }
  
  .contact-personal-content h2 {
    margin-bottom: var(--space-lg);
    position: relative;
    display: inline-block;
  }
  
  .contact-personal-content h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: var(--radius-pill);
  }
  
  .contact-personal-content p {
    margin-bottom: var(--space-lg);
    color: var(--color-gray-dark);
    line-height: var(--leading-relaxed);
  }
  
  .contact-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
  }
  
  .contact-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: transform var(--transition-bounce), box-shadow var(--transition-normal), background-color var(--transition-normal);
  }
  
  .contact-link.linkedin {
    background-color: rgba(10, 102, 194, 0.1);
    color: #0A66C2;
  }
  
  .contact-link.email {
    background-color: rgba(52, 73, 94, 0.1);
    color: var(--color-secondary);
  }
  
  .contact-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
  }
  
  .contact-link.linkedin:hover {
    background-color: rgba(10, 102, 194, 0.15);
  }
  
  .contact-link.email:hover {
    background-color: rgba(52, 73, 94, 0.15);
  }
  
  .contact-note {
    font-style: italic;
    color: var(--color-gray);
    font-size: var(--text-sm);
  }
  
  .contact-personal-visual {
    flex: 0 0 300px;
    height: 300px;
    position: relative;
  }
  
  .contact-decoration {
    position: relative;
    width: 100%;
    height: 100%;
  }
  
  .decoration-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(245, 213, 71, 0.2) 0%, rgba(245, 213, 71, 0.05) 100%);
    animation: pulse 6s ease-in-out infinite;
  }
  
  .decoration-line {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 240px;
    height: 1px;
    background: linear-gradient(90deg, rgba(52, 73, 94, 0) 0%, rgba(52, 73, 94, 0.3) 50%, rgba(52, 73, 94, 0) 100%);
  }
  
  .decoration-line::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    width: 240px;
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, rgba(52, 73, 94, 0) 0%, rgba(52, 73, 94, 0.2) 50%, rgba(52, 73, 94, 0) 100%);
  }
  
  .decoration-line::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 50%;
    width: 240px;
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, rgba(52, 73, 94, 0) 0%, rgba(52, 73, 94, 0.2) 50%, rgba(52, 73, 94, 0) 100%);
  }
  
  @keyframes pulse {
    0% {
      transform: translate(-50%, -50%) scale(1);
      opacity: 0.8;
    }
    50% {
      transform: translate(-50%, -50%) scale(1.05);
      opacity: 0.6;
    }
    100% {
      transform: translate(-50%, -50%) scale(1);
      opacity: 0.8;
    }
  }
  
  /* ---------- CTA Section ---------- */
  .cta-section {
    background-color: var(--color-secondary);
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
  }
  
  .cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  }
  
  .cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .cta-content h2 {
    color: var(--color-white);
    margin-bottom: var(--space-md);
  }
  
  .cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-lg);
    margin-bottom: var(--space-xl);
  }
  
  /* ---------- Responsive Styles ---------- */
  @media (max-width: 1120px) {
    .mission-visual {
      flex: 0 0 240px;
      height: 240px;
    }
    
    .mission-icon {
      width: 100px;
      height: 100px;
    }
    
    .accent-shape {
      width: 200px;
      height: 200px;
    }
    
    .founder-photo {
      flex: 0 0 280px;
    }
    
    .photo-frame {
      width: 280px;
      height: 350px;
    }
    
    .contact-personal-visual {
      flex: 0 0 240px;
      height: 240px;
    }
  }
  
  @media (max-width: 992px) {
    .mission-container,
    .founder-container,
    .contact-personal {
      flex-direction: column;
      gap: var(--space-2xl);
    }
    
    .mission-visual {
      margin: 0 auto;
    }
    
    .contact-personal-visual {
      display: none;
    }
    
    .founder-photo {
      margin: 0 auto;
    }
    
    .founder-bio {
      text-align: center;
    }
    
    .founder-name::after {
      left: 50%;
      transform: translateX(-50%);
    }
    
    .contact-personal-content h2::after {
      left: 50%;
      transform: translateX(-50%);
    }
    
    .contact-personal-content {
      text-align: center;
    }
  }
  
  @media (max-width: 768px) {
    .about-title {
      font-size: var(--text-3xl);
    }
    
    .about-subtitle {
      font-size: var(--text-lg);
    }
    
    .values-grid {
      grid-template-columns: 1fr;
    }
    
    .section {
      padding: var(--space-2xl) 0;
    }
    
    .contact-links {
      align-items: center;
    }
    
    .cta-content h2 {
      font-size: var(--text-2xl);
    }
  }
  
  @media (max-width: 480px) {
    .about-hero {
      padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-2xl);
    }
    
    .about-title {
      font-size: var(--text-2xl);
    }
    
    .about-subtitle {
      font-size: var(--text-base);
    }
    
    .founder-photo {
      flex: 0 0 240px;
    }
    
    .photo-frame {
      width: 240px;
      height: 300px;
    }
    
    .founder-name {
      font-size: var(--text-2xl);
    }
    
    .contact-link {
      padding: var(--space-sm);
      font-size: var(--text-sm);
    }
  }