/* Enhanced Brand Styles for Downtown Lashes */

/* Enhanced Brand Container */
.brand-enhanced {
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
    position: relative;
}

.brand-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(12, 20, 81, 0.15);
}

.brand-enhanced img {
    max-width: 100%;
    height: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Responsive logo sizing */
@media (max-width: 991.98px) {
    .brand-enhanced .brand-logo-dark {
        width: 140px;
        height: auto;
        max-height: 100px;
    }
    .brand-enhanced .brand-logo-light {
        width: 140px;
        height: auto;
        max-height: 36px;
    }
}

@media (max-width: 767.98px) {
    .brand-enhanced .brand-logo-dark {
        width: 120px;
        height: auto;
        max-height: 80px;
    }
    .brand-enhanced .brand-logo-light {
        width: 120px;
        height: auto;
        max-height: 32px;
    }
    .brand-enhanced {
        padding: 6px 8px;
    }
}

@media (max-width: 575.98px) {
    .brand-enhanced .brand-logo-dark {
        width: 100px;
        height: auto;
        max-height: 70px;
    }
    .brand-enhanced .brand-logo-light {
        width: 100px;
        height: auto;
        max-height: 28px;
    }
    .brand-enhanced {
        padding: 4px 6px;
    }
}

/* Logo quality improvements */
.brand-enhanced img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Additional enhancements for better presentation */
.brand-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(254, 155, 142, 0.05) 0%, rgba(12, 20, 81, 0.05) 100%);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.brand-enhanced:hover::before {
    opacity: 1;
}

/* Focus states for accessibility */
.brand-enhanced:focus {
    outline: 2px solid #FE9B8E;
    outline-offset: 2px;
}

/* Animation for logo on page load */
@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.brand-enhanced {
    animation: logoFadeIn 0.6s ease-out;
}

/* Services Page Enhancements */
.box-price-simple {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(12, 20, 81, 0.08);
    padding: 30px 25px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.box-price-simple:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(12, 20, 81, 0.15);
    border-color: #FE9B8E;
}

.box-price-simple-header {
    text-align: center;
    margin-bottom: 20px;
}

.box-price-simple-header h4 {
    color: #0C1451;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.box-price {
    font-size: 36px;
    font-weight: 700;
    color: #FE9B8E;
    margin-bottom: 5px;
}

.box-price-time {
    color: #666;
    font-size: 14px;
    font-style: italic;
}

.box-price-simple-body {
    flex-grow: 1;
    margin-bottom: 25px;
}

.box-price-simple-body p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
}

.box-price-simple-footer {
    text-align: center;
}

/* Service section spacing */
.mb-5 {
    margin-bottom: 3rem !important;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .box-price-simple {
        padding: 25px 20px;
    }
    
    .box-price {
        font-size: 28px;
    }
    
    .box-price-simple-header h4 {
        font-size: 18px;
    }
}

/* Contact Form Enhancements */
.form-wrap {
    position: relative;
    margin-bottom: 25px;
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
    transform: translateY(-20px);
    font-size: 12px;
    color: #FE9B8E;
}

.form-label {
    transition: all 0.3s ease;
    color: #666;
}

.form-input:focus {
    border-color: #FE9B8E;
    box-shadow: 0 0 0 0.2rem rgba(254, 155, 142, 0.25);
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-check-input {
    margin-top: 4px;
    accent-color: #FE9B8E;
}

.form-check-label {
    font-size: 14px;
    line-height: 1.4;
    color: #555;
}

.textarea-lg {
    min-height: 120px;
    resize: vertical;
}

.contacts-wrap p {
    color: #0C1451;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 25px;
}

.contacts-wrap p:first-child {
    margin-top: 0;
}

.phone-link-second a {
    color: #FE9B8E;
    text-decoration: none;
    font-weight: 500;
}

.phone-link-second a:hover {
    color: #0C1451;
    text-decoration: underline;
}

/* Form validation styles */
.form-input.error {
    border-color: #dc3545;
}

.form-input.success {
    border-color: #28a745;
}

/* Success/Error messages */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 8px;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}