/* COSMETICSWORLD.NET Main Stylesheet
   Luxury Beauty + Global Trade + Technology Design System
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --color-bg: #FAF8F5;
  --color-bg-card: #FFFFFF;
  --color-bg-subtle: #F4EFEA;
  --color-bg-dark: #121417;

  --color-text-main: #1A1C20;
  --color-text-muted: #667085;
  --color-text-light: #98A2B3;
  --color-text-white: #FFFFFF;

  --color-gold: #C5A880;
  --color-gold-hover: #B3956E;
  --color-gold-light: #F9F5F0;
  --color-gold-border: #E8DCCF;

  --color-accent-dark: #1E2229;
  --color-success: #079455;
  --color-success-bg: #ECFDF3;
  --color-badge-blue: #0BA5EC;
  --color-badge-purple: #7A5AF8;

  --border-light: #EBE5DC;
  --border-card: #ECE6DE;

  --shadow-sm: 0 2px 4px rgba(18, 20, 23, 0.04);
  --shadow-md: 0 10px 24px -4px rgba(18, 20, 23, 0.06), 0 4px 10px -2px rgba(18, 20, 23, 0.03);
  --shadow-lg: 0 20px 36px -4px rgba(18, 20, 23, 0.08), 0 8px 16px -4px rgba(18, 20, 23, 0.04);
  --shadow-gold: 0 8px 24px rgba(197, 168, 128, 0.25);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  --container-max: 1380px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   HEADER & LOGO ALTI MENÜ (USER REQUIREMENT)
   ========================================================================== */

.site-header {
  background: var(--color-bg-card);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

/* 1. Top Utility Bar */
.top-utility-bar {
  background: var(--color-bg-dark);
  color: #D0D5DD;
  font-size: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-utility-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-utility-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.system-ticker {
  color: var(--color-gold);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.system-tagline {
  color: #98A2B3;
}

.top-utility-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.selector-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.selector-group select {
  background: rgba(255, 255, 255, 0.1);
  color: #FFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  font-size: 11px;
  font-family: inherit;
  cursor: pointer;
  outline: none;
}

.top-link {
  color: #D0D5DD;
  font-weight: 500;
}
.top-link:hover {
  color: #FFF;
}

.top-btn-rfq {
  background: var(--color-gold);
  color: #FFF !important;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.top-btn-rfq:hover {
  background: var(--color-gold-hover);
}

/* 2. Brand / Logo Row */
.brand-bar {
  padding: 16px 0 12px;
}

.brand-bar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-wrap {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--color-bg-dark);
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-main span.dot-net {
  color: var(--color-gold);
  font-weight: 900;
}

.logo-sub {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--color-gold);
  margin-top: 3px;
}

/* Global Search in Header */
.header-search-wrap {
  flex: 1;
  max-width: 600px;
}

.header-search-box {
  display: flex;
  align-items: center;
  background: var(--color-bg);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 4px 6px 4px 16px;
  transition: var(--transition);
}

.header-search-box:focus-within {
  border-color: var(--color-gold);
  background: #FFF;
  box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.18);
}

.header-search-select {
  border: none;
  background: transparent;
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: 600;
  padding-right: 12px;
  border-right: 1px solid var(--border-light);
  outline: none;
  cursor: pointer;
}

.header-search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px 12px;
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  color: var(--color-text-main);
}

.header-search-btn {
  background: var(--color-bg-dark);
  color: #FFF;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.header-search-btn:hover {
  background: var(--color-gold);
}

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

.btn-header-cta {
  background: var(--color-gold-light);
  color: var(--color-gold-hover);
  border: 1px solid var(--color-gold-border);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-header-cta:hover {
  background: var(--color-gold);
  color: #FFF;
}

/* 3. LOGO ALTI MENÜ (DESKTOP NAVIGATION - EXACT USER REQUIREMENT) */
.sub-logo-navbar {
  background: #FFF;
  border-top: 1px solid var(--border-light);
}

.sub-logo-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.primary-nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--color-text-main);
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link svg {
  transition: transform 0.2s ease;
}

.nav-item:hover > .nav-link {
  color: var(--color-gold-hover);
  background: var(--color-gold-light);
}

.nav-item:hover > .nav-link svg {
  transform: rotate(180deg);
}

/* Mega Dropdown Menus */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #FFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  min-width: 580px;
  display: none;
  z-index: 1100;
  animation: fadeInDown 0.2s ease-out forwards;
}

.mega-dropdown.wide {
  min-width: 780px;
}

.nav-item:hover .mega-dropdown {
  display: block;
}

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

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

.mega-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.mega-col h4 {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--color-gold);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-light);
}

.mega-col ul li a {
  display: flex;
  flex-direction: column;
  padding: 6px 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text-main);
}

.mega-col ul li a span.desc {
  font-size: 11.5px;
  font-weight: 400;
  color: var(--color-text-muted);
}

.mega-col ul li a:hover {
  color: var(--color-gold-hover);
  transform: translateX(3px);
}

