/* Brillume Projects Replicated Styles */

:root {
    --primary-black: #000000;
    --primary-white: #ffffff;
    --text-gray: #555555;
    --bg-light: #f6f6f6;
    --border-light: #eeeeee;
    --transition-smooth: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Font Families from main site */
    --font-teko: 'Teko', sans-serif;
    --font-playfair: 'Playfair Display', serif;
    --font-inter: 'Inter', sans-serif;
    --font-poppins: 'Poppins', sans-serif;
}

.editorial-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 4%;
}

/* HERO MINIMAL BANNER */
.hero-minimal-banner {
    height: 70vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: #fff;
}

.hero-minimal-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), transparent);
    z-index: 1;
}

.hero-minimal-banner .hero-container {
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 60px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-minimal-content {
    position: absolute;
    left: 80px;
    bottom: 80px;
    z-index: 10;
    max-width: 600px;
    color: #fff;
}

.minimal-title {
    font-family: var(--font-teko);
    font-size: clamp(48px, 8vw, 120px);
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 0.9;
    text-transform: uppercase;
}

.hero-minimal-content p {
    font-family: var(--font-inter);
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.8;
    line-height: 1.6;
    font-weight: 400;
}

.btn-ghost {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(90deg, #ff7a18, #8e2de2);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 4px;
}

/* VALUES HEADER / MASONRY HEADER */
.values-header {
    text-align: center;
    margin-bottom: 40px;
}

.mission-title {
    font-family: var(--font-teko);
    font-size: clamp(40px, 5vw, 70px);
    font-weight: 500;
    line-height: 0.9;
    margin: 20px 0;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--primary-black);
}

.gradient-text {
    background: linear-gradient(45deg, #000, #444) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    display: inline-block !important;
}

/* FILTER UI */
.filter-wrapper {
    padding: 40px 60px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.filter-count {
    color: #888;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.filters-minimal {
    display: flex;
    gap: 14px;
}

.filter-btn-min {
    font-family: var(--font-inter);
    background: none;
    border: none;
    color: #999;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: color 0.4s var(--transition-smooth);
    padding: 10px 0;
    position: relative;
    font-weight: 600;
}

.filter-btn-min::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #000;
    transition: width 0.4s var(--transition-smooth);
}

.filter-btn-min.active,
.filter-btn-min:hover {
    color: #000;
}

.filter-btn-min.active::after {
    width: 100%;
}

/* MASONRY GRID */
.projects-masonry {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 100px;
    grid-auto-flow: dense;
    gap: 15px;
    padding: 15px;
    background: #fff;
}

.project-item {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth);
}

.project-item.normal { grid-column: span 2; grid-row: span 4; }
.project-item.tall { grid-column: span 2; grid-row: span 6; }
.project-item.wide { grid-column: span 4; grid-row: span 4; }

.project-inner {
    width: 100%;
    height: 100%;
    position: relative;
    display: block;
}

.project-img {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-overlay-cinematic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.5) 40%, rgba(255, 255, 255, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    opacity: 0;
    z-index: 5;
    transition: opacity 0.6s var(--transition-smooth);
    pointer-events: none;
}

.project-item:hover .project-overlay-cinematic { opacity: 1; }
.project-item:hover img { transform: scale(1.08); }

.proj-num { font-size: 11px; letter-spacing: 2px; color: #000; opacity: 0.3; }
.overlay-meta { display: flex; justify-content: space-between; align-items: start; }
.overlay-meta small { 
    font-family: var(--font-inter);
    font-size: 10px; 
    letter-spacing: 3px; 
    text-transform: uppercase; 
    color: #000; 
    opacity: 0.6; 
}

.overlay-content h3 { 
    font-family: var(--font-teko);
    font-size: 32px; 
    font-weight: 400; 
    color: #000; 
    margin-bottom: 5px; 
    transform: translateY(20px); 
    transition: transform 0.6s var(--transition-smooth); 
    text-transform: uppercase;
    line-height: 1;
}

.overlay-content p { 
    font-family: var(--font-inter);
    font-size: 13px; 
    color: #666; 
    margin-bottom: 20px; 
    transform: translateY(20px); 
    transition: transform 0.6s var(--transition-smooth) 0.1s; 
}

.view-case-link { 
    font-family: var(--font-inter);
    font-size: 10px; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    color: #000; 
    text-decoration: none; 
    opacity: 0; 
    transform: translateY(20px); 
    transition: all 0.6s var(--transition-smooth) 0.2s; 
    pointer-events: auto; 
    font-weight: 600;
}

.project-item:hover .overlay-content h3,
.project-item:hover .overlay-content p,
.project-item:hover .view-case-link { transform: translateY(0); }
.project-item:hover .view-case-link { opacity: 1; }

/* MOTION CLASSES */
.m-reveal, .m-fade, .m-blur-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.m-blur-reveal { filter: blur(10px); }

.m-reveal.active, .m-fade.active, .m-blur-reveal.active {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

@media (max-width: 991px) {
    .projects-masonry { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 90px; }
}

@media (max-width: 768px) {
    .hero-minimal-banner { height: 60vh; }
    .hero-minimal-content { left: 40px; bottom: 40px; text-align: center; right: 40px; }
    .projects-masonry { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 100px; gap: 10px; padding: 10px; }
    .project-item.normal, .project-item.tall, .project-item.wide { grid-column: span 1; grid-row: span 3; }
    .project-item.wide { grid-column: span 2; grid-row: span 2; }
    .project-item.tall { grid-row: span 4; }
    .filter-wrapper { flex-direction: column; gap: 20px; }
    
    .project-overlay-cinematic {
        opacity: 1 !important;
        background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.3) 70%, transparent 100%) !important;
    }
    .overlay-content h3, .overlay-content p, .view-case-link { transform: translateY(0) !important; opacity: 1 !important; }
}

/* PHILOSOPHY SECTION */
.philosophy-section {
    padding: 120px 0;
    background: #fff;
    text-align: center;
}

.philosophy-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.philosophy-card .divider {
    width: 60px;
    height: 1px;
    background: #000;
    margin: 0 auto 40px;
}

#philosophy-text {
    font-family: var(--font-playfair);
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 400;
    line-height: 1.4;
    color: #000;
    font-style: italic;
    letter-spacing: -0.01em;
}
