diff --git a/about.php b/about.php new file mode 100644 index 0000000..44d56f0 --- /dev/null +++ b/about.php @@ -0,0 +1,84 @@ + + + + + + About Us - Bright Smiles Dental + + + + + + + +
+
+
+

About Bright Smiles Dental

+

Your smile is our passion. At Bright Smiles Dental, we blend expert care with a warm, welcoming atmosphere to create a dental experience that is both comfortable and exceptional.

+ +
+ +
+
+

Our Mission

+

Our mission is to provide the highest quality dental care in a modern, calming, and family-friendly environment. We are dedicated to helping our patients achieve and maintain optimal oral health through personalized treatment plans, advanced technology, and a commitment to transparency and comfort. We believe that a healthy smile is the foundation of a happy and confident life.

+
+
+ +
+
+
+

Our Values

+
    +
  • Care & Comfort: Your well-being is our top priority.
  • +
  • Expertise: We pursue excellence through continuous learning.
  • +
  • Transparency: Honest communication about your health and treatment.
  • +
  • Technology: Leveraging the best tools for superior results.
  • +
+
+
+
+
+

Our Philosophy

+

We are your partners in oral health. We take the time to listen to your needs and goals, creating a collaborative environment where you feel empowered and informed. From routine cleanings to complex procedures, our friendly team is here to support you every step of the way.

+
+
+
+
+
+
+ + + + + + diff --git a/api/pexels.php b/api/pexels.php new file mode 100644 index 0000000..4a8545f --- /dev/null +++ b/api/pexels.php @@ -0,0 +1,24 @@ +'Failed to fetch image']); exit; } +$photo = $data['photos'][0]; +$src = $photo['src']['large2x'] ?? ($photo['src']['large'] ?? $photo['src']['original']); +$target = __DIR__ . '/../assets/images/pexels/' . $photo['id'] . '.jpg'; +download_to($src, $target); +// Return minimal info and local relative path +echo json_encode([ + 'id' => $photo['id'], + 'local' => 'assets/images/pexels/' . $photo['id'] . '.jpg', + 'photographer' => $photo['photographer'] ?? null, + 'photographer_url' => $photo['photographer_url'] ?? null, +]); diff --git a/assets/css/custom.css b/assets/css/custom.css new file mode 100644 index 0000000..f43f9e8 --- /dev/null +++ b/assets/css/custom.css @@ -0,0 +1,118 @@ +/* Dental Clinic Custom CSS */ + +:root { + --primary-color: #4A90E2; /* Calm Blue */ + --secondary-color: #50E3C2; /* Fresh Teal */ + --text-color: #333; + --light-text-color: #f8f9fa; + --bg-color: #FFFFFF; + --surface-color: #F8F9FA; + --heading-font: Georgia, 'Times New Roman', Times, serif; + --body-font: 'Helvetica Neue', Helvetica, Arial, sans-serif; + --border-radius: 0.5rem; +} + +body { + font-family: var(--body-font); + color: var(--text-color); + line-height: 1.7; +} + +h1, h2, h3, h4, h5, h6 { + font-family: var(--heading-font); + font-weight: 700; +} + +.btn-primary { + background-color: var(--primary-color); + border-color: var(--primary-color); + border-radius: var(--border-radius); + padding: 0.75rem 1.5rem; + font-weight: bold; + transition: all 0.3s ease; +} + +.btn-primary:hover { + background-color: #3a7bc8; + border-color: #3a7bc8; + transform: translateY(-2px); +} + +.btn-secondary { + background-color: var(--secondary-color); + border-color: var(--secondary-color); + border-radius: var(--border-radius); + padding: 0.75rem 1.5rem; + font-weight: bold; + transition: all 0.3s ease; +} + +.btn-secondary:hover { + background-color: #40c3a2; + border-color: #40c3a2; + transform: translateY(-2px); +} + +.navbar-brand { + font-family: var(--heading-font); + font-weight: bold; + font-size: 1.5rem; +} + +.hero { + color: white; + background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/pexels/3783839.jpg') no-repeat center center; + background-size: cover; + height: 100vh; + display: flex; + align-items: center; + justify-content: center; + text-align: center; +} + +.hero h1 { + font-size: 3.5rem; + font-weight: 700; +} + +.hero p { + font-size: 1.25rem; + max-width: 600px; + margin: 1rem auto 2rem; +} + +.section { + padding: 80px 0; +} + +.bg-surface { + background-color: var(--surface-color); +} + +.feature-card, .service-card { + background: var(--bg-color); + border: none; + border-radius: var(--border-radius); + padding: 2rem; + text-align: center; + box-shadow: 0 10px 30px rgba(0,0,0,0.07); + transition: all 0.3s ease; + height: 100%; +} + +.feature-card:hover, .service-card:hover { + transform: translateY(-5px); + box-shadow: 0 15px 40px rgba(0,0,0,0.1); +} + +.feature-card .icon, .service-card .icon { + font-size: 3rem; + color: var(--primary-color); + margin-bottom: 1rem; +} + +footer { + background-color: #343a40; + color: var(--light-text-color); + padding: 40px 0; +} diff --git a/assets/images/pexels/3783839.jpg b/assets/images/pexels/3783839.jpg new file mode 100644 index 0000000..2e622b9 Binary files /dev/null and b/assets/images/pexels/3783839.jpg differ diff --git a/contact.php b/contact.php new file mode 100644 index 0000000..06ba306 --- /dev/null +++ b/contact.php @@ -0,0 +1,33 @@ + 0 ? $k : 'Vc99rnmOhHhJAbgGQoKLZtsaIVfkeownoQNbTj78VemUjKh08ZYRbf18'; +} +function pexels_get($url) { + $ch = curl_init(); + curl_setopt_array($ch, [ + CURLOPT_URL => $url, + CURLOPT_RETURNTRANSFER => true, + CURLOPT_HTTPHEADER => [ 'Authorization: '. pexels_key() ], + CURLOPT_TIMEOUT => 15, + ]); + $resp = curl_exec($ch); + $code = curl_getinfo($ch, CURLINFO_HTTP_CODE); + curl_close($ch); + if ($code >= 200 && $code < 300 && $resp) return json_decode($resp, true); + return null; +} +function download_to($srcUrl, $destPath) { + $data = file_get_contents($srcUrl); + if ($data === false) return false; + if (!is_dir(dirname($destPath))) mkdir(dirname($destPath), 0775, true); + return file_put_contents($destPath, $data) !== false; +} diff --git a/index.php b/index.php index 7205f3d..3ccae30 100644 --- a/index.php +++ b/index.php @@ -1,150 +1,192 @@ - - + - - - New Style - - - - - - - - - - - - - - - - - - - + + + Bright Smiles Dental Studio + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
-
-

