/* ========================================
   IART Architects – Custom Styles
   Minimal, high‑end aesthetic
   ======================================== */

/* ---------- Global & Typography ---------- */
body {
    font-family: 'Inter', sans-serif;
    color: #1e1e1e;
    background-color: #fff;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 300;  /* light weight for elegance */
    letter-spacing: -0.02em;
}

a {
    transition: all 0.2s ease;
    color: #1e1e1e;
    text-decoration: none;
}

a:hover {
    color: #666;
}

/* ---------- Navigation ---------- */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.85) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
}

.navbar-brand {
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 1.6rem;
}

.nav-link {
    font-weight: 400;
    margin-left: 1.5rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

/* ---------- Hero Section ---------- */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-color: #fafafa;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero .lead {
    font-size: 1.25rem;
    max-width: 600px;
}

/* ---------- Buttons ---------- */
.btn-outline-dark {
    border-width: 1px;
    border-radius: 0;
    padding: 0.75rem 2.5rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    transition: all 0.2s;
}

.btn-outline-dark:hover {
    background-color: #1e1e1e;
    color: #fff;
    border-color: #1e1e1e;
}

/* ---------- Project Cards ---------- */
.card {
    transition: opacity 0.2s;
}

.card:hover {
    opacity: 0.9;
}

.card-img-top {
    border-radius: 0; /* sharp edges */
}

.card-body {
    padding: 1rem 0 0 0;
}

.card-title {
    font-weight: 400;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.card-text {
    color: #6c757d;
    font-size: 0.95rem;
}

/* ---------- Filter Buttons (Projects Page) ---------- */
.btn-group .btn-outline-dark {
    padding: 0.5rem 1.8rem;
    border-radius: 0;
}

.btn-group .btn-outline-dark.active {
    background-color: #1e1e1e;
    color: #fff;
    border-color: #1e1e1e;
}

/* ---------- Project Detail Page ---------- */
.display-3.fw-light {
    font-weight: 300 !important;
    line-height: 1.1;
}

/* image gallery */
.img-fluid.w-100 {
    border-radius: 0;
    transition: transform 0.3s;
}

.img-fluid.w-100:hover {
    transform: scale(1.01); /* subtle zoom */
}

/* project details box */
.bg-light.p-4 {
    background-color: #f8f9fa !important;
    border-left: 2px solid #1e1e1e;
}

/* ---------- Related Projects ---------- */
.h4.mt-5 {
    margin-top: 3rem !important;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* ---------- About Page ---------- */
.about-image img {
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.about-image img:hover {
    filter: grayscale(0%);
}

/* team cards */
.card.border-0 .card-body {
    padding: 1rem 0;
}
/* Services section on about page */
.service-box {
    background: #f8f9fa;
    padding: 2rem 1.5rem;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
}

.service-box:hover {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-bottom-color: #1e1e1e;
}

.service-box h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.service-box p {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.service-box .btn-link {
    padding: 0;
    font-size: 0.9rem;
    text-decoration: none;
    border-bottom: 1px solid #1e1e1e;
}
/* ---------- Uniform Project Card Images ---------- */
.project-card__image {
    width: 100%;
    aspect-ratio: 4 / 3; /* Adjust ratio as needed (e.g., 16/9, 1/1) */
    overflow: hidden;
    background-color: #f0f0f0; /* fallback while loading */
}

.project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;        /* Crop to fill container */
    transition: transform 0.3s ease;
}

/* For featured projects, you might want a different ratio on large items */
.col-md-8 .project-card__image {
    aspect-ratio: 16 / 9;     /* More cinematic for large cards */
}

/* Recent projects (small cards) keep 4/3 */
.recent-projects .project-card__image {
    aspect-ratio: 4 / 3;
}
.recognition .grayscale {
    max-height: 80px;
    width: auto;
    margin: 0 auto;
    display: block;
}
/* ========================================
   Homepage Enhancements – Final Polish
   ======================================== */

/* ---------- Hero ---------- */
.hero-video {
    position: relative;
    height: 100vh;
    overflow: hidden;
    color: #fff;
}

.hero-video__media {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -2;
}

.hero-video__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 100%);
    z-index: -1;
}

.hero-video__content {
    position: absolute;
    bottom: 20%;
    left: 0;
    right: 0;
    z-index: 2;
}

.hero-subtitle {
    display: block;
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 900px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    opacity: 0.9;
}

.hero-buttons .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
    background: transparent;
    transition: all 0.3s;
}

.hero-buttons .btn-outline-light:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    z-index: 2;
}

.hero-scroll__line {
    width: 1px;
    height: 60px;
    background: #fff;
    margin: 0.5rem auto 0;
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Featured Projects ---------- */
.featured-projects {
    background-color: #fff;
}

.project-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
}

.project-card__image {
    overflow: hidden;
    margin-bottom: 1rem;
}

.project-card__image img {
    width: 100%;
    height: auto;
    transition: transform 0.6s ease;
}

.project-card:hover .project-card__image img {
    transform: scale(1.05);
}

.project-card__content {
    padding: 0.5rem 0;
}

/* ---------- Studio Manifesto ---------- */
.studio-manifesto {
    background: #fafafa;
}

