/* Custom Styles for Pacific Plumbing Inc. */

:root {
    --midnight: #0a1628;
    --mint: #4ade80;
    --mint-light: #86efac;
    --slate-50: #f8fafc;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: var(--midnight);
}

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

::-webkit-scrollbar-track {
    background: var(--slate-50);
}

::-webkit-scrollbar-thumb {
    background: var(--mint);
    border-radius: 4px;
}

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

/* Typography */
.font-manrope {
    font-family: 'Manrope', sans-serif;
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

/* Service Card Hover Effects */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--mint);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Navbar Scroll Effect */
#navbar {
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

#navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(10, 22, 40, 0.1);
}

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

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

/* Input Focus Styles */
input:focus,
textarea:focus,
select:focus {
    border-color: var(--mint) !important;
}

/* Button Hover Effects */
button,
a {
    transition: all 0.3s ease;
}

/* Selection Color */
::selection {
    background-color: var(--mint);
    color: var(--midnight);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .service-card {
        padding: 2rem;
    }
    
    #about .aspect-\[4\/5\] {
        aspect-ratio: 1/1 !important;
    }
    
    .absolute.-bottom-8.-right-8 {
        position: relative;
        bottom: auto !important;
        right: auto !important;
        margin-top: 2rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Print Styles */
@media print {
    #navbar,
    #mobile-menu-btn,
    button {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
