/* Olden Syra Venedig - Design System & Custom CSS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* Color Palette */
  --bg-terrazzo: #F8FAFC;
  --terrazzo-white: #E2E8F0;
  --venetian-red: #991B1B;
  --venetian-red-hover: #7F1D1D;
  --brass: #D4AF37;
  --brass-light: #F3E5AB;
  --brass-dark: #AA820A;
  --slate-dark: #0F172A;
  --slate: #1E293B;
  --slate-light: #334155;
  --slate-muted: #64748B;
  --cream: #FAF9F5;
  --card-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(212, 175, 55, 0.25);
  
  /* Typography */
  --font-serif: 'Lora', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows & Borders */
  --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 35px -10px rgba(15, 23, 42, 0.12);
  --shadow-brass: 0 10px 30px -5px rgba(212, 175, 55, 0.25);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Transition */
  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-terrazzo);
  color: var(--slate);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(var(--brass-light) 1px, transparent 1px),
    radial-gradient(var(--terrazzo-white) 1.5px, transparent 1.5px),
    radial-gradient(rgba(153, 27, 27, 0.15) 1px, transparent 1px);
  background-size: 40px 40px, 60px 60px, 80px 80px;
  background-position: 0 0, 20px 20px, 40px 40px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--slate-dark);
  font-weight: 600;
  line-height: 1.25;
}

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 249, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-fast);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--slate-dark), var(--venetian-red));
  border: 1px solid var(--brass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brass);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--slate-dark);
}

.brand-name span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--brass-dark);
  font-weight: 600;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--brass), var(--venetian-red));
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--venetian-red);
}

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

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--slate-dark);
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.btn-brass {
  background: linear-gradient(135deg, var(--brass), var(--brass-dark));
  color: #FFFFFF;
  border-color: var(--brass-light);
  box-shadow: var(--shadow-brass);
}

.btn-brass:hover {
  background: linear-gradient(135deg, var(--brass-dark), var(--brass));
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(212, 175, 55, 0.4);
}

.btn-venetian {
  background: var(--venetian-red);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(153, 27, 27, 0.3);
}

.btn-venetian:hover {
  background: var(--venetian-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(153, 27, 27, 0.4);
}

.btn-outline {
  border: 1.5px solid var(--brass);
  color: var(--slate-dark);
  background: transparent;
}

.btn-outline:hover {
  background: var(--brass);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--brass);
  border-radius: 50px;
  color: var(--brass-dark);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--slate-dark);
}

.hero-title span {
  color: var(--venetian-red);
  font-style: italic;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--slate-light);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 12px;
  background: linear-gradient(135deg, var(--brass), transparent, var(--venetian-red));
  box-shadow: var(--shadow-lg);
}

.hero-image-inner {
  border-radius: calc(var(--radius-lg) - 6px);
  overflow: hidden;
  position: relative;
}

.hero-image-inner img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

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

.hero-tag-overlay {
  position: absolute;
  bottom: 25px;
  left: 25px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--brass);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  color: #FFFFFF;
}

.hero-tag-overlay h4 {
  color: var(--brass);
  font-size: 1.1rem;
}

.hero-tag-overlay p {
  font-size: 0.85rem;
  color: var(--terrazzo-white);
}

/* Feature Cards / Terrazzo Cards */
.features-section {
  padding: 5rem 0;
  background: var(--cream);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-subtitle {
  font-family: var(--font-sans);
  color: var(--brass-dark);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--brass), var(--venetian-red));
  margin: 0 auto;
  border-radius: 2px;
}

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

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--brass);
  transition: var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
  background: var(--venetian-red);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(212, 175, 55, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--brass-dark);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

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

/* Category Filter & Showcase */
.products-section {
  padding: 6rem 0;
}

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  background: #FFFFFF;
  border: 1px solid var(--terrazzo-white);
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--venetian-red);
  color: #FFFFFF;
  border-color: var(--venetian-red);
  box-shadow: 0 4px 12px rgba(153, 27, 27, 0.25);
}

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

.product-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

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

.product-image-box {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: #F1F5F9;
}

.product-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-image-box img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(15, 23, 42, 0.85);
  color: var(--brass);
  border: 1px solid var(--brass);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.product-content {
  padding: 1.8rem;
}

