/* Main Styles for UK Dentistry FAQ Website */

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

body {
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, sans-serif;
    margin-bottom: 1rem;
    color: #1a5276;
}

h1 {
    font-size: 2.5rem;
    margin-top: 2rem;
}

h2 {
    font-size: 2rem;
    margin-top: 2rem;
    border-bottom: 2px solid #e6e6e6;
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    color: #2874a6;
}

p {
    margin-bottom: 1.2rem;
}

a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #2874a6;
    text-decoration: underline;
}

/* Header */
header {
    background-color: #1a5276;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
}

.logo a {
    color: white;
    text-decoration: none;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #a3d4ff;
}

/* Hero Section */
.hero {
    background-color: #2874a6;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.cta-button {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #c0392b;
    text-decoration: none;
    color: white;
}

/* Main Content */
main {
    padding: 2rem 0;
}

.faq-section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-bottom: 2rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 1.5rem;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question {
    font-weight: 600;
    color: #2874a6;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.faq-answer {
    color: #555;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 12px 15px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
    font-weight: bold;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Sidebar */
.sidebar {
    background-color: #f0f7fc;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.sidebar h3 {
    margin-top: 0;
    border-bottom: 2px solid #d6eaf8;
    padding-bottom: 0.5rem;
}

.sidebar ul {
    list-style-position: inside;
    margin-left: 1rem;
}

.sidebar li {
    margin-bottom: 0.5rem;
}

/* Download Section */
.download-section {
    background-color: #e8f4fc;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.download-button {
    display: inline-block;
    background-color: #27ae60;
    color: white;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    margin-top: 1rem;
    transition: background-color 0.3s;
}

.download-button:hover {
    background-color: #219653;
    text-decoration: none;
    color: white;
}

/* Footer */
footer {
    background-color: #1a5276;
    color: white;
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-right: 2rem;
    margin-bottom: 1.5rem;
}

.footer-section:last-child {
    margin-right: 0;
}

.footer-section h3 {
    color: white;
    margin-top: 0;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #a3d4ff;
}

.footer-section a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid #2c3e50;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 1rem;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 0.75rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-section {
        margin-right: 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

/* SEO-specific styles */
.breadcrumbs {
    margin-bottom: 1.5rem;
    color: #777;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: #3498db;
}

.highlight {
    background-color: #f8f9fa;
    border-left: 4px solid #3498db;
    padding: 1rem;
    margin: 1.5rem 0;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.tag {
    background-color: #e8f4fc;
    color: #2874a6;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}
