/* Menu-specific styles that don't have Tailwind equivalents */

/* Button components */
.btn {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn:hover {
  background-color: #8a9063;
}

.btn-secondary {
  background-color: #b8956d;
}

.btn-secondary:hover {
  background-color: #a08659;
}

/* Print Styles */
@page {
  size: A4;
  margin: 0.3in;
}

@media print {
  body {
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
  }
  
  .no-print {
    display: none !important;
  }
}

/* Paper Texture Background */
.menu-container {
  position: relative;
  background: 
    /* Subtle paper fiber texture */
    linear-gradient(0deg, rgba(184, 149, 109, 0.01) 50%, transparent 50%),
    /* Main paper color with slight variations */
    radial-gradient(ellipse at top, #f8f3eb, #f3ebe0),
    /* Base cream color */
    #f5f0e8;
  background-size: 2px 2px, 100% 100%, 100% 100%;
}

.menu-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background-image: url(/assets/comore_pattern.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.08;
  z-index: 1;
  pointer-events: none;
}

.menu-container::after {
  display: none;
}

/* Additional aged paper effects */
.menu-container .aged-spots {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Removed circular gradients - keeping only the container for potential future use */
  background: transparent;
  z-index: 0;
  pointer-events: none;
}

.menu-content {
  position: relative;
  z-index: 2;
}

/* Custom dotted borders for menu items */
.menu-item {
  border-bottom: 1px dotted #8a9063;
}

.menu-item:last-child {
  border-bottom: none;
}

/* Letter spacing for headers */
.section-header {
  letter-spacing: 0.5px;
}

.cafe-title {
  letter-spacing: 1.5px;
}

/* Book page effects */
.book-page-effect {
  /* Subtle inner shadow to create page depth */
  box-shadow: 
    inset 0 0 60px rgba(184, 149, 109, 0.08),
    inset 0 0 30px rgba(138, 144, 99, 0.05);
}

/* Vintage paper texture utility */
.paper-texture {
  background: 
    /* Very subtle grain texture */
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%, rgba(255, 255, 255, 0.05) 100%);
}

/* Menu sections with paper feel */
.menu-section-paper {
  background: 
    /* Subtle paper fiber texture */
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.1) 100%),
    /* Base white with cream tint */
    rgba(255, 255, 255, 0.95);
  box-shadow: 
    /* Subtle page depth */
    0 2px 8px rgba(184, 149, 109, 0.1),
    /* Inner glow for paper effect */
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Light background for menu sections */
.menu-section {
  background: rgba(255, 255, 255, 0.12);
}

/* Additional book page utilities */
.vintage-shadow {
  box-shadow: 
    0 4px 20px rgba(184, 149, 109, 0.15),
    0 1px 3px rgba(138, 144, 99, 0.1);
}

.aged-edges {
  position: relative;
}

.aged-edges::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(45deg, rgba(184, 149, 109, 0.1) 0%, transparent 10%, transparent 90%, rgba(138, 144, 99, 0.1) 100%);
  border-radius: inherit;
  z-index: -1;
}

/* Printable-specific styles */

/* A4 Print Styles - Optimized for full page usage */
@page {
  size: A4;
  margin: 0;
}

/* Printable layout specific styles */
.printable-body {
  width: 210mm;
  height: 297mm;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.printable-container {
  /* Clean paper texture background for printable version */
  background: 
    /* Subtle paper fiber texture */
    linear-gradient(0deg, rgba(184, 149, 109, 0.005) 50%, transparent 50%),
    /* Main paper color */
    radial-gradient(ellipse at top, #f8f3eb, #f3ebe0),
    #f5f0e8;
  background-size: 1px 1px, 100% 100%, 100% 100%;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.printable-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180mm;
  height: 180mm;
  background-image: url(/assets/comore_pattern.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.06;
  z-index: 1;
  pointer-events: none;
}

.printable-container::after {
  display: none;
}

/* Additional aged paper effects for printable */
.printable-aged-spots {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Removed circular gradients - keeping only the container for potential future use */
  background: transparent;
  z-index: 0;
  pointer-events: none;
}

/* Light background for menu sections in printable */
.menu-section {
  background: rgba(255, 255, 255, 0.12);
}


/* Print optimizations */
@media print {
  .printable-body {
    width: 210mm !important;
    height: 297mm !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .printable-container {
    padding: 4mm !important;
    width: 100% !important;
    height: 100% !important;
    min-height: auto !important;
    margin: 0 !important;
  }
  
  .printable-header {
    margin-bottom: 3mm !important;
    padding-bottom: 2mm !important;
  }
  
  .printable-header .flex {
    margin-bottom: 0.25rem !important;
  }
  
  .printable-logo {
    max-width: 140px !important;
  }
  
  .printable-title {
    font-size: 20px !important;
  }
  
  .printable-subtitle {
    font-size: 13px !important;
  }
  
  .printable-grid {
    gap: 6mm !important;
    max-width: 190mm !important;
  }
  
  .printable-column {
    gap: 3mm !important;
  }
  
  .printable-section {
    padding: 3mm !important;
  }
  
  .printable-section-header {
    padding: 1.5mm !important;
    font-size: 13px !important;
  }
  
  .printable-item-name {
    font-size: 11px !important;
  }
  
  .printable-item-price {
    font-size: 11px !important;
  }
  
  .printable-item-description {
    font-size: 8px !important;
  }
  
  .printable-bottom {
    margin-top: 4mm !important;
    margin-bottom: 8mm !important;
    max-width: 190mm !important;
  }
  
  .printable-syrups {
    margin-bottom: 3mm !important;
    padding: 3mm !important;
  }
  
  .printable-syrup-name {
    font-size: 10px !important;
  }
  
  .printable-syrup-price {
    font-size: 10px !important;
  }
  
  .printable-footer {
    font-size: 8px !important;
    margin-top: 6mm !important;
    padding-top: 3mm !important;
  }
  
  .printable-header h1 {
    font-size: 42px !important;
  }
  
  .printable-logo {
    max-width: 100px !important;
  }
  
  .printable-container::before {
    width: 160mm !important;
    height: 160mm !important;
    opacity: 0.04 !important;
  }
  
  /* Additional space optimizations */
  .menu-section {
    margin-bottom: 0 !important;
  }
  
  .space-y-1 > * + * {
    margin-top: 0.125rem !important;
  }
  
  .text-center.mb-4 {
    margin-bottom: 0.75rem !important;
  }
  
  .border-b-2.pb-2 {
    padding-bottom: 0.25rem !important;
  }
  
  .mt-2.px-2 {
    margin-top: 0.25rem !important;
  }
  
  /* Ensure proper spacing between content and footer */
  .menu-content {
    padding-bottom: 8mm !important;
  }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