.product-category {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--brass-dark);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.product-title {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--slate-muted);
  margin-bottom: 1.2rem;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--terrazzo-white);
}

.product-price {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--venetian-red);
}

/* Testimonials */
.testimonials-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--slate-dark), var(--slate));
  color: #FFFFFF;
}

.testimonials-section .section-title {
  color: #FFFFFF;
}

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

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
}

.quote-icon {
  font-size: 2.5rem;
  color: var(--brass);
  line-height: 1;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--terrazzo-white);
  margin-bottom: 1.5rem;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.client-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--brass);
  object-fit: cover;
}

.client-details h4 {
  color: #FFFFFF;
  font-size: 1rem;
}

.client-details p {
  color: var(--brass-light);
  font-size: 0.8rem;
}

/* Contact & Map Section */
.contact-section {
  padding: 6rem 0;
}

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

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

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.info-icon {
  width: 45px;
  height: 45px;
  background: rgba(153, 27, 27, 0.1);
  color: var(--venetian-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.info-text p {
  color: var(--slate-muted);
  font-size: 0.95rem;
}

/* Floating Label Form */
.contact-form {
  background: #FFFFFF;
  border: 1px solid var(--glass-border);
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

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

.form-control {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 1rem;
  border: 1.5px solid var(--terrazzo-white);
  border-radius: var(--radius-sm);
  outline: none;
  background: transparent;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-label {
  position: absolute;
  top: 14px;
  left: 16px;
  color: var(--slate-muted);
  font-size: 0.95rem;
  pointer-events: none;
  transition: var(--transition-fast);
  background: #FFFFFF;
  padding: 0 4px;
}

.form-control:focus ~ .form-label,
.form-control:not(:placeholder-shown) ~ .form-label {
  top: -10px;
  left: 12px;
  font-size: 0.78rem;
  color: var(--brass-dark);
  font-weight: 600;
}

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

.map-container {
  height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  margin-top: 2rem;
  position: relative;
  background: #E2E8F0;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1514896856000-91cb6de818e0?auto=format&fit=crop&w=1000&q=80') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-badge {
  background: rgba(15, 23, 42, 0.9);
  color: var(--brass);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--brass);
  font-family: var(--font-serif);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

/* Legal Pages Styling */
.legal-content-page {
  padding: 5rem 0;
}

.legal-card {
  background: #FFFFFF;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 4rem 3.5rem;
  box-shadow: var(--shadow-md);
}

.legal-card h1 {
  font-size: 2.6rem;
  margin-bottom: 0.5rem;
}

.legal-card .legal-subtitle {
  color: var(--slate-muted);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--terrazzo-white);
}

.legal-card h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: var(--venetian-red);
}

.legal-card p, .legal-card ul {
  font-size: 1rem;
  color: var(--slate-light);
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

.legal-card ul {
  padding-left: 1.5rem;
}

.legal-card li {
  margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
  background: var(--slate-dark);
  color: var(--terrazzo-white);
  padding: 5rem 0 2rem;
  border-top: 3px solid var(--brass);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h3 {
  color: #FFFFFF;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--brass);
}

.footer-about p {
  color: #94A3B8;
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.6;
}

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

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

.footer-links a {
  color: #94A3B8;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--brass);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--slate-light);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #94A3B8;
}

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

.footer-legal-links a:hover {
  color: var(--brass);
}

/* GDPR Cookie Consent Modal */
.cookie-banner {
  position: fixed;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 780px;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(15px);
  border: 1px solid var(--brass);
  border-radius: var(--radius-md);
  padding: 1.8rem 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-banner.show {
  bottom: 25px;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-text h4 {
  color: var(--brass);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.cookie-text p {
  color: var(--terrazzo-white);
  font-size: 0.88rem;
  line-height: 1.5;
}

.cookie-text a {
  color: var(--brass-light);
  text-decoration: underline;
}

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

/* Dynamic Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: all 0.8s ease-out;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-image-inner img {
    height: 400px;
  }
  .features-grid, .products-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 90px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 90px);
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    transition: 0.3s ease;
  }
  .nav-menu.active {
    left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .features-grid, .products-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
