
/* Custom Styles for Porch & Petal 🌿🎨 */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* CSS Variables - Centralized Color System */
:root {
    /* Primary Brand Colors - Sage Green #57977a */
    --primary-green: #57977a;
    --green-dark: #3d6b54;
    --green-light: #7ab89a;
    --green-pale: #e8f0ec;
    
    /* Accent Colors - Deep Forest #061f14 */
    --primary-gold: #061f14;
    --gold-light: #0d3d28;
    --gold-pale: #d4e5dc;
    
    /* Neutral/Cream Colors */
    --primary-cream: #faf8f3;
    --cream-dark: #e8e4d9;
    --cream-darker: #d4cfc0;
    
    /* Text Colors */
    --text-light: #ffffff;
    --text-cream: #f5f0e8;
    --text-medium: #5c5c5c;
    --text-dark: #061f14;
    
    /* Shadows */
    --shadow-color: rgba(6, 31, 20, 0.15);
    --shadow-hover: rgba(6, 31, 20, 0.25);
}

/* Base Typography */
.font-serif {
    font-family: 'Playfair Display', serif;
}

.font-sans {
    font-family: 'Inter', sans-serif;
}

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

/* Custom Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

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

::-webkit-scrollbar-track {
    background: var(--primary-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--green-dark);
}

/* Image Hover Effects */
.image-zoom-container {
    overflow: hidden;
}

.image-zoom {
    transition: transform 0.7s ease;
}

.image-zoom-container:hover .image-zoom {
    transform: scale(1.1);
}

/* Button Hover Effects */
.btn-hover-lift {
    transition: all 0.3s ease;
}

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

/* Glass Morphism */
.glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, #57977a 0%, #061f14 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom Selection Color */
::selection {
    background: var(--primary-green);
    color: var(--text-light);
}

/* Form Focus States */
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(96, 193, 150, 0.25);
    border-color: var(--primary-green);
    outline: none;
}

/* Loading Animation */
@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0; }
}

.loading-ring {
    position: relative;
}

.loading-ring::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #57977a;
    animation: pulse-ring 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

/* Mobile Menu Transition */
.mobile-menu {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Card Shadows */
.card-shadow {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.card-shadow:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Filter Button Active State */
.filter-btn.active {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--text-light);
}

.filter-btn:hover:not(.active) {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

/* Art Card Sold Overlay */
.sold-overlay {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
}

/* Price Display */
.price-tag {
    font-family: 'Playfair Display', serif;
    color: var(--primary-gold);
    font-weight: 600;
}

/* Traditional Button Styles */
.btn-primary {
    background-color: var(--primary-green);
    color: var(--text-light);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary-green);
    color: var(--text-light);
}

/* Responsive Typography */
@media (max-width: 640px) {
    h1 { font-size: 2.25rem; line-height: 2.5rem; }
    h2 { font-size: 1.875rem; line-height: 2.25rem; }
}