/*
Theme Name: Smile Dental Theme
Theme URI: https://toolyee.com
Author: CreatorLens AI
Author URI: https://toolyee.com
Description: A professional dental clinic theme for WordPress, converted from a premium HTML template. Compatible with Elementor and SEO plugins.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: smile-dental
*/

/* Design System */
:root {
    --primary: #0dabbd;
    --primary-dark: #0a8a99;
    --secondary: #1a2e35;
    --accent: #ff7e5f;
    --white: #ffffff;
    --light-bg: #f4f9fa;
    --text-main: #333333;
    --text-muted: #666666;
    --shadow: 0 10px 30px rgba(13, 171, 189, 0.1);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography & Layout Utilities */
.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(13, 171, 189, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.subtitle {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: none;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(13, 171, 189, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background: #000;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-block {
    width: 100%;
}

/* Navbar */
.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
}

.logo i {
    color: var(--primary);
    font-size: 1.8rem;
}

.logo span span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    color: var(--text-main);
}

.nav-links a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #f4f9fa 0%, #ffffff 100%);
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.trust-points {
    margin-bottom: 2.5rem;
}

.trust-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--secondary);
}

.trust-points i {
    color: var(--primary);
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow-heavy);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* About Section */
.about {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
}

.experience-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary);
    color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(13, 171, 189, 0.4);
}

.experience-card h3 {
    font-size: 2.5rem;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.service-card p {
    color: var(--text-muted);
}

.section-footer {
    text-align: center;
    margin-top: 4rem;
}

/* Why Us Section */
.why-us {
    padding: 100px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-list {
    margin: 2rem 0;
}

.why-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.why-list i {
    width: 50px;
    height: 50px;
    background: rgba(13, 171, 189, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.why-list h4 {
    margin-bottom: 5px;
    color: var(--secondary);
}

.why-image img {
    border-radius: 30px;
    box-shadow: var(--shadow-heavy);
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: var(--secondary);
    color: var(--white);
}

.testimonials .subtitle { color: var(--primary); }
.testimonials h2 { color: var(--white); }

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stars {
    color: #ffc107;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.testimonial-card h4 {
    color: var(--primary);
}

/* Gallery */
.gallery {
    padding: 100px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 171, 189, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .overlay {
    opacity: 1;
}

/* Final CTA & Contact Form */
.final-cta {
    padding: 100px 0;
    background: var(--light-bg);
}

.cta-box {
    background: var(--white);
    padding: 60px;
    border-radius: 30px;
    box-shadow: var(--shadow-heavy);
    max-width: 900px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.cta-box p {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.cta-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--secondary);
}

.info-item p {
    margin-bottom: 0;
}

.info-item i {
    color: var(--primary);
}

.appointment-form {
    display: grid;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

input, select {
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

input:focus, select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(13, 171, 189, 0.1);
}

/* Footer */
footer {
    background: #0d1a1f;
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-about .logo {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-about p {
    opacity: 0.7;
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    opacity: 0.7;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--primary);
}

.footer-contact p {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    opacity: 0.7;
}

.footer-contact i {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.5;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero .container, .about-grid, .why-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content h1 { font-size: 3rem; }
    .hero-btns, .trust-points { justify-content: center; }
    .about-image { margin-bottom: 50px; }
    .experience-card { right: 0; bottom: -20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { 
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 40px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: -1;
    }
    .nav-links.active {
        transform: translateY(0);
    }
    .menu-toggle { display: block; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-btns { flex-direction: column; }
    .form-row { grid-template-columns: 1fr; }
    .cta-info { flex-direction: column; align-items: center; gap: 15px; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* Multi-page Common Styles */
.page-header {
    padding: 80px 0;
    background: var(--secondary);
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header .breadcrumb {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Sticky & Floating CTAs */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    z-index: 1001;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.sticky-mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: none;
    grid-template-columns: 1fr 1fr;
    z-index: 1000;
}

.sticky-mobile-cta a {
    padding: 15px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sticky-call {
    background: var(--primary);
    color: var(--white);
}

.sticky-book {
    background: var(--secondary);
    color: var(--white);
}

@media (max-width: 768px) {
    .sticky-mobile-cta {
        display: grid;
    }
    .whatsapp-float {
        bottom: 80px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* Service Page Specifics */
.service-detail-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    display: flex;
    gap: 30px;
    align-items: center;
}

.service-detail-icon {
    width: 80px;
    height: 80px;
    background: rgba(13, 171, 189, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

/* Appointment Form Enhancements */
.urgency-line {
    background: #fff8f0;
    border-left: 4px solid var(--accent);
    padding: 15px;
    margin-bottom: 25px;
    font-weight: 600;
    color: #856404;
    display: flex;
    align-items: center;
    gap: 10px;
}

.thank-you-section {
    padding: 120px 0;
    text-align: center;
}

.thank-you-section i {
    font-size: 5rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

/* Legal Content Styles */
.legal-content {
    padding: 80px 0;
    max-width: 800px;
    margin: 0 auto;
}
.legal-content h2 {
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--secondary);
    font-size: 1.8rem;
}
.legal-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
    line-height: 1.8;
}
.legal-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
    list-style-type: disc;
    color: var(--text-muted);
}
.legal-content li {
    margin-bottom: 10px;
}
