/* Custom Styles for Tobin Construction */

:root {
    --color-amber-500: #f59e0b;
    --color-amber-600: #d97706;
    --color-stone-950: #0c0a09;
    --color-stone-900: #1c1917;
}

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

font-manrope {
    font-family: 'Manrope', sans-serif;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

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

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

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

/* Selection Color */
::selection {
    background: var(--color-amber-600);
    color: var(--color-stone-950);
}

/* Navbar Styles */
#navbar {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#navbar.scrolled {
    background: rgba(12, 10, 9, 0.95);
    border-bottom: 1px solid rgba(217, 119, 6, 0.2);
}

/* Service Card Hover Effects */
.service-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(217, 119, 6, 0.1);
}

/* Project Item Hover Effects */
.project-item {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Input Focus Styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2);
}

/* Button Hover Effects */
button,
a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-cinzel {
        font-size: 1.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 {
    #navbar,
    #mobile-menu-btn,
    button {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
