/* ==========================================
   PRISTINE MOSAIC - MINIMALIST CSS STYLES
   Brand: Elegant Art Investment Consulting
   Style: Minimalist Design
   ========================================== */

/* ==========================================
   CSS RESET & NORMALIZE
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #2c2c2c;
  background-color: #ffffff;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul, ol {
  list-style-position: inside;
}

/* ==========================================
   MINIMALIST COLOR PALETTE
   ========================================== */
:root {
  --primary: #1B3A4B;
  --secondary: #C9A962;
  --accent: #E8DCC4;
  --text-dark: #2c2c2c;
  --text-light: #666666;
  --background: #ffffff;
  --background-light: #fafafa;
  --border: #e5e5e5;
}

/* ==========================================
   TYPOGRAPHY - MINIMALIST STYLE
   ========================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.3;
  color: var(--primary);
  margin-bottom: 20px;
}

h1 {
  font-size: 48px;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 32px;
  letter-spacing: -0.3px;
}

h3 {
  font-size: 24px;
}

h4 {
  font-size: 18px;
}

p {
  margin-bottom: 16px;
  color: var(--text-light);
  line-height: 1.8;
}

/* ==========================================
   CONTAINER & LAYOUT - FLEXBOX ONLY
   ========================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin-bottom: 80px;
  padding: 60px 0;
}

/* ==========================================
   HEADER - MINIMALIST DESIGN
   ========================================== */
header {
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.tagline {
  font-size: 12px;
  color: var(--text-light);
  font-style: italic;
  letter-spacing: 0.5px;
}

.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.main-nav a {
  color: var(--text-dark);
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--secondary);
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.cta-button {
  padding: 12px 28px;
  background-color: var(--primary);
  color: white;
  border-radius: 2px;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: 1px solid var(--primary);
}

.cta-button:hover {
  background-color: transparent;
  color: var(--primary);
}

/* ==========================================
   MOBILE MENU - HAMBURGER NAVIGATION
   ========================================== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  background-color: var(--primary);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  transform: scale(1.05);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background-color: var(--background);
  z-index: 1000;
  padding: 80px 30px 30px;
  transition: right 0.4s ease;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 32px;
  color: var(--text-dark);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav a {
  color: var(--text-dark);
  font-size: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.3s ease;
}

.mobile-nav a:hover {
  color: var(--secondary);
}

/* ==========================================
   HERO SECTION - MINIMALIST STYLE
   ========================================== */
.hero {
  padding: 100px 0 80px;
  background-color: var(--background-light);
  border-bottom: 1px solid var(--border);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 56px;
  margin-bottom: 24px;
  color: var(--primary);
}

.hero-subheadline {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.trust-indicators {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.trust-indicators span {
  font-size: 14px;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

/* ==========================================
   PAGE HERO - MINIMALIST STYLE
   ========================================== */
.page-hero {
  padding: 80px 0 60px;
  background-color: var(--background-light);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: 48px;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
}

/* ==========================================
   BUTTONS - MINIMALIST DESIGN
   ========================================== */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 16px 40px;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

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

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: white;
}

/* ==========================================
   CARDS - FLEXBOX LAYOUTS
   ========================================== */
.card-container,
.value-cards,
.service-grid,
.benefits-grid,
.content-grid,
.stats-grid,
.team-grid,
.resource-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
}

.card,
.value-card,
.service-card,
.benefit-card,
.stat-card,
.team-member,
.resource-card {
  background-color: var(--background);
  border: 1px solid var(--border);
  padding: 32px;
  flex: 1 1 calc(33.333% - 24px);
  min-width: 280px;
  transition: all 0.3s ease;
  position: relative;
}

.card:hover,
.value-card:hover,
.service-card:hover,
.benefit-card:hover,
.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.card h3,
.value-card h3,
.service-card h3,
.benefit-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--primary);
}

.card p,
.value-card p,
.service-card p,
.benefit-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

.service-card .price,
.price {
  font-size: 18px;
  color: var(--secondary);
  font-weight: 600;
  margin-top: 16px;
  display: block;
}

/* ==========================================
   TESTIMONIALS - READABLE DESIGN
   ========================================== */
.testimonials {
  background-color: var(--background-light);
  padding: 80px 0;
}