Analyzing your requirements and generating your website…

-
- Loading… -
-

AI is collecting your requirements and applying the first changes.

-

This page will update automatically as the plan is implemented.

-

Runtime: PHP — UTC

+ + + + + +
+
+

Your Smile, Our Passion.

+

Welcome to a dental experience that is modern, comfortable, and tailored just for you. Let us help you achieve the healthy, beautiful smile you deserve.

+ Book an Appointment +
+
+ + +
+
+

Why Choose Bright Smiles Dental?

+
+
+
+
+

Modern Technology

+

We use the latest digital X-rays, 3D imaging, and pain-free techniques for accurate and comfortable treatments.

+
+
+
+
+
+

Family-Friendly Care

+

Our friendly team provides a warm, welcoming environment for patients of all ages, from children to seniors.

+
+
+
+
+
+

Emergency Services

+

Dental emergencies can be stressful. We offer prompt, compassionate care when you need it most.

+
+
+
+
+
+ + +
+
+
+
+

Request an Appointment

+

Fill out the form below, and our team will contact you shortly to confirm your booking.

+
+
+
+
+ + +
+
+ + +
+
+ + +
+
+ +
+
+
+
+
+
+ + +
+
+

© Bright Smiles Dental Studio. All Rights Reserved.

+

123 Dental Lane, Smileville, ST 12345 | (123) 456-7890

+
+
+ + +
+
-
- + + + + + + - + \ No newline at end of file