/* Modern BYL Interior - Tailwind-inspired CSS */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #171717;
    background-color: #ffffff;
}

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

/* Utility Classes */
.min-h-screen {
    min-height: 100vh;
}

.h-screen {
    height: 100vh;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.top-0 {
    top: 0;
}

.left-0 {
    left: 0;
}

.z-50 {
    z-index: 50;
}

.z-10 {
    z-index: 10;
}

.hidden {
    display: none;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.items-center {
    align-items: center;
}

.items-end {
    align-items: end;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.flex-col {
    flex-direction: column;
}

.space-x-6 > * + * {
    margin-left: 1.5rem;
}

.space-x-8 > * + * {
    margin-left: 2rem;
}

.space-x-12 > * + * {
    margin-left: 3rem;
}

.space-y-8 > * + * {
    margin-top: 2rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-12 {
    gap: 3rem;
}

.gap-16 {
    gap: 4rem;
}

/* Grid System */
.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.max-w-7xl {
    max-width: 80rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-xl {
    max-width: 36rem;
}

.max-w-xs {
    max-width: 20rem;
}

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

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-5 {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-32 {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.px-10 {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.px-12 {
    padding-left: 3rem;
    padding-right: 3rem;
}

.p-8 {
    padding: 2rem;
}

.pb-1 {
    padding-bottom: 0.25rem;
}

.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;
}

.mb-20 {
    margin-bottom: 5rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.-bottom-6 {
    bottom: -1.5rem;
}

.-left-6 {
    left: -1.5rem;
}

/* Colors */
.text-neutral-900 {
    color: #171717;
}

.text-neutral-500 {
    color: #737373;
}

.text-neutral-400 {
    color: #a3a3a3;
}

.text-white {
    color: #ffffff;
}

.bg-white {
    background-color: #ffffff;
}

.bg-neutral-50 {
    background-color: #fafafa;
}

.bg-neutral-100 {
    background-color: #f5f5f5;
}

.bg-neutral-200 {
    background-color: #e5e5e5;
}

.bg-neutral-700 {
    background-color: #404040;
}

.bg-neutral-900 {
    background-color: #171717;
}

.bg-transparent {
    background-color: transparent;
}

.bg-green-50 {
    background-color: #f0fdf4;
}

.bg-red-50 {
    background-color: #fef2f2;
}

.border-neutral-100 {
    border-color: #f5f5f5;
}

.border-neutral-200 {
    border-color: #e5e5e5;
}

.border-neutral-900 {
    border-color: #171717;
}

.border-neutral-400 {
    border-color: #a3a3a3;
}

.border-green-200 {
    border-color: #bbf7d0;
}

.border-red-200 {
    border-color: #fecaca;
}

.text-green-800 {
    color: #166534;
}

.text-red-800 {
    color: #991b1b;
}

/* Typography Sizes */
.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.text-5xl {
    font-size: 3rem;
    line-height: 1;
}

.text-6xl {
    font-size: 3.75rem;
    line-height: 1;
}

.text-7xl {
    font-size: 4.5rem;
    line-height: 1;
}

.text-8xl {
    font-size: 6rem;
    line-height: 1;
}

/* Font Weights */
.font-medium {
    font-weight: 500;
}

.font-bold {
    font-weight: 700;
}

/* Text Styles */
.uppercase {
    text-transform: uppercase;
}

.italic {
    font-style: italic;
}

.tracking-wide {
    letter-spacing: 0.025em;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

.leading-tight {
    line-height: 1.25;
}

.leading-relaxed {
    line-height: 1.625;
}

.text-center {
    text-align: center;
}

/* Borders */
.border {
    border-width: 1px;
}

.border-b {
    border-bottom-width: 1px;
}

.border-t {
    border-top-width: 1px;
}

.rounded {
    border-radius: 0.25rem;
}

/* Shadows */
.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Transitions */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-500 {
    transition-duration: 500ms;
}

.duration-700 {
    transition-duration: 700ms;
}

/* Hover States */
.hover\:text-neutral-900:hover {
    color: #171717;
}

.hover\:text-neutral-400:hover {
    color: #a3a3a3;
}

.hover\:text-white:hover {
    color: #ffffff;
}

.hover\:bg-neutral-700:hover {
    background-color: #404040;
}

.hover\:bg-neutral-900:hover {
    background-color: #171717;
}

.hover\:border-neutral-400:hover {
    border-color: #a3a3a3;
}

.hover\:border-neutral-900:hover {
    border-color: #171717;
}

/* Aspect Ratios */
.aspect-4\/5 {
    aspect-ratio: 4/5;
}

.aspect-16\/10 {
    aspect-ratio: 16/10;
}

.portfolio-img-wrap {
    width: 100%;
    height: 320px;
    overflow: hidden;
    background-color: #e5e5e5;
}

.portfolio-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.3);
    transition: all 0.7s ease;
}

.group:hover .portfolio-img-wrap img {
    filter: grayscale(0);
    transform: scale(1.05);
}

/* Object Fit */
.object-cover {
    object-fit: cover;
}

/* Overflow */
.overflow-hidden {
    overflow: hidden;
}

/* Outline */
.outline-none {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

/* Focus States */
.focus\:border-neutral-900:focus {
    border-color: #171717;
}

/* Cursor */
.cursor-default {
    cursor: default;
}

/* Selection */
.selection-bg-neutral-900 ::selection {
    background-color: #171717;
}

.selection-text-white ::selection {
    color: #ffffff;
}

/* Service Icons */
.w-8 {
    width: 2rem;
}

.h-8 {
    height: 2rem;
}

.service-icon {
    transition: color 0.3s ease, transform 0.3s ease;
}

.group:hover .service-icon {
    color: #171717;
    transform: translateY(-2px);
}

/* Custom Utilities */
.h-px {
    height: 1px;
}

.w-4 {
    width: 1rem;
}

.h-4 {
    height: 1rem;
}

.w-5 {
    width: 1.25rem;
}

.h-5 {
    height: 1.25rem;
}

.grayscale-20 {
    filter: grayscale(0.2);
}

.grayscale-30 {
    filter: grayscale(0.3);
}

.brightness-105 {
    filter: brightness(1.05);
}

.lg\:h-70vh {
    height: 70vh;
}

/* Group Hover Effects */
.group:hover .group-hover\:bg-neutral-900 {
    background-color: #171717;
}

.group:hover .group-hover\:grayscale-0 {
    filter: grayscale(0);
}

.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Responsive Design */
@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }
    
    .md\:hidden {
        display: none;
    }
    
    .md\:block {
        display: block;
    }
    
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .md\:flex-row {
        flex-direction: row;
    }
    
    .md\:text-7xl {
        font-size: 4.5rem;
        line-height: 1;
    }
    
    .md\:text-8xl {
        font-size: 6rem;
        line-height: 1;
    }
}

@media (min-width: 1024px) {
    .lg\:col-span-4 {
        grid-column: span 4 / span 4;
    }
    
    .lg\:col-span-5 {
        grid-column: span 5 / span 5;
    }
    
    .lg\:col-span-7 {
        grid-column: span 7 / span 7;
    }
    
    .lg\:col-span-8 {
        grid-column: span 8 / span 8;
    }
    
    .lg\:grid-cols-12 {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }
    
    .lg\:aspect-auto {
        aspect-ratio: auto;
    }
}

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

.inquire-btn {
    text-decoration: none;
    color: #171717;
    border-bottom: 1px solid #171717;
    padding-bottom: 0.25rem;
    cursor: pointer;
}

#navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.8);
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f5f5f5;
}

/* Mobile Menu Animation */
#mobile-menu {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

#mobile-menu.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

/* Hero Animation */
.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.hero-image {
    opacity: 0;
    transform: scale(1.05);
    animation: fadeInScale 1.5s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Service Items Animation */
.service-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.service-item.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Portfolio Items Animation */
.portfolio-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.portfolio-item.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth Scrolling Enhancement */
html {
    scroll-padding-top: 100px;
}

/* Button Styles */
button {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* Form Styles */
input, textarea {
    font-family: inherit;
}

/* Mobile Responsive Adjustments */
@media (max-width: 767px) {
    .text-6xl {
        font-size: 2.5rem;
    }
    
    .text-5xl {
        font-size: 2rem;
    }
    
    .py-32 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    
    .px-8 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .gap-12 {
        gap: 2rem;
    }
    
    .gap-16 {
        gap: 2rem;
    }
    
    .mb-20 {
        margin-bottom: 3rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Contact Form */
.contact-form {
    max-width: 640px;
    margin: 0 auto;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-field {
    margin-bottom: 1.5rem;
}

.form-field label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #a3a3a3;
    margin-bottom: 0.5rem;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.875rem 0;
    border: none;
    border-bottom: 1px solid #e5e5e5;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #171717;
    background: transparent;
    outline: none;
    transition: border-color 0.3s ease;
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-bottom-color: #171717;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #d4d4d4;
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
    border: 1px solid #e5e5e5;
    padding: 0.875rem;
    margin-top: 0.25rem;
}

.form-field textarea:focus {
    border-color: #171717;
}

.form-field select {
    cursor: pointer;
    color: #737373;
}

.form-field select:focus {
    color: #171717;
}

.contact-success {
    text-align: center;
    padding: 3rem 0;
}

/* Footer */
.site-footer {
    background-color: #171717;
    color: #a3a3a3;
    padding: 5rem 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 3fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand a {
    text-decoration: none;
    color: #ffffff;
}

.footer-brand .text-neutral-400 {
    color: #737373;
}

.footer-tagline {
    margin-top: 1rem;
    color: #737373;
    line-height: 1.6;
    max-width: 260px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-heading {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: #737373;
    line-height: 1.5;
}

.footer-links a {
    color: #737373;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    color: #737373;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-flex;
}

.footer-socials a:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    font-size: 0.75rem;
    color: #525252;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 767px) {
    .site-footer {
        padding: 3rem 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-bottom-links {
        gap: 1.5rem;
    }
}
