/*
Theme Name: T-MANIA
Theme URI: https://tmaniann.com
Description: Custom t-shirt printing and embroidery services theme
Version: 1.0
Author: T-MANIA
*/

/* ===== COLOR SYSTEM ===== */
:root {
  /* Background Colors */
  --background: 0 0% 100%;
  --foreground: 0 0% 10%;
  
  --card: 0 0% 98%;
  --card-foreground: 0 0% 10%;
  
  --muted: 0 0% 96%;
  --muted-foreground: 0 0% 45%;
  
  /* Brand Colors - Blue and Red from logo */
  --primary: 240 100% 50%;
  --primary-foreground: 0 0% 100%;
  
  --secondary: 220 100% 55%;
  --secondary-foreground: 0 0% 100%;
  
  --accent: 0 100% 50%;
  --accent-foreground: 0 0% 100%;
  
  /* Border & Effects */
  --border: 0 0% 90%;
  --input: 0 0% 90%;
  
  /* Gradients */
  --gradient-hero: linear-gradient(135deg, hsl(240, 100%, 50%), hsl(0, 100%, 50%));
  --gradient-accent: linear-gradient(90deg, hsl(240, 100%, 50%), hsl(220, 100%, 55%), hsl(0, 100%, 50%));
  --gradient-text: linear-gradient(90deg, hsl(240, 100%, 50%), hsl(0, 100%, 50%));
  
  /* Shadows */
  --shadow-glow: 0 15px 50px -10px hsl(240 100% 50% / 0.5);
  --shadow-accent: 0 10px 40px -10px hsl(0 100% 50% / 0.4);
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Dark Mode Colors */
body.dark {
  --background: 0 0% 8%;
  --foreground: 0 0% 98%;
  
  --card: 0 0% 12%;
  --card-foreground: 0 0% 98%;
  
  --muted: 0 0% 15%;
  --muted-foreground: 0 0% 65%;
  
  --border: 0 0% 20%;
  --input: 0 0% 20%;
}

/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s, color 0.3s;
}

html {
  scroll-behavior: smooth;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== NAVIGATION ===== */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: hsl(var(--background) / 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid hsl(var(--border));
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo img {
  height: 40px;
  width: auto;
  transition: transform 0.3s;
  cursor: pointer;
}

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

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-buttons {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .nav-buttons {
    display: flex;
  }
}

.theme-toggle {
  padding: 0.5rem;
  border-radius: 0.375rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: hsl(var(--foreground));
  transition: var(--transition-smooth);
  font-size: 1.25rem;
}

.theme-toggle:hover {
  background: hsl(var(--muted));
}

.call-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border: none;
  border-radius: 0.375rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
  font-size: 0.875rem;
}

.call-button:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

.call-text {
  display: none;
}

@media (min-width: 768px) {
  .call-text {
    display: inline;
  }
}

.menu-toggle {
  padding: 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: hsl(var(--foreground));
  font-size: 1.5rem;
  transition: color 0.3s;
}

.menu-toggle:hover {
  color: hsl(var(--primary));
}

.nav-menu {
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border));
  padding: 1rem;
  display: none;
  flex-direction: column;
  gap: 1rem;
}

.nav-menu.active {
  display: flex;
  animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  color: hsl(var(--foreground));
  text-decoration: none;
  font-weight: 500;
  border-radius: 0.375rem;
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: hsl(var(--primary));
  background: hsl(var(--muted));
}

.nav-mobile-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .nav-mobile-buttons {
    display: none;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 64px;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: zoomIn 1s ease-out;
}

@keyframes zoomIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: hsl(var(--background) / 0.7);
}

.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-shape-1 {
  position: absolute;
  top: 25%;
  left: 25%;
  width: 256px;
  height: 256px;
  background: hsl(var(--primary) / 0.05);
  border-radius: 50%;
  filter: blur(60px);
  animation: pulse 3s ease-in-out infinite;
}

