

:root {
  
  --emerald-deep: #0A3D62; 
  --emerald-light: #2E8B57; 
  --blush-soft: #F8C8DC; 
  --blush-deep: #E8A7C0; 
  --gold-soph: #D4AF37; 
  --gold-light: #FAD5A5; 
  --white-crisp: #FFFFFF; 
  --gray-dark: #2C3E50; 
  --gray-light: #F8F9FA; 

  --font-serif: 'Playfair Display', Georgia, serif; 
  --font-sans: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif; 
  --font-script: 'Great Vibes', cursive; 

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 4rem;

  --shadow-soft: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lux: 0 8px 25px rgba(0, 0, 0, 0.15);
  --shadow-gold: 0 4px 15px rgba(212, 175, 55, 0.2);

  --border-radius: 0.5rem;
  --border-gold: 1px solid var(--gold-soph);

  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.6s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth; 
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-dark);
  background-color: var(--white-crisp);
  overflow-x: hidden; 
}

* {
  opacity: 1 !important;
  visibility: visible !important;
}

[data-aos] {
  opacity: 1 !important;
  visibility: visible !important;
}

.menu-item,
.card,
.content-block,
.portfolio-item,
.hero-section,
.cta-button {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--gray-dark);
}

h1 { font-size: 3.5rem; } 
h2 { font-size: 2.5rem; } 
h3 { font-size: 2rem; }   
h4 { font-size: 1.5rem; } 

p {
  margin-bottom: var(--space-md);
  color: var(--gray-dark);
}

.lead { 
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--emerald-deep);
}

.script-accent { 
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--blush-deep);
}

a {
  color: var(--emerald-deep);
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

a:hover {
  color: var(--gold-soph);
  transform: translateY(-1px); 
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -var(--space-sm);
}

.col {
  padding: 0 var(--space-sm);
  flex: 1;
}

@media (min-width: 768px) {
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; }
  .col-md-3 { flex: 0 0 25%; max-width: 25%; }
}

.section-padding {
  padding: var(--space-xl) 0;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--emerald-light) 0%, var(--blush-soft) 100%); 
  color: var(--white-crisp);
  text-align: center;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="petal" width="10" height="10" patternUnits="userSpaceOnUse"><circle cx="5" cy="5" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23petal)"/></svg>'); 
  opacity: 0.5;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: var(--space-sm);
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-content .lead {
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
  color: var(--white-crisp);
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95); 
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: var(--space-sm) 0;
  transition: background var(--transition-medium);
  box-shadow: var(--shadow-soft);
}

.navbar.scrolled {
  background: var(--white-crisp);
  box-shadow: var(--shadow-lux);
}

.nav-link {
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--gray-dark);
  padding: var(--space-sm) var(--space-md);
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-soph);
}

.nav-link::after { 
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold-soph);
  transition: width var(--transition-fast), left var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
  left: 0;
}

.card {
  background: var(--white-crisp);
  border: none;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  position: relative;
}

.card:hover {
  transform: translateY(-10px) scale(1.02); 
  box-shadow: var(--shadow-gold);
}

.card-img-top {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-img-top {
  transform: scale(1.1); 
}

.card-body {
  padding: var(--space-md);
}

.card-title {
  font-family: var(--font-serif);
  color: var(--emerald-deep);
  margin-bottom: var(--space-sm);
}

.card-text {
  color: var(--gray-dark);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-medium);
}

.portfolio-item:hover {
  box-shadow: var(--shadow-lux);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(10,61,98,0.8) 100%); 
  opacity: 0;
  transition: opacity var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-crisp);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h4 {
  font-size: 1.5rem;
  text-align: center;
  transform: translateY(20px);
  transition: transform var(--transition-fast);
}

.portfolio-item:hover .portfolio-overlay h4 {
  transform: translateY(0);
}

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-sans);
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--border-radius);
  transition: all var(--transition-medium);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald-deep) 0%, var(--emerald-light) 100%);
  color: var(--white-crisp);
  border-color: var(--emerald-deep);
}

.btn-primary:hover {
  background: var(--gold-soph);
  border-color: var(--gold-soph);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-secondary {
  background: transparent;
  color: var(--emerald-deep);
  border-color: var(--emerald-deep);
}

.btn-secondary:hover {
  background: var(--emerald-deep);
  color: var(--white-crisp);
  transform: translateY(-2px);
}

.form-control {
  border: 1px solid var(--gray-light);
  border-radius: var(--border-radius);
  padding: var(--space-sm);
  font-family: var(--font-sans);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  background: rgba(255, 255, 255, 0.8); 
}

.form-control:focus {
  border-color: var(--gold-soph);
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
  outline: none;
}

.form-label {
  font-weight: 500;
  color: var(--emerald-deep);
  margin-bottom: var(--space-xs);
}

.design-tool-canvas {
  border: 2px dashed var(--emerald-light);
  border-radius: var(--border-radius);
  background: linear-gradient(135deg, var(--blush-soft) 0%, var(--white-crisp) 100%);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-deep);
  font-size: 1.2rem;
  transition: border-color var(--transition-fast);
}

.design-tool-canvas:hover,
.design-tool-canvas:focus {
  border-color: var(--gold-soph);
  box-shadow: var(--shadow-gold);
}

