/* Modern Architectural Bureau Style Overrides */

:root {
    --arch-black: #1a1a1a;
    --arch-white: #ffffff;
    --arch-gray-light: #f4f4f4;
    --arch-gray-medium: #888888;
    --arch-accent: #000000;
    --transition-speed: 0.4s;
    --easing: cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

body {
    font-family: 'Jost', sans-serif !important;
    color: var(--arch-black);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Modern Button Styling & Interactivity */
.u-button-style, 
button, 
.u-btn {
    transition: all var(--transition-speed) var(--easing) !important;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 400 !important;
}

/* Hover Effect: Subtle lift and shadow or background shift */
.u-button-style:hover, 
button:hover, 
.u-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Click Effect: Slight scale down */
.u-button-style:active, 
button:active, 
.u-btn:active {
    transform: translateY(0) scale(0.96);
    transition: all 0.1s ease !important;
}

/* Architectural Lines - subtle borders or underlines */
.u-nav-link {
    position: relative;
    transition: color var(--transition-speed) var(--easing) !important;
}

.u-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--arch-black);
    transition: all var(--transition-speed) var(--easing);
    transform: translateX(-50%);
}

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

/* Image Hover Effects - subtle zoom */
.u-image img, 
.u-img {
    transition: transform 1.2s var(--easing) !important;
}

.u-image:hover img, 
.u-img:hover {
    transform: scale(1.05);
}

/* Section Spacing & Cleanliness */
.u-section {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

/* Custom Scrollbar for a modern look */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--arch-white);
}

::-webkit-scrollbar-thumb {
    background: var(--arch-gray-medium);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--arch-black);
}

/* Typography refinement */
h1, h2, h3, h4 {
    font-weight: 300 !important;
    letter-spacing: -0.02em;
}

/* Fade-in animation for elements */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--easing);
}

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

/* Additional Architectural Refinements */

/* Monospace for details */
.u-text-small, .project-number, .date {
    font-family: 'Courier New', Courier, monospace !important;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--arch-gray-medium);
}

/* Minimalist Header */
header {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Modern Link Hover */
a {
    transition: all 0.3s ease;
}

/* Grid Gap Optimization */
.u-gallery-inner {
    gap: 20px !important;
}

/* Project Card Hover */
.u-gallery-item {
    overflow: hidden;
}

.u-gallery-item .u-back-image {
    transition: transform 1.5s cubic-bezier(0.25, 0.1, 0.25, 1) !important;
}

.u-gallery-item:hover .u-back-image {
    transform: scale(1.1);
}

/* Smooth Section Transitions */
section {
    position: relative;
}

/* Custom Selection Color */
::selection {
    background: var(--arch-black);
    color: var(--arch-white);
}

/* Hide Nicepage branding if any */
.u-footer-content a[href*="nicepage"] {
    display: none !important;
}

/* Modern Form Styling */
input, textarea {
    border: none !important;
    border-bottom: 1px solid var(--arch-gray-medium) !important;
    border-radius: 0 !important;
    padding: 10px 0 !important;
    background: transparent !important;
    transition: border-color 0.3s ease !important;
}

input:focus, textarea:focus {
    border-bottom-color: var(--arch-black) !important;
    outline: none !important;
}
