/* Custom Styles for David Hutchison & Son */

:root {
    --midnight-blue: #1a365d;
    --midnight-blue-light: #2c5282;
    --mint-green: #68d391;
    --mint-green-light: #9ae6b4;
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-300: #d6d3d1;
    --stone-400: #a8a29e;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;
}

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

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

.font-serif {
    font-family: 'Cormorant Garamond', serif;
}

.font-lato {
    font-family: 'Lato', sans-serif;
}

/* Custom Colors */
.text-midnight-blue {
    color: var(--midnight-blue);
}

.text-mint-green {
    color: var(--mint-green);
}

.bg-midnight-blue {
    background-color: var(--midnight-blue);
}

.bg-mint-green {
    background-color: var(--mint-green);
}

.bg-mint-green\/20 {
    background-color: rgba(104, 211, 145, 0.2);
}

.bg-mint-green\/10 {
    background-color: rgba(104, 211, 145, 0.1);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background-color: var(--midnight-blue);
    color: white;
    font-family: 'Lato', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 2px solid var(--midnight-blue);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--midnight-blue-light);
    border-color: var(--midnight-blue-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(26, 54, 93, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background-color: transparent;
    color: var(--midnight-blue);
    font-family: 'Lato', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 2px solid var(--midnight-blue);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: var(--midnight-blue);
    color: white;
    transform: translateY(-2px);
}

/* Service Cards */
.service-card {
    transition: all 0.5s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(26, 54, 93, 0.2);
}

/* Gallery Items */
.gallery-item {
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

/* Navigation */
.nav-link {
    position: relative;
    padding-bottom: 0.25rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--mint-green);
    transition: width 0.3s ease;
}

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-fade-in-delay {
    animation: fadeInDelay 0.8s ease-out 0.3s forwards;
    opacity: 0;
}

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

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
}

/* Focus Styles */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(104, 211, 145, 0.3);
}

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

::-webkit-scrollbar-track {
    background: var(--stone-100);
}

::-webkit-scrollbar-thumb {
    background: var(--midnight-blue);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--midnight-blue-light);
}
