/* ========================================
   Art-Couture Order Page Styles
   ======================================== */

/* CSS Variables */
:root {
  --color-bg: #ffffff;
  --color-bg-light: #f9f9f9;
  --color-bg-dark: #1a1a1a;
  --color-text: #1a1a1a;
  --color-text-light: #666666;
  --color-text-muted: #999999;
  --color-border: #e5e5e5;
  --color-gold: #c9a962;
  
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;
  
  --transition: all 0.3s ease;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   Header
   ======================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

.logo-subtitle {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-text-muted);
}

.logo-icon {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  color: var(--color-text-muted);
}

/* Navigation */
.nav {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-text);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-text);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.icon-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  color: var(--color-text-light);
}

.cart-btn {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  background: var(--color-text);
  color: white;
  font-size: 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-btn {
  display: none;
}

.menu-btn .hidden {
  display: none;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: white;
  border-top: 1px solid var(--color-border);
  padding: 16px 24px;
}

.mobile-menu.open {
  display: block;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
  padding: 8px 0;
}

.mobile-nav-link.active {
  color: var(--color-text);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, #f5f5f5 0%, #ffffff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-content {
  order: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.05);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  color: var(--color-gold);
}

.hero-badge span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 300;
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: 24px;
}

.hero-title-accent {
  font-weight: 500;
}

.hero-text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text-light);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  transition: var(--transition);
}

.btn svg {
  width: 16px;
  height: 16px;
}

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

.btn-primary:hover {
  background: #333;
}

.btn-outline {
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.btn-outline:hover {
  background: rgba(0, 0, 0, 0.02);
}

.btn-full {
  width: 100%;
}

/* Hero Image */
.hero-image {
  order: 2;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-bg {
  position: absolute;
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.2) 0%, rgba(200, 200, 200, 0.2) 100%);
  border-radius: 50%;
  filter: blur(60px);
}

.hero-image img {
  position: relative;
  max-width: 400px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

/* ========================================
   Features Section
   ======================================== */

.features {
  padding: 80px 0;
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.feature {
  text-align: center;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--color-bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.feature:hover .feature-icon {
  background: #f0f0f0;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-text);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 14px;
  color: var(--color-text-light);
}

/* ========================================
   Section Headers
   ======================================== */

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.section-label.light {
  color: rgba(255, 255, 255, 0.5);
}

.section-title {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 300;
  color: var(--color-text);
  margin-bottom: 16px;
}

.section-text {
  font-size: 16px;
  color: var(--color-text-light);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========================================
   Drawings Section
   ======================================== */

.drawings {
  padding: 100px 0;
  background: var(--color-bg-light);
}

.drawings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.drawing-card {
  background: white;
  padding: 16px;
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: var(--transition);
}

.drawing-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.drawing-frame {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: 16px;
  background: 
    linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
  background-size: 20px 20px;
}

.drawing-frame::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  border: 1px solid var(--color-border);
  pointer-events: none;
}

.drawing-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.5s ease;
}

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

.drawing-info {
  text-align: center;
}

.drawing-info h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 4px;
}

.drawing-info p {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* Specs */
.specs {
  background: white;
  padding: 32px;
  border: 1px solid var(--color-border);
  position: relative;
}

.specs::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border: 1px solid var(--color-border);
  pointer-events: none;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
  z-index: 1;
}

.spec-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.spec-title svg {
  width: 20px;
  height: 20px;
  color: var(--color-text-muted);
}

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

.spec-list li {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
}

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

.spec-list li span:first-child {
  color: var(--color-text-light);
}

.spec-list li span:last-child {
  font-weight: 500;
}

/* ========================================
   Process Section
   ======================================== */

.process {
  padding: 100px 0;
  background: white;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.process-step {
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 24px;
  right: -16px;
  width: 32px;
  height: 1px;
  background: var(--color-border);
}

.process-num {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 200;
  color: #f0f0f0;
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ========================================
   Order Section
   ======================================== */

.order {
  padding: 100px 0;
  background: var(--color-bg-dark);
  color: white;
}

.order-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.order-title {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 24px;
}

.order-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 32px;
}

.order-benefits {
  list-style: none;
}

.order-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.check {
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

/* Order Form */
.order-form-wrapper {
  background: white;
  color: var(--color-text);
  padding: 40px;
  border-radius: 4px;
}

.order-form h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 24px;
}

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

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

.form-group label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 14px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-text);
}

.form-group textarea {
  resize: none;
}

.form-file {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  color: var(--color-text-muted);
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 16px;
}

.form-file svg {
  width: 16px;
  height: 16px;
}

/* ========================================
   Gallery Section
   ======================================== */

.gallery {
  padding: 100px 0;
  background: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

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

.gallery-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--color-bg-light);
  padding: 48px;
  transition: transform 0.7s ease;
}

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

.gallery-item p {
  margin-top: 16px;
  font-size: 14px;
  color: var(--color-text-muted);
}

/* ========================================
   FAQ Section
   ======================================== */

.faq {
  padding: 100px 0;
  background: var(--color-bg-light);
}

.faq-wrapper {
  max-width: 720px;
  margin: 0 auto;
}

.faq-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 32px;
  background: white;
  padding: 4px;
  border-radius: 4px;
}

.faq-tab {
  padding: 12px 24px;
  font-size: 14px;
  color: var(--color-text-light);
  background: transparent;
  border-radius: 4px;
  transition: var(--transition);
}

.faq-tab:hover {
  color: var(--color-text);
}

.faq-tab.active {
  background: white;
  color: var(--color-text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.faq-content {
  background: white;
}

.faq-panel {
  display: none;
}

.faq-panel.active {
  display: block;
}

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

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
}

.faq-item p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ========================================
   Footer
   ======================================== */

.footer {
  background: var(--color-bg-dark);
  color: white;
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand .logo-title,
.footer-brand .logo-icon {
  color: white;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.footer-nav h4,
.footer-contacts h4,
.footer-hours h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 20px;
}

.footer-nav ul,
.footer-contacts ul,
.footer-hours ul {
  list-style: none;
}

.footer-nav li,
.footer-contacts li,
.footer-hours li {
  margin-bottom: 12px;
}

.footer-nav a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

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

.footer-contacts li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-contacts svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.footer-hours li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.footer-social:hover svg {
  color: white;
}

/* ========================================
   Lightbox
   ======================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 48px;
}

.lightbox.open {
  display: flex;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(4px);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  color: white;
  font-size: 32px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: var(--transition);
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  background: white;
  padding: 24px;
}

.lightbox-content h4 {
  font-family: var(--font-display);
  font-size: 24px;
  color: white;
  margin-top: 16px;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 44px;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .drawings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-step:not(:last-child)::after {
    display: none;
  }
  
  .order-grid {
    grid-template-columns: 1fr;
  }
  
  .specs-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  
  .menu-btn {
    display: flex;
  }
  
  .hero {
    padding: 120px 0 60px;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .hero-content {
    order: 2;
    text-align: center;
  }
  
  .hero-image {
    order: 1;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-text {
    margin: 0 auto 32px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .drawings-grid {
    grid-template-columns: 1fr;
  }
  
  .process-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .faq-tabs {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .order-form-wrapper {
    padding: 24px;
  }
  
  .lightbox {
    padding: 16px;
  }
}

/* Utility Classes */
.hidden {
  display: none !important;
}
