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

:root {
  --snow-white: #FFFFFF;
  --frosted-slate: #F8FAFC;
  --silver-grey: #E2E8F0;
  --charcoal: #1E293B;
  --coal-black: #0F172A;
  --text-muted: #64748B;
  --frosted-border: rgba(226, 232, 240, 0.8);
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-blur: blur(12px);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font-inter);
  background-color: var(--snow-white);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--frosted-slate);
}
::-webkit-scrollbar-thumb {
  background: var(--silver-grey);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--charcoal);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--frosted-border);
  transition: var(--transition-smooth);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coal-black);
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--charcoal);
  text-decoration: none;
  transition: var(--transition-smooth);
  position: relative;
  padding-bottom: 0.25rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--coal-black);
  transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--charcoal);
  margin: 4px 0;
  transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 4rem;
  background-color: var(--frosted-slate);
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.hero-tagline {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.15;
  color: var(--coal-black);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.hero-title span {
  font-weight: 600;
  display: block;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 480px;
  font-weight: 400;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-decoration: none;
  transition: var(--transition-smooth);
  border-radius: 0;
}

.btn-primary {
  background-color: var(--coal-black);
  color: var(--snow-white);
  border: 1px solid var(--coal-black);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--coal-black);
}

.btn-secondary {
  background-color: transparent;
  color: var(--charcoal);
  border: 1px solid var(--silver-grey);
}

.btn-secondary:hover {
  border-color: var(--charcoal);
  background-color: rgba(30, 41, 59, 0.03);
}

.hero-image-wrapper {
  position: relative;
  height: 550px;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-wrapper:hover img {
  transform: scale(1.03);
}

/* Feature Section */
.section {
  padding: 8rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 4rem;
  max-width: 600px;
}

.section-subtitle {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 300;
  color: var(--coal-black);
  letter-spacing: -0.01em;
}

.section-title span {
  font-weight: 600;
}

/* Grid Layouts */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.feature-card {
  background: var(--snow-white);
  padding: 3rem 2rem;
  border: 1px solid var(--silver-grey);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  border-color: var(--charcoal);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.02);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--charcoal);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--coal-black);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* About Architectural Intro */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-intro-image {
  height: 600px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.03);
}

.about-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-intro-text h3 {
  font-size: 1.75rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  color: var(--coal-black);
}

.about-intro-text p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* Testimonials */
.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--frosted-slate);
  padding: 3rem 2.5rem;
  border: 1px solid var(--silver-grey);
  position: relative;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--charcoal);
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--coal-black);
}

.testimonial-role {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.25rem;
}

/* Products and Category Filter */
.filter-container {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: none;
  border: none;
  font-family: var(--font-inter);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: var(--transition-smooth);
  border-bottom: 2px solid transparent;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--coal-black);
  border-color: var(--coal-black);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  transition: var(--transition-smooth);
}

.product-card {
  position: relative;
  background: var(--snow-white);
  border: 1px solid var(--silver-grey);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--charcoal);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.03);
}

.product-image-container {
  height: 350px;
  overflow: hidden;
  position: relative;
  background: var(--frosted-slate);
}

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

.product-card:hover .product-image-container img {
  transform: scale(1.05);
}

.product-info {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.product-details h4 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--coal-black);
  margin-bottom: 0.25rem;
}

.product-details p {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-price {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--coal-black);
}

/* Contact Page Form (Floating labels) */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info-panel {
  padding-right: 2rem;
}

.contact-info-panel h3 {
  font-size: 1.75rem;
  font-weight: 300;
  margin-bottom: 2rem;
  color: var(--coal-black);
}

.contact-detail-item {
  margin-bottom: 2rem;
}

.contact-detail-item label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.5rem;
}

.contact-detail-item p {
  font-size: 1.1rem;
  color: var(--coal-black);
}

.contact-form-container {
  background: var(--frosted-slate);
  padding: 4rem 3rem;
  border: 1px solid var(--silver-grey);
}

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

.form-input {
  width: 100%;
  padding: 0.75rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--silver-grey);
  font-family: var(--font-inter);
  font-size: 0.95rem;
  color: var(--coal-black);
  outline: none;
  transition: var(--transition-smooth);
}

.form-input:focus {
  border-color: var(--coal-black);
}

.form-label {
  position: absolute;
  left: 0;
  top: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--transition-smooth);
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  top: -1rem;
  font-size: 0.75rem;
  color: var(--coal-black);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.form-group textarea {
  resize: none;
  height: 120px;
}

/* Minimal Custom Map Placeholder */
.map-container {
  margin-top: 4rem;
  height: 350px;
  border: 1px solid var(--silver-grey);
  position: relative;
  background-color: var(--frosted-slate);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.map-bg-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  background-image: 
    radial-gradient(var(--charcoal) 1px, transparent 1px),
    linear-gradient(rgba(30, 41, 59, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 41, 59, 0.1) 1px, transparent 1px);
  background-size: 20px 20px, 40px 40px, 40px 40px;
}

.map-marker {
  position: relative;
  z-index: 1;
  text-align: center;
}

.marker-point {
  width: 12px;
  height: 12px;
  background-color: var(--coal-black);
  border-radius: 50%;
  margin: 0 auto 0.75rem;
  position: relative;
}

.marker-point::after {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  width: 24px;
  height: 24px;
  border: 1px solid var(--coal-black);
  border-radius: 50%;
  animation: pulse 2s infinite ease-out;
}

.marker-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--coal-black);
}

@keyframes pulse {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Legal Pages */
.legal-container {
  max-width: 800px;
  margin: 8rem auto 4rem;
  padding: 0 2rem;
}

.legal-title {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--coal-black);
  margin-bottom: 1rem;
}

.legal-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--silver-grey);
  padding-bottom: 1rem;
}

.legal-content h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 2.5rem 0 1rem;
  color: var(--coal-black);
}

.legal-content p {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--charcoal);
  text-align: justify;
}

.legal-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  list-style-type: square;
}

.legal-content li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--charcoal);
}

/* GDPR Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  max-width: 420px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--frosted-border);
  padding: 2rem;
  z-index: 9999;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateY(150%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-title {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--coal-black);
}

.cookie-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cookie-text a {
  color: var(--coal-black);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 1rem;
}

.cookie-actions .btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.75rem;
  flex: 1;
  text-align: center;
}

/* Footer */
footer {
  background-color: var(--frosted-slate);
  border-top: 1px solid var(--silver-grey);
  padding: 5rem 2rem 3rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 4rem;
}

.footer-brand h2 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coal-black);
  margin-bottom: 1.25rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 250px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--coal-black);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

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

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

.footer-bottom {
  max-width: 1200px;
  margin: 4rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--silver-grey);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

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

.footer-legal {
  display: flex;
  gap: 2rem;
}

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

.footer-legal a:hover {
  color: var(--coal-black);
}

/* Animations / Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Grid and Menus */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero {
    padding-top: 7rem;
  }
  .hero-image-wrapper {
    height: 400px;
  }
  .features-grid,
  .products-grid,
  .testimonials-slider {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-intro-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .about-intro-image {
    height: 450px;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--snow-white);
    flex-direction: column;
    padding: 6rem 3rem;
    gap: 2rem;
    box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
    z-index: 999;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .mobile-nav-toggle {
    display: block;
    z-index: 1000;
  }
  
  .mobile-nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }

  .features-grid,
  .products-grid,
  .testimonials-slider {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .section {
    padding: 5rem 1.5rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .cookie-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: 100%;
  }
}
