/* CSS Variables for consistent theming */
:root {
    --primary-orange: #ea580c;
    --primary-red: #dc2626;
    --primary-yellow: #f59e0b;
    --primary-green: #059669;
    --primary-blue: #2563eb;
    --primary-teal: #0d9488;
    --gradient-orange-red: linear-gradient(135deg, #ea580c, #dc2626);
    --gradient-amber-orange: linear-gradient(135deg, #fbbf24, #ea580c);
    --gradient-green-emerald: linear-gradient(135deg, #059669, #10b981);
    --gradient-blue-indigo: linear-gradient(135deg, #2563eb, #4f46e5);
    font-family: 'Inter', system-ui, sans-serif;
}

/* Font families */
.font-playfair {
    font-family: 'Playfair Display', serif;
}

/* Background gradients */
.bg-gradient-orange-red {
    background: var(--gradient-orange-red);
}

.bg-gradient-amber-orange {
    background: var(--gradient-amber-orange);
}

/* Text gradients */
.text-gradient-orange-red {
    background: var(--gradient-orange-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hover animations */
.hover-scale {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-scale:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Hero section */
.hero-bg {
    background: linear-gradient(135deg, #fef3c7, #fed7aa, #fecaca);
    min-height: 80vh;
    position: relative;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Product cards */
.product-card {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 1rem;
    position: relative;
    cursor: pointer;
    transition: all 0.5s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    inset: 0;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: end;
    color: white;
    opacity: 0.9;
}

/* Quality section background */
.quality-bg {
    background: linear-gradient(135deg, #fef3c7, #fed7aa, #fecaca);
}

/* Contact section background */
.contact-bg {
    background: linear-gradient(135deg, #ea580c, #dc2626, #ec4899);
    position: relative;
    overflow: hidden;
}

.contact-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
}

/* Floating animations */
.floating-card {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Hero image */
.hero-image {
    aspect-ratio: 1;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    transform: rotate(3deg);
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: rotate(0deg);
}

/* Feature badges */
.feature-badge {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 0.5rem;
    margin-right: 0.5rem;
    display: inline-flex;
}

/* Gradient buttons */
.btn-gradient {
    background: var(--gradient-orange-red);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    box-shadow: 0 10px 25px rgba(234, 88, 12, 0.4);
    transform: translateY(-2px);
    color: white;
}

/* Glass cards */
.glass-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Award cards */
.award-card {
    transition: all 0.3s ease;
}

.award-card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Bounce animation */
@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
        transform: translate3d(0, -30px, 0);
    }
    70% {
        animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
        transform: translate3d(0, -15px, 0);
    }
    90% {
        transform: translate3d(0,-4px,0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-bg {
        min-height: 60vh;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .feature-badge {
        font-size: 0.875rem;
        padding: 0.375rem 0.75rem;
    }
    
    .hero-image {
        transform: rotate(0deg);
    }
    
    .floating-card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin: 0.5rem;
        display: inline-block;
    }
}

/* Form styling */
.form-control:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 0.2rem rgba(234, 88, 12, 0.25);
}

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

/* Success/Error message styling */
.alert-custom {
    border: none;
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    font-weight: 500;
}

.alert-success-custom {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
}

.alert-error-custom {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
}

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

/* Additional utility classes */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.backdrop-blur {
    backdrop-filter: blur(10px);
}

.border-gradient {
    border: 2px solid;
    border-image: var(--gradient-orange-red) 1;
}
