/* Custom Styles for Monroe Dental Group */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #0D0D0D;
    color: #F5E6C8;
    overflow-x: hidden;
}

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

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

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

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

/* Selection */
::selection {
    background: #C9A227;
    color: #0D0D0D;
}

/* Animation Classes */
.reveal-element {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-element.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Navbar Styles */
#navbar {
    background: transparent;
    transition: background 0.5s ease, padding 0.5s ease, box-shadow 0.5s ease;
}

#navbar.scrolled {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    box-shadow: 0 1px 0 rgba(201, 162, 39, 0.1);
}

/* Mobile Menu */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gold Gradient Text Effect */
.gold-gradient {
    background: linear-gradient(135deg, #C9A227 0%, #F5E6C8 50%, #C9A227 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card Hover Effects */
.group:hover .group-hover\:bg-\[\#C9A227\] {
    background: #C9A227;
}

/* Button Focus States */
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Form Input Focus */
input:focus,
select:focus,
textarea:focus {
    border-color: #C9A227 !important;
    box-shadow: 0 0 0 1px #C9A227;
}

/* Image Hover Zoom */
img {
    transition: transform 0.5s ease;
}

/* Smooth Transitions */
a,
button {
    transition: all 0.3s ease;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-['Cinzel'] {
        font-size: 2rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print Styles */
@media print {
    #navbar,
    .reveal-element,
    .mobile-menu-btn {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}
