/*
  Oztas Socks - Core Design System & Global Styles
  Author: Antigravity AI
*/

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

:root {
  /* Color Palette */
  --color-primary: #121824;      /* Deep luxurious navy/black */
  --color-primary-light: #1e293b;
  --color-accent: #D59452;       /* Warm elegant gold/bronze */
  --color-accent-dark: #b87b3a;
  --color-accent-light: #fbeedb;
  --color-secondary: #0f172a;
  --color-neutral-dark: #0f172a;
  --color-neutral-light: #f8fafc;
  --color-neutral-gray: #64748b;
  --color-neutral-border: #e2e8f0;
  --color-white: #ffffff;
  --color-success: #10b981;
  --color-whatsapp: #25d366;

  /* Typography */
  --font-headers: 'Lexend', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2.5rem;
  --spacing-xl: 4rem;
  --spacing-xxl: 6rem;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --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 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-premium: 0 20px 40px -15px rgba(18, 24, 36, 0.15);

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s ease;
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-primary-light);
  background-color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headers);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.25;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1540px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  padding: var(--spacing-xl) 0;
}

@media (min-width: 768px) {
  .section {
    padding: var(--spacing-xxl) 0;
  }
}

.grid-2 { display: grid; grid-template-columns: 1fr; gap: var(--spacing-lg); }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: var(--spacing-lg); }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: var(--spacing-lg); }

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

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

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Components & Styling Elements */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 70px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  transition: var(--transition-normal);
}

.logo.footer-logo img {
  height: 55px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-headers);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-normal);
  gap: 8px;
  outline: none;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(213, 148, 82, 0.3);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-white {
  background-color: var(--color-white);
  color: var(--color-primary);
}

.btn-white:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-neutral-border);
  transition: var(--transition-normal);
}

header.sticky {
  padding: 5px 0;
  box-shadow: var(--shadow-md);
}

header.sticky .logo img {
  height: 55px;
}

header.sticky .main-header-container {
  height: 70px;
}

header .main-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 95px;
  transition: var(--transition-normal);
  position: relative;
}

/* Top Bar Styling */
.top-bar {
  background-color: var(--color-primary);
  color: #94a3b8;
  font-size: 0.8rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-normal);
}

.top-bar a {
  transition: var(--transition-fast);
}

.top-bar a:hover {
  color: var(--color-accent) !important;
}

header.sticky .top-bar {
  margin-top: -38px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 768px) {
  .top-bar-address {
    display: none !important;
  }
}

@media (max-width: 576px) {
  /* Hide email in top bar on mobile to prevent wrapping */
  .top-bar-info .top-bar-item:nth-child(3) {
    display: none !important;
  }
  .top-bar-info {
    gap: 10px !important;
  }
}

.nav-links {
  display: flex;
  gap: 10px;
  align-items: center;
}

@media (min-width: 1024px) {
  .nav-links {
    position: relative;
    left: auto;
    transform: none;
    margin-left: auto;
    margin-right: 15px;
  }
}

.header-btn {
  display: inline-flex;
}

.nav-mobile-btn {
  display: none !important;
}

@media (max-width: 1023px) {
  .header-btn {
    display: none !important;
  }
  .nav-mobile-btn {
    display: inline-flex !important;
  }
}

.nav-item {
  position: relative;
  font-weight: 500;
  font-size: 0.88rem;
  white-space: nowrap;
}

.nav-item > a {
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item:hover > a,
.nav-item.active > a {
  color: var(--color-accent);
}

/* Dropdown styling */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 380px !important;
  background-color: var(--color-white);
  box-shadow: var(--shadow-premium);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-neutral-border);
  padding: var(--spacing-sm);
  display: none;
  flex-direction: column;
  gap: var(--spacing-xs);
  z-index: 1010;
}

.nav-item:hover .dropdown-menu {
  display: flex;
  animation: fadeIn 0.2s ease-out forwards;
}

.dropdown-item {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition-fast);
  white-space: normal !important;
  line-height: 1.4 !important;
  display: block;
}

