/* ============================================
   RISER SOLUTIONS — Modern Refresh 2026
   ============================================ */

:root {
  --color-bg:        #0f172a;
  --color-bg-alt:    #1e293b;
  --color-bg-card:   #ffffff;
  --color-text:      #334155;
  --color-text-light:#64748b;
  --color-heading:   #0f172a;
  --color-accent:    #2563eb;
  --color-accent-hover: #1d4ed8;
  --color-concrete:  #94a3b8;
  --color-border:    #e2e8f0;
  --color-footer:    #0f172a;
  --radius:          8px;
  --shadow:          0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg:       0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --max-width:       1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: #f8fafc;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-accent-hover); }

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  background: var(--color-bg);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}

.nav-menu a {
  color: #cbd5e1;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius);
  transition: all 0.2s;
  display: block;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: var(--color-bg);
  color: #fff;
  padding: 4rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('website-images/header.jpg') center/cover no-repeat;
  opacity: 0.15;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.125rem;
  color: #94a3b8;
  max-width: 640px;
  margin: 0 auto 2rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255,255,255,0.05);
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.section-subtitle {
  color: var(--color-text-light);
  font-size: 1rem;
  margin-bottom: 2rem;
}

/* ============================================
   CARDS
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--color-bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--color-border);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.card-body {
  padding: 1.25rem;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.5rem;
}

.card-text {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.content-section {
  background: var(--color-bg-card);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
}

.content-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

.content-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-heading);
  margin: 1.5rem 0 0.75rem;
}

.content-section p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.content-section ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.content-section li {
  margin-bottom: 0.5rem;
}

.content-section a {
  font-weight: 600;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 2;
}

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

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  padding: 2rem 1rem 1rem;
  font-weight: 600;
  font-size: 0.9375rem;
}

.gallery-thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.gallery-thumb {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 6 / 5;
  transition: transform 0.2s;
}

.gallery-thumb:hover {
  transform: scale(1.03);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
}

.contact-info h3:first-child {
  margin-top: 0;
}

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

.contact-info a {
  color: var(--color-accent);
  font-weight: 600;
}

/* ============================================
   LINKS PAGE
   ============================================ */
.link-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--color-bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
  margin-bottom: 1rem;
  transition: transform 0.2s;
}

.link-card:hover {
  transform: translateX(4px);
}

.link-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.link-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.link-card p {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* ============================================
   VIDEO EMBEDS
   ============================================ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.video-card {
  background: var(--color-bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-thumb a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #fff;
  font-size: 3rem;
  background: rgba(0,0,0,0.4);
  transition: background 0.2s;
}

.video-thumb a:hover {
  background: rgba(0,0,0,0.6);
  color: #fff;
}

.video-card p {
  padding: 1rem;
  font-size: 0.9375rem;
  color: var(--color-text);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--color-footer);
  color: #94a3b8;
  padding: 2rem 1.5rem;
  margin-top: 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  list-style: none;
}

.footer-nav a {
  color: #94a3b8;
  font-size: 0.875rem;
}

.footer-nav a:hover {
  color: #fff;
}

/* ============================================
   PHOTO GALLERY INTEGRATION (preserving old)
   ============================================ */
.gallery-iframe {
  width: 100%;
  height: 700px;
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    padding: 1rem;
    gap: 0.5rem;
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.open { display: flex; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .hero { padding: 2.5rem 1rem; }
  .main { padding: 2rem 1rem; }
  .content-section { padding: 1.25rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.75rem; }
  .card-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
}
