/* Custom Styles for GreenStone Dental Studio */

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
}

h1, h2, h3, h4, .font-serif {
    font-family: 'Cormorant Garamond', serif;
}

/* Hero Animations */
.hero-subtitle {
    animation: slideUp 0.8s ease-out 0.2s both;
}

.hero-title {
    animation: slideUp 0.8s ease-out 0.4s both;
}

.hero-text {
    animation: slideUp 0.8s ease-out 0.6s both;
}

.hero-cta {
    animation: slideUp 0.8s ease-out 0.8s both;
}

.hero-stats {
    animation: slideUp 0.8s ease-out 1s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service Card Hover Effects */
.service-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(244, 63, 94, 0.1);
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(12, 12, 12, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0c0c0c;
}

::-webkit-scrollbar-thumb {
    background: #3f3f46;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #f43f5e;
}

/* Selection Color */
::selection {
    background: rgba(244, 63, 94, 0.3);
    color: #fafafa;
}

/* Input Focus Styles */
input:focus,
textarea:focus,
select:focus {
    border-color: #f43f5e !important;
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.1);
}

/* Mobile Menu Transitions */
.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* Image Hover Zoom */
img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Decorative Elements */
.decoration-line {
    position: absolute;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(244, 63, 94, 0.3), transparent);
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.1;
    }
}

/* Smooth Transitions for Links */
a {
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Loading State for Buttons */
button:disabled,
a:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Print Styles */
@media print {
    nav,
    #contact-form,
    .service-card {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