.hero-shape-2 {
  position: absolute;
  bottom: 25%;
  right: 25%;
  width: 384px;
  height: 384px;
  background: hsl(var(--accent) / 0.05);
  border-radius: 50%;
  filter: blur(60px);
  animation: pulse 3s ease-in-out infinite;
  animation-delay: 700ms;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  padding: 5rem 1rem;
  animation: fadeInUp 0.7s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-logo {
  margin-bottom: 2rem;
  animation: fadeInZoom 1s ease-out;
}

@keyframes fadeInZoom {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-logo img {
  width: 100%;
  max-width: 512px;
  filter: drop-shadow(0 25px 25px rgb(0 0 0 / 0.15));
  transition: transform 0.3s;
}

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

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.7s ease-out 0.3s backwards;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.875rem;
  }
}

.hero-description {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
  max-width: 36rem;
  animation: fadeInUp 0.7s ease-out 0.5s backwards;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeInUp 0.7s ease-out 0.7s backwards;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
  font-weight: 500;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.hero-button-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-glow);
}

.hero-button-primary:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-accent);
}

.hero-button-secondary {
  background: transparent;
  color: hsl(var(--foreground));
  border: 2px solid hsl(var(--border));
}

.hero-button-secondary:hover {
  transform: scale(1.05);
  border-color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.05);
}

/* ===== SERVICES SECTION ===== */
.services-section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, hsl(var(--background)), hsl(var(--muted) / 0.2));
}

/* Dotted pattern background */
.services-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, hsl(var(--primary) / 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
  pointer-events: none;
}

.services-section .decorative-shape-1,
.services-section .decorative-shape-2 {
  display: none;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 10;
}

.section-header-with-icon {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 10;
}

.section-icon-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.section-icon-glow {
  position: absolute;
  inset: 0;
  background: hsl(var(--primary) / 0.2);
  filter: blur(2rem);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.section-icon-glow-accent {
  background: hsl(var(--accent) / 0.2);
}

.section-icon-glow-secondary {
  background: hsl(var(--secondary) / 0.2);
}

.section-icon {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.2), hsl(var(--accent) / 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid hsl(var(--primary) / 0.3);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.section-icon-accent {
  background: linear-gradient(135deg, hsl(var(--accent) / 0.2), hsl(var(--primary) / 0.2));
  border-color: hsl(var(--accent) / 0.3);
}

.section-icon-secondary {
  background: linear-gradient(135deg, hsl(var(--primary) / 0.2), hsl(var(--secondary) / 0.2));
  border-color: hsl(var(--secondary) / 0.3);
}

.icon-svg {
  width: 56px;
  height: 56px;
  color: hsl(var(--primary));
  stroke-width: 2.5;
}

.section-icon-accent .icon-svg {
  color: hsl(var(--accent));
}

.section-icon-secondary .icon-svg {
  color: hsl(var(--primary));
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-title-large {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 768px) {
  .section-title-large {
    font-size: 3.75rem;
  }
}

.section-underline {
  width: 96px;
  height: 4px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--accent)), hsl(var(--secondary)));
  border-radius: 9999px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  margin: 0 auto;
}

.section-subtitle-large {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.75;
}

@media (min-width: 768px) {
  .section-subtitle-large {
    font-size: 1.5rem;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: hsl(var(--card) / 0.5);
  backdrop-filter: blur(8px);
  border: 2px solid hsl(var(--border));
  border-radius: 0.75rem;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  border-color: hsl(var(--primary) / 0.5);
}

.service-image {
  position: relative;
  height: 192px;
  overflow: hidden;
}

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

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

.service-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(var(--background) / 0.9) 0%, hsl(var(--background) / 0.5) 50%, transparent 100%);
}

.service-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: hsl(var(--primary) / 0.9);
  color: hsl(var(--primary-foreground));
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  z-index: 10;
  transition: background 0.3s;
}

.service-card:hover .service-icon {
  background: hsl(var(--primary));
}

.service-content {
  padding: 1.5rem;
  text-align: center;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: hsl(var(--foreground));
  transition: color 0.3s;
}

.service-card:hover .service-title {
  color: hsl(var(--primary));
}

