/* GlowTeeth - Modern Dental Website Styles */

:root {
    --primary-color: #0056b3;
    --secondary-color: #00a8e8;
    --accent-color: #f8f9fa;
    --text-color: #333;
    --light-text: #666;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --max-width: 1000px;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Layout */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 25px;
}

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

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

/* Hero Section (Text-based) */
.hero {
    background-color: var(--accent-color);
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto;
}

/* Main Content Area */
main {
    padding: 60px 0;
}

article {
    max-width: 800px;
    margin: 0 auto;
}

article h1 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    line-height: 1.2;
}

article p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-align: justify;
}

article h2 {
    margin: 40px 0 20px;
    font-size: 1.6rem;
    color: var(--primary-color);
}

/* Blog-style Layout for Other Pages */
.page-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-content h1 {
    margin-bottom: 30px;
}

.page-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Contact Form Placeholder Styling */
.contact-form {
    background-color: var(--accent-color);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

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

/* Footer */
footer {
    background-color: var(--accent-color);
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
    text-align: center;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-links li {
    margin: 0 15px;
}

.footer-copy {
    color: var(--light-text);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }
    
    .nav-links {
        margin-top: 20px;
    }
    
    .nav-links li {
        margin: 0 10px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    article h1 {
        font-size: 1.8rem;
    }
}
