/* Emmi Nail Landing Page Styles */

/* CSS Variables - Emmi Nail Brand Colors */
:root {
  /* Primary Colors */
  --emmi-red: #E40024;
  --emmi-black: #1A1B17;
  --emmi-white: #FFFEF7;

  /* Secondary Colors */
  --emmi-red-secondary: #AC0021;
  --emmi-beige: #EEE9E1;
  --emmi-grey: #F3F3F3;

  /* Additional Colors */
  --primary-light: #FF6B85;
  --text-secondary: #666666;
  --shadow: rgba(26, 27, 23, 0.1);
  --shadow-dark: rgba(26, 27, 23, 0.2);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Spacing */
  --container-max-width: 1200px;
  --section-padding: 4rem 0;
  --border-radius: 12px;
  --border-radius-large: 24px;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-weight: var(--font-weight-regular);
  color: var(--emmi-black);
  background-color: var(--emmi-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Language Toggle */
.language-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
  display: flex;
  gap: 0.5rem;
  background: var(--emmi-white);
  padding: 0.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px var(--shadow);
}

.lang-btn {
  background: transparent;
  border: 2px solid var(--emmi-red);
  color: var(--emmi-red);
  padding: 0.5rem 1rem;
  border-radius: calc(var(--border-radius) - 4px);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-btn.active,
.lang-btn:hover {
  background: var(--emmi-red);
  color: var(--emmi-white);
}

/* Header */
.header {
  background: var(--emmi-white);
  padding: 1rem 0;
  box-shadow: 0 2px 8px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  text-align: center;
}

.logo-img {
  height: 60px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.logo-text {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: var(--emmi-red);
  text-align: center;
}

.logo-nail {
  color: var(--emmi-black);
}

/* Hero Section */
.hero {
  padding: var(--section-padding);
  background: linear-gradient(135deg, var(--emmi-white) 0%, var(--emmi-beige) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(45deg, transparent 40%, var(--emmi-red));
  opacity: 0.05;
  z-index: 1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3rem;
  font-weight: var(--font-weight-bold);
  color: var(--emmi-black);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.event-details {
  background: var(--emmi-white);
  padding: 1.5rem;
  border-radius: var(--border-radius-large);
  box-shadow: 0 8px 24px var(--shadow);
  margin-bottom: 1.5rem;
}

.event-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--emmi-grey);
}

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

.event-label {
  font-weight: var(--font-weight-medium);
  color: var(--text-secondary);
}

.event-value {
  font-weight: var(--font-weight-semibold);
  color: var(--emmi-black);
}

.event-value.highlight {
  background: var(--emmi-red);
  color: var(--emmi-white);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-size: 1.2rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 90%;
  margin-bottom: 2rem;
}

.hero-cta-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.hero-btn {
  min-width: 180px;
  font-size: 1rem;
  padding: 0.875rem 1.5rem;
}

/* Hero section'daki secondary button için özel stil */
.hero-btn.btn-secondary {
  background: var(--emmi-black);
  color: var(--emmi-white);
  border: 2px solid var(--emmi-black);
}

.hero-btn.btn-secondary:hover {
  background: var(--emmi-red);
  border-color: var(--emmi-red);
  color: var(--emmi-white);
}

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

.hero-nail-art {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: var(--border-radius-large);
  box-shadow: 0 12px 32px var(--shadow-dark);
  object-fit: cover;
}

.hero-placeholder {
  width: 300px;
  height: 300px;
  background: var(--emmi-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emmi-white);
  font-size: 1.2rem;
  font-weight: var(--font-weight-semibold);
  text-align: center;
  box-shadow: 0 12px 32px var(--shadow-dark);
}

/* Products Section */
.products {
  padding: var(--section-padding);
  background: var(--emmi-white);
}

.section-title {
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--emmi-black);
  text-align: center;
  margin-bottom: 3rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-items: center;
}

/* For exactly 6 items, create optimal layout */
@media (min-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
    margin: 0 auto;
  }
}

@media (min-width: 840px) and (max-width: 1199px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
    margin: 0 auto;
  }
}

.product-card {
  background: var(--emmi-white);
  padding: 2rem;
  border-radius: var(--border-radius-large);
  box-shadow: 0 8px 24px var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px var(--shadow-dark);
  border-color: var(--emmi-red);
}

.product-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
}

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

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

.product-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.product-card:hover .product-icon {
  filter: grayscale(0%);
}

.product-title {
  font-size: 1.5rem;
  font-weight: var(--font-weight-semibold);
  color: var(--emmi-black);
  margin-bottom: 1rem;
}

.product-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Social Media Showcase Section */
.social-showcase {
  padding: var(--section-padding);
  background: linear-gradient(135deg, var(--emmi-beige) 0%, var(--emmi-white) 100%);
  position: relative;
}

.social-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.social-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
  justify-items: center;
}

.social-post {
  position: relative;
  border-radius: var(--border-radius-large);
  overflow: hidden;
  box-shadow: 0 8px 24px var(--shadow);
  transition: all 0.3s ease;
  background: var(--emmi-white);
  max-width: 400px;
  width: 100%;
}

.social-post:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px var(--shadow-dark);
}

.social-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.social-post:hover .social-img {
  transform: scale(1.05);
}

.social-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.8);
  color: var(--emmi-white);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  font-weight: var(--font-weight-semibold);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-post:hover .social-overlay {
  opacity: 1;
}

