/* Asrın Ambalaj - Custom Styles */

/* === CSS Variables === */
:root {
  --primary-orange: #F7941D;
  --secondary-dark: #333333;
  --background-white: #FFFFFF;
  --background-light: #F9FAFB;
  --whatsapp-green: #25D366;
  --text-dark: #1F2937;
  --text-light: #6B7280;
  --border-color: #E5E7EB;
}

/* === Global Resets & Typography === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

/* === Navigation Enhancements === */
.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-orange);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* === Custom Button Styles === */
.btn-primary {
  background-color: var(--primary-orange);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  border: 2px solid var(--primary-orange);
}

.btn-primary:hover {
  background-color: #E6860F;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(247, 148, 29, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-orange);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  border: 2px solid var(--primary-orange);
}

.btn-outline:hover {
  background-color: var(--primary-orange);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(247, 148, 29, 0.2);
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: white;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-decoration: none;
  border: none;
  width: 100%;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

/* === Product Card Styles === */
.product-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-orange);
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

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

.product-card-footer {
  margin-top: auto;
  padding-top: 1rem;
}

/* === Feature Card Styles === */
.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-orange);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-orange), #FFA940);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.75rem;
}

/* === Hero Section === */
.hero-section {
  position: relative;
  min-height: 600px;
  background-image: url('../assets/mainbg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(247, 148, 29, 0.9) 0%, rgba(51, 51, 51, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 2rem;
}

/* === Product Detail Styles === */
.product-detail-image {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.product-detail-image:hover {
  transform: scale(1.02);
}

.spec-list {
  list-style: none;
  padding: 0;
}

.spec-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.spec-list li:last-child {
  border-bottom: none;
}

.spec-list li i {
  color: var(--primary-orange);
  font-size: 1.25rem;
}

/* === Contact Form Styles === */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(247, 148, 29, 0.1);
}

.contact-info-item {
  display: flex;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-orange);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* === Filter Styles === */
.filter-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--border-color);
  background: white;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-dark);
}

.filter-btn:hover {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
}

.filter-btn.active {
  background: var(--primary-orange);
  color: white;
  border-color: var(--primary-orange);
}

/* === Mobile Menu Styles === */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: white;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 1000;
  padding: 2rem;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* === Utility Classes === */
.text-orange {
  color: var(--primary-orange);
}

.bg-orange {
  background-color: var(--primary-orange);
}

.bg-light {
  background-color: var(--background-light);
}

.section-padding {
  padding: 5rem 0;
}

/* === Animations === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* === Responsive Utilities === */
@media (max-width: 768px) {
  .section-padding {
    padding: 3rem 0;
  }

  .hero-section {
    min-height: 500px;
  }

  .hero-content h1 {
    font-size: 2rem !important;
  }

  .product-card img {
    height: 200px;
  }
}

/* === Footer Styles === */
footer {
  background-color: var(--secondary-dark);
  color: #D1D5DB;
}

footer a {
  color: #D1D5DB;
  transition: color 0.3s ease;
  text-decoration: none;
}

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

footer h3 {
  color: white;
  margin-bottom: 1rem;
  font-weight: 700;
}