/*
Theme Name: FindFirst Theme
Theme URI: https://findfirst.co
Description: A professional digital marketing agency theme for FindFirst with neo-brutalist design
Version: 1.0.0
Author: FindFirst
Author URI: https://findfirst.co
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: findfirst-theme
Domain Path: /languages
*/

/* Root Variables */
:root {
  --primary-navy: #07145f;
  --primary-yellow: #ffd126;
  --primary-blue: #0b55ff;
  --primary-green: #19b55a;
  --light-bg: #f6f8ff;
  --text-dark: #07145f;
  --text-light: #ffffff;
  --border-light: #e2e8f0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text-dark);
  background-color: var(--light-bg);
  line-height: 1.6;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-navy);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1rem;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  height: 6rem;
}

.site-logo img {
  height: 5rem;
  width: auto;
}

.site-navigation {
  display: flex;
  gap: 0.5rem;
  list-style: none;
}

.site-navigation a {
  padding: 0.5rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-navy);
  transition: background-color 0.3s ease;
}

.site-navigation a:hover {
  background-color: #eef3ff;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 1.5rem;
  height: 0.125rem;
  background-color: var(--primary-navy);
  margin: 0.375rem 0;
  transition: 0.3s;
}

@media (max-width: 1024px) {
  .site-navigation {
    display: none;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
  }

  .site-navigation.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 6rem;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-light);
    padding: 1rem;
  }
}

/* Hero Section */
.hero-section {
  background-color: var(--primary-navy);
  color: var(--text-light);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 22%, rgba(19, 160, 255, 0.35), transparent 28%),
              radial-gradient(circle at 86% 18%, rgba(255, 209, 38, 0.18), transparent 24%);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-text h1 .highlight {
  color: var(--primary-yellow);
}

.hero-badge {
  display: inline-block;
  border: 1px solid rgba(255, 209, 38, 0.4);
  background-color: rgba(255, 209, 38, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-yellow);
}

.hero-description {
  font-size: 1.125rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--primary-yellow);
  color: var(--primary-navy);
  border: 2px solid var(--primary-yellow);
}

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

.btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-item {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  backdrop-filter: blur(10px);
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--primary-yellow);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.stat-detail {
  font-size: 0.75rem;
  color: rgba(59, 130, 246, 0.7);
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

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

section h2 {
  margin-bottom: 2rem;
}

.section-label {
  color: var(--primary-blue);
  font-weight: 900;
  margin-bottom: 0.5rem;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  border: 2px solid var(--border-light);
  padding: 2rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--primary-yellow);
  box-shadow: 0 10px 30px rgba(255, 209, 38, 0.1);
  transform: translateY(-5px);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--primary-navy);
}

.service-card p {
  color: #666;
  line-height: 1.8;
}

/* Portfolio Section */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  background-color: #ffffff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.portfolio-content {
  padding: 1.5rem;
}

.portfolio-content h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-navy);
}

.portfolio-content p {
  color: #666;
  font-size: 0.875rem;
}

/* Blog Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-post {
  border: 2px solid var(--primary-navy);
  background-color: var(--light-bg);
  padding: 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.blog-post:hover {
  background-color: var(--primary-navy);
  color: var(--text-light);
}

.blog-post h3 {
  margin-bottom: 1rem;
}

.blog-post p {
  margin-bottom: 1rem;
}

.blog-post a {
  color: var(--primary-yellow);
  font-weight: 700;
}

/* Contact Section */
.contact-section {
  background-color: var(--primary-navy);
  color: var(--text-light);
}

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

.contact-logo {
  height: 5rem;
  width: auto;
  margin-bottom: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
}

.contact-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.contact-item.phone .contact-icon {
  color: var(--primary-yellow);
}

.contact-item.line .contact-icon {
  color: var(--primary-green);
}

.contact-item.email .contact-icon {
  color: var(--primary-blue);
}

.contact-label {
  font-weight: 700;
  color: var(--text-light);
}

.contact-value {
  font-size: 1.125rem;
  font-weight: 900;
  margin-top: 0.25rem;
}

.contact-item.phone .contact-value {
  color: var(--primary-yellow);
}

.contact-item.line .contact-value {
  color: var(--primary-green);
}

.contact-item.email .contact-value {
  color: var(--primary-blue);
}

.contact-detail {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.25rem;
}

/* Footer */
.site-footer {
  background-color: var(--primary-navy);
  color: var(--text-light);
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo img {
  height: 3rem;
  width: auto;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  color: var(--text-light);
}

.footer-links a:hover {
  color: var(--primary-yellow);
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

/* Animations */
@keyframes bounce-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.bounce-slow {
  animation: bounce-slow 3s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  section {
    padding: 2rem 0;
  }

  .footer-content {
    flex-direction: column;
  }
}
