/*
Theme Name: Modern Dental
Theme URI: https://moderndental.com
Author: Antigravity
Author URI: https://google.com
Description: A high-end dental website theme with GSAP animations and Elementor Pro support.
Version: 1.0
Text Domain: modern-dental
*/

:root {
    --primary-color: #D4AF37; /* Gold */
    --secondary-color: #0a0a0a; /* Dark Background */
    --text-color: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

body {
    background-color: var(--secondary-color);
    color: var(--text-color);
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

#smooth-wrapper {
    overflow: hidden;
    width: 100%;
    position: fixed;
    height: 100%;
    top: 0;
    left: 0;
}

#smooth-content {
    overflow: visible;
    width: 100%;
}

/* Hero Widget Styles */
.md-hero-scroll-wrapper {
    position: relative;
    width: 100%;
    background-color: var(--secondary-color);
}

.md-hero-sticky-container {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.md-hero-content {
    text-align: center;
    z-index: 10;
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.md-hero-title {
    margin: 0;
    opacity: 0;
    transform: translateY(50px);
    text-transform: uppercase;
    letter-spacing: 5px;
    z-index: 2;
}

.md-hero-subtitle {
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    z-index: 2;
}

.md-hero-image-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40vw;
    height: 40vw;
    z-index: 1;
}

.md-hero-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 50px rgba(212, 175, 55, 0.2));
}

.md-hero-cta {
    margin-top: 50px;
    opacity: 0;
    z-index: 2;
}

.md-btn {
    padding: 15px 40px;
    border: 1px solid var(--primary-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.md-btn:hover {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

/* Services Widget Styles */
.md-services-wrapper {
    position: relative;
    width: 100%;
    background-color: #111;
    overflow: hidden;
}

.md-services-pin-container {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 0 5%;
}

.md-section-title {
    margin-bottom: 50px;
    text-transform: uppercase;
}

.md-services-horizontal-track {
    display: flex;
    gap: 50px;
    width: max-content;
}

.md-service-card {
    width: 400px;
    height: 500px;
    background: #1a1a1a;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

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

.md-service-image {
    height: 60%;
    width: 100%;
    background-size: cover;
    background-position: center;
}

.md-service-content {
    padding: 30px;
    height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.md-service-content h3 {
    margin: 0 0 10px 0;
}

.md-service-content p {
    margin: 0;
    line-height: 1.5;
}

/* About Widget Styles */
.md-about-wrapper {
    padding: 100px 0;
    background-color: var(--secondary-color);
    overflow: hidden;
}

.md-about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.md-about-image-col {
    width: 45%;
    position: relative;
}

.md-about-image-reveal {
    width: 100%;
    height: 600px;
    overflow: hidden;
    position: relative;
}

.md-about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.2);
}

.md-about-text-col {
    width: 45%;
}

.md-about-title {
    margin-bottom: 30px;
}

.md-about-desc {
    line-height: 1.8;
    opacity: 0.8;
}