.tool-controls {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.tool-option {
  padding: var(--space-sm);
  background: var(--white-crisp);
  border: 1px solid var(--emerald-light);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tool-option:hover,
.tool-option.selected {
  border-color: var(--gold-soph);
  background: var(--gold-light);
  transform: scale(1.05);
}

.testimonial {
  background: linear-gradient(135deg, var(--blush-soft) 0%, var(--white-crisp) 100%);
  padding: var(--space-lg);
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.testimonial::before {
  content: '"';
  font-family: var(--font-script);
  font-size: 4rem;
  color: var(--blush-deep);
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.5;
}

.testimonial p {
  font-style: italic;
  margin-bottom: var(--space-sm);
}

.testimonial-author {
  font-weight: 500;
  color: var(--emerald-deep);
}

.footer {
  background: var(--gray-dark);
  color: var(--white-crisp);
  padding: var(--space-lg) 0;
  text-align: center;
}

.footer a {
  color: var(--gold-light);
}

.footer a:hover {
  color: var(--gold-soph);
}

@keyframes bloom {
  0% { transform: scale(0.8) rotate(-5deg); opacity: 0; }
  50% { transform: scale(1.1) rotate(2deg); }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}

.animate-bloom {
  animation: bloom 0.8s ease-out;
}

.floral-element {
  transition: transform var(--transition-slow), filter var(--transition-slow);
}

.floral-element:hover {
  transform: rotate(5deg) scale(1.05);
  filter: drop-shadow(0 4px 8px rgba(212, 175, 55, 0.3)); 
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white-crisp);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity var(--transition-slow);
}

.preloader.hidden {
  opacity: 0;
  pointer-events: none;
}

.preloader-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid var(--emerald-light);
  border-top: 3px solid var(--gold-soph);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .hero-content h1 { font-size: 3rem; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .navbar { padding: var(--space-xs) 0; }
  .nav-link { padding: var(--space-xs) var(--space-sm); }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-xs); }
  .section-padding { padding: var(--space-md) 0; }
}

*:focus {
  outline: 2px solid var(--gold-soph);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
  background: var(--emerald-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--emerald-deep);
}

[data-aos] {
  transition-property: transform, opacity; 
}

[data-aos].aos-animate {
  opacity: 1 !important;
  transform: translate(0) scale(1); 
}

.hero-section {
  background-attachment: fixed; 
  background-size: cover;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-lg) 0;
}

.hero-section h1 {
  background: linear-gradient(135deg, var(--white-crisp) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  background: linear-gradient(145deg, var(--white-crisp), rgba(248, 200, 220, 0.1)); 
}

.card:hover {
  animation: bloom 0.6s ease-out;
}

.portfolio-overlay {
  background: linear-gradient(135deg, rgba(10, 61, 98, 0.9), rgba(46, 139, 87, 0.7));
}

.portfolio-overlay h4 {
  color: var(--gold-soph);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.portfolio-overlay p {
  color: var(--white-crisp);
  padding: 0 var(--space-md);
  font-style: italic;
}

.philosophy-image {
  transition: transform var(--transition-slow);
}

.philosophy-image:hover {
  transform: scale(1.05);
}

.design-tool-section {
  position: relative;
}

.design-tool-section::after {
  content: '';
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, var(--gold-soph) 0%, transparent 70%);
  opacity: 0.3;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.testimonial {
  position: relative;
  border-left: 4px solid var(--blush-deep);
}

.testimonial::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid var(--blush-soft);
}

.cta-gradient {
  background: linear-gradient(135deg, var(--white-crisp) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#newsletter-form .input-group .form-control {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--emerald-light);
}

#newsletter-form .input-group .form-control:focus {
  border-color: var(--gold-soph);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.footer hr {
  border-color: var(--gold-soph);
  opacity: 0.3;
}

.footer h5 {
  color: var(--gold-soph);
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 80vh;
    background-attachment: scroll; 
  }
  
  .portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .testimonial {
    margin-bottom: var(--space-md);
  }
}

.hero-section#hero {
  background-image: url('images/collections-hero.jpg');
  background-size: cover;
  background-position: center;
}

#cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--gray-dark);
  color: var(--white-crisp);
  padding: 1rem;
  text-align: center;
  z-index: 9999;
  box-shadow: var(--shadow-lux);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-lg) 0;
  line-height: 1.8;
  font-size: 1.05rem;
}

.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--emerald-deep);
  border-bottom: 2px solid var(--gold-soph);
  padding-bottom: var(--space-sm);
  margin: var(--space-xl) 0 var(--space-lg) 0;
  position: relative;
}

.legal-content h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--gold-soph);
}

.legal-content p {
  margin-bottom: var(--space-md);
  text-align: justify;
  color: var(--gray-dark);
}

.legal-content ul, .legal-content ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.legal-content li {
  margin-bottom: var(--space-xs);
  color: var(--gray-dark);
}

.legal-content ul li::marker {
  color: var(--blush-deep);
}

.legal-term {
  font-weight: 600;
  color: var(--gold-soph);
  background: rgba(212, 175, 55, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  border-left: 3px solid var(--gold-soph);
}

.disclaimer-block {
  background: linear-gradient(135deg, rgba(248, 200, 220, 0.1), rgba(255, 255, 255, 0.9));
  border-left: 4px solid var(--blush-deep);
  padding: var(--space-md);
  margin: var(--space-lg) 0;
  border-radius: 0 0.5rem 0.5rem 0;
}

.disclaimer-block h3 {
  color: var(--blush-deep);
  margin-top: 0;
}

@media print {
  .legal-content {
    font-size: 12pt;
    line-height: 1.5;
  }
  
  .legal-content h2 {
    border-bottom: 1px solid #000;
    page-break-after: avoid;
  }
  
  body * {
    visibility: hidden;
  }
  
  .legal-content, .legal-content * {
    visibility: visible;
  }
  
  .legal-content {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .legal-content {
    font-size: 1rem;
    padding: var(--space-md) var(--space-sm);
  }
  
  .legal-content h2 {
    font-size: 1.75rem;
  }
}

