/* Custom Styles for Milam Mark DDS */

/* Custom Properties */
:root {
    --color-dark-950: #0a0a0f;
    --color-dark-900: #12121a;
    --color-plum-950: #1a0a2e;
    --color-plum-600: #6b21a8;
    --color-plum-400: #a855f7;
    --color-amber-600: #d97706;
    --color-amber-500: #f59e0b;
    --color-amber-400: #fbbf24;
    --color-light-100: #fafafa;
    --color-light-200: #e5e5e5;
    --color-light-300: #d4d4d4;
    --color-light-400: #a3a3a3;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--color-dark-950);
    color: var(--color-light-100);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
.font-cinzel {
    font-family: 'Cinzel', serif;
}

.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

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

::-webkit-scrollbar-track {
    background: var(--color-dark-950);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--color-amber-400), var(--color-plum-600));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-amber-500);
}

/* Navigation */
#navbar {
    transition: all 0.5s ease;
}

#navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
}

/* Mobile Menu */
.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--color-amber-400), var(--color-plum-400));
    transition: width 0.3s ease;
}

.mobile-link:hover::after {
    width: 100%;
}

/* Hero Section */
#home {
    position: relative;
}

/* Floating Cards Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

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

/* Service Cards */
.group:hover .group-hover\\:shadow-lg {
    transform: translateY(-8px);
}

/* Buttons */
button, a {
    cursor: pointer;
}

/* Input Focus States */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-amber-500) !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1) !important;
}

/* Testimonial Cards */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* Fade In Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Stagger Animation Delays */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-cinzel {
        font-size: 1.5rem;
    }
    
    .font-cinzel.text-3xl {
        font-size: 2rem;
    }
    
    .font-cinzel.text-4xl {
        font-size: 2.5rem;
    }
}

/* 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 {
    body {
        background: white;
        color: black;
    }
    
    .no-print {
        display: none;
    }
}
