/* Complete Smile Care - Static Website Styles */

/* CSS Variables */
:root {
    --violet: #7B4397;
    --teal: #4ECDC4;
    --coral: #FF6B6B;
    --yellow: #FFD93D;
    --white: #FFFFFF;
    --text-light: rgba(255, 255, 255, 0.9);
    --text-dark: #7B4397;
    --gray: #666666;
    
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Nunito', sans-serif;
    
    --radius-sm: 16px;
    --radius-md: 24px;
    --radius-lg: 32px;
    --radius-full: 999px;
    
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    --shadow-hover: 0 24px 48px rgba(0, 0, 0, 0.2);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--violet);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

/* Section Backgrounds */
.section-violet {
    background-color: var(--violet);
    position: relative;
    overflow: hidden;
}

.section-teal {
    background-color: var(--teal);
    position: relative;
    overflow: hidden;
}

.section-coral {
    background-color: var(--coral);
    position: relative;
    overflow: hidden;
}

/* Hills */
.hill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 120vw;
    height: 55vh;
    pointer-events: none;
    z-index: 1;
}

/* Bubbles */
.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4), rgba(255,255,255,0.1));
    pointer-events: none;
    z-index: 2;
}

.bubble-1 { width: 128px; height: 128px; left: 6%; top: 10%; opacity: 0.3; animation: bubbleDrift 6s ease-in-out infinite; }
.bubble-2 { width: 80px; height: 80px; left: 44%; top: 8%; opacity: 0.25; animation: bubbleDrift 8s ease-in-out infinite; }
.bubble-3 { width: 160px; height: 160px; right: 8%; top: 18%; opacity: 0.3; animation: bubbleDrift 4s ease-in-out infinite; }
.bubble-4 { width: 96px; height: 96px; right: 12%; bottom: 22%; opacity: 0.28; animation: bubbleDrift 6s ease-in-out infinite; }
.bubble-5 { width: 64px; height: 64px; left: 20%; bottom: 30%; opacity: 0.2; animation: bubbleDrift 8s ease-in-out infinite; }
.bubble-6 { width: 112px; height: 112px; left: 8%; top: 15%; opacity: 0.25; animation: bubbleDrift 8s ease-in-out infinite; }
.bubble-7 { width: 80px; height: 80px; right: 15%; top: 20%; opacity: 0.3; animation: bubbleDrift 6s ease-in-out infinite; }
.bubble-8 { width: 144px; height: 144px; left: 60%; bottom: 25%; opacity: 0.2; animation: bubbleDrift 4s ease-in-out infinite; }
.bubble-9 { width: 96px; height: 96px; left: 10%; top: 20%; opacity: 0.25; animation: bubbleDrift 6s ease-in-out infinite; }
.bubble-10 { width: 128px; height: 128px; right: 10%; bottom: 20%; opacity: 0.2; animation: bubbleDrift 8s ease-in-out infinite; }
.bubble-11 { width: 112px; height: 112px; right: 8%; top: 12%; opacity: 0.25; animation: bubbleDrift 4s ease-in-out infinite; }
.bubble-12 { width: 80px; height: 80px; left: 15%; bottom: 25%; opacity: 0.3; animation: bubbleDrift 6s ease-in-out infinite; }
.bubble-13 { width: 128px; height: 128px; left: 5%; top: 15%; opacity: 0.25; animation: bubbleDrift 6s ease-in-out infinite; }
.bubble-14 { width: 96px; height: 96px; right: 12%; top: 20%; opacity: 0.2; animation: bubbleDrift 8s ease-in-out infinite; }
.bubble-15 { width: 112px; height: 112px; left: 8%; bottom: 20%; opacity: 0.25; animation: bubbleDrift 8s ease-in-out infinite; }
.bubble-16 { width: 80px; height: 80px; right: 10%; top: 18%; opacity: 0.3; animation: bubbleDrift 6s ease-in-out infinite; }
.bubble-17 { width: 96px; height: 96px; left: 5%; top: 10%; opacity: 0.2; animation: bubbleDrift 6s ease-in-out infinite; }
.bubble-18 { width: 128px; height: 128px; right: 8%; bottom: 15%; opacity: 0.15; animation: bubbleDrift 8s ease-in-out infinite; }

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

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.5s ease;
    padding: 24px 0;
}

