/*
Theme Name: Avi's Canvas
Description: Artist portfolio WordPress theme matching React version exactly
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 50%, #fed7aa 100%);
  min-height: 100vh;
}

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

/* Header Styles - Exact Match */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid #e5e7eb;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.site-logo img {
  height: 3rem;
  width: 3rem;
  object-fit: contain;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(to right, #9333ea, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.current {
  color: #1f2937;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
}

/* Hero Section - Exact Match */
.hero-section {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #f3f4f6;
  border-radius: 9999px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.hero-title-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(to right, #a855f7, #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  background: linear-gradient(to right, #9333ea, #ec4899, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: #6b7280;
  margin-bottom: 1rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-description {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 2rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.hero-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  animation: bounce 2s infinite;
}

.hero-dot:nth-child(1) {
  background: #c084fc;
}

.hero-dot:nth-child(2) {
  background: #f472b6;
  animation-delay: 0.1s;
}

.hero-dot:nth-child(3) {
  background: #fb923c;
  animation-delay: 0.2s;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  padding-top: 1.5rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(to right, #a855f7, #ec4899, #f97316);
  color: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background: linear-gradient(to right, #9333ea, #db2777, #ea580c);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}

.btn-outline {
  background: transparent;
  color: #9333ea;
  border: 2px solid #9333ea;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
  background: #faf5ff;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}

/* Card Styles */
.card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s;
}

.card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.card-content {
  padding: 3rem;
}
.hero-icon {
  display: none;
}

/* About Section */
.about-section {
  padding: 4rem 0;
}

.about-card {
  background: linear-gradient(135deg, #ffffff 0%, #faf5ff 50%, #fce7f3 100%);
  border: none;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-content h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.875rem;
  font-weight: 700;
  background: linear-gradient(to right, #9333ea, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}

.about-content p {
  font-size: 1.125rem;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-content strong {
  color: #9333ea;
  font-weight: 700;
}

.about-image-container {
  display: flex;
  justify-content: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  width: 20rem;
  height: 20rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  background: linear-gradient(135deg, #e9d5ff, #fce7f3);
  border: 4px solid white;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 6rem;
  height: 6rem;
  background: linear-gradient(to right, #a855f7, #ec4899);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Featured Work Section */
.featured-section {
  padding: 4rem 0;
}

.section-header {
  background: linear-gradient(to right, #e9d5ff, #fce7f3, #fed7aa);
  border: none;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
}

.section-header .card-content {
  padding: 2rem;
  text-align: center;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(to right, #9333ea, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #6b7280;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.work-item {
  background: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%);
  border: none;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  cursor: pointer;
  overflow: hidden;
}

.work-item:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}

.work-image {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.work-content {
  padding: 1rem;
}

.work-badge {
  background: linear-gradient(to right, #e9d5ff, #fce7f3);
  color: #7c3aed;
  border: none;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.work-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.25rem;
  transition: color 0.2s;
}

.work-item:hover .work-title {
  color: #9333ea;
}

.work-medium {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}

/* Testimonials Section */
.testimonials-section {
  padding: 4rem 0;
}

.testimonials-header {
  background: linear-gradient(135deg, #fed7aa, #fce7f3, #e9d5ff);
  border: none;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
}

.testimonials-title {
  background: linear-gradient(to right, #f97316, #9333ea);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%);
  border: none;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.star {
  width: 1rem;
  height: 1rem;
  color: #fbbf24;
  fill: currentColor;
}

.testimonial-text {
  color: #6b7280;
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.testimonial-author {
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.testimonial-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.testimonial-location {
  font-size: 0.875rem;
  color: #6b7280;
}

/* Footer */
.site-footer {
  background: #1f2937;
  color: white;
  padding: 2rem 0;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #a855f7, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-section p,
.footer-section a {
  color: #d1d5db;
  text-decoration: none;
  line-height: 1.6;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  color: #9ca3af;
}

/* Animations */
@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    transform: translateY(0);
  }
  40%, 43% {
    transform: translateY(-30px);
  }
  70% {
    transform: translateY(-15px);
  }
  90% {
    transform: translateY(-4px);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: .5;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .card-content {
    padding: 2rem;
  }
  
  .about-image {
    width: 16rem;
    height: 16rem;
  }
}
.hero-icon {
  display: none;
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .card-content {
    padding: 1.5rem;
  }
}

/* Global Reach Styles */
.global-reach-section {
  padding: 4rem 0;
}

.global-reach-card {
  background: linear-gradient(135deg, #dbeafe, #e9d5ff, #fce7f3);
  border: none;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.global-reach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.country-card {
  background: linear-gradient(135deg, #ffffff 0%, #dbeafe 100%);
  border: none;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  text-align: center;
  padding: 1.5rem;
}

.country-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.country-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(to right, #3b82f6, #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.country-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #3b82f6;
  margin-bottom: 0.5rem;
}

.country-description {
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.country-badge {
  font-size: 0.875rem;
  font-weight: 600;
  color: #3b82f6;
}

.stats-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.stat-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
}

.stat-dot.blue { background: #3b82f6; }
.stat-dot.purple { background: #a855f7; }
.stat-dot.pink { background: #ec4899; }

.global-quote {
  color: #6b7280;
  font-style: italic;
  text-align: center;
}

/* -------------------------------------------------------
   CONTACT PAGE — MOBILE FIXES
   ------------------------------------------------------- */

/* Reduce padding & prevent overflow */
.contact-box,
.social-section,
.custom-content-wrapper {
  padding: 1.5rem;
}

.email-box {
  padding: 1.25rem;
}

/* Fix card overflow */
.social-grid {
  grid-template-columns: 1fr;
}

/* Fix large font sizes */
.contact-header h1,
.social-header h2,
.contact-box h2 {
  font-size: 1.75rem;
}

.contact-header p,
.contact-box p,
.social-header p {
  font-size: 1rem;
}

/* Fix squeezed icons */
.email-header svg {
  width: 20px;
  height: 20px;
}

.email-header h3 {
  font-size: 1.1rem;
}

/* Buttons smaller */
.social-card a {
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
}

/* Force no horizontal scroll on cards */
.social-card,
.email-box,
.contact-box,
.custom-content-wrapper {
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}

/* Reduce padding inside social cards */
.social-card {
  padding: 1.25rem;
}

/* Layout fixes */
.social-section .container,
.contact-box-section .container {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Grid fix for small screens */
@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .social-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  .social-card h3 {
    font-size: 1.1rem;
  }

  .social-card p {
    font-size: 0.85rem;
  }

  .contact-box,
  .custom-content-wrapper {
    padding: 1.25rem;
  }

  .email-box {
    padding: 1rem;
  }

  .email-header svg {
    width: 18px;
    height: 18px;
  }

  .email-header h3 {
    font-size: 1rem;
  }

  .social-quote {
    font-size: 1rem;
  }
}

/* Narrowest screens 360px */
@media (max-width: 360px) {
  .contact-header h1 {
    font-size: 1.5rem;
  }

  .contact-box h2,
  .social-header h2 {
    font-size: 1.5rem;
  }

  .social-card,
  .contact-box {
    padding: 1rem;
  }

  .social-card a,
  .email-box a {
    font-size: 0.85rem;
  }
}
