/* 
    Bite Bright - Premium Dental Practice CSS
    Custom-made, Modern, and Fully Responsive
    Zero External Assets (No images, No icons)
*/

:root {
    --primary: #00b4d8;
    --primary-dark: #0077b6;
    --primary-light: #90e0ef;
    --secondary: #03045e;
    --accent: #caf0f8;
    --text-dark: #1a1a1a;
    --text-muted: #666666;
    --bg-light: #f8fdff;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 180, 216, 0.15);
    --radius: 12px;
    --container: 1200px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 100px 0;
}

.text-primary {
    color: var(--primary);
}

.text-gradient {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent);
    color: var(--primary-dark);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 180, 216, 0.3);
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}

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

.btn-full {
    width: 100%;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 8px;
    position: relative;
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--white);
    border-radius: 50% 50% 0 0;
}

.nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--secondary);
    position: relative;
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--secondary);
    left: 0;
    transition: var(--transition);
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #ffffff 0%, #eefcff 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, var(--accent) 0%, transparent 70%);
    opacity: 0.5;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.hero-visual {
    position: relative;
    height: 400px;
}

.abstract-shape-1 {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 0;
    right: 0;
    animation: morph 8s ease-in-out infinite;
}

.abstract-shape-2 {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--primary-light);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    bottom: 20px;
    left: 0;
    animation: morph 12s ease-in-out infinite reverse;
}

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

.hero-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    width: 280px;
    text-align: center;
    z-index: 5;
}

.card-icon-placeholder {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    position: relative;
}

.card-icon-placeholder::after {
    content: '♥';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary);
    font-size: 1.5rem;
}

/* Blog Content Section */
.blog-content {
    background: var(--white);
    padding: 100px 0;
}

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

.article-header {
    text-align: center;
    margin-bottom: 4rem;
}

.article-header h1 {
    font-size: 2.8rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.article-meta {
    color: var(--text-muted);
    font-weight: 500;
}

.article-body h2 {
    font-size: 2rem;
    color: var(--secondary);
    margin: 3rem 0 1.5rem;
}

.article-body h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin: 2rem 0 1rem;
}

.article-body p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.article-body ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.article-body li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.conclusion-box {
    margin-top: 4rem;
    padding: 3rem;
    background: var(--accent);
    border-radius: var(--radius);
    border-left: 5px solid var(--primary);
}

.conclusion-box h2 {
    margin-top: 0;
}

/* Services Section */
.services {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-bottom-color: var(--primary);
}

.service-icon-box {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    position: relative;
}

.service-icon-box::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 3px solid var(--primary);
    border-radius: 4px;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 5rem;
}

.about-visual {
    position: relative;
}

.about-blob {
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 40% 60% 70% 30% / 40% 40% 60% 60%;
}

.about-stats {
    position: absolute;
    bottom: -30px;
    right: 0;
    display: flex;
    gap: 1.5rem;
}

.stat-item {
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.about-features {
    margin-top: 2rem;
}

.about-features li {
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 900;
    font-size: 1.2rem;
}

/* Contact Section */
.contact-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    overflow: hidden;
}

.contact-info {
    background: var(--secondary);
    color: var(--white);
    padding: 4rem;
}

.contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    opacity: 0.8;
    margin-bottom: 3rem;
}

.info-list {
    margin-bottom: 3rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.opening-hours {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.opening-hours ul {
    margin-top: 1rem;
}

.opening-hours li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-form-container {
    padding: 4rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 10px;
    background: #d4edda;
    color: #155724;
    text-align: center;
}

.hidden {
    display: none;
}

/* Footer */
.footer {
    background: #01012b;
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    margin-top: 1.5rem;
    opacity: 0.6;
}

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

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

.footer-links a, 
.footer-services a {
    opacity: 0.6;
}

.footer-links a:hover, 
.footer-services a:hover {
    opacity: 1;
    color: var(--primary);
}

.footer-newsletter p {
    font-size: 0.9rem;
    opacity: 0.6;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border-radius: 50px;
    border: none;
    outline: none;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    opacity: 0.6;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-text h1 { font-size: 2.8rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-list, .nav-cta { display: none; }
    .mobile-nav-toggle { display: block; }
    
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text p { margin-left: auto; margin-right: auto; }
    .hero-btns { justify-content: center; }
    .hero-visual { display: none; }
    
    .article-header h1 { font-size: 2.2rem; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-card { grid-template-columns: 1fr; }
    
    .section-padding { padding: 60px 0; }
}

@media (max-width: 480px) {
    .hero-text h1 { font-size: 2.2rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* Mobile Nav Open State */
.nav-list.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    gap: 1.5rem;
    text-align: center;
}
