/* Main Theme Styles */

/* Typography */
h1, h2, h3, h4 {
    letter-spacing: -0.05em;
    text-transform: uppercase;
    font-weight: 800;
}

.font-mono {
    font-family: var(--font-mono);
}

.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }

/* Grid & Layout */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.gap-px { gap: 1px; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-x-8 { column-gap: 2rem; }
.gap-y-8 { row-gap: 2rem; }

@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Spacing */
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-28 { padding-top: 7rem; padding-bottom: 7rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }

/* Colors & Backgrounds */
.bg-graphite { background-color: var(--graphite); }
.bg-graphite-soft { background-color: var(--graphite-soft); }
.bg-paper { background-color: var(--paper); }
.bg-white { background-color: #ffffff; }
.bg-brand-accent { background-color: var(--brand-accent); }
.text-brand-accent { color: var(--brand-accent); }
.text-white { color: #ffffff; }
.text-white\/70 { color: rgba(255, 255, 255, 0.7); }
.text-white\/60 { color: rgba(255, 255, 255, 0.6); }
.text-white\/50 { color: rgba(255, 255, 255, 0.5); }
.text-white\/40 { color: rgba(255, 255, 255, 0.4); }
.text-white\/30 { color: rgba(255, 255, 255, 0.3); }
.text-graphite { color: var(--graphite); }
.text-graphite\/70 { color: rgba(26, 29, 33, 0.7); }
.text-graphite\/60 { color: rgba(26, 29, 33, 0.6); }
.text-graphite\/50 { color: rgba(26, 29, 33, 0.5); }
.text-graphite\/40 { color: rgba(26, 29, 33, 0.4); }
.text-graphite\/30 { color: rgba(26, 29, 33, 0.3); }

/* Buttons & Links */
.transition-all { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.transition-colors { transition: background-color 0.2s, color 0.2s; }

.hover\:bg-brand-accent-hover:hover { background-color: var(--brand-accent-hover); }
.hover\:bg-white\/10:hover { background-color: rgba(255, 255, 255, 0.1); }
.hover\:text-brand-accent:hover { color: var(--brand-accent); }

/* Custom Components */
.max-w-7xl { max-w: 80rem; }
.max-w-5xl { max-w: 64rem; }
.max-w-4xl { max-w: 56rem; }
.max-w-3xl { max-w: 48rem; }
.max-w-2xl { max-w: 42rem; }
.max-w-xl { max-w: 36rem; }

.mx-auto { margin-left: auto; margin-right: auto; }

.aspect-square { aspect-ratio: 1 / 1; }
.aspect-video { aspect-ratio: 16 / 9; }
.aspect-\[4\/3\] { aspect-ratio: 4 / 3; }

.object-cover { object-fit: cover; }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.top-28 { top: 7rem; }
.z-50 { z-index: 50; }
.z-40 { z-index: 40; }
.z-10 { z-index: 10; }

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

.animate-entrance {
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Header Specific */
.main-navigation ul {
    display: flex;
    gap: 1.5rem;
}

.main-navigation li a {
    transition: color 0.2s;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="file"],
select,
textarea {
    width: 100%;
    background: transparent;
    border-bottom: 1px solid rgba(26, 29, 33, 0.2);
    padding: 0.5rem 0;
    outline: none;
    transition: border-color 0.2s;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--brand-accent);
}

.wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 1.25rem;
}

.wpcf7-submit {
    width: 100%;
    background-color: var(--brand-accent);
    color: white;
    padding: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.wpcf7-submit:hover {
    background-color: var(--brand-accent-hover);
}

/* Realizations Filter */
.realization-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Responsive Menu */
#mobile-menu.hidden { display: none; }
.close-icon.hidden { display: none; }

/* Entry Content */
.entry-content p { margin-bottom: 1.5rem; }
.entry-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.5rem; }

/* Footer Menu */
.footer-menu-container ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