#navbar.scrolled {
    background: rgba(123, 67, 151, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 12px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo img {
    height: 48px;
    width: auto;
    border-radius: 8px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
}

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

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.btn-book {
    background: var(--yellow);
    color: var(--violet) !important;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 700 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 217, 61, 0.3);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(123, 67, 151, 0.98);
    backdrop-filter: blur(10px);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--yellow);
    color: var(--violet);
    font-weight: 700;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 217, 61, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 217, 61, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-weight: 600;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-purple {
    background: rgba(123, 67, 151, 0.1) !important;
    color: var(--violet) !important;
    border-color: rgba(123, 67, 151, 0.3) !important;
}

.btn-purple:hover {
    background: rgba(123, 67, 151, 0.2) !important;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.card-image {
    padding: 0;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.card-footer {
    padding: 20px 24px;
    background: var(--white);
}

.card-footer .name {
    font-weight: 700;
    color: var(--violet);
    margin-bottom: 4px;
}

.card-footer .title {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Link Arrow */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.link-arrow:hover {
    gap: 12px;
}

/* Highlight */
.highlight {
    color: var(--yellow);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

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

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

.hero-content h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-text {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Tooth Animations */
.tooth-bounce {
    animation: toothBounce 3s ease-in-out infinite;
}

.tooth-float {
    animation: toothFloat 4s ease-in-out infinite;
}

.tooth-wiggle {
    animation: toothWiggle 2s ease-in-out infinite;
}

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

@keyframes toothFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(2deg); }
    75% { transform: translateY(-8px) rotate(-2deg); }
}

@keyframes toothWiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

/* Services Section */
.services {
    padding: 100px 0;
}

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

.services h2 {
    font-size: 3rem;
    color: var(--violet);
    margin-bottom: 16px;
}

.services p {
    font-size: 1.15rem;
    color: var(--gray);
    margin-bottom: 32px;
}

.service-list {
    list-style: none;
    margin-bottom: 32px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    color: var(--violet);
    font-weight: 500;
}

.icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(78, 205, 196, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    flex-shrink: 0;
}

.services-image {
    display: flex;
    justify-content: flex-end;
}

.services-image img {
    width: 100%;
    max-width: 350px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

/* Technology Section */
.technology {
    padding: 100px 0;
}

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

.tech-content h2 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 16px;
}

.tech-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
}

.badge-tech {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(78, 205, 196, 0.2);
    color: var(--teal);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 20px 24px;
}

.tech-tooth {
    position: absolute;
    right: 5%;
    bottom: 15%;
}

.tech-tooth img {
    width: 200px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

/* Team Section */
.team {
    padding: 100px 0;
}

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

.team-content h2 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 16px;
}

.team-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
}

.team-tooth-mobile {
    display: none;
    justify-content: center;
    margin-top: 32px;
}

.team-tooth-mobile img {
    width: 180px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

.team-tooth-desktop {
    position: absolute;
    left: 5%;
    bottom: 15%;
}

.team-tooth-desktop img {
    width: 180px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

/* Booking Section */
.booking {
    padding: 100px 0;
}

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

.booking h2 {
    font-size: 3rem;
    color: var(--violet);
    margin-bottom: 16px;
}

.booking p {
    font-size: 1.15rem;
    color: var(--gray);
    margin-bottom: 32px;
}

.booking-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.helper-text {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray) !important;
    font-size: 0.95rem !important;
    margin-bottom: 0 !important;
}

.booking-image {
    display: flex;
    justify-content: flex-end;
}

.booking-image img {
    width: 100%;
    max-width: 380px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

/* Emergency Section */
.emergency {
    padding: 100px 0;
}

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

.emergency h2 {
    font-size: 3rem;
    color: var(--violet);
    margin-bottom: 16px;
}

.emergency p {
    font-size: 1.15rem;
    color: var(--gray);
    margin-bottom: 32px;
}

.btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--yellow);
    color: var(--violet);
    font-size: 1.35rem;
    font-weight: 700;
    padding: 18px 36px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 217, 61, 0.3);
}

