:root {
    --black: #111111;
    --white: #ffffff;
    --accent: #e55b5b;
    --gray-bg: #f7f7f7;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background: var(--white);
    color: var(--black);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 5%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eaeaea;
}

.logo { 
    font-weight: 600; 
    letter-spacing: 4px; 
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo span {
    font-size: 0.6rem;
    letter-spacing: 2px;
    font-weight: 300;
    color: #666;
    margin-top: 2px;
}

nav { width: 100%; display: flex; justify-content: space-between; align-items: center; }

.nav-links { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: #000; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.5px; transition: color 0.3s; }
.nav-links a:hover { color: var(--accent); }

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    background-color: var(--black);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('hero-bg.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    opacity: 0.5;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero h1 { font-size: 4rem; letter-spacing: 10px; margin: 15px 0; font-weight: 600; }
.top-text { letter-spacing: 5px; font-weight: 300; font-size: 0.9rem; }
.hero p { font-size: 1.1rem; font-weight: 300; margin-bottom: 30px; }

.btn-main { 
    border: 1px solid #fff; 
    color: #fff; 
    padding: 15px 30px; 
    text-decoration: none; 
    display: inline-block; 
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    transition: 0.3s; 
}
.btn-main:hover { background: #fff; color: #000; }

/* Portfolio Section */
.gallery { 
    padding: 100px 5%; 
    text-align: center; 
    background-color: var(--gray-bg); 
}
.section-title { letter-spacing: 5px; margin-bottom: 50px; text-transform: uppercase; font-weight: 600; font-size: 1.5rem; }

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 300px;
    gap: 15px;
    max-width: 1600px;
    margin: 0 auto;
}

.item { 
    overflow: hidden; 
    background: #e0e0e0; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    position: relative;
} 
.item a { display: block; width: 100%; height: 100%; }
.item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: 0.7s cubic-bezier(0.2, 1, 0.3, 1); }
.item:hover img { transform: scale(1.05); }

/* Prices Overlay */
.prices-section { background: #1a1a1a; padding: 150px 5% 100px; position: relative; }
.overlay-card {
    background: #fff;
    max-width: 1100px;
    margin: -250px auto 0;
    padding: 60px 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    text-align: center;
    position: relative;
    z-index: 10;
}
.price-grid { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 40px; justify-content: center; }
.price-card { 
    flex: 1; 
    min-width: 200px; 
    padding: 25px; 
    border: 1px solid #eee; 
    transition: 0.3s; 
}
.price-card:hover { border-color: var(--black); transform: translateY(-5px); }
.cost { font-size: 1.3rem; font-weight: 600; color: var(--accent); margin-bottom: 10px; }
.price-card h3 { font-size: 0.9rem; letter-spacing: 1px; font-weight: 600; margin-top: 0; }
.price-card p { font-size: 0.85rem; color: #555; margin-bottom: 0; }

/* Contacts */
.contact-section { padding: 100px 5%; text-align: center; background: #000; color: #fff; }
.contact-container { max-width: 800px; margin: 0 auto; }
.links-grid { display: flex; justify-content: center; gap: 20px; margin: 30px 0; flex-wrap: wrap; }
.links-grid a { color: #fff; text-decoration: none; border: 1px solid #333; padding: 10px 20px; transition: 0.3s; font-size: 0.85rem; }
.links-grid a:hover { border-color: var(--accent); color: var(--accent); }

.contact-form { max-width: 600px; margin: 40px auto 0; }
.contact-form input, .contact-form textarea { 
    width: 100%; 
    padding: 15px; 
    margin-bottom: 15px; 
    background: #222; 
    border: 1px solid #333; 
    color: #fff; 
    font-family: inherit; 
    transition: border-color 0.3s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form textarea { resize: vertical; }
.btn-accent { 
    background: var(--accent); 
    color: #fff; 
    border: none; 
    padding: 15px; 
    width: 100%; 
    cursor: pointer; 
    text-transform: uppercase; 
    font-weight: 600; 
    letter-spacing: 1px;
    transition: 0.3s; 
}
.btn-accent:hover { background: #d44949; }

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer { padding: 40px; text-align: center; font-size: 0.7rem; color: #555; background: #000; border-top: 1px solid #1a1a1a; letter-spacing: 2px; }

/* Luminous Lightbox Customization */
.lum-lightbox { z-index: 9999; }

/* Mobile & Responsive */
@media (min-width: 768px) {
    .masonry-grid { grid-auto-rows: 350px; }
    .item.wide { grid-column: span 2; }
    .item.tall { grid-row: span 2; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; letter-spacing: 6px; }
    .nav-links { display: none; }
    .overlay-card { margin-top: 0; padding: 40px 20px; }
    .prices-section { padding-top: 80px; }
}