/* Core styling for Pet Comida Caseira Landing Page */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@500;700;800&display=swap');

:root {
  --primary: #e58e26;
  --primary-light: #ffc300;
  --primary-hover: #d35400;
  --accent: #fff3e0;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(226, 232, 240, 0.8);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.05), 0 10px 10px -5px rgba(0,0,0,0.02);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--primary);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background-color: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8%;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  border-radius: 12px;
}

.logo-fallback {
  height: 44px;
  width: 44px;
  background-color: var(--primary);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(27, 67, 50, 0.3);
}

.logo-text h2 {
  font-size: 1.15rem;
  line-height: 1;
}

.logo-text span {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--primary-light);
  font-weight: 750;
  letter-spacing: 1.5px;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

nav a:hover, nav a.active {
  color: var(--primary);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Language selector */
.lang-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: var(--bg-white);
  border: 1px solid #e2e8f0;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.lang-selector select {
  border: none;
  background: transparent;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
  outline: none;
  cursor: pointer;
}

.btn-cta {
  text-decoration: none;
  background-color: var(--primary);
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(27, 67, 50, 0.15);
  transition: var(--transition);
}

.btn-cta:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(27, 67, 50, 0.25);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  padding: 140px 8% 80px;
  background: linear-gradient(135deg, #f0fdfa 0%, #e2e8f0 100%);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(circle, rgba(216, 243, 220, 0.4) 0%, rgba(255,255,255,0) 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  z-index: 2;
  animation: slideLeft 0.8s ease;
}

.hero-tag {
  background-color: var(--accent);
  color: var(--primary);
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  border: 1px solid rgba(27, 67, 50, 0.15);
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn-secondary {
  text-decoration: none;
  background-color: var(--bg-white);
  color: var(--primary);
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid rgba(27, 67, 50, 0.2);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-secondary:hover {
  background-color: #f1f5f9;
  transform: translateY(-2px);
}

.hero-image-container {
  z-index: 2;
  position: relative;
  animation: fadeIn 1s ease;
}

.hero-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--bg-white);
}

/* Feature Cards Section */
.features {
  padding: 100px 8%;
  background-color: var(--bg-white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 15px;
}

.section-header p {
  color: var(--text-light);
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--bg-light);
  border: 1px solid #f1f5f9;
  padding: 40px 30px;
  border-radius: 24px;
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  background-color: var(--bg-white);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.feature-icon {
  height: 60px;
  width: 60px;
  background-color: var(--accent);
  color: var(--primary);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.5rem;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* About Us Section */
.about {
  padding: 100px 8%;
  background-color: var(--bg-light);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.about-image {
  position: relative;
}

.about-img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
}

.about-tag {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--primary);
  color: white;
  padding: 24px 30px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about-tag h4 {
  color: white;
  font-size: 2rem;
  line-height: 1;
}

.about-tag p {
  font-size: 0.8rem;
  opacity: 0.8;
  font-weight: 600;
}

.about-content h2 {
  font-size: 2.25rem;
  margin-bottom: 24px;
}

.about-text {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 30px;
  white-space: pre-wrap;
}

/* Contact Section */
.contact {
  padding: 100px 8%;
  background-color: var(--bg-white);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  font-size: 2.25rem;
  margin-bottom: 15px;
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 40px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-icon {
  height: 48px;
  width: 48px;
  background-color: var(--accent);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.contact-details h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact-details p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0;
}

.contact-form-container {
  background-color: var(--bg-light);
  border: 1px solid #f1f5f9;
  padding: 40px;
  border-radius: 28px;
  box-shadow: var(--shadow-md);
  max-width: 520px;
  width: 100%;
  justify-self: end;
}

.contact-form-container h3 {
  font-size: 1.35rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 8px;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  background-color: var(--bg-white);
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.1);
}

.btn-submit {
  width: 100%;
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(27, 67, 50, 0.15);
  transition: var(--transition);
}

.btn-submit:hover {
  background-color: var(--primary-light);
  transform: translateY(-1px);
}

/* Alert styles */
.alert {
  padding: 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: none;
}
.alert-success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.alert-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* Footer */
footer {
  background-color: var(--primary);
  color: white;
  padding: 60px 8% 30px;
  border-top: 1px solid var(--primary-light);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 40px;
  margin-bottom: 30px;
}

.footer-logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-text h2 {
  color: white;
  font-size: 1.15rem;
  line-height: 1;
}

.footer-logo-text span {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 750;
  letter-spacing: 1.5px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  height: 40px;
  width: 40px;
  background-color: rgba(255,255,255,0.1);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--accent);
  color: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  opacity: 0.7;
}

/* Animations */
@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive design */
@media (max-width: 1024px) {
  header {
    padding: 0 4%;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 120px 4% 60px;
    gap: 40px;
    text-align: center;
  }
  .hero-subtitle {
    margin: 0 auto 30px;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-img {
    height: 380px;
  }
  .about {
    grid-template-columns: 1fr;
    padding: 80px 4%;
    gap: 50px;
  }
  .contact {
    grid-template-columns: 1fr;
    padding: 80px 4%;
    gap: 50px;
  }
  .contact-form-container {
    justify-self: center;
  }
  footer {
    padding: 40px 4% 20px;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  nav {
    display: none; /* simple hidden menu for mobile */
  }
  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