.service-description {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 5rem 0;
  background: hsl(var(--background));
  position: relative;
  overflow: hidden;
}

/* Diagonal stripe background pattern */
.about-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(45deg, hsl(var(--primary) / 0.03) 25%, transparent 25%, transparent 50%, hsl(var(--primary) / 0.03) 50%, hsl(var(--primary) / 0.03) 75%, transparent 75%, transparent);
  background-size: 60px 60px;
  opacity: 0.3;
  pointer-events: none;
}

.about-bg-decoration-1,
.about-bg-decoration-2 {
  display: none;
}

.about-section .container {
  max-width: 64rem;
  position: relative;
  z-index: 10;
}

/* Centered header styling for About section */
.section-header-centered {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 10;
}

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

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  text-align: center;
  padding: 2rem;
  border-radius: 1rem;
  background: linear-gradient(to bottom right, hsl(var(--card)), hsl(var(--card) / 0.5));
  border: 1px solid hsl(var(--border));
  transition: var(--transition-smooth);
  cursor: pointer;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: var(--shadow-glow);
  border-color: hsl(var(--primary) / 0.5);
}

.feature-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(to bottom right, hsl(var(--primary) / 0.2), hsl(var(--primary) / 0.1));
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  transition: var(--transition-smooth);
}

.feature-icon-wrapper-secondary {
  background: linear-gradient(to bottom right, hsl(var(--secondary) / 0.2), hsl(var(--secondary) / 0.1));
}

.feature-icon-wrapper-accent {
  background: linear-gradient(to bottom right, hsl(var(--accent) / 0.2), hsl(var(--accent) / 0.1));
}

.feature-card:hover .feature-icon-wrapper {
  transform: scale(1.25) rotate(12deg);
}

.feature-icon {
  width: 40px;
  height: 40px;
  color: hsl(var(--primary));
  transition: transform 0.3s;
}

.feature-icon-wrapper-secondary .feature-icon {
  color: hsl(var(--secondary));
}

.feature-icon-wrapper-accent .feature-icon {
  color: hsl(var(--accent));
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: hsl(var(--foreground));
  transition: color 0.3s;
}

.feature-card:hover .feature-title {
  color: hsl(var(--primary));
}

.feature-description {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

.about-highlight {
  text-align: center;
  background: linear-gradient(to bottom right, hsl(var(--muted) / 0.5), hsl(var(--card)), hsl(var(--muted) / 0.3));
  padding: 2.5rem;
  border-radius: 1.5rem;
  border: 2px solid hsl(var(--border));
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.about-highlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, hsl(var(--primary) / 0.05), transparent, hsl(var(--accent) / 0.05));
  opacity: 0;
  transition: opacity 0.5s;
}

.about-highlight:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  border-color: hsl(var(--primary) / 0.3);
}

.about-highlight:hover::before {
  opacity: 1;
}

.about-highlight p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: hsl(var(--foreground) / 0.9);
  position: relative;
  z-index: 1;
}

/* ===== DESIGN GALLERY ===== */
.gallery-section {
  padding: 5rem 0;
  background: hsl(var(--muted) / 0.3);
  position: relative;
  overflow: hidden;
}

/* Triangular/geometric pattern background */
.gallery-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(30deg, hsl(var(--primary) / 0.02) 12%, transparent 12.5%, transparent 87%, hsl(var(--primary) / 0.02) 87.5%, hsl(var(--primary) / 0.02)),
    linear-gradient(150deg, hsl(var(--primary) / 0.02) 12%, transparent 12.5%, transparent 87%, hsl(var(--primary) / 0.02) 87.5%, hsl(var(--primary) / 0.02)),
    linear-gradient(30deg, hsl(var(--primary) / 0.02) 12%, transparent 12.5%, transparent 87%, hsl(var(--primary) / 0.02) 87.5%, hsl(var(--primary) / 0.02)),
    linear-gradient(150deg, hsl(var(--primary) / 0.02) 12%, transparent 12.5%, transparent 87%, hsl(var(--primary) / 0.02) 87.5%, hsl(var(--primary) / 0.02));
  background-size: 80px 140px;
  background-position: 0 0, 0 0, 40px 70px, 40px 70px;
  opacity: 0.4;
  pointer-events: none;
}

