/* Social Mate Events UAE - Premium Modern Design */

:root {
  --primary-dark: #0f2847;
  --primary-darker: #1a3a5c;
  --text-primary: #ffffff;
  --text-secondary: #b0b8c1;
  --accent-coral: #ff6b4a;
  --accent-coral-light: #ff8670;
  --accent-orange: #ff8c3a;
  --neutral-gray: #2d4563;
  --neutral-light: #f8f9fa;
  --border-color: #3a5578;
  --success: #10b981;
  --error: #ef4444;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--primary-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1.25rem;
}

h3 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 1rem;
}

p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

a {
  color: var(--accent-coral);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Containers & Layouts */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

/* Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 20, 25, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(58, 65, 72, 0.3);
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(15, 20, 25, 0.5);
  border-bottom-color: rgba(58, 65, 72, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent-coral), var(--accent-orange));
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.9rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-menu a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--accent-coral);
}

.nav-cta {
  background: var(--accent-coral);
  color: white !important;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: var(--accent-coral-light);
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
}

/* Buttons */
.btn {
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--accent-coral-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 107, 74, 0.3);
}

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

.btn-secondary:hover {
  background: var(--accent-coral);
  color: white;
}

.btn-dark {
  background: var(--neutral-gray);
  color: white;
}

.btn-dark:hover {
  background: var(--border-color);
}

/* Hero Section */
.hero {
  padding: 6rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 107, 74, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 140, 58, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
}

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

.hero-badge {
  display: inline-block;
  background: rgba(255, 107, 74, 0.1);
  border: 1px solid var(--accent-coral);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--accent-coral);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.hero h1 {
  background: linear-gradient(135deg, #ffffff 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

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

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 2rem;
}

/* Sections */
section {
  padding: 5rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Cards */
.card {
  background: var(--neutral-gray);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--accent-coral);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(255, 107, 74, 0.15);
}

.card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  object-fit: cover;
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 2.5rem;
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 600px) {
  .grid-3 {
    grid-template-columns: 1fr !important;
  }
}

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

.grid-3-fixed {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 2rem;
  width: 100%;
  max-width: 100%;
}

.grid-3-fixed .card {
  min-width: 0;
  overflow: hidden;
}

@supports (display: grid) {
  .grid-3-fixed {
    grid-template-columns: 1fr 1fr 1fr !important;
  }
}

@media (max-width: 1200px) {
  .grid-3-fixed {
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 1.5rem;
  }
}

@media (max-width: 900px) {
  .grid-3-fixed {
    grid-template-columns: 1fr 1fr !important;
    gap: 1.5rem;
  }
}

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

  .grid-3-fixed {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.feature-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
}

input, textarea, select {
  width: 100%;
  padding: 0.875rem;
  background: var(--neutral-gray);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent-coral);
  box-shadow: 0 0 0 3px rgba(255, 107, 74, 0.1);
}

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

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

input[type="checkbox"], input[type="radio"] {
  width: auto;
  cursor: pointer;
}

/* Footer */
footer {
  background: var(--primary-darker);
  border-top: 1px solid var(--border-color);
  padding: 3rem 2rem 2rem;
}

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

.footer-section h4 {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: block;
}

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

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--neutral-gray);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--accent-coral);
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.slide-in-left {
  animation: slideInLeft 0.6s ease-out forwards;
}

/* Event Categories */
.event-category {
  display: inline-block;
  background: rgba(255, 107, 74, 0.1);
  border: 1px solid var(--accent-coral);
  color: var(--accent-coral);
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

/* Service Icons */
.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-coral), var(--accent-orange));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
}

.service-icon svg {
  stroke: white;
  color: white;
}

/* Testimonials */
.testimonial {
  background: var(--neutral-gray);
  border-left: 4px solid var(--accent-coral);
  padding: 2rem;
  border-radius: 8px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.testimonial-author {
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-role {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--accent-coral) 0%, var(--accent-orange) 100%);
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 16px;
  margin: 2rem 0;
}

.cta-section h2 {
  color: white;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
}

.cta-section .btn {
  background: white;
  color: var(--accent-coral);
  margin-top: 1.5rem;
}

.cta-section .btn:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-secondary);
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }

.hidden {
  display: none !important;
}

/* Mobile First */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  section {
    padding: 3rem 1.5rem;
  }

  .hero {
    padding: 4rem 1.5rem;
  }

  .container {
    padding: 0 1.5rem;
  }

  nav {
    padding: 1rem 1.5rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .feature-grid {
    gap: 2rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Print Styles */
@media print {
  header, footer {
    display: none;
  }
}