.manifesto-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.manifesto-content {
    background: #fff;
}

.section-subtitle {
    display: block;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 1rem;
}

.stat {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 0.05em;
}

.btn-link {
    text-decoration: none;
    border-bottom: 1px solid #1e1e1e;
    padding-bottom: 2px;
    color: #1e1e1e;
    border-radius: 0;
    font-weight: 500;
}

.btn-link:hover {
    color: #666;
    border-color: #666;
}

/* ---------- Recognition ---------- */
.grayscale {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
}

.grayscale:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* ---------- Call to Action ---------- */
.cta {
    background: #1e1e1e !important;
}

.cta .btn-outline-light {
    border-width: 2px;
    padding: 0.75rem 3rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* ---------- Spacing Utilities ---------- */
.py-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.p-lg-6 {
    padding: 4rem;
}

@media (max-width: 991.98px) {
    .py-6 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    .p-lg-6 {
        padding: 2rem;
    }
    .manifesto-image img {
        min-height: 300px;
    }
}

@media (max-width: 767.98px) {
    .hero-video__content {
        bottom: 15%;
        text-align: center;
    }
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0 !important;
    }
    .stat {
        font-size: 2rem;
    }
}


/* ---------- Contact Page ---------- */
.form-control {
    border-radius: 0;
    border: 1px solid #ced4da;
    padding: 0.75rem 1rem;
}

.form-control:focus {
    border-color: #1e1e1e;
    box-shadow: 0 0 0 0.2rem rgba(30, 30, 30, 0.1);
}

.bg-light.p-4 {
    border-left: 2px solid #1e1e1e;
}

/* ---------- Footer ---------- */
footer {
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #999;
}

/* ---------- Responsive Adjustments ---------- */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        margin-left: 0;
        padding: 0.75rem 0;
    }
    
    .hero {
        min-height: 60vh;
        text-align: center;
    }
    
    .hero .lead {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767.98px) {
    .display-3 {
        font-size: 2.5rem;
    }
    
    .btn-group {
        flex-wrap: wrap;
    }
    
    .btn-group .btn {
        width: 100%;
        margin-bottom: 0.5rem;
        border-radius: 0 !important;
    }
    
    .bg-light.p-4 {
        margin-top: 2rem;
    }
}

/* ---------- Utilities ---------- */
.min-vh-75 {
    min-height: 75vh;
}

/* custom spacing */
.mb-6 {
    margin-bottom: 5rem;
}

/* hover effect for project links */
a.text-decoration-none:hover .card-title {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ---------- Breadcrumbs (if used) ---------- */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 2rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "–";
    color: #999;
}

/* ---------- Image lazy loading blur effect (optional) ---------- */
img[loading="lazy"] {
    filter: blur(0px);
    transition: filter 0.3s;
}
/* ========================================
   Homepage Enhancements
   ======================================== */

/* ---------- Hero Video ---------- */
.hero-video {
    position: relative;
    height: 100vh;
    overflow: hidden;
    color: #fff;
}

.hero-video__media {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -2;
}

.hero-video__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero-video__content {
    position: absolute;
    bottom: 20%;
    left: 0;
    width: 100%;
    text-align: left;
    z-index: 2;
}

.hero-subtitle {
    display: block;
    font-size: 1rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 900px;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    opacity: 0.9;
}

.hero-buttons .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-buttons .btn-outline-light:hover {
    background-color: #fff;
    color: #000;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-scroll__line {
    width: 1px;
    height: 60px;
    background: #fff;
    margin: 0.5rem auto 0;
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Featured Projects Grid ---------- */
.project-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
}

.project-card__image {
    overflow: hidden;
    margin-bottom: 1rem;
}

.project-card__image img {
    width: 100%;
    height: auto;
    transition: transform 0.6s ease;
}

.project-card:hover .project-card__image img {
    transform: scale(1.05);
}

.project-card__content {
    padding: 0.5rem 0;
}

/* ---------- Studio Manifesto ---------- */
.section-subtitle {
    display: block;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 1rem;
}

.manifesto-image {
    overflow: hidden;
    border-radius: 0;
}

.manifesto-image img {
    transition: transform 0.6s ease;
}

.manifesto-image:hover img {
    transform: scale(1.02);
}

.stat {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 0.05em;
}

.btn-link {
    text-decoration: none;
    border-bottom: 1px solid #1e1e1e;
    padding-bottom: 2px;
    color: #1e1e1e;
}

.btn-link:hover {
    color: #666;
    border-color: #666;
}

/* ---------- Recognition Carousel ---------- */
.grayscale {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.grayscale:hover {
    filter: grayscale(0);
    opacity: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.5;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #1e1e1e;
    border-radius: 50%;
    padding: 1.5rem;
    background-size: 50%;
}

/* ---------- Call to Action ---------- */
.bg-dark {
    background-color: #1e1e1e !important;
}

.cta .btn-outline-light {
    border-width: 1px;
    padding: 0.75rem 3rem;
}

/* ---------- Responsive Tweaks ---------- */
@media (max-width: 767.98px) {
    .hero-video__content {
        bottom: 15%;
        text-align: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0 !important;
    }
    
    .stat {
        font-size: 2rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}
