/* ===== BASE DESIGN ===== */
:root {
    --text-main: #262624;
    --text-muted: #7A7A78;
    --bg-light: #F7F6F2;
    --bg-card: #FFFFFF;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-light);
    color: var(--text-main);
}

body {
    font-family: 'Manrope', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Background Pattern */
.bg-grid-pattern {
    background-image: radial-gradient(circle, #e0dfdb 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Forms */
.form-input,
.form-select,
.form-textarea {
    background-color: #F0EFEA !important;
    border: 1px solid transparent !important;
    transition: all 0.2s ease;
    color: var(--text-main) !important;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    background-color: #FFFFFF !important;
    border-color: #D4D2CD !important;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.05);
    outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

/* Buttons */
.btn-solid {
    background-color: var(--text-main);
    color: #FFFFFF;
    transition: all 0.2s ease;
}

.btn-solid:hover {
    background-color: #4A4A4A;
}

.btn-outline {
    border: 1px solid #D4D2CD;
    color: var(--text-main);
    background-color: transparent;
    transition: background-color 0.2s ease;
}

.btn-outline:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

/* Portfolio and Services Cards */
.img-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.img-card:hover {
    transform: translateY(-4px);
}

.img-card img {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.img-card:hover img {
    transform: scale(1.03);
}

/* Nav Underline */
.nav-link {
    position: relative;
    padding-bottom: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--text-main);
}