/* --- BASE STYLES & VARIABLES --- */
:root {
    --primary: #1a1a1a;
    --accent: #e67e22;
    --free-green: #27ae60;
    --light-gray: #f9f9f9;
    --border-color: #eee;
    --text-main: #333;
    --text-muted: #666;
    --text-on-dark: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: #fff;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- NAVIGATION --- */
nav {
    background: var(--primary);
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 15px 5%;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-wrapper { display: flex; align-items: center; gap: 10px; }
.camera-icon { width: 20px; height: 14px; background: var(--accent); border-radius: 2px; position: relative; }
.camera-icon::after { content: ''; position: absolute; top: 3px; left: 6px; width: 6px; height: 6px; border: 2px solid var(--primary); border-radius: 50%; }
.logo { font-weight: 900; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }

nav ul { display: flex; list-style: none; gap: 20px; }
nav a { color: #aaa; text-decoration: none; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; transition: color 0.3s; }
nav a:hover, .active-link { color: white !important; }

/* --- HERO BANNER --- */
.hero-banner {
    height: 80vh;
    background: #222 url('Silhouettes In A Shopping Center.jpg') no-repeat center center / cover;
    background-attachment: fixed;
    position: relative;
    color: var(--text-on-dark);
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.5);
    height: 100%; width: 100%;
    display: flex; align-items: center; justify-content: center;
}

.hero-content { text-align: center; }
.hero-content h1 { font-size: clamp(2.5rem, 8vw, 4rem); margin-bottom: 20px; line-height: 1.1; }
.hero-content p { max-width: 700px; margin: 0 auto 40px; font-size: 1.2rem; color: #ccc; }

.cta-button {
    background: var(--accent);
    color: white;
    padding: 16px 40px;
    text-decoration: none;
    font-weight: 800;
    border-radius: 4px;
    display: inline-block;
    transition: transform 0.2s, background 0.3s;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.cta-button:hover { background: #d35400; transform: translateY(-2px); }

/* --- COMPARISON SECTION --- */
.transformation { padding: 80px 0; background: #fff; }
.section-title { text-align: center; font-size: 2.2rem; margin-bottom: 40px; font-weight: 900; letter-spacing: -1px; }
.comparison-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.box { padding: 40px; border: 1px solid var(--border-color); border-radius: 8px; }
.box.highlight { background: var(--primary); color: white; border: none; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.box h3 { margin-bottom: 20px; border-bottom: 3px solid var(--accent); display: inline-block; padding-bottom: 5px; }
.box ul { list-style: none; }
.box li { margin-bottom: 12px; padding-left: 20px; position: relative; font-size: 0.95rem; }
.box li::before { content: '→'; position: absolute; left: 0; color: var(--accent); }

/* --- PRODUCT GRID (Compact 4 Items) --- */
.products { padding: 80px 0; background: var(--light-gray); }
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.product-item {
    background: white; padding: 25px; border-radius: 8px;
    display: flex; flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.product-item:hover { transform: translateY(-5px); }

.book-box {
    width: 100%; height: 280px; 
    background: #fdfdfd; margin-bottom: 15px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid #eee; border-radius: 4px; overflow: hidden;
}

.img-contain {
    max-width: 90%; max-height: 90%;
    width: auto !important; height: auto !important;
    object-fit: contain; display: block;
}

.badge { align-self: flex-start; background: var(--accent); color: white; padding: 3px 10px; font-size: 0.65rem; font-weight: 900; text-transform: uppercase; border-radius: 3px; margin-bottom: 10px; }
.badge.green { background: var(--free-green); }
.badge.gray { background: #888; }
.muted-bg { background: #f0f0f0; }
.muted { opacity: 0.4; filter: grayscale(30%); }

.product-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.product-item p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 15px; min-height: 3em; }

.buy-link.active {
    margin-top: auto; background: var(--primary); color: white;
    text-align: center; padding: 10px; text-decoration: none;
    font-weight: bold; border-radius: 4px; font-size: 0.9rem; transition: background 0.3s;
}
.buy-link.active:hover { background: var(--accent); }
.status-text { font-size: 0.8rem; color: #999; font-style: italic; margin-top: auto; }

/* --- PORTFOLIO (Masonry) --- */
.portfolio-header { padding: 60px 0 20px; text-align: center; }
.gallery-container { padding: 20px 5% 80px; }
.masonry-grid { column-count: 3; column-gap: 20px; }
.masonry-item { display: inline-block; width: 100%; margin-bottom: 20px; cursor: pointer; overflow: hidden; border-radius: 4px; transition: transform 0.3s ease; }
.masonry-item:hover { transform: scale(1.02); }
.masonry-item img { width: 100%; display: block; height: auto; }

.lightbox { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); justify-content: center; align-items: center; }
.lightbox-content { max-width: 90%; max-height: 85vh; border: 3px solid white; }
.close { position: absolute; top: 30px; right: 40px; color: white; font-size: 50px; cursor: pointer; }

/* --- CONTACT PAGE --- */
.contact-page { padding: 80px 0; background: var(--light-gray); }
.contact-wrapper { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; background: white; padding: 50px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-weight: 700; font-size: 0.85rem; text-transform: uppercase; color: var(--primary); }
.form-group input, .form-group select, .form-group textarea { padding: 12px; border: 1px solid #ddd; border-radius: 4px; font-family: inherit; font-size: 1rem; width: 100%; background: #fff; }
.email-link { display: block; font-size: 1.2rem; font-weight: 700; color: var(--accent); text-decoration: none; margin: 15px 0; }
.social-links-container { margin-top: 40px; padding-top: 20px; border-top: 1px solid #eee; }
.social-list { list-style: none; }
.social-list li { margin-bottom: 10px; }
.social-list a { color: var(--primary); text-decoration: none; font-weight: 700; font-size: 1.1rem; transition: color 0.3s ease; }
.social-list a:hover { color: var(--accent); }

/* --- FOOTER --- */
footer { background: var(--primary); color: #666; padding: 60px 0; text-align: center; font-size: 0.9rem; }

/* --- RESPONSIVE --- */
@media (max-width: 1000px) { .masonry-grid { column-count: 2; } }
@media (max-width: 850px) {
    .comparison-grid, .product-grid, .contact-wrapper { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.8rem; }
    .masonry-grid { column-count: 1; }
    .contact-wrapper { padding: 30px; }
}