/* SGC54 — Casino Consultancy — Professional Dark Theme */

:root {
  --gold: #C9A84C;
  --gold-light: #E8C96A;
  --gold-dark: #A07830;
  --charcoal: #1A1A1A;
  --charcoal-mid: #242424;
  --charcoal-light: #2E2E2E;
  --charcoal-card: #1E1E1E;
  --white: #FFFFFF;
  --off-white: #F5F0E8;
  --text-muted: #888888;
  --text-light: #CCCCCC;
  --border: rgba(201, 168, 76, 0.2);
  --shadow: 0 4px 30px rgba(0,0,0,0.5);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: var(--charcoal);
  color: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.gold { color: var(--gold); }
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(26,26,26,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

nav.scrolled {
  padding: 0.75rem 2rem;
  background: rgba(20,20,20,0.98);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo svg { height: 36px; }

.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
}

.nav-logo-text span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 2px;
  transition: all 0.2s !important;
}

.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--charcoal) !important;
}

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s;
}

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0A0A0A 0%, #1A1500 50%, #0D0D0D 100%);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 60% 40% at 70% 50%, rgba(201,168,76,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 30% 60% at 10% 80%, rgba(201,168,76,0.04) 0%, transparent 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 6rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  background: rgba(201,168,76,0.05);
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 700px;
}

.hero-content h1 em {
  font-style: normal;
  color: var(--gold);
  display: block;
}

.hero-content p {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.btn-primary {
  background: var(--gold);
  color: var(--charcoal);
  padding: 0.875rem 2rem;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--off-white);
  padding: 0.875rem 2rem;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2px;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero-stat h3 {
  font-size: 2rem;
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.hero-stat p {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}

/* ===== SECTION BASE ===== */
section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

section.full-width {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

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

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 1.5rem auto;
}

/* ===== SERVICES ===== */
#services { background: var(--charcoal-mid); max-width: 100%; }
#services > * { max-width: 1200px; margin-left: auto; margin-right: auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.service-card {
  background: var(--charcoal-card);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  border-radius: 4px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.service-card:hover { 
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

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

.service-icon {
  width: 52px; height: 52px;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  background: rgba(201,168,76,0.05);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.service-card.featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--charcoal-card), rgba(201,168,76,0.05));
}

.service-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--charcoal);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}

/* ===== CAD UPLOAD ===== */
#cad-upload { background: var(--charcoal); }

.upload-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}

.upload-info h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.upload-info p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.pricing-table {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.pricing-row:last-child { border-bottom: none; }

.pricing-row:nth-child(odd) { background: rgba(255,255,255,0.02); }

.pricing-row .price {
  color: var(--gold);
  font-weight: 700;
  font-family: 'Inter', sans-serif;
}

.upload-form {
  background: var(--charcoal-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2.5rem;
}

.upload-form h3 {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--white);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--charcoal-light);
  border: 1px solid var(--border);
  color: var(--off-white);
  padding: 0.75rem 1rem;
  border-radius: 2px;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
}

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

.form-group select option { background: var(--charcoal-light); }

.file-drop {
  border: 2px dashed var(--border);
  border-radius: 4px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: rgba(201,168,76,0.02);
}

.file-drop:hover, .file-drop.drag-over {
  border-color: var(--gold);
  background: rgba(201,168,76,0.05);
}

.file-drop-icon { font-size: 2rem; margin-bottom: 0.75rem; }

.file-drop p { 
  font-size: 0.85rem; 
  color: var(--text-muted); 
  margin: 0; 
}

.file-drop strong { color: var(--gold); }

.file-drop input[type="file"] { display: none; }

#file-name {
  font-size: 0.8rem;
  color: var(--gold);
  margin-top: 0.5rem;
  min-height: 1.2em;
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ===== GALLERY ===== */
#gallery { background: var(--charcoal-mid); max-width: 100%; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 16/9;
  cursor: pointer;
}

.gallery-item:first-child {
  grid-column: span 2;
  aspect-ratio: auto;
  min-height: 320px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
  transition: all 0.4s;
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: brightness(1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay p {
  color: var(--off-white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ===== ABOUT ===== */
#about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-card {
  background: var(--charcoal-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.about-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) sepia(0.2);
}

.about-card-stat {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--gold);
  color: var(--charcoal);
  padding: 1.5rem 2rem;
  border-radius: 4px;
  text-align: center;
}

.about-card-stat h3 {
  font-size: 2.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1;
  color: var(--charcoal);
}

.about-card-stat p {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}

.about-content .section-label { text-align: left; }

.about-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.highlight-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.highlight p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin: 0;
}

/* ===== CONTACT ===== */
#contact { background: var(--charcoal-mid); max-width: 100%; }

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.contact-details { list-style: none; }

.contact-details li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.contact-details li:last-child { border-bottom: none; }

.contact-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-form {
  background: var(--charcoal-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2.5rem;
}

.contact-form h3 {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

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

.form-status {
  padding: 0.75rem 1rem;
  border-radius: 2px;
  font-size: 0.875rem;
  margin-top: 1rem;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(201,168,76,0.1);
  border: 1px solid var(--gold);
  color: var(--gold);
}

.form-status.error {
  display: block;
  background: rgba(200,50,50,0.1);
  border: 1px solid #c83232;
  color: #e06060;
}

/* ===== FOOTER ===== */
footer {
  background: #0F0F0F;
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--white);
}

.footer-logo span { color: var(--gold); }

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--charcoal);
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 99;
  }
  .nav-links.open a { font-size: 1.25rem; }
  .upload-container,
  .about-inner,
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  #about { display: block; }
  .about-card-stat { position: static; margin-top: 1rem; display: inline-block; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:first-child { grid-column: span 2; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: span 1; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 2.25rem; }
  .about-highlights { grid-template-columns: 1fr; }
}
