/* Custom CSS for Alpine Roofing LLC */

/* Custom focus styles */
.focus\:ring-alpine-blue:focus {
    --tw-ring-color: #0A529C;
}

.focus\:border-alpine-blue:focus {
    --tw-border-opacity: 1;
    border-color: #0A529C;
}

/* Custom button animations */
.btn-hover-scale {
    transition: transform 0.2s ease-in-out;
}

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

/* Custom gradient backgrounds */
.bg-gradient-alpine {
    background: linear-gradient(135deg, #0A529C 0%, #1e3a8a 100%);
}

/* Custom box shadows */
.shadow-alpine {
    box-shadow: 0 4px 6px -1px rgba(10, 82, 156, 0.1), 0 2px 4px -1px rgba(10, 82, 156, 0.06);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #083f7a;
}

/* Custom form styles */
.form-input {
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-input:focus {
    border-color: #0A529C;
    box-shadow: 0 0 0 3px rgba(10, 82, 156, 0.1);
}

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

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

/* Custom text animations */
.text-animate {
    background: linear-gradient(45deg, #0A529C, #1e3a8a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive utilities */
@media (max-width: 768px) {
    .mobile-padding {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .mobile-text-center {
        text-align: center;
    }
}

/* Custom alert styles */
.alert {
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
}

.alert-success {
    background-color: #f0f9ff;
    border-color: #0ea5e9;
    color: #0c4a6e;
}

.alert-danger {
    background-color: #fef2f2;
    border-color: #f87171;
    color: #991b1b;
}

/* Custom navigation styles */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: #0A529C;
    transition: all 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

/* Custom footer styles */
.footer-link {
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #0A529C;
}

/* Custom gallery styles */
.gallery-item {
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .print-break {
        page-break-before: always;
    }
}
