/* 
 * style.css for FuturoIA 2025 Website
 * Modern Design System with Volume UI Elements
 * Gradient Color Scheme and 3D Effects
 */

:root {
  /* Primary Colors */
  --primary-blue: #4361ee;
  --primary-purple: #7209b7;
  --primary-teal: #4cc9f0;
  --primary-dark-blue: #3a0ca3;

  /* Secondary Colors */
  --secondary-pink: #f72585;
  --secondary-orange: #fb8500;
  --secondary-green: #38b000;
  --secondary-yellow: #ffbe0b;

  /* Neutral Colors */
  --neutral-900: #1a1a2e;
  --neutral-800: #16213e;
  --neutral-700: #242f4b;
  --neutral-600: #3e4c59;
  --neutral-500: #52606d;
  --neutral-400: #7b8794;
  --neutral-300: #9aa5b1;
  --neutral-200: #cbd2d9;
  --neutral-100: #e4e7eb;
  --neutral-50: #f5f7fa;

  /* Gradients */
  --gradient-blue-purple: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  --gradient-blue-teal: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
  --gradient-purple-pink: linear-gradient(135deg, var(--primary-purple), var(--secondary-pink));
  --gradient-teal-blue: linear-gradient(135deg, var(--primary-teal), var(--primary-blue));
  --gradient-overlay-dark: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));

  /* Shadow styles for volume effects */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
  --shadow-inner: inset 0 2px 4px 0 rgba(0,0,0,0.06);
  
  /* 3D effects */
  --shadow-3d: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
  --shadow-3d-hover: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
  
  /* Typography */
  --font-headings: 'Roboto', sans-serif;
  --font-body: 'Lato', sans-serif;
}

/* Base styles to complement Tailwind */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--neutral-800);
  overflow-x: hidden;
  background-color: var(--neutral-50);
}

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

/* Common Image Container Styles */
.img-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.img-container:hover img {
  transform: scale(1.05);
}

/* Global Button Styles */
.btn,
button:not([class]),
input[type='submit'] {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  text-align: center;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  font-family: var(--font-headings);
}

.btn:hover,
button:not([class]):hover,
input[type='submit']:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-lg);
}

.btn:active,
button:not([class]):active,
input[type='submit']:active {
  transform: translateY(1px) scale(0.98);
}

.btn-primary {
  background: var(--gradient-blue-purple);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-outline {
  background: transparent;
  border: 2px solid currentColor;
}

/* Section Styles */
section {
  padding: 4rem 0;
  position: relative;
}

/* Volume Card Styles */
.card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-3d-hover);
}

.card-image {
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-image img {
  transform: scale(1.1);
}

.card-content {
  padding: 1.5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* 3D Effect for Cards */
.card-3d {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.card-3d-inner {
  transition: transform var(--transition-slow);
}

.card-3d:hover .card-3d-inner {
  transform: rotateY(5deg) rotateX(5deg);
}

/* Header Styles */
header {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background-color var(--transition-normal);
}

.logo {
  font-weight: 800;
  font-size: 1.75rem;
  background: var(--gradient-blue-purple);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

nav a {
  position: relative;
  font-weight: 500;
  transition: color var(--transition-normal);
}

nav a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--gradient-blue-purple);
  transition: width var(--transition-normal);
}

nav a:hover:after {
  width: 100%;
}

/* Hero Section */
#hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: white;
}

#hero h1, #hero p {
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* About Section */
#about .img-container {
  box-shadow: var(--shadow-3d);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Portfolio Section */
#portfolio {
  background-image: var(--gradient-blue-teal);
  background-size: 200% 200%;
  animation: gradientBackground 15s ease infinite;
}

@keyframes gradientBackground {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

#portfolio .card {
  overflow: hidden;
}

/* Media Section */
#media a {
  transition: transform var(--transition-normal);
}

#media a:hover {
  transform: translateY(-5px);
}

/* Blog Section */
#blog .card {
  box-shadow: var(--shadow-md);
}