.btn-phone:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 217, 61, 0.4);
}

.emergency-image {
    display: flex;
    justify-content: flex-end;
}

.emergency-image img {
    width: 100%;
    max-width: 320px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

/* Reviews Section */
.reviews {
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    color: var(--white);
    text-align: center;
    margin-bottom: 48px;
}

.reviews-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 720px;
    margin: 0 auto;
}

.review-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}

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

.review-text {
    font-size: 1.25rem;
    color: var(--violet);
    font-weight: 500;
    margin-bottom: 16px;
}

.review-author {
    color: var(--gray);
    font-size: 0.95rem;
}

.reviews-footer {
    text-align: center;
    margin-top: 32px;
}

/* Location Section */
.location {
    padding: 100px 0;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.info-item:last-of-type {
    margin-bottom: 32px;
}

.icon-box {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-box.purple {
    background: rgba(123, 67, 151, 0.1);
    color: var(--violet);
}

.icon-box.teal {
    background: rgba(78, 205, 196, 0.2);
    color: var(--teal);
}

.icon-box.coral {
    background: rgba(255, 107, 107, 0.2);
    color: var(--coral);
}

.info-item h3 {
    font-size: 1.25rem;
    color: var(--violet);
    margin-bottom: 8px;
}

.info-item p {
    color: var(--gray);
    margin-bottom: 4px;
}

.info-item a {
    color: var(--gray);
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--violet);
}

.map-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 400px;
}

.map-card iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
.footer {
    padding: 100px 0 40px;
    position: relative;
}

.footer-tooth {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20%;
}

.footer-tooth img {
    width: 120px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

.footer-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.footer-content h2 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.footer-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Scroll Reveal Animations */
.reveal-left,
.reveal-right,
.reveal-up {
    opacity: 0;
    transition: all 0.8s ease;
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-up {
    transform: translateY(30px);
}

.reveal-left.active,
.reveal-right.active,
.reveal-up.active {
    opacity: 1;
    transform: translate(0);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--violet);
}

::-webkit-scrollbar-thumb {
    background: var(--teal);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--yellow);
}

/* Selection */
::selection {
    background: var(--yellow);
    color: var(--violet);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content h1,
    .services h2,
    .tech-content h2,
    .team-content h2,
    .booking h2,
    .emergency h2,
    .section-title,
    .footer-content h2 {
        font-size: 2.5rem;
    }
    
    .tech-tooth,
    .team-tooth-desktop {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .logo-text {
        display: none;
    }
    
    .hero-grid,
    .services-grid,
    .tech-grid,
    .team-grid,
    .booking-grid,
    .emergency-grid,
    .location-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content h1,
    .services h2,
    .tech-content h2,
    .team-content h2,
    .booking h2,
    .emergency h2,
    .section-title,
    .footer-content h2 {
        font-size: 2rem;
    }
    
    .hero-text,
    .tech-content p,
    .team-content p,
    .footer-content p {
        font-size: 1.1rem;
    }
    
    .hero-buttons,
    .booking-buttons,
    .footer-buttons {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .services-image,
    .booking-image,
    .emergency-image {
        justify-content: center;
    }
    
    .team-tooth-mobile {
        display: flex;
    }
    
    .team-grid {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .card {
        padding: 28px;
    }
    
    .map-card {
        height: 300px;
    }
    
    .footer-tooth {
        display: none;
    }
    
    .bubble {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-content h1,
    .services h2,
    .tech-content h2,
    .team-content h2,
    .booking h2,
    .emergency h2,
    .section-title,
    .footer-content h2 {
        font-size: 1.75rem;
    }
    
    .btn-phone {
        font-size: 1.1rem;
        padding: 14px 24px;
        width: 100%;
        justify-content: center;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .tooth-bounce,
    .tooth-float,
    .tooth-wiggle,
    .bubble {
        animation: none !important;
    }
    
    .reveal-left,
    .reveal-right,
    .reveal-up {
        opacity: 1;
        transform: none;
    }
}
