
/* Custom CSS for Sacred Hands Coffee */

/* Base styles and utilities */
.btn-primary { 
  display:inline-block; padding:0.75rem 1.5rem; background-color:#C6A988; 
  color:white; font-weight:600; border-radius:0.5rem; 
  transition:background-color 0.3s; 
}
.btn-primary:hover { background-color:#8B4513; }

.btn-secondary { 
  display:inline-block; padding:0.75rem 1.5rem; border:2px solid white; color:white; 
  font-weight:600; border-radius:0.5rem; transition:all 0.3s; 
}
.btn-secondary:hover { background-color:white; color:#6F4E37; }

/* Hero section background */
.hero-section {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    
}

/* Mobile menu styles */
.mobile-menu {
    display: none;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #6F4E37;
    margin: 2px 0;
    transition: 0.3s;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Filter buttons */
.filter-btn {
    @apply px-4 py-2 border border-brand-primary text-brand-primary rounded-lg hover:bg-brand-primary hover:text-white transition-colors duration-300;
}

.filter-btn.active {
    @apply bg-brand-primary text-white;
}

/* Product cards */
.product-card {
    @apply bg-white rounded-lg shadow-lg overflow-hidden transform hover:scale-105 transition-transform duration-300;
}

/* Fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Sticky navbar */
.navbar-scrolled {
    @apply bg-white shadow-lg;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #C6A988;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8B4513;
}

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

/* Product grid responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Custom focus styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    ring: 2px;
    ring-color: #C6A988;
    border-color: #C6A988;
}

/* Blog post styles */
.prose {
    line-height: 1.7;
}

.prose h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.prose h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.prose p {
    margin-bottom: 1rem;
}

/* Timeline styles */
.timeline-item {
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: #C6A988;
    transform: translateX(-50%);
}

/* Quote styles */
blockquote {
    border-left: 4px solid #C6A988;
    padding-left: 1rem;
    font-style: italic;
    color: #6F4E37;
}

/* Image hover effects */
.image-hover {
    transition: transform 0.3s ease-out;
}

.image-hover:hover {
    transform: scale(1.05);
}

/* Badge styles */
.badge {
    @apply inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium;
}

.badge-primary {
    @apply bg-brand-primary text-white;
}

.badge-secondary {
    @apply bg-brand-secondary text-white;
}

/* Card hover effects */
.card-hover {
    transition: box-shadow 0.3s ease-out, transform 0.3s ease-out;
}

.card-hover:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Loading spinner */
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #C6A988;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Accessibility improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary { 
  display:inline-block; padding:0.75rem 1.5rem; background-color:#C6A988; 
  color:white; font-weight:600; border-radius:0.5rem; 
  transition:background-color 0.3s; 
}
.btn-primary:hover { background-color:#8B4513; }
    
    .btn-secondary { 
  display:inline-block; padding:0.75rem 1.5rem; border:2px solid white; color:white; 
  font-weight:600; border-radius:0.5rem; transition:all 0.3s; 
}
.btn-secondary:hover { background-color:white; color:#6F4E37; }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .fade-in {
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

