/*
Theme Name: ERA Dental Lab
Theme URI: https://dentallabera.com
Author: ERA Dental Lab
Author URI: https://dentallabera.com
Description: A luxury, modern theme for ERA Dental Lab - A Digitalized Outsourcing Lab
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: era-dental
*/

/* ===== RESET & BASE ===== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&family=Outfit:wght@200;300;400;500&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background-color: #0a0a0f;
  color: #fafafa;
  font-family: "Cormorant Garamond", Georgia, serif;
  overflow-x: hidden;
  line-height: 1.6;
}

::selection {
  background: #9d6eff;
  color: #0a0a0f;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(10,10,15,0.98) 0%, rgba(10,10,15,0.9) 70%, transparent 100%);
  backdrop-filter: blur(12px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-text {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fafafa;
}

.logo-text span {
  color: #9d6eff;
  font-weight: 500;
}

.logo-tagline {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #666;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  gap: 40px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  list-style: none;
}

.nav-links a {
  color: #888;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #9d6eff;
}

.nav-cta {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0a0a0f;
  background: #9d6eff;
  padding: 12px 24px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: #b794ff;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 60px;
  position: relative;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 70% 40%, rgba(157, 110, 255, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(157, 110, 255, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 100px 100px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #9d6eff;
  padding: 10px 20px;
  border: 1px solid rgba(157, 110, 255, 0.3);
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero-title {
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.hero-title em {
  font-style: italic;
  color: #9d6eff;
}

.hero-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.9;
  color: #888;
  max-width: 560px;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.hero-ctas {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0a0a0f;
  background: #9d6eff;
  padding: 18px 36px;
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
}

.hero-cta-primary:hover {
  background: #b794ff;
  transform: translateY(-2px);
}

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fafafa;
  background: transparent;
  padding: 18px 36px;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.4s ease;
}

.hero-cta-secondary:hover {
  border-color: #9d6eff;
  color: #9d6eff;
}

.hero-stats {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 40px;
  opacity: 0;
  animation: fadeIn 1s ease 1s forwards;
}

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

.stat-value {
  font-size: 48px;
  font-weight: 300;
  color: #9d6eff;
  line-height: 1;
}

.stat-label {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #555;
  margin-top: 8px;
}

/* ===== SECTIONS ===== */
.section {
  padding: 120px 60px;
  position: relative;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 80px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 40px;
}

.section-label {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #9d6eff;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: -1px;
}

.section-title em {
  font-style: italic;
  color: #9d6eff;
}

/* ===== ABOUT SECTION ===== */
.about-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.9;
  color: #999;
}

.about-text p {
  margin-bottom: 24px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
}

.feature-check {
  color: #9d6eff;
  font-size: 14px;
}

.feature-text {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: #bbb;
}

/* ===== PRODUCTS SECTION ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 32px;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #9d6eff;
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

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

.product-card:hover {
  background: rgba(157, 110, 255, 0.05);
  border-color: rgba(157, 110, 255, 0.2);
}

.product-name {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 12px;
  color: #fafafa;
}

.product-description {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: #666;
}

.product-card:hover .product-description {
  color: #888;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, rgba(157, 110, 255, 0.1) 0%, rgba(157, 110, 255, 0.02) 100%);
  border: 1px solid rgba(157, 110, 255, 0.15);
  padding: 80px;
  text-align: center;
  margin: 0 60px;
}

.cta-title {
  font-size: 36px;
  font-weight: 300;
  margin-bottom: 20px;
}

.cta-title em {
  font-style: italic;
  color: #9d6eff;
}

.cta-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: #777;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: linear-gradient(180deg, #0a0a0f 0%, #0d0d14 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
}

.contact-info h3 {
  font-size: 36px;
  font-weight: 300;
  margin-bottom: 24px;
  line-height: 1.3;
}

.contact-info h3 em {
  font-style: italic;
  color: #9d6eff;
}

.contact-info > p {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: #666;
  margin-bottom: 48px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-detail-icon {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(157, 110, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  stroke: #9d6eff;
}

.contact-detail-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-detail-label {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #555;
}

.contact-detail-text {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: #ccc;
}

.contact-detail-text a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-detail-text a:hover {
  color: #9d6eff;
}

.business-hours {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.business-hours-title {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 16px;
}

.business-hours-text {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #888;
  line-height: 1.8;
}

/* ===== CONTACT FORM ===== */
.contact-form {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 48px;
}

.form-title {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 12px;
  display: block;
}

.form-label .required {
  color: #9d6eff;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 16px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: #fafafa;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 300;
  transition: border-color 0.3s ease;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #9d6eff;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #444;
}

.form-select {
  cursor: pointer;
}

.form-select option {
  background: #1a1a24;
  color: #fafafa;
}

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

.form-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 40px;
  background: #9d6eff;
  border: none;
  color: #0a0a0f;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s ease;
  margin-top: 16px;
}

.form-submit:hover {
  background: #b794ff;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 60px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo-text {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.footer-logo-text span {
  color: #9d6eff;
}

.footer-tagline {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 300;
  color: #555;
  letter-spacing: 1px;
}

.footer-text {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: #444;
  letter-spacing: 1px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-stats {
    display: none;
  }
}

@media (max-width: 900px) {
  .nav,
  .section,
  .site-footer {
    padding-left: 30px;
    padding-right: 30px;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid,
  .about-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .cta-section {
    margin: 0 30px;
    padding: 60px 40px;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 20px 24px;
  }
  .nav-links {
    display: none;
  }
  .hero {
    padding: 0 24px;
  }
  .hero-ctas {
    flex-direction: column;
  }
  .hero-cta-primary,
  .hero-cta-secondary {
    width: 100%;
    justify-content: center;
  }
  .cta-buttons {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .about-features {
    grid-template-columns: 1fr;
  }
  .site-footer {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
}
