/* ========================================
   Implant Smile Studio - Premium Styles
   ======================================== */

/* CSS Variables - Sophisticated Color Palette */
:root {
    /* Primary Colors - Warm Coral/Pink */
    --primary-color: #e11d48;
    --primary-dark: #be123c;
    --primary-light: #fb7185;
    --primary-50: #fff1f2;

    /* Secondary Colors - Deep Purple */
    --secondary-color: #1e1b4b;
    --secondary-light: #312e81;

    /* Neutral Colors */
    --text-dark: #0f172a;
    --text-medium: #475569;
    --text-light: #94a3b8;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;

    /* Accent */
    --accent-rose: #f43f5e;
    --accent-orange: #f97316;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #e11d48 0%, #f43f5e 50%, #fb7185 100%);
    --gradient-hero: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
    --gradient-overlay: rgba(30, 27, 75, 0.92);

    /* Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-pink: 0 10px 40px -10px rgba(225, 29, 72, 0.3);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
}

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

html,
body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.25;
    color: var(--text-dark);
}

/* Override Bootstrap Colors */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-primary-subtle {
    background-color: var(--primary-50) !important;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    color: #ffffff !important;
}

.btn-primary:hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-pink);
}

/* Custom Button Styles */
.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-width: 2px;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    padding: 1.25rem 0;
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark) !important;
}

.nav-logo {
    height: 60px;
    width: auto;
    transition: all var(--transition-base);
}

.nav-link {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-medium) !important;
    padding: 0.75rem 1.5rem !important;
    transition: all var(--transition-base);
    position: relative;
}

.nav-link.btn {
    color: #ffffff !important;
    background-color: #be123c;
    border-color: #be123c;
    font-weight: 500;
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    transition: all 0.25s ease;
}

.nav-link.btn:hover {
    background-color: #9f1239;
    border-color: #9f1239;
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all var(--transition-base);
    transform: translateX(-50%);
    border-radius: var(--radius-full);
}

.nav-link.btn::after {
    display: none !important;
}

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

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

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 4rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(225, 29, 72, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(244, 63, 94, 0.1) 0%, transparent 40%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
}

.hero-section h1 {
    font-size: 3.75rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: white;
}

.hero-section h1 .highlight {
    color: #fb7185;
    position: relative;
}

.hero-section h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #f43f5e, #fb7185);
    border-radius: var(--radius-full);
}

.hero-section p.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.75;
    max-width: 540px;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stats .stat-item {
    text-align: left;
}

.hero-stats .stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.hero-stats .stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

.badge-hero {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 500;
    padding: 0.5rem 1rem;
    letter-spacing: 0.05em;
}

/* Section Styles */
.section-padding {
    padding: 6rem 0;
}

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

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.75;
}

/* About Section */
.about-section {
    background-color: var(--bg-white);
}

.about-image-wrapper {
    position: relative;
    padding: 1.5rem;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-2xl);
    opacity: 0.3;
}

.about-image-wrapper img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.about-badge {
    position: absolute;
    bottom: 2rem;
    right: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.about-badge .years {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.about-badge .text {
    font-size: 0.875rem;
    opacity: 0.9;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

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

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--text-dark);
}

@media (max-width: 991px) {
    .feature-item {
        justify-content: center;
        text-align: left;
    }
}

.feature-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    border-radius: var(--radius-full);
    color: var(--primary-color);
    flex-shrink: 0;
}

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

.service-card {
    background: var(--bg-white);
    border: none;
    border-radius: var(--radius-xl);
    padding: 2rem;
    height: 100%;
    transition: all var(--transition-slow);
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    border-radius: var(--radius-xl);
    margin-bottom: 1.5rem;
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: white !important;
}

.service-icon i {
    font-size: 1.75rem;
    color: var(--primary-color);
    transition: all var(--transition-base);
}

.service-card:hover .service-icon i {
    color: white;
}

.service-card h4 {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
}

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

/* Gallery Section */
.gallery-section {
    background-color: var(--bg-white);
}

.hover-lift .card {
    transition: all var(--transition-base);
}

.hover-lift:hover .card {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl) !important;
}

.hover-lift:hover img {
    transform: scale(1.05);
}

/* Why Choose Us */
.choose-us-section {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.choose-us-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.2) 0%, transparent 70%);
}

.choose-us-section .section-label {
    color: #fb7185;
}

.choose-us-section h2,
.choose-us-section h3,
.choose-us-section p {
    color: white;
}

.choose-us-section p {
    opacity: 0.85;
}

.choose-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    margin: 0 auto 1.25rem;
    transition: all var(--transition-base);
}

.choose-us-section .col-lg-3:hover .choose-icon {
    background: var(--primary-color);
    transform: scale(1.1);
}

.choose-icon i {
    font-size: 2rem;
    color: white;
}

/* Testimonials */
.testimonials-section {
    background-color: var(--bg-light);
}

.testimonial-card {
    background: var(--bg-white);
    border: none;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.testimonial-stars {
    color: #fbbf24;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.testimonial-text {
    font-size: 1.0625rem;
    color: var(--text-medium);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 2px solid var(--primary-50);
}

.testimonial-author h6 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.125rem;
    font-family: 'Poppins', sans-serif;
}

.testimonial-author span {
    font-size: 0.8125rem;
    color: var(--text-light);
}

/* Contact Section */
.contact-section {
    background-color: var(--bg-white);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.contact-info-item h6 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-family: 'Poppins', sans-serif;
}

.contact-info-item p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9375rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 2rem;
}

.social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    border-radius: var(--radius-full);
    color: var(--primary-color);
    transition: all var(--transition-base);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.contact-form {
    background: var(--bg-white);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
}

.contact-form h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-control,
.form-select {
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
    transition: all var(--transition-base);
    background-color: #f8fafc;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.1);
    background-color: white;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.3) 0%, transparent 70%);
}

.cta-section::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.2) 0%, transparent 70%);
}

.cta-section h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.125rem;
    margin-bottom: 0;
}

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

.footer-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.footer-brand i {
    color: var(--primary-light);
}

.footer-about p {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all var(--transition-base);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-light);
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
}

.footer-contact i {
    color: var(--primary-light);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin: 0;
}

.footer-bottom a {
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-bottom a:hover {
    color: var(--primary-light);
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    color: white;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-pink);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Selection */
::selection {
    background-color: var(--primary-color);
    color: white;
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .hero-section h1 {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 991px) {
    .nav-logo {
        height: 45px;
    }

    .navbar-collapse {
        background: white;
        padding: 1.5rem;
        border-radius: var(--radius-xl);
        box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.15);
        margin-top: 1rem;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-link {
        display: inline-block;
        padding: 0.75rem 1.5rem !important;
        font-size: 1.05rem;
    }

    .nav-link::after {
        display: none !important;
    }

    .nav-link.active,
    .nav-link:hover {
        background-color: var(--primary-50);
        border-radius: var(--radius-full);
    }

    .nav-link.btn {
        width: 100%;
        margin-top: 1rem;
        padding: 0.875rem !important;
        text-align: center;
    }

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

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p.lead {
        font-size: 1.125rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .hero-stats .stat-number {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .about-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-stats .stat-item {
        text-align: center;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }

    .about-badge {
        right: 1rem;
        bottom: 1rem;
    }
}