.dropdown-item:hover {
  background-color: var(--color-accent-light);
  color: var(--color-accent-dark);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 160px 0 100px;
  background: radial-gradient(circle at 80% 20%, rgba(213, 148, 82, 0.08) 0%, rgba(255, 255, 255, 0) 50%),
              linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  overflow: hidden;
}

.hero-content {
  max-width: 650px;
}

.hero-subtitle {
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.88rem;
  margin-bottom: var(--spacing-sm);
  display: inline-block;
}

.hero-title {
  margin-bottom: var(--spacing-md);
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--color-neutral-gray);
  margin-bottom: var(--spacing-lg);
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

/* Cards & Info Box */
.card {
  background-color: var(--color-white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-neutral-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-normal);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-premium);
  border-color: transparent;
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background-color: var(--color-accent-light);
  color: var(--color-accent);
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xs);
}

.card-desc {
  color: var(--color-neutral-gray);
  font-size: 0.95rem;
}

/* Stats Counter Section */
.stats {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--spacing-lg) 0;
}

.stats h2, .stats h3, .stats h4 {
  color: var(--color-white);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-family: var(--font-headers);
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: var(--spacing-xs);
  white-space: nowrap;
}

.stat-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-neutral-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Section Title Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--spacing-xl);
}

.section-subtitle {
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.88rem;
  margin-bottom: var(--spacing-xs);
  display: block;
}

/* Services / Product Types */
.product-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 400px;
  cursor: pointer;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(18, 24, 36, 0.9) 0%, rgba(18, 24, 36, 0.3) 60%, rgba(18, 24, 36, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--spacing-lg);
  transition: var(--transition-normal);
}

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

.product-card:hover .product-overlay {
  background: linear-gradient(to top, rgba(18, 24, 36, 0.95) 0%, rgba(18, 24, 36, 0.5) 60%, rgba(18, 24, 36, 0.1) 100%);
}

.product-tag {
  align-self: flex-start;
  background-color: var(--color-accent);
  color: var(--color-white);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: var(--spacing-xs);
}

.product-title {
  color: var(--color-white);
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xs);
}

.product-desc {
  color: #cbd5e1;
  font-size: 0.88rem;
  opacity: 0;
  max-height: 0;
  transition: var(--transition-normal);
  overflow: hidden;
}

.product-card:hover .product-desc {
  opacity: 1;
  max-height: 80px;
  margin-top: 8px;
}

/* Quote request form */
.quote-section {
  background-color: var(--color-neutral-light);
}

.quote-wrapper {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
  padding: var(--spacing-lg);
  border: 1px solid var(--color-neutral-border);
}

@media (min-width: 768px) {
  .quote-wrapper {
    padding: var(--spacing-xl);
  }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}

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

.form-col-full {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  font-size: 0.88rem;
}

.form-group label span {
  color: #ef4444;
}

.form-control {
  padding: 14px 16px;
  border: 1px solid var(--color-neutral-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(213, 148, 82, 0.15);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Custom File Upload */
.file-upload-wrapper {
  position: relative;
  width: 100%;
}

.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--color-neutral-border);
  background-color: var(--color-neutral-light);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  cursor: pointer;
  transition: var(--transition-normal);
  text-align: center;
}

.file-upload-label:hover {
  border-color: var(--color-accent);
  background-color: var(--color-accent-light);
}

.file-upload-icon {
  font-size: 2rem;
  margin-bottom: var(--spacing-xs);
  color: var(--color-neutral-gray);
}

.file-upload-text {
  font-size: 0.88rem;
  color: var(--color-neutral-gray);
}

.file-upload-text span {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: underline;
}

.file-upload-input {
  display: none;
}

.uploaded-file-info {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background-color: var(--color-accent-light);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  margin-top: 10px;
}

.uploaded-file-name {
  font-weight: 500;
  color: var(--color-accent-dark);
}

.btn-remove-file {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-size: 1.1rem;
}

/* Footer styling */
footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--spacing-xl) 0 var(--spacing-md);
  font-size: 0.95rem;
}