/* Made in Turkiye special nav badge */
.nav-badge-turkiye {
  background: linear-gradient(135deg, #E30A17, #B0000C);
  color: #FFF !important;
  border-radius: var(--radius-pill);
  padding: 6px 14px !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 8px rgba(227, 10, 23, 0.25);
}
.nav-badge-turkiye:hover {
  background: #A0000B !important;
}

/* ==========================================================================
   HAMBURGER MENÜ (MOBILE NAVIGATION - USER REQUIREMENT)
   ========================================================================== */

.mobile-hamburger-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  cursor: pointer;
  color: var(--color-text-main);
  align-items: center;
  justify-content: center;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(18, 20, 23, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-drawer.active {
  display: block;
  opacity: 1;
}

.mobile-drawer-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 320px;
  max-width: 85vw;
  height: 100%;
  background: #FFF;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer.active .mobile-drawer-content {
  transform: translateX(0);
}

.mobile-drawer-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
}

.mobile-close-btn {
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--color-text-muted);
  cursor: pointer;
}

.mobile-nav-list {
  padding: 12px 16px;
}

.mobile-nav-item {
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-trigger {
  width: 100%;
  padding: 14px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-main);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.mobile-submenu {
  display: none;
  padding: 0 0 12px 12px;
}

.mobile-submenu.active {
  display: block;
}

.mobile-submenu li a {
  display: block;
  padding: 8px 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
}
.mobile-submenu li a:hover {
  color: var(--color-gold);
}

/* ==========================================================================
   PAGE HERO & SECTION STYLES
   ========================================================================== */

.hero-section {
  position: relative;
  background: radial-gradient(circle at 80% 20%, #F5EDE4 0%, #FAF8F5 60%);
  padding: 64px 0 54px;
  border-bottom: 1px solid var(--border-light);
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFF;
  border: 1px solid var(--color-gold-border);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-gold-hover);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-bg-dark);
  max-width: 860px;
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 720px;
  line-height: 1.6;
  margin-bottom: 36px;
}

/* Two Worlds Split Cards */
.two-worlds-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.world-card {
  background: #FFF;
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.world-card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.world-card.card-create {
  background: linear-gradient(180deg, #FFFFFF 0%, #FDFBF8 100%);
  border-top: 4px solid var(--color-gold);
}

.world-card.card-export {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FBFA 100%);
  border-top: 4px solid var(--color-success);
}

.world-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card-create .world-card-icon {
  background: var(--color-gold-light);
  color: var(--color-gold-hover);
}

.card-export .world-card-icon {
  background: var(--color-success-bg);
  color: var(--color-success);
}

.world-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--color-bg-dark);
}

.world-card p {
  font-size: 14.5px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
}

.world-card .btn-world {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  width: fit-content;
}

.card-create .btn-world {
  background: var(--color-bg-dark);
  color: #FFF;
}
.card-create .btn-world:hover {
  background: var(--color-gold-hover);
}

.card-export .btn-world {
  background: var(--color-success);
  color: #FFF;
}
.card-export .btn-world:hover {
  background: #057A44;
}

/* 18-Action Matrix "WHAT DO YOU WANT TO DO?" */
.section-actions-matrix {
  padding: 60px 0;
  background: #FFF;
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}

.section-subtitle {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-gold);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  color: var(--color-bg-dark);
  line-height: 1.25;
}

.section-intro {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-top: 10px;
}

.action-matrix-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.action-chip {
  background: var(--color-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.action-chip:hover {
  background: #FFF;
  border-color: var(--color-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.action-chip .chip-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  background: var(--color-gold-light);
  color: var(--color-gold-hover);
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-chip span {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.3;
}

/* ==========================================================================
   CARDS & SHOWCASE
   ========================================================================== */

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

.b2b-card {
  background: #FFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.b2b-card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.b2b-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.score-badge {
  background: var(--color-gold-light);
  color: var(--color-gold-hover);
  border: 1px solid var(--color-gold-border);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.verified-badge {
  background: var(--color-success-bg);
  color: var(--color-success);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.b2b-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-bg-dark);
  margin-bottom: 6px;
}

.b2b-card p.desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.b2b-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 12px;
  color: var(--color-text-muted);
}

.b2b-specs span {
  background: var(--color-bg);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--color-bg-dark);
  color: #98A2B3;
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13.5px;
}

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

.footer-col h5 {
  color: #FFF;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a:hover {
  color: var(--color-gold);
}

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

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1200px) {
  .sub-logo-container {
    overflow-x: auto;
  }
  .action-matrix-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .showcase-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  /* Hide Desktop Sub-Logo Nav, Show Mobile Hamburger */
  .sub-logo-navbar {
    display: none;
  }
  .mobile-hamburger-btn {
    display: flex;
  }
  .header-search-wrap {
    display: none;
  }
  .hero-title {
    font-size: 36px;
  }
  .two-worlds-grid {
    grid-template-columns: 1fr;
  }
  .action-matrix-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 28px;
  }
  .action-matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .showcase-grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .top-utility-bar {
    display: none;
  }
}
