/* ==========================================================================
   GODDAY SARTORIAL - STRUCTURAL COUTURE & 3D GARMENT ENGINEERING
   Custom Architectural Design System for GODDAY SARTORIAL
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0');

:root {
  /* Color Palette - High-Contrast Architectural Obsidian & Electric Platinum Gold */
  --bg-dark: #08080c;
  --bg-surface: #101018;
  --bg-card: rgba(18, 18, 26, 0.9);
  --bg-card-hover: rgba(26, 26, 38, 0.98);
  --bg-glass: rgba(8, 8, 12, 0.92);
  
  --text-main: #fcfcf9;
  --text-secondary: #c2c5d1;
  --text-muted: #7b8094;
  
  --gold-primary: #e5c158;
  --gold-light: #f7e6a1;
  --gold-dark: #b89327;
  --gold-glow: rgba(229, 193, 88, 0.3);
  
  --border-subtle: rgba(229, 193, 88, 0.22);
  --border-bright: rgba(229, 193, 88, 0.6);
  
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 45px rgba(0, 0, 0, 0.7), 0 0 25px var(--gold-glow);
  --glass-backdrop: blur(16px) saturate(180%);
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  display: inline-block;
  vertical-align: middle;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.text-gold { color: var(--gold-primary); }

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--gold-light) 40%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: 0.3s ease;
  padding: 1.25rem 0;
  background: transparent;
}

.site-header.scrolled {
  background: var(--bg-glass);
  backdrop-filter: var(--glass-backdrop);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.85rem 0;
  box-shadow: var(--shadow-sm);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.brand-logo img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--gold-primary);
}

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

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: 0.2s ease;
}

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

.btn-contact-header {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.35rem;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #08080c;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 15px var(--gold-glow);
  transition: 0.25s ease;
}

.btn-contact-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 193, 88, 0.4);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
}

@media (max-width: 991px) {
  .mobile-toggle { display: block; }
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 340px;
    height: 100vh;
    background: var(--bg-surface);
    flex-direction: column;
    justify-content: center;
    gap: 1.75rem;
    padding: 3rem 2rem;
    transition: 0.4s ease;
    border-left: 1px solid var(--border-subtle);
  }
  .nav-menu.open { right: 0; }
}

/* Distinct Hero Section - Architectural Central Spotlight Hero */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 8.5rem;
  padding-bottom: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, #0d0d14 0%, #08080c 100%);
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(229, 193, 88, 0.12);
  border: 1px solid var(--border-bright);
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-sm);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 auto 1.75rem auto;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  max-width: 920px;
  margin: 0 auto 1.5rem auto;
}

@media (min-width: 768px) {
  .hero-title { font-size: 4.25rem; }
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 750px;
  margin: 0 auto 2.5rem auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #08080c;
  box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(229, 193, 88, 0.4);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-subtle);
  color: var(--text-main);
}

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

/* 4-Column Architectural Metric Strip */
.architectural-metrics-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.metric-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  text-align: center;
}

.metric-box h3 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  color: var(--gold-primary);
  margin-bottom: 0.25rem;
}

.metric-box p {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Full-Width Spotlight Showcase Card */
.spotlight-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-bright);
  box-shadow: var(--shadow-lg);
}

.spotlight-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.spotlight-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2.5rem;
  background: linear-gradient(to top, rgba(8, 8, 12, 0.95), transparent);
  text-align: left;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  background: rgba(229, 193, 88, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--gold-primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title { font-size: 3.25rem; }
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.credentials-section {
  padding: 6rem 0;
  background: var(--bg-dark);
}

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

.credential-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 2.25rem;
  transition: 0.3s ease;
}

.credential-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-bright);
}

.credential-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(229, 193, 88, 0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-primary);
  margin-bottom: 1.5rem;
}

.credential-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.credential-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Portfolio Gallery */
.portfolio-section {
  padding: 6rem 0;
  background: var(--bg-surface);
}

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

.portfolio-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  cursor: pointer;
}

.portfolio-item img {
  width: 100%; height: 380px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover img { transform: scale(1.06); }

.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 12, 0.95) 0%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.75rem;
  opacity: 0;
  transition: 0.3s ease;
}

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

.portfolio-category {
  font-size: 0.75rem; font-weight: 700;
  color: var(--gold-primary); text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.portfolio-title {
  font-family: var(--font-heading);
  font-size: 1.5rem; color: #fff;
}

/* Contact Form Section */
.contact-section {
  padding: 6rem 0;
  background: var(--bg-dark);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
}

@media (min-width: 992px) {
  .contact-wrapper { grid-template-columns: 0.9fr 1.1fr; }
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.5rem;
}

.contact-info-list {
  list-style: none; margin-top: 2rem;
}

.contact-info-list li {
  display: flex; align-items: flex-start; gap: 1rem;
  margin-bottom: 1.5rem; color: var(--text-secondary);
}

.contact-info-list .material-symbols-outlined { color: var(--gold-primary); }

.contact-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

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

.form-label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--gold-light); margin-bottom: 0.5rem;
  text-transform: uppercase; letter-spacing: 0.05em;
}

.form-input, .form-select, .form-textarea {
  width: 100%; padding: 0.9rem 1.25rem;
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-body); font-size: 0.95rem;
  transition: 0.25s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 12px var(--gold-glow);
}

.form-textarea { resize: vertical; min-height: 130px; }

.form-status-msg {
  display: none; padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(229, 193, 88, 0.15);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light); margin-top: 1rem;
  font-size: 0.9rem;
}

.form-status-msg.error {
  background: rgba(220, 60, 60, 0.12);
  border-color: #dc3c3c;
  color: #f08080;
}

.form-status-msg.success {
  background: rgba(229, 193, 88, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

/* Modals & Footer */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(8, 8, 12, 0.9);
  backdrop-filter: blur(12px);
  display: none; align-items: center; justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.open { display: flex; }

.modal-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-md);
  max-width: 700px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  padding: 2.5rem; position: relative;
}

.modal-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: none; border: none;
  color: var(--text-muted); font-size: 1.75rem; cursor: pointer;
}

.site-footer {
  padding: 4rem 0 2rem 0;
  background: #050508;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-col h4 {
  font-family: var(--font-heading); font-size: 1.35rem;
  color: var(--gold-light); margin-bottom: 1.25rem;
}

.footer-col p, .footer-col li {
  font-size: 0.9rem; color: var(--text-secondary);
  margin-bottom: 0.75rem; list-style: none;
}

.footer-bottom {
  text-align: center; padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem; color: var(--text-muted);
}
