/**
 * Smile Zone Dental Clinic - Main Stylesheet
 * Theme: Clean, modern, professional medical theme
 * Colors: Teal (#14b8a6, #0d9488), Cyan, White
 */

/* ==================================
   Reset & Base Styles
================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    color: #374151;
    line-height: 1.6;
    background-color: #ffffff;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* ==================================
   Typography
================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: #111827;
}

.text-teal {
    color: #14b8a6;
}

/* ==================================
   Buttons
================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn svg {
    margin-right: 8px;
}

.btn-primary {
    background-color: #14b8a6;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #0d9488;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(20, 184, 166, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #14b8a6;
    color: #14b8a6;
}

.btn-outline:hover {
    background-color: #f0fdfa;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
}

/* ==================================
   Header
================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 16px 0;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.logo-icon span {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.logo-text h1 {
    font-size: 20px;
    color: #111827;
    margin: 0;
}

.logo-text p {
    font-size: 12px;
    color: #14b8a6;
    margin: 0;
}

.main-nav a {
    margin: 0 16px;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #14b8a6;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #374151;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
}

/* ==================================
   Hero Section
================================== */
.hero-section {
    padding: 120px 0 80px;
    background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 50%, #ecfeff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-badge {
    display: inline-block;
    background-color: #ccfbf1;
    color: #115e59;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 32px;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background-color: #ccfbf1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    color: #14b8a6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.hero-contact {
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.contact-label {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 8px;
}

.contact-phone {
    font-size: 28px;
    font-weight: 700;
    color: #14b8a6;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.doctor-card {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.doctor-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-icon svg {
    color: #ffffff;
}

.doctor-info h3 {
    font-size: 20px;
    margin-bottom: 4px;
}

.doctor-info p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.doctor-experience {
    color: #14b8a6 !important;
    font-weight: 600;
}

.floating-badge {
    position: absolute;
    top: -24px;
    right: -24px;
    width: 128px;
    height: 128px;
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transform: rotate(12deg);
    box-shadow: 0 15px 40px rgba(20, 184, 166, 0.4);
}

.floating-badge svg {
    margin-bottom: 4px;
}

.badge-text-1, .badge-text-2 {
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

/* ==================================
   Section Styles
================================== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-label {
    color: #14b8a6;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 48px;
    margin: 12px 0 16px;
}

.section-description {
    font-size: 18px;
    color: #6b7280;
}

/* ==================================
   Services Section
================================== */
.services-section {
    background-color: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.service-card {
    background: #ffffff;
    border: 2px solid #f3f4f6;
    border-radius: 16px;
    padding: 32px 24px;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: #ccfbf1;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    transform: translateY(-8px);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #ccfbf1 0%, #cffafe 100%);
    border-radius: 12px;
    margin-bottom: 16px;
}

.service-title {
    font-size: 20px;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: #14b8a6;
}

.service-desc {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 16px;
}

.service-benefits {
    list-style: none;
}

.service-benefits li {
    font-size: 14px;
    color: #374151;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.service-benefits li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: #14b8a6;
    border-radius: 50%;
}

.services-cta {
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 100%);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
}

.services-cta h3 {
    font-size: 32px;
    margin-bottom: 16px;
}

.services-cta p {
    color: #6b7280;
    margin-bottom: 24px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================================
   Gallery Section
================================== */
.gallery-section {
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    background: #ffffff;
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 2px solid #ccfbf1;
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #14b8a6;
    margin-bottom: 8px;
}

.stat-item p {
    color: #6b7280;
}

.no-gallery {
    text-align: center;
    padding: 40px;
    color: #9ca3af;
    font-style: italic;
}

/* ==================================
   Testimonials Section
================================== */
.testimonials-section {
    background-color: #ffffff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.testimonial-card {
    background: #ffffff;
    border: 2px solid #f3f4f6;
    border-radius: 16px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: #ccfbf1;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-rating svg {
    color: #fbbf24;
}

.testimonial-text {
    color: #374151;
    font-style: italic;
    margin-bottom: 24px;
    line-height: 1.7;
}

.testimonial-treatment {
    display: inline-block;
    background-color: #f0fdfa;
    color: #115e59;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    margin-bottom: 16px;
}

.testimonial-author {
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.testimonial-author h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.testimonial-author p {
    font-size: 14px;
    color: #9ca3af;
}

.testimonials-cta {
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 100%);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
}

.testimonials-cta h3 {
    font-size: 32px;
    margin-bottom: 16px;
}

.testimonials-cta p {
    color: #6b7280;
    margin-bottom: 24px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.rating-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.rating-display svg {
    color: #fbbf24;
}

.rating-score {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-left: 8px;
}

.rating-text {
    color: #6b7280;
}

.no-testimonials {
    text-align: center;
    padding: 40px;
    color: #9ca3af;
    font-style: italic;
}

/* ==================================
   Contact Section
================================== */
.contact-section {
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.contact-card {
    background: #ffffff;
    border: 2px solid #f3f4f6;
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: #ccfbf1;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.contact-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #ccfbf1 0%, #cffafe 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.contact-icon svg {
    color: #14b8a6;
}

.contact-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
}

.contact-card p {
    color: #6b7280;
    margin-bottom: 24px;
}

.contact-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-emergency {
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    border-radius: 16px;
    padding: 48px;
    color: #ffffff;
    text-align: center;
}

.contact-emergency svg {
    color: #ffffff;
    margin: 0 auto 24px;
}

.contact-emergency h3 {
    color: #ffffff;
    font-size: 28px;
    margin-bottom: 16px;
}

.contact-emergency p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
}

.emergency-hours {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-top: 16px;
}

.emergency-footer {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.emergency-footer p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

/* ==================================
   Footer
================================== */
.site-footer {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    color: #ffffff;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-desc {
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.7;
}

.footer-title {
    color: #14b8a6;
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links,
.footer-services,
.footer-contact {
    list-style: none;
}

.footer-links li,
.footer-services li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-services li {
    color: #9ca3af;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #14b8a6;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: #9ca3af;
    font-size: 14px;
}

.footer-contact svg {
    color: #14b8a6;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact a {
    color: #9ca3af;
}

.footer-contact a:hover {
    color: #14b8a6;
}

.footer-social {
    margin-top: 24px;
}

.footer-social h4 {
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 12px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #14b8a6;
    transform: translateY(-4px);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 14px;
}

/* ==================================
   Responsive Design
================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .desktop-nav,
    .desktop-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu.active {
        display: block;
        padding-top: 20px;
    }
    
    .mobile-nav {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .mobile-nav a {
        padding: 12px 0;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .mobile-cta {
        margin-top: 16px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-bottom {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Additional styles for static HTML version */

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu.active {
    display: block !important;
}

/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 50px;
    color: #ffffff;
    cursor: pointer;
    line-height: 1;
    z-index: 10000;
}

.lightbox-close:hover {
    color: #14b8a6;
}

#lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
