@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700&display=swap');

/* --- DESIGN SYSTEM TOKENS --- */
:root {
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Color Palette - Premium Dark & Gold Theme */
  --color-bg-main: #0a0b0d;
  --color-bg-surface: #12141a;
  --color-bg-card: rgba(22, 26, 34, 0.7);
  --color-accent: #d4af37; /* Champagne Gold */
  --color-accent-hover: #f3d065;
  --color-accent-rgb: 212, 175, 55;
  
  --color-text-primary: #f5f5f7;
  --color-text-secondary: #9ea4b0;
  --color-text-muted: #626875;
  
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-shadow: rgba(0, 0, 0, 0.5);

  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  --container-max: 1280px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--color-bg-main);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  background-color: var(--color-bg-main);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

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

/* --- UTILITIES --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 8rem 0;
}

.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  box-shadow: 0 8px 32px 0 var(--glass-shadow);
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-headings);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--color-accent);
  color: #0a0b0d;
  border: 1px solid var(--color-accent);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-accent);
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.btn-outline:hover {
  background-color: rgba(212, 175, 55, 0.05);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

/* --- HEADER & NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background: rgba(10, 11, 13, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.5rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-text-primary);
  transition: var(--transition-fast);
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background-color: var(--color-bg-surface);
  border-left: 1px solid var(--glass-border);
  z-index: 999;
  padding: 8rem 2rem 2rem 2rem;
  transition: var(--transition-smooth);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 2rem;
}

.mobile-nav a {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #030405;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, transparent 20%, var(--color-bg-main) 90%),
              linear-gradient(to bottom, rgba(10,11,13,0.4), var(--color-bg-main));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 1.5rem;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards 0.2s;
}

.hero h1 strong {
  font-weight: 700;
  color: var(--color-accent);
}

.hero p {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  margin-bottom: 2.5rem;
  font-weight: 300;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards 0.4s;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards 0.6s;
}

/* --- SECTION GENERAL STYLE --- */
.section-header {
  max-width: 600px;
  margin: 0 auto 5rem auto;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  font-weight: 300;
}

/* --- FEATURED EFFECTS --- */
.effects-grid {
  display: grid;
  grid-template-cols: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

.effect-card {
  position: relative;
  overflow: hidden;
  height: 480px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  cursor: pointer;
  border: 1px solid var(--glass-border);
}

.effect-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.effect-card:hover img {
  transform: scale(1.08);
}

.effect-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10,11,13,0.1), rgba(10,11,13,0.9));
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
}

