/*
Theme Name: Smile Avenue Dental
Theme URI: https://smileavenuedental.co.in
Author: Smile Avenue Dental
Author URI: https://smileavenuedental.co.in
Description: A modern, responsive WordPress theme for Smile Avenue Dental & Orthodontic Clinic. Built with Tailwind CSS.
Version: 1.0.0
License: GPL v2 or later
Text Domain: smile-avenue
*/

/* Primary Color Variable */
:root {
    --brand-teal: #2E7181;
    --brand-camel: #AD8652;
    --brand-black: #231F20;
    --dark-navy: #1d3649;
}

/* Custom styles that extend Tailwind */
.glass-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-transparent {
    background: transparent;
    box-shadow: none;
}

html {
    scroll-behavior: smooth;
}

.section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .section-padding {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

@media (min-width: 1024px) {
    .section-padding {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

.bg-soft {
    background-color: #fcfdfe;
}

.bg-warm {
    background-color: #fcfaf8;
}

/* Service Cards */
.service-item {
    transition: all 0.2s ease;
}

.service-item:hover {
    color: var(--brand-teal);
    padding-left: 0.5rem;
}

/* Value Cards */
.value-card {
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
    border-color: var(--brand-teal);
}

/* Blog Cards */
.blog-card {
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.12);
    border-color: var(--brand-teal);
}

.blog-card .blog-image {
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
}

/* Category Filter Buttons */
.filter-btn {
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background: var(--brand-teal);
    color: white;
    border-color: var(--brand-teal);
}

.filter-btn.active {
    background: var(--brand-teal);
    color: white;
    border-color: var(--brand-teal);
}

/* Search Input */
.search-input:focus {
    border-color: var(--brand-teal);
    box-shadow: 0 0 0 3px rgba(46, 113, 129, 0.15);
    outline: none;
}

/* Pagination */
.page-btn {
    transition: all 0.2s ease;
}

.page-btn:hover {
    background: var(--brand-teal);
    color: white;
    border-color: var(--brand-teal);
}

.page-btn.active {
    background: var(--brand-teal);
    color: white;
    border-color: var(--brand-teal);
}

/* Contact Cards */
.contact-card {
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.10);
    border-color: var(--brand-teal);
}

/* Form Inputs */
.form-input:focus {
    border-color: var(--brand-teal);
    box-shadow: 0 0 0 3px rgba(46, 113, 129, 0.2);
    outline: none;
}

.comment-input:focus {
    border-color: var(--brand-teal);
    box-shadow: 0 0 0 3px rgba(46, 113, 129, 0.15);
    outline: none;
}

/* Social Icons */
.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

/* Blog Content Styles */
.blog-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-content h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--dark-navy);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.blog-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 1.25rem;
}

.blog-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.blog-content ul li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.blog-content strong {
    color: var(--dark-navy);
    font-weight: 700;
}

/* Related Post Cards */
.related-card {
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.10);
    border-color: var(--brand-teal);
}

/* Comparison Table */
.comparison-table {
    border-collapse: collapse;
    width: 100%;
    margin: 1.5rem 0;
}

.comparison-table th {
    background: var(--brand-teal);
    color: white;
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.comparison-table tr:nth-child(even) {
    background: #f8fafc;
}

.comparison-table tr:hover {
    background: #eef6f8;
}

/* Map Container */
.map-container iframe {
    width: 100%;
    height: 450px;
    border-radius: 1.5rem;
    border: 0;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .map-container iframe {
        height: 300px;
    }
}

/* Doctor Highlight */
.doctor-highlight {
    background: linear-gradient(135deg, #f8fcfd 0%, #eef6f8 100%);
}

/* Hero Gradients - FIXED with correct overlay */
.about-hero-gradient {
    background: linear-gradient(135deg, rgba(46, 113, 129, 0.92) 0%, rgba(26, 67, 77, 0.88) 100%);
}

.service-hero-gradient {
    background: linear-gradient(135deg, rgba(46, 113, 129, 0.92) 0%, rgba(26, 67, 77, 0.88) 100%);
}

.contact-hero-gradient {
    background: linear-gradient(135deg, rgba(46, 113, 129, 0.93) 0%, rgba(26, 67, 77, 0.88) 100%);
}

.blog-hero-gradient {
    background: linear-gradient(135deg, rgba(46, 113, 129, 0.93) 0%, rgba(26, 67, 77, 0.88) 100%);
}

.doctor-hero-gradient {
    background: linear-gradient(135deg, rgba(46, 113, 129, 0.93) 0%, rgba(26, 67, 77, 0.88) 100%);
}

/* WordPress Comment Styling */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment-list .comment {
    background: #fcfdfe;
    border-radius: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #f0f0f0;
}

.comment-list .comment .comment-author {
    font-weight: 700;
    color: var(--dark-navy);
}

.comment-list .comment .comment-meta {
    font-size: 0.875rem;
    color: #9ca3af;
}

.comment-list .comment .comment-content {
    margin-top: 0.75rem;
    color: #4b5563;
    line-height: 1.7;
}

/* Mobile Menu */
#mobile-menu {
    transition: all 0.3s ease;
}

/* Menu Fixes */
.menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.menu li {
    list-style: none !important;
}
.menu li a {
    text-decoration: none !important;
}

/* Dropdown menu */
.menu-item-has-children {
    position: relative;
}
.menu-item-has-children .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    padding: 0.75rem 0;
    border-radius: 1rem;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.2);
    z-index: 100;
    list-style: none !important;
}
.menu-item-has-children:hover .dropdown-menu {
    display: block;
}
.menu-item-has-children .dropdown-menu li {
    display: block;
    list-style: none !important;
}
.menu-item-has-children .dropdown-menu li a {
    display: block;
    padding: 0.5rem 1.5rem;
    color: #231F20;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none !important;
}
.menu-item-has-children .dropdown-menu li a:hover {
    color: var(--brand-teal);
    background: #f0f5f7;
}