#blog .card:hover {
  box-shadow: var(--shadow-3d-hover);
}

#blog .card-image {
  height: 12rem;
}

#blog a.read-more {
  color: var(--primary-blue);
  font-weight: 600;
  position: relative;
  display: inline-block;
}

#blog a.read-more:after {
  content: "→";
  margin-left: 0.25rem;
  transition: transform var(--transition-fast);
  display: inline-block;
}

#blog a.read-more:hover:after {
  transform: translateX(4px);
}

/* Gallery Section */
#gallery .grid-item {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

#gallery .grid-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

#gallery .grid-item img {
  transition: transform var(--transition-slow);
}

#gallery .grid-item:hover img {
  transform: scale(1.1);
}

/* FAQ Section */
.faq-question {
  cursor: pointer;
  user-select: none;
}

.faq-arrow {
  transition: transform var(--transition-normal);
}

/* Contact Section */
#contact form {
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-normal);
}

#contact form:hover {
  transform: translateY(-5px);
}

#contact input,
#contact textarea {
  border-radius: var(--radius-md);
  transition: border var(--transition-normal), box-shadow var(--transition-normal);
  border: 1px solid var(--neutral-300);
}

#contact input:focus,
#contact textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
}

/* Footer Section */
footer {
  background-color: var(--neutral-900);
  color: white;
}

footer a {
  transition: color var(--transition-normal);
}

footer h3, footer h4 {
  position: relative;
}

footer h3:after,
footer h4:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  height: 3px;
  width: 50px;
  background: var(--gradient-blue-purple);
  border-radius: var(--radius-full);
}

/* Social links in footer */
footer .social-links a {
  color: var(--primary-blue);
  margin-right: 1rem;
  font-weight: 500;
  transition: color var(--transition-normal), transform var(--transition-normal);
  display: inline-block;
}

footer .social-links a:hover {
  color: var(--primary-teal);
  transform: translateY(-3px);
}

/* Success Page Styles */
.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: var(--gradient-blue-teal);
  color: white;
  padding: 2rem;
}

.success-card {
  background: white;
  color: var(--neutral-800);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3d);
  max-width: 600px;
  width: 100%;
  transform-style: preserve-3d;
  perspective: 1000px;
  animation: success-enter 1s ease;
}

@keyframes success-enter {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Privacy and Terms Pages */
.content-page {
  padding-top: 100px;
  min-height: 90vh;
}

.content-page h1 {
  margin-bottom: 2rem;
  font-size: 2.5rem;
  background: var(--gradient-blue-purple);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.content-page h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.content-page p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* 3D Floating Animation for Hero Items */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

.float-animation {
  animation: float 6s ease-in-out infinite;
}

/* Testimonial Style */
.testimonial {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.testimonial:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-blue-purple);
}

.testimonial img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid white;
  box-shadow: var(--shadow-md);
}

/* Team Member Style */
.team-member {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-member:hover {
  transform: translateY(-10px);
}

.team-member img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-member-info {
  padding: 1.5rem;
}

.team-member-social {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.team-member-social a {
  color: var(--primary-blue);
  transition: color var(--transition-normal);
}

.team-member-social a:hover {
  color: var(--primary-purple);
}

/* Glassmorphism Effects */
.glass-card {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  color: white;
}

/* Utility Classes */
.text-gradient {
  background: var(--gradient-blue-purple);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bg-gradient {
  background: var(--gradient-blue-purple);
}

.shadow-3d {
  box-shadow: var(--shadow-3d);
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

/* Media Queries to complement Tailwind's responsive design */
@media (max-width: 640px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  #hero {
    text-align: center;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
}

@media (min-width: 1025px) {
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2.25rem;
  }
}

/* Additional responsive adjustments */
@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }
  
  .card-image {
    height: 200px;
  }
  
  footer h3:after,
  footer h4:after {
    width: 40px;
  }
}

/* Animation for page load */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeIn {
  animation: fadeIn 1s ease-out;
}

/* Parallax Effect */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}