/* SICSA Theme - Custom CSS only (utilities via Tailwind CDN) */

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

body {
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html.dark { color-scheme: dark; }

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

/* Chrome effect */
.platinum-chrome {
  background: linear-gradient(180deg, #e0e2e6 0%, #a2a7ad 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.chrome-button {
  background: linear-gradient(180deg, #ffffff 0%, #c4c7ca 100%);
  color: #2d3134;
  transition: all 0.3s ease;
}
.chrome-button:hover {
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
  filter: brightness(1.1);
}

.btn-metallic {
  background: linear-gradient(180deg, #e0e2e6 0%, #c4c7ca 100%);
  color: #131313;
}

.platinum-gradient {
  background: linear-gradient(180deg, #ffffff 0%, #c4c7ca 100%);
}

.platinum-border {
  border: 1px solid rgba(196, 199, 202, 0.2);
  transition: border-color 0.3s ease;
}
.platinum-border:hover {
  border-color: rgba(196, 199, 202, 0.8) !important;
}

.glass-metal {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  background: rgba(32, 31, 31, 0.6);
  border: 1px solid rgba(224, 226, 230, 0.1);
  transition: border 0.3s ease;
}
.glass-metal:hover {
  border: 1px solid rgba(224, 226, 230, 0.5) !important;
}

.industrial-gradient {
  background: linear-gradient(180deg, #ffffff 0%, #c4c7ca 100%);
}

.desaturated-img {
  filter: grayscale(100%) contrast(120%);
  transition: filter 0.5s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-project:hover .desaturated-img {
  filter: grayscale(40%) contrast(110%);
  transform: scale(1.03);
}

/* Architectural input lines */
.architectural-line { position: relative; }
.architectural-line::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(143, 145, 148, 0.2);
}
.architectural-line:focus-within::after {
  background: #ffffff;
  height: 1.5px;
}

/* Scroll reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}
.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Header nav link */
.header-nav-link { transition: color 0.2s; }

/* Border platinum utility */
.border-platinum { border-color: rgba(224, 226, 230, 0.2); }

/* Form elements */
input, textarea, select {
  background: transparent;
  border: none;
  outline: none;
  color: var(--color-on-surface, #e5e2e1);
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

select option {
  background-color: #131313;
}

/* WP content styling */
.wp-block-image img { max-width: 100%; }

.theme-page-content h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
  line-height: 32px;
  color: #ffffff;
  text-transform: uppercase;
  margin-top: 48px;
  margin-bottom: 16px;
}
.theme-page-content p {
  color: #c5c6ca;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 16px;
}
.theme-page-content ul {
  list-style-type: disc;
  padding-left: 24px;
  color: #c5c6ca;
}
.theme-page-content ul li { margin-bottom: 8px; }

/* Responsive hero */
@media (max-width: 767px) {
  .hero-heading { font-size: 32px !important; line-height: 40px !important; font-weight: 600 !important; }
}

/* Header link sizes */
@media (min-width: 768px) {
  .header-nav-link { font-size: 16px; line-height: 24px; font-weight: 500; }
  .header-btn-link { font-size: 13px; line-height: 18px; font-weight: 500; }
  .footer-text { font-size: 14px; line-height: 20px; font-weight: 500; }
}

/* Custom layout utilities (not in Tailwind default) */
.px-margin-mobile { padding-left: 20px; padding-right: 20px; }
@media (min-width: 768px) {
  .px-margin-desktop { padding-left: 64px; padding-right: 64px; }
  .md\:px-margin-desktop { padding-left: 64px !important; padding-right: 64px !important; }
}
.max-w-container-max { max-width: 1440px; margin-left: auto; margin-right: auto; }
.right-margin-desktop { right: 64px; }
.gap-gutter { gap: 24px; }
.docked { position: sticky; top: 0; }
.full-width { width: 100%; }