/* Mobile menu fixes */
#mobile-menu .menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
#mobile-menu .menu li {
    list-style: none !important;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
}
#mobile-menu .menu li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}
#mobile-menu .menu li a {
    display: block;
    color: #231F20;
    font-weight: 500;
    font-size: 1.125rem;
    padding: 0.25rem 0;
    transition: color 0.2s ease;
    text-decoration: none !important;
}
#mobile-menu .menu li a:hover {
    color: var(--brand-teal);
}
#mobile-menu .menu li.menu-item-has-children .dropdown-menu {
    display: block;
    position: static;
    background: #f8fafc;
    border-radius: 0.75rem;
    padding: 0.5rem 0.75rem;
    margin-top: 0.5rem;
    box-shadow: none;
    list-style: none !important;
}
#mobile-menu .menu li.menu-item-has-children .dropdown-menu li {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
    list-style: none !important;
}
#mobile-menu .menu li.menu-item-has-children .dropdown-menu li a {
    font-size: 0.9rem;
    padding: 0.35rem 0.75rem;
    color: #4a5568;
}
#mobile-menu .menu li.menu-item-has-children .dropdown-menu li a:hover {
    color: var(--brand-teal);
}

/* Fix button color consistency */
.btn-primary {
    background-color: var(--brand-teal) !important;
    color: #ffffff !important;
    transition: background-color 0.3s ease;
}
.btn-primary:hover {
    background-color: #225460 !important;
}
.btn-outline-primary {
    border: 2px solid var(--brand-teal) !important;
    color: var(--brand-teal) !important;
    transition: all 0.3s ease;
}
.btn-outline-primary:hover {
    background-color: var(--brand-teal) !important;
    color: #ffffff !important;
}

/* Fix hero overlay - ensure it covers the hero section */
.hero-overlay {
    background: linear-gradient(135deg, rgba(46, 113, 129, 0.92) 0%, rgba(26, 67, 77, 0.88) 100%) !important;
}

/* Fix FAQ active state */
.faq-item .faq-btn.active-faq {
    background-color: var(--brand-teal) !important;
    color: #ffffff !important;
}
.faq-item .faq-btn.active-faq .faq-icon-wrapper {
    background-color: #ffffff !important;
    color: var(--brand-teal) !important;
}
.faq-item .faq-btn.inactive-faq {
    background-color: #ffffff !important;
    color: var(--brand-black) !important;
}
.faq-item .faq-btn.inactive-faq .faq-icon-wrapper {
    background-color: var(--brand-teal) !important;
    color: #ffffff !important;
}

/* Fix CTA buttons in sections with brand-teal background */
.bg-brand-teal .btn-white {
    background-color: #ffffff !important;
    color: var(--brand-teal) !important;
}
.bg-brand-teal .btn-white:hover {
    background-color: #f0f0f0 !important;
}
.bg-brand-teal .btn-whatsapp {
    background-color: #25D366 !important;
    color: #ffffff !important;
}
.bg-brand-teal .btn-whatsapp:hover {
    background-color: #1da85c !important;
}
.bg-brand-teal .btn-outline-white {
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
    background: transparent !important;
}
.bg-brand-teal .btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}