.social-platform {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-cta {
  text-align: center;
  background: var(--emmi-white);
  padding: 2rem;
  border-radius: var(--border-radius-large);
  box-shadow: 0 4px 16px var(--shadow);
}

.social-cta-text {
  font-size: 1.2rem;
  color: var(--emmi-black);
  margin-bottom: 1.5rem;
  font-weight: var(--font-weight-medium);
}

.social-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: var(--font-weight-semibold);
  transition: all 0.3s ease;
  min-width: 160px;
  text-align: center;
}

.facebook-btn {
  background: #1877F2;
  color: var(--emmi-white);
}

.facebook-btn:hover {
  background: #1565C0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

.instagram-btn {
  background: linear-gradient(45deg, #E4405F, #C13584, #833AB4);
  color: var(--emmi-white);
}

.instagram-btn:hover {
  background: linear-gradient(45deg, #D6336C, #B83298, #7B2CBF);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(228, 64, 95, 0.4);
}

/* CTA Section */
.cta {
  padding: var(--section-padding);
  background: linear-gradient(135deg, var(--emmi-red) 0%, var(--emmi-red-secondary) 100%);
  color: var(--emmi-white);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(255, 255, 255, 0.05) 20px,
    rgba(255, 255, 255, 0.05) 40px
  );
  animation: float 20s linear infinite;
}

@keyframes float {
  0% { transform: translateX(-100px) translateY(-100px); }
  100% { transform: translateX(100px) translateY(100px); }
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1.1rem;
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  min-width: 200px;
}

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

.btn-primary:hover {
  background: var(--emmi-beige);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--emmi-white);
  border: 2px solid var(--emmi-white);
}

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

.fair-info {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: var(--border-radius-large);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.fair-details h3 {
  font-size: 1.5rem;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 1rem;
  text-align: center;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
}

.info-label {
  font-weight: var(--font-weight-medium);
  opacity: 0.9;
}

.info-value {
  font-weight: var(--font-weight-semibold);
}

/* Footer */
.footer {
  background: var(--emmi-black);
  color: var(--emmi-white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  height: 50px;
  width: auto;
  max-width: 150px;
  margin-bottom: 1rem;
  object-fit: contain;
}

.footer-title {
  font-size: 1.8rem;
  font-weight: var(--font-weight-bold);
  color: var(--emmi-red);
  margin-bottom: 1rem;
}

.footer-subtitle {
  font-size: 1.2rem;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 1rem;
  color: var(--emmi-white);
}

.footer-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-info p {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--emmi-red);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--text-secondary);
  color: var(--text-secondary);
}

/* Analytics Access Links */
.analytics-links {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(102, 102, 102, 0.2);
  font-size: 0.75rem;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.analytics-links:hover {
  opacity: 1;
}

.analytics-label {
  color: var(--text-secondary);
  font-weight: var(--font-weight-medium);
  margin-right: 0.75rem;
  display: inline-block;
}

.analytics-link {
  color: var(--text-secondary);
  text-decoration: none;
  margin: 0 0.5rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  transition: all 0.3s ease;
  display: inline-block;
  background: rgba(102, 102, 102, 0.1);
}

.analytics-link:hover {
  color: var(--emmi-red);
  background: rgba(228, 0, 36, 0.1);
  transform: translateY(-1px);
}

/* Mobile responsive for analytics links */
@media (max-width: 640px) {
  .analytics-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .analytics-label {
    display: block;
    margin-bottom: 0.5rem;
    margin-right: 0;
  }

  .analytics-link {
    display: inline-block;
    margin: 0.25rem;
    font-size: 0.65rem;
  }
}

/* Responsive Design */
@media (max-width: 968px) {
  :root {
    --section-padding: 3rem 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-nail-art {
    max-width: 300px;
  }

  .hero-cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .hero-btn {
    width: 100%;
    max-width: 280px;
  }

  .hero-placeholder {
    width: 250px;
    height: 250px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    justify-items: center;
  }
}

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .social-gallery {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  .social-buttons {
    flex-direction: column;
    align-items: center;
  }

  .social-btn {
    width: 100%;
    max-width: 250px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .event-details {
    padding: 1rem;
  }

  .hero-nail-art {
    max-width: 250px;
  }

  .hero-placeholder {
    width: 200px;
    height: 200px;
    font-size: 1rem;
  }

  .logo-img {
    height: 50px;
    max-width: 150px;
  }

  .product-image {
    height: 180px;
  }

  .hero-cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .hero-btn {
    width: 100%;
    max-width: 250px;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
  }

  .product-card {
    padding: 1.5rem;
  }

  .language-toggle {
    top: 0.5rem;
    right: 0.5rem;
  }

  .fair-info {
    padding: 1.5rem;
  }

  .social-gallery {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .social-post {
    max-width: 100%;
  }

  .social-cta {
    padding: 1.5rem;
  }
}

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

.hero-content,
.product-card,
.cta-content {
  animation: fadeInUp 0.8s ease-out;
}

.product-card:nth-child(2) {
  animation-delay: 0.2s;
}

.product-card:nth-child(3) {
  animation-delay: 0.4s;
}

.product-card:nth-child(4) {
  animation-delay: 0.6s;
}

.product-card:nth-child(5) {
  animation-delay: 0.8s;
}

.product-card:nth-child(6) {
  animation-delay: 1.0s;
}

/* Focus States for Accessibility */
.lang-btn:focus,
.btn:focus,
.social-link:focus {
  outline: 2px solid var(--emmi-red);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .language-toggle {
    display: none;
  }

  .cta::before {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }
}