/**
 * IzyDent Theme Custom Styles
 *
 * @package IzyDent
 */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --body-font: 'Roboto', sans-serif;
    --heading-font: 'Montserrat', sans-serif;
}

/* General Styles */
body {
    font-family: var(--body-font);
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #0a58ca;
    text-decoration: underline;
}

.btn {
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0a58ca;
    border-color: #0a58ca;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header Styles */
header {
    margin-bottom: 60px;
}

.navbar {
    padding: 1rem 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand img {
    max-height: 50px;
    width: auto;
}

.navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--primary-color);
}

.quote-btn {
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    margin-left: 0.5rem;
}

.quote-btn:hover {
    background-color: #0a58ca;
    color: #fff;
}

/* Page Header */
.page-header {
    background-color: #f8f9fa;
    padding: 4rem 0 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.breadcrumb {
    justify-content: center;
    background: transparent;
}

/* Main Content */
.site-main {
    padding: 2rem 0;
}

.entry-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.entry-meta {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.entry-content {
    margin-bottom: 2rem;
}

.post-thumbnail {
    margin-bottom: 1.5rem;
}

/* Blog */
.blog-post {
    margin-bottom: 3rem;
}

.blog-pagination {
    margin: 2rem 0;
}

/* Sidebar */
.widget-area {
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #dee2e6;
}

/* Comments */
.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #dee2e6;
}

.comment-list {
    padding-left: 0;
    list-style: none;
}

.comment {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.comment-author img {
    border-radius: 50%;
    margin-right: 1rem;
}

.comment-metadata {
    font-size: 0.8rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.comment-content {
    margin-top: 1rem;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 4rem 0 0;
}

.footer-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-about p {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    max-height: 50px;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    padding-left: 0;
    list-style: none;
    margin-bottom: 1.5rem;
}

.footer-social li {
    margin-right: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.footer-links {
    padding-left: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #fff;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: none;
}

.footer-contact-item {
    display: flex;
    margin-bottom: 1rem;
}

.footer-contact-icon {
    margin-right: 1rem;
    color: var(--primary-color);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    margin-top: 3rem;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0;
}

.footer-bottom a {
    color: #fff;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #128c7e;
    color: #fff;
    transform: scale(1.1);
}

.whatsapp-button {
    background-color: #25d366;
    border-color: #25d366;
}

.whatsapp-button:hover {
    background-color: #128c7e;
    border-color: #128c7e;
}

/* Modal */
.modal-content {
    border-radius: 10px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.modal-header {
    border-bottom: 1px solid #f1f1f1;
    padding: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid #f1f1f1;
    padding: 1.5rem;
}

/* Forms */
.form-control {
    border-radius: 5px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    border-color: #86b7fe;
}

textarea.form-control {
    min-height: 120px;
}

/* Responsive */
@media (max-width: 991.98px) {
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0;
    }
    
    .navbar-nav .nav-link.active::after {
        left: 0;
        right: 0;
    }
    
    .quote-btn {
        margin-left: 0;
        margin-top: 0.5rem;
        display: inline-block;
    }
    
    .page-header {
        padding: 3rem 0 1.5rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .footer {
        padding-top: 3rem;
    }
    
    .footer-about,
    .footer-links,
    .footer-contact-item {
        margin-bottom: 2rem;
    }
    
    .page-header {
        padding: 2rem 0 1rem;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
}

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

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