footer h2, footer h3, footer h4 {
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

@media (min-width: 576px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.footer-desc {
  color: var(--color-neutral-gray);
  margin-bottom: var(--spacing-md);
  max-width: 320px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--color-neutral-gray);
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: var(--spacing-sm);
  color: var(--color-neutral-gray);
}

.footer-contact-item i {
  color: var(--color-accent);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-md);
  margin-top: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  align-items: center;
  justify-content: space-between;
  color: var(--color-neutral-gray);
  font-size: 0.88rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.social-links {
  display: flex;
  gap: var(--spacing-sm);
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary-light);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

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

/* Floating Actions */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--color-whatsapp);
  color: var(--color-white);
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  z-index: 999;
  transition: var(--transition-normal);
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(8deg);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-primary);
  cursor: pointer;
  outline: none;
}

@media (max-width: 1023px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--spacing-lg) 20px;
    gap: var(--spacing-sm);
    transition: var(--transition-normal);
    overflow-y: auto;
    border-top: 1px solid var(--color-neutral-border);
    box-sizing: border-box;
  }
  .nav-links.active {
    left: 0;
  }
  .nav-item {
    width: 100%;
  }
  .nav-item > a {
    display: block;
    padding: 12px 15px;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--color-neutral-border);
    box-sizing: border-box;
  }
  .dropdown-menu {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    border: none;
    display: none;
    padding: var(--spacing-xs) 0 var(--spacing-xs) var(--spacing-md);
  }
  .nav-item.active-submenu .dropdown-menu {
    display: flex;
  }
}

/* Inner Page Hero/Header */
.page-hero {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  background-image: radial-gradient(circle at 10% 20%, rgba(213, 148, 82, 0.15) 0%, rgba(18, 24, 36, 0) 40%);
}

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: var(--spacing-xs);
}

.page-hero h1 span {
  color: var(--color-accent);
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--color-neutral-gray);
  margin-top: var(--spacing-sm);
}

.breadcrumbs a {
  color: #94a3b8;
}

.breadcrumbs a:hover {
  color: var(--color-accent);
}

.breadcrumbs span::before {
  content: '/';
  margin-right: 8px;
  color: #64748b;
}

