/* Custom styles for G Scot Johnson MD PA */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 300;
    line-height: 1.7;
    color: #1a1a1a;
    background-color: #fff;
    overflow-x: hidden;
}

/* Typography */
.font-serif-display {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 300;
}

/* Thin decorative lines */
.thin-line {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(168, 47, 47, 0.2), transparent);
}

/* Hero section */
.hero-overlay {
    background: linear-gradient(to bottom, rgba(92, 26, 26, 0.85), rgba(139, 37, 37, 0.75));
}

/* Button styles */
.btn-primary {
    background-color: #a82f2f;
    color: white;
    border: 1px solid #a82f2f;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #8b2525;
    border-color: #8b2525;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 47, 47, 0.25);
}

.btn-outline {
    background-color: transparent;
    color: #a82f2f;
    border: 1px solid #a82f2f;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline:hover {
    background-color: #a82f2f;
    color: white;
    transform: translateY(-2px);
}

.btn-outline:hover {
    background-color: #fff;
    color: #8b2525;
}

/* Service cards */
.service-card {
    background: white;
    border: 1px solid rgba(168, 47, 47, 0.1);
    transition: all 0.4s ease;
}

.service-card:hover {
    border-color: #a82f2f;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(168, 47, 47, 0.1);
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Form styles */
input, textarea {
    border: 1px solid rgba(168, 47, 47, 0.2);
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #a82f2f;
}

/* Success message */
.success-message {
    display: none;
    background-color: #fff0f0;
    border: 1px solid #ffe0e0;
    color: #8b2525;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .service-card, .btn-primary, .btn-outline {
        transition: none;
    }
}

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

::-webkit-scrollbar-track {
    background: #fff8f8;
}

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

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