.gallery-section .decorative-shape-1,
.gallery-section .decorative-shape-2 {
  display: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 1;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-glow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(var(--background) / 0.9), hsl(var(--background) / 0.6), transparent);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  text-align: center;
}

/* Legacy design-card styles for backward compatibility */
.design-card {
  background: hsl(var(--card));
  border-radius: 0.75rem;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.design-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}

.design-image {
  aspect-ratio: 1;
  overflow: hidden;
  background: hsl(var(--card));
  position: relative;
}

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

.design-card:hover .design-image img {
  transform: scale(1.1) rotate(2deg);
}

.design-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(var(--primary) / 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.design-card:hover .design-image::after {
  opacity: 1;
}

.design-info {
  padding: 1.5rem;
  text-align: center;
}

.design-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: hsl(var(--foreground));
  transition: color 0.3s;
}

.design-card:hover .design-name {
  color: hsl(var(--primary));
}

.design-description {
  color: hsl(var(--muted-foreground));
}

/* ===== FOOTER ===== */
.footer {
  background: hsl(var(--card));
  border-top: 1px solid hsl(var(--border));
  padding: 3rem 0 1.5rem;
}

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

.footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

.footer-section h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: hsl(var(--foreground));
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.3s;
}

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

.contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: hsl(var(--muted-foreground));
}

.contact-icon {
  font-size: 1.25rem;
}

.contact-item a {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.3s;
}

.contact-item a:hover {
  color: hsl(var(--primary));
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border));
  color: hsl(var(--muted-foreground));
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, 
    hsl(var(--primary) / 0.05) 0%, 
    hsl(var(--background)) 50%, 
    hsl(var(--accent) / 0.05) 100%);
  position: relative;
  overflow: hidden;
}

.portfolio-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 2px 2px, hsl(var(--primary) / 0.1) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
  opacity: 0.5;
}

.portfolio-carousel-wrapper {
  position: relative;
  margin-top: 3rem;
}

.portfolio-carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1rem 0 2rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.portfolio-carousel::-webkit-scrollbar {
  display: none;
}

.portfolio-item {
  flex: 0 0 calc(33.333% - 0.75rem);
  min-width: 300px;
  background: hsl(var(--card));
  border-radius: 0.75rem;
  overflow: hidden;
  border: 2px solid hsl(var(--border));
  transition: var(--transition-smooth);
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: hsl(var(--primary) / 0.5);
}

.portfolio-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(135deg, 
    hsl(var(--muted)) 0%, 
    hsl(var(--muted) / 0.5) 100%);
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: hsl(var(--primary) / 0);
  transition: var(--transition-smooth);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 1rem;
}

.portfolio-item:hover .portfolio-overlay {
  background: hsl(var(--primary) / 0.1);
}

.portfolio-badge {
  background: hsl(var(--background) / 0.9);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  opacity: 0;
  transform: translateX(1rem);
  transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-badge {
  opacity: 1;
  transform: translateX(0);
}

.portfolio-content {
  padding: 1.5rem;
}

.portfolio-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: hsl(var(--foreground));
  transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-title {
  color: hsl(var(--primary));
}

.portfolio-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
}

.portfolio-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: hsl(var(--background) / 0.9);
  border: 2px solid hsl(var(--border));
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 10;
}

.portfolio-nav:hover {
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  transform: translateY(-50%) scale(1.1);
}

.portfolio-nav-prev {
  left: -1rem;
}

.portfolio-nav-next {
  right: -1rem;
}

.portfolio-hint {
  text-align: center;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  margin-top: 2rem;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .portfolio-item {
    flex: 0 0 calc(50% - 0.5rem);
    min-width: 250px;
  }
  
  .portfolio-nav {
    display: none;
  }
}

@media (max-width: 480px) {
  .portfolio-item {
    flex: 0 0 100%;
    min-width: 100%;
  }
}