/* Landing Pages - Text Content Layout */
.content-section {
  padding: var(--spacing-xl) 0;
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.content-wrapper h2 {
  margin: var(--spacing-lg) 0 var(--spacing-sm);
}

.content-wrapper h3 {
  margin: var(--spacing-md) 0 var(--spacing-xs);
}

.content-wrapper p {
  font-size: 1.05rem;
  color: #334155;
  margin-bottom: var(--spacing-md);
}

.content-wrapper ul {
  list-style: disc;
  padding-left: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.content-wrapper li {
  margin-bottom: var(--spacing-xs);
  font-size: 1rem;
  color: #334155;
}

/* Key Features Grid */
.feature-list-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
  margin: var(--spacing-lg) 0;
}

@media (min-width: 576px) {
  .feature-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-list-item {
  display: flex;
  gap: 12px;
  background-color: var(--color-neutral-light);
  padding: var(--spacing-sm);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-neutral-border);
}

.feature-list-icon {
  color: var(--color-accent);
  font-size: 1.25rem;
  margin-top: 2px;
}

.feature-list-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.feature-list-desc {
  font-size: 0.88rem;
  color: var(--color-neutral-gray);
}

/* Process Section */
.process-step {
  text-align: center;
  position: relative;
}

.process-step-number {
  width: 50px;
  height: 50px;
  background-color: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-headers);
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: var(--radius-full);
  margin: 0 auto var(--spacing-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Premium Image Card Layout */
.card.image-card {
  padding: 0 !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

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

.card-content-block {
  padding: var(--spacing-md) var(--spacing-lg) var(--spacing-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Premium WhatsApp Chat Widget */
.whatsapp-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  font-family: var(--font-headers);
}

.whatsapp-button {
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: var(--color-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: var(--transition-normal);
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-popup {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 320px;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-neutral-border);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition-normal);
}

.whatsapp-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.whatsapp-popup-header {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.whatsapp-popup-avatar {
  width: 45px;
  height: 45px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-accent);
  background-color: var(--color-white);
  padding: 2px;
}

.whatsapp-popup-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.whatsapp-popup-subtitle {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* Materials Showcase */

/* ===== WhatsApp Widget (actual classes) ===== */
.whatsapp-widget-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  font-family: var(--font-headers);
}

.whatsapp-widget-btn {
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-widget-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-widget-popup {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 320px;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  display: none;
}

.whatsapp-widget-popup.active {
  display: block;
  animation: waFadeIn 0.3s ease;
}

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

.wa-popup-header {
  background-color: var(--color-primary);
  color: #fff;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
}

.wa-header-info h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.wa-header-info span {
  font-size: 0.75rem;
  color: #94a3b8;
}

.wa-popup-body {
  padding: 16px;
  background-color: #e5ddd5;
}

.wa-popup-body p {
  background-color: #fff;
  padding: 10px 14px;
  border-radius: 0 8px 8px 8px;
  margin-bottom: 8px;
  font-size: 0.88rem;
  color: #333;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.wa-popup-footer {
  padding: 12px 16px;
}

.wa-chat-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background-color: #25d366;
  color: #fff;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: background-color 0.3s ease;
}

.wa-chat-btn:hover {
  background-color: #20bd5a;
}

.materials-showcase {
  background-color: var(--color-white);
  padding: var(--spacing-xl) 0;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.material-item-box {
  background-color: var(--color-neutral-light);
  border: 1px solid var(--color-neutral-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  text-align: center;
  transition: var(--transition-normal);
}

.material-item-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.material-item-icon {
  font-size: 2.2rem;
  color: var(--color-accent);
  margin-bottom: var(--spacing-sm);
}

/* Certifications Row */
.certifications-section {
  background-color: var(--color-primary);
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.certs-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.cert-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #94a3b8;
  transition: var(--transition-normal);
  flex: 1 1 150px;
  max-width: 200px;
  text-align: center;
}

.cert-badge i {
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.cert-badge span {
  font-weight: 500;
  font-size: 0.88rem;
}

.cert-badge:hover {
  color: var(--color-white);
  transform: scale(1.05);
}

/* FAQ Accordions */
.faq-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--color-white);
}

.faq-wrapper {
  max-width: 800px;
  margin: var(--spacing-xl) auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--color-neutral-border);
  padding: 16px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-primary);
  cursor: pointer;
  padding: 8px 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: var(--color-neutral-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-top: 12px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-question i {
  transition: transform 0.3s ease;
  font-size: 0.9rem;
}

/* Google Translate Widget Custom Styling */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner,
.goog-te-balloon-frame {
  display: none !important;
}

body {
  top: 0px !important;
}

.goog-te-gadget {
  font-family: var(--font-headers) !important;
  font-size: 0.75rem !important;
  color: #94a3b8 !important;
}

.goog-te-gadget .goog-te-combo {
  background-color: #1e293b !important;
  color: #e2e8f0 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 4px 8px !important;
  border-radius: var(--radius-sm) !important;
  font-size: 0.75rem !important;
  outline: none !important;
  cursor: pointer !important;
  font-family: var(--font-headers) !important;
  vertical-align: middle !important;
}

.goog-te-gadget .goog-te-combo option {
  background-color: #0f172a !important;
  color: #e2e8f0 !important;
}

.goog-logo-link {
  display: none !important;
}

.goog-te-gadget span {
  display: none !important;
}

#google_translate_element {
  display: inline-block;
  vertical-align: middle;
}

/* Custom Language Dropdown */
.custom-lang-dropdown {
  position: relative;
  display: inline-block;
}

.lang-dropbtn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.lang-dropbtn:hover {
  color: var(--color-accent);
  background-color: rgba(255, 255, 255, 0.05);
}

.lang-dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background-color: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 130px;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  border-radius: var(--radius-md);
  margin-top: 8px;
  padding: 6px 0;
}

.lang-dropdown-content::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

.lang-dropdown-content a {
  color: #e2e8f0 !important;
  padding: 8px 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: var(--transition-fast);
  text-align: left;
}

.lang-dropdown-content a:hover {
  background-color: #1e293b;
  color: var(--color-accent) !important;
}

.custom-lang-dropdown:hover .lang-dropdown-content {
  display: block;
}

/* Product Gallery */
.product-gallery {
  background-color: #0f172a;
  padding: 60px 20px;
}

.product-gallery h2 {
  text-align: center;
  color: #d59452;
  margin-bottom: 30px;
}

.product-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

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

@media (max-width: 640px) {
  .product-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #334155;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.product-gallery-grid img:hover {
  transform: scale(1.05);
  border-color: #d59452;
  box-shadow: 0 0 15px rgba(213, 148, 82, 0.4);
}

/* Lightbox Overlay */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #ffffff;
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 100000;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 100000;
  padding: 10px;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* ===== Manufacturing Process Timeline ===== */
.mfg-step {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  position: relative;
  padding-left: 10px;
}

.mfg-step::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 60px;
  bottom: -32px;
  width: 2px;
  background: linear-gradient(to bottom, #d59452 0%, #334155 100%);
}

.mfg-step:last-of-type::before {
  display: none;
}

.mfg-step-num {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d59452 0%, #c4823f 100%);
  color: #0f172a;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(213, 148, 82, 0.3);
}

.mfg-step-body {
  flex: 1;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 28px 32px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.mfg-step-body:hover {
  border-color: rgba(213, 148, 82, 0.4);
  box-shadow: 0 4px 20px rgba(213, 148, 82, 0.08);
}

.mfg-step-body h2 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #f8fafc;
}

.mfg-step-body p {
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 10px;
}

.mfg-step-body p:last-child {
  margin-bottom: 0;
}

.mfg-step-body strong {
  color: #e2e8f0;
}

@media (max-width: 640px) {
  .mfg-step {
    flex-direction: column;
    gap: 12px;
    padding-left: 0;
  }
  .mfg-step::before {
    display: none;
  }
  .mfg-step-num {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }
  .mfg-step-body {
    padding: 20px;
  }
  .mfg-step-body h2 {
    font-size: 1.05rem;
  }
}

/* ===== Since 1958 Heritage Badge ===== */
.since-1958 {
  font-family: 'Dancing Script', cursive;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-accent);
  white-space: nowrap;
  letter-spacing: 0.5px;
  margin-right: 8px;
  display: none;
}

@media (min-width: 992px) {
  .since-1958 {
    display: inline-block;
  }
}

.since-1958-hero {
  font-family: 'Dancing Script', cursive;
  font-weight: 700;
  font-style: normal;
  color: var(--color-accent);
  font-size: 1.1em;
  letter-spacing: 0.5px;
}

/* ===== Hero Dual Images ===== */
.hero-dual-images {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ===== Hero Slider ===== */
.hero-slider-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  box-shadow: var(--shadow-premium, 0 20px 40px rgba(0, 0, 0, 0.15));
  background-color: var(--color-primary, #0f172a);
}

.hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.7s ease-in-out, transform 0.7s ease-in-out;
  pointer-events: none;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg, 16px);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 1;
}

.hero-slide-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 5;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.hero-slide-badge i {
  color: var(--color-accent, #38bdf8);
}

.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.6);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  opacity: 0.8;
}

.hero-slider-arrow:hover {
  background: rgba(15, 23, 42, 0.95);
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
  color: var(--color-accent, #38bdf8);
}

.hero-slider-prev {
  left: 12px;
}

.hero-slider-next {
  right: 12px;
}

.hero-slider-dots {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 6;
  display: flex;
  gap: 6px;
  align-items: center;
  background: rgba(15, 23, 42, 0.6);
  padding: 6px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot.active {
  background: var(--color-accent, #38bdf8);
  width: 20px;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .hero-slide-badge {
    bottom: 10px;
    left: 10px;
    font-size: 0.75rem;
    padding: 6px 12px;
  }
  .hero-slider-dots {
    bottom: 10px;
    right: 10px;
    padding: 4px 8px;
  }
  .hero-slider-arrow {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }
}
