/* 
    RK Dental Care - Premium Design System
    Inspired by high-end beauty/spa aesthetics
*/

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=Marcellus&display=swap');

:root {
    --primary: #0CCFB6;
    --primary-dark: #0AAB98;
    --primary-light: #EBF7F7;
    --secondary: #1D2128;
    --text-main: #1D2128;
    --text-muted: #5E6D7E;
    --bg-main: #FFFFFF;
    --bg-alt: #F8FAFC;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .h1, .h2, .h3 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

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

/* --- Layout Utilities --- */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.grid { display: grid; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }
.py-section { padding-top: 5rem; padding-bottom: 5rem; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    gap: 0.5rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

/* --- Typography Helpers --- */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.uppercase { text-transform: uppercase; letter-spacing: 0.1em; }
.section-tag {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    display: inline-block;
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

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

/* --- Responsive Helpers --- */
/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.25rem 0;
}

.header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 0.75rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo-icon {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: 'Marcellus', serif;
    font-weight: 400;
    font-size: 1.6rem;
    color: var(--secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

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

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
}

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

.nav-toggle, .nav-close {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero --- */
.hero {
    padding: 10rem 0 5rem;
    overflow: hidden;
    background: radial-gradient(circle at top right, #EBF7F7 0%, #FFFFFF 60%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 4rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

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

.hero-content {
    position: relative;
    z-index: 10;
}

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

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

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

.hero-image-wrapper {
    position: relative;
    z-index: 1;
}

.hero-img {
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    z-index: 2;
    position: relative;
}

.hero-blob {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 120%;
    height: 120%;
    background: var(--primary-light);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: -1;
    transform: rotate(45deg);
    opacity: 0.6;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-md);
    z-index: 3;
    font-weight: 600;
}

.floating-card i { color: var(--primary); }

.card-1 { top: 10%; left: -15%; }
.card-2 { bottom: 15%; right: -5%; }

/* --- Trust Section --- */
.trust-section {
    padding: 4rem 0;
    border-bottom: 1px solid #eee;
}

.trust-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    color: var(--text-muted);
}

.trust-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

/* --- Services --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--bg-alt);
    padding: 3rem 2rem;
    border-radius: 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

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

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.service-link {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.875rem;
}

.service-link i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

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

.about-image {
    position: relative;
}

.about-img {
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
}

.about-badge {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    background: var(--primary);
    color: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.badge-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Syne', sans-serif;
}

.badge-text {
    font-size: 0.875rem;
    font-weight: 600;
}

.about-content h2 {
    margin-bottom: 2rem;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.about-list {
    margin: 2.5rem 0;
}

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

.about-list i {
    color: var(--primary);
}

/* --- Why Us --- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
    text-align: center;
}

.why-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* --- Testimonials --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eee;
}

.stars {
    color: #FFD700;
    margin-bottom: 1.5rem;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

/* --- Gallery --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 20px;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* --- CTA --- */
.cta-section {
    padding: 2rem 0;
}

.cta-container {
    background: var(--primary);
    padding: 5rem;
    border-radius: 40px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-container h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-container p {
    margin-bottom: 2.5rem;
    font-size: 1.125rem;
    opacity: 0.9;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

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

.btn-outline-white {
    border: 2px solid rgba(255,255,255,0.4);
    color: var(--white);
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
}

/* --- Contact --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: center;
}

.info-items {
    margin-top: 3rem;
}

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

.info-item i {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-map {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* --- Footer --- */
.footer {
    background: var(--secondary);
    color: var(--white);
    padding: 5rem 0 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 3rem;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    margin-top: 1.5rem;
    opacity: 0.6;
    max-width: 400px;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    opacity: 0.6;
}

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

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.4;
}

/* --- Floating WhatsApp --- */
.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #25D366;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
    .hero-container, .about-container, .contact-container { gap: 3rem; }
}

@media (max-width: 1100px) {
    .nav {
        position: fixed;
        background: var(--white);
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        padding: 6rem 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        z-index: 2000;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .nav.show-menu { 
        right: 0; 
    }
    
    .nav-list { 
        flex-direction: column; 
        gap: 2.5rem; 
        width: 100%;
    }

    .nav-link {
        font-size: 1.5rem;
        font-family: 'Marcellus', serif;
        text-transform: uppercase;
        letter-spacing: 0.1em;
    }

    .nav-close { 
        display: block; 
        position: absolute;
        top: 2rem;
        right: 2rem;
        font-size: 2rem;
        color: var(--secondary);
    }
    
    .nav-toggle { 
        display: block; 
        font-size: 1.75rem;
        color: var(--secondary);
    }
    
    .hide-mobile { display: none; }
    
    .hero-container, .about-container, .contact-container, .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-btns, .cta-btns { justify-content: center; flex-direction: column; }
    
    .hero-stats { justify-content: center; }
    
    .hero-img, .about-img { width: 100%; max-width: 400px; margin: 0 auto; }
    
    .services-grid, .why-grid, .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .about-badge { right: 0; bottom: -1rem; padding: 1rem; }
    
    .hero-blob {
        width: 100%;
        height: 100%;
        top: 0;
        right: 0;
        opacity: 0.3;
    }
    
    .card-1 { left: 0; }
    .card-2 { right: 0; }
}