.effect-card h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.effect-card p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.effect-card-link {
  color: var(--color-accent);
  font-family: var(--font-headings);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.effect-card-link span {
  transition: transform 0.3s ease;
}

.effect-card:hover .effect-card-link span {
  transform: translateX(5px);
}

/* --- ABOUT SECTION ON HOME --- */
.about-split {
  display: flex;
  align-items: center;
  gap: 5rem;
}

.about-split > div {
  flex: 1;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  padding: 2rem;
  text-align: center;
  border-radius: 8px;
  max-width: 180px;
}

.about-badge span {
  font-family: var(--font-headings);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  display: block;
}

.about-badge p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

/* --- ARCHITECTS BANNER --- */
.architects-banner {
  text-align: center;
  padding: 6rem 2rem;
  border-radius: 16px;
  background-image: linear-gradient(rgba(10, 11, 13, 0.8), rgba(10, 11, 13, 0.8)), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&q=80&w=1200');
  background-size: cover;
  background-position: center;
  border: 1px solid var(--glass-border);
}

.architects-banner h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.architects-banner p {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
  font-weight: 300;
}

/* --- FOOTER --- */
footer {
  background-color: var(--color-bg-surface);
  border-top: 1px solid var(--glass-border);
  padding: 5rem 0 2rem 0;
  color: var(--color-text-secondary);
}

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

.footer-logo {
  grid-column: span 1;
}

.footer-logo .logo {
  margin-bottom: 1.5rem;
}

.footer-logo p {
  font-size: 0.95rem;
  line-height: 1.6;
}

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

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

.footer-col li {
  margin-bottom: 0.8rem;
}

.footer-col a:hover {
  color: var(--color-accent);
}

.footer-contact-info p {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact-info i {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* --- SUBPAGE HERO --- */
.subpage-hero {
  height: 50vh;
  display: flex;
  align-items: center;
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.subpage-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(10,11,13,0.95) 30%, rgba(10,11,13,0.4));
  z-index: 1;
}

.subpage-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.subpage-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.subpage-hero p {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  font-weight: 300;
}

/* --- ABOUT PAGE STYLES --- */
.philosophy-grid {
  display: grid;
  grid-template-cols: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.philosophy-card {
  padding: 3rem;
}

.philosophy-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.philosophy-card p {
  color: var(--color-text-secondary);
  font-weight: 300;
}

.certification-section {
  background-color: var(--color-bg-surface);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.cert-logos {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: 3rem;
}

.cert-logo {
  padding: 2rem;
  text-align: center;
  max-width: 250px;
  flex: 1;
}

.cert-logo h3 {
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.cert-logo p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

/* --- PRODUCTS PAGE STYLES --- */
.catalog-tabs {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: none;
  border: 1px solid var(--glass-border);
  color: var(--color-text-secondary);
  padding: 0.8rem 1.8rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-headings);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.tab-btn.active, .tab-btn:hover {
  background-color: var(--color-accent);
  color: #0a0b0d;
  border-color: var(--color-accent);
}

.products-catalog-grid {
  display: grid;
  grid-template-cols: 1fr;
  gap: 4rem;
}

.product-item {
  display: flex;
  gap: 4rem;
  align-items: center;
  transition: var(--transition-smooth);
}

.product-item.hidden {
  display: none !important;
}

.product-item:nth-child(even) {
  flex-direction: row-reverse;
}

.product-img {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
  height: 400px;
}

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

.product-info {
  flex: 1.2;
}

.product-tag {
  color: var(--color-accent);
  font-family: var(--font-headings);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
  display: block;
}

.product-info h3 {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
}

.product-info p {
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  font-weight: 300;
}

.product-spec {
  display: grid;
  grid-template-cols: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.spec-item {
  border-left: 2px solid var(--color-accent);
  padding-left: 1rem;
}

.spec-item label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  display: block;
}

.spec-item span {
  font-size: 0.95rem;
  color: var(--color-text-primary);
  font-weight: 500;
}

/* --- GALLERY PAGE STYLES --- */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: none;
  border: 1px solid var(--glass-border);
  color: var(--color-text-secondary);
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-headings);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--color-accent);
  color: #0a0b0d;
  border-color: var(--color-accent);
}

.gallery-grid {
  display: grid;
  grid-template-cols: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.gallery-item {
  position: relative;
  height: 350px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  cursor: pointer;
  border: 1px solid var(--glass-border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-item-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(10,11,13,0.9));
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-item-info {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item-info h4 {
  font-size: 1.25rem;
  margin-bottom: 0.2rem;
}

.gallery-item-info p {
  font-size: 0.85rem;
  color: var(--color-accent);
  text-transform: uppercase;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(6, 7, 9, 0.95);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 85%;
}

.lightbox-content img {
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-caption {
  text-align: center;
  margin-top: 1.5rem;
}

.lightbox-caption h4 {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.lightbox-caption p {
  color: var(--color-accent);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--color-text-primary);
  font-size: 2rem;
  cursor: pointer;
}

/* --- CONTACT & FORMS --- */
.contact-grid {
  display: grid;
  grid-template-cols: 1fr 1.5fr;
  gap: 5rem;
}

.contact-details h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.contact-info-block {
  margin-bottom: 2.5rem;
}

.contact-info-block label {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.contact-info-block p {
  font-size: 1.1rem;
  font-weight: 300;
}

.contact-info-block a:hover {
  color: var(--color-accent);
}

.contact-form {
  padding: 4rem;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-bottom: 0.6rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  padding: 1rem;
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  background: rgba(255,255,255,0.05);
}

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

.form-feedback {
  margin-top: 1rem;
  font-size: 0.9rem;
  display: none;
}

.form-feedback.success {
  color: #4cd137;
  display: block;
}

.form-feedback.error {
  color: #e84118;
  display: block;
}

/* Map area */
.map-container {
  height: 450px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  margin-top: 5rem;
  border: 1px solid var(--glass-border);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(0.9) contrast(1.2);
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .about-split {
    flex-direction: column;
    gap: 3rem;
  }
  
  .contact-grid {
    grid-template-cols: 1fr;
    gap: 3rem;
  }
  
  .product-item {
    flex-direction: column !important;
    gap: 2rem;
  }
  
  .product-img {
    width: 100%;
    height: 300px;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 576px) {
  .section-padding {
    padding: 5rem 0;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
    padding: 0 2rem;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}
