/*
 * Modern Enhancements for Appointment Theme
 * Subtle modernization while preserving the original theme
 */

/* Enhanced Logo Styling */
.site-logo {
    max-height: 120px;
    width: auto;
    height: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar-brand.custom-logo-link {
    padding: 10px 0;
    display: inline-block;
}

.navbar-brand.custom-logo-link:hover .site-logo {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Modern Navigation Improvements */
.navbar {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.navbar-default {
    border: none;
}

.navbar .navbar-nav > li > a {
    transition: all 0.3s ease;
    font-weight: 500;
}

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

/* Modern Card Shadows for Content */
.blog-area,
.service-area,
.blog-lg-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Improved Button Styling */
.blog-btn-sm,
.slider-btn-sm,
.slide-btn-sm,
a.more-link,
.wpcf7-submit,
.form-submit input[type="submit"] {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.blog-btn-sm:hover,
.slider-btn-sm:hover,
.slide-btn-sm:hover,
a.more-link:hover,
.wpcf7-submit:hover,
.form-submit input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Modern Carousel/Slider Improvements */
.carousel-fade .item {
    transition: opacity 1s ease-in-out;
}

.carou-direction-nav a {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.carou-direction-nav a:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/* Enhanced Typography */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Modern Focus States */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid rgba(0, 123, 255, 0.5);
    outline-offset: 2px;
}

/* Improved Page Title Section */
.page-title-section {
    position: relative;
    overflow: hidden;
}

.page-title-section .overlay {
    transition: background-color 0.3s ease;
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .site-logo {
        max-height: 80px;
    }

    .navbar-brand.custom-logo-link {
        padding: 8px 0;
    }
}

/* Subtle Animation for Page Load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-area,
.service-area {
    animation: fadeInUp 0.6s ease-out;
}

/* Modern Image Styling */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}