.testimonial-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.testimonial-card {
  background-color: var(--background);
  border-left: 3px solid var(--secondary);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-card p {
  font-size: 16px;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 0;
}

.testimonial-card .author {
  font-size: 14px;
  color: var(--text-light);
  font-style: normal;
  text-align: right;
}

.stats-bar {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stats-bar span {
  font-size: 14px;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

/* ==========================================
   STATS & NUMBERS - MINIMALIST
   ========================================== */
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-top: 40px;
}

.stat,
.stat-card {
  flex: 1 1 calc(25% - 32px);
  min-width: 200px;
  text-align: center;
  padding: 32px 20px;
  background-color: var(--background);
  border: 1px solid var(--border);
}

.stat .number,
.stat-card .number {
  display: block;
  font-size: 48px;
  font-weight: 300;
  color: var(--secondary);
  margin-bottom: 8px;
  font-family: 'Playfair Display', serif;
}

.stat .label,
.stat-card .label {
  display: block;
  font-size: 14px;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

/* ==========================================
   TEXT-IMAGE SECTIONS - FLEXBOX ALIGNMENT
   ========================================== */
.text-image-section,
.story,
.introduction,
.mission-vision {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  padding: 40px 20px;
}

.mission,
.values {
  flex: 1 1 calc(50% - 40px);
  min-width: 280px;
}

/* ==========================================
   TEAM SECTION
   ========================================== */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 40px;
}

.team-member {
  flex: 1 1 calc(50% - 32px);
  min-width: 280px;
  background-color: var(--background);
  border: 1px solid var(--border);
  padding: 32px;
}

.team-member h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.team-member .role {
  font-size: 14px;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.team-member .email {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 12px;
}

/* ==========================================
   SERVICE DETAILS
   ========================================== */
.service-detail {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

.service-detail .price {
  font-size: 20px;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 20px;
  display: block;
}

.service-detail h3 {
  font-size: 20px;
  margin-top: 32px;
  margin-bottom: 16px;
}

.service-detail ul {
  margin-bottom: 32px;
  padding-left: 20px;
}

.service-detail ul li {
  margin-bottom: 12px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ==========================================
   BENEFITS & FEATURES
   ========================================== */
.benefit-item,
.type-item,
.risk-item,
.feature-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.benefit-item:last-child,
.type-item:last-child,
.risk-item:last-child {
  border-bottom: none;
}

.benefit-item h3,
.type-item h3,
.risk-item h3 {
  font-size: 24px;
  color: var(--primary);
}

.stats,
.risk,
.solution {
  font-size: 14px;
  color: var(--secondary);
  font-weight: 600;
  margin-top: 8px;
  display: block;
}

/* ==========================================
   CASE STUDIES & PORTFOLIO
   ========================================== */
.case-study {
  margin-bottom: 60px;
  padding: 40px;
  background-color: var(--background-light);
  border-left: 4px solid var(--secondary);
}

.case-study h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.case-study h3 {
  font-size: 22px;
  margin-top: 32px;
  margin-bottom: 16px;
}

.case-study .quote {
  font-style: italic;
  font-size: 16px;
  color: var(--text-dark);
  margin-top: 24px;
  padding-left: 24px;
  border-left: 2px solid var(--secondary);
}

.disclaimer {
  font-size: 13px;
  color: var(--text-light);
  font-style: italic;
  margin-top: 16px;
}

/* ==========================================
   CONTACT PAGE
   ========================================== */
.contact-methods,
.booking-cta,
.visit-us,
.team-contacts {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 40px;
}

.contact-item {
  flex: 1 1 calc(33.333% - 32px);
  min-width: 250px;
}

.contact-item h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--primary);
}

.contact-item .note {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 12px;
}

.booking-cta ul {
  margin-top: 24px;
  margin-bottom: 32px;
  padding-left: 20px;
}

.booking-cta ul li {
  margin-bottom: 12px;
  color: var(--text-light);
}

/* ==========================================
   THANK YOU PAGE
   ========================================== */
.thank-you-hero {
  padding: 100px 0 80px;
  text-align: center;
  background-color: var(--background-light);
}

.thank-you-content h1 {
  font-size: 48px;
  margin-bottom: 24px;
  color: var(--primary);
}

.next-steps ol {
  margin-top: 32px;
  padding-left: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.next-steps ol li {
  margin-bottom: 16px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ==========================================
   LEGAL PAGES
   ========================================== */
.legal-page {
  padding: 60px 0;
}

.legal-page h1 {
  font-size: 40px;
  margin-bottom: 16px;
}

.legal-page .updated {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 32px;
}

.legal-page h2 {
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-page ul,
.legal-page ol {
  margin-top: 16px;
  margin-bottom: 24px;
  padding-left: 32px;
}

.legal-page ul li,
.legal-page ol li {
  margin-bottom: 12px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ==========================================
   CTA SECTIONS
   ========================================== */
.cta-section {
  text-align: center;
  padding: 80px 20px;
  background-color: var(--background-light);
  border-top: 1px solid var(--border);
  margin-top: 60px;
}

.cta-section h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 32px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.contact-info {
  font-size: 14px;
  color: var(--text-light);
}

/* ==========================================
   FOOTER - MINIMALIST DESIGN
   ========================================== */
footer {
  background-color: var(--primary);
  color: white;
  padding: 60px 0 20px;
  margin-top: 80px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-column {
  flex: 1 1 calc(25% - 40px);
  min-width: 200px;
}

.footer-column h4 {
  font-size: 16px;
  color: white;
  margin-bottom: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.footer-column p,
.footer-column a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  display: block;
  margin-bottom: 8px;
}

.footer-column a:hover {
  color: var(--secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================
   COOKIE CONSENT BANNER
   ========================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary);
  color: white;
  padding: 24px;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

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

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-text {
  flex: 1 1 400px;
  font-size: 14px;
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 24px;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid white;
  background-color: transparent;
  color: white;
}

.cookie-btn.accept {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: var(--primary);
}

.cookie-btn:hover {
  transform: translateY(-2px);
}

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background-color: white;
  padding: 40px;
  max-width: 600px;
  width: 100%;
  border-radius: 2px;
  max-height: 80vh;
  overflow-y: auto;
}

.cookie-modal h3 {
  font-size: 24px;
  margin-bottom: 24px;
  color: var(--primary);
}

.cookie-category {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.cookie-category:last-child {
  border-bottom: none;
}

.cookie-category h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--primary);
}

.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.cookie-toggle input[type="checkbox"] {
  width: 20px;
  height: 20px;
}

.cookie-modal-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 32px;
}

/* ==========================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ========================================== */
@media (max-width: 768px) {
  /* Typography adjustments */
  h1 {
    font-size: 36px;
  }
  
  h2 {
    font-size: 28px;
  }
  
  h3 {
    font-size: 20px;
  }
  
  .hero h1 {
    font-size: 40px;
  }
  
  /* Hide desktop navigation */
  .main-nav,
  .cta-button {
    display: none;
  }
  
  /* Show mobile menu toggle */
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Header adjustments */
  .header-content {
    justify-content: center;
  }
  
  /* Hero section */
  .hero {
    padding: 60px 0 40px;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  
  .trust-indicators {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  /* Cards and grids */
  .card-container,
  .value-cards,
  .service-grid,
  .benefits-grid,
  .stats-grid,
  .team-grid,
  .resource-grid {
    flex-direction: column;
  }
  
  .card,
  .value-card,
  .service-card,
  .benefit-card,
  .stat,
  .stat-card,
  .team-member,
  .resource-card {
    flex: 1 1 100%;
  }
  
  /* Text-image sections */
  .text-image-section,
  .story,
  .mission-vision {
    flex-direction: column;
  }
  
  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: 32px;
  }
  
  /* Cookie banner */
  .cookie-content {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  /* Contact page */
  .contact-info {
    flex-direction: column;
  }
  
  /* Spacing adjustments */
  .section {
    margin-bottom: 40px;
    padding: 40px 0;
  }
  
  .cta-section {
    padding: 60px 20px;
  }
}

@media (max-width: 480px) {
  /* Further typography adjustments */
  h1 {
    font-size: 28px;
  }
  
  h2 {
    font-size: 24px;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  /* Button adjustments */
  .btn-primary,
  .btn-secondary {
    padding: 14px 28px;
    font-size: 12px;
  }
  
  /* Card padding */
  .card,
  .value-card,
  .service-card,
  .benefit-card {
    padding: 24px;
  }
  
  /* Mobile menu width */
  .mobile-menu {
    width: 100%;
    right: -100%;
  }
  
  .mobile-menu.active {
    right: 0;
  }
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mt-40 {
  margin-top: 40px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-40 {
  margin-bottom: 40px;
}

/* ==========================================
   ANIMATIONS & TRANSITIONS
   ========================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus states for accessibility */
a:focus,
button:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  header,
  footer,
  .mobile-menu-toggle,
  .mobile-menu,
  .cookie-banner {
    display: none;
  }
}