/* --- Variables & Resets --- */
:root {
    --primary: #0A2540;
    --secondary: #051626;
    --accent: #F59E0B;
    --accent-hover: #d97706;
    --text-light: #ffffff;
    --text-dark: #1e293b;
    --text-muted: #cbd5e1;
    --bg-light: #f8fafc;
    --overlay-dark: rgba(10, 37, 64, 0.6);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
}

a { text-decoration: none; }
ul { list-style: none; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }
.text-white { color: var(--text-light); }
.w-100 { width: 100%; }

/* --- Typography --- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
p { line-height: 1.6; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-text {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}
.btn-text:hover { color: var(--accent); gap: 0.8rem; }

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
    background: transparent;
}

nav.scrolled {
    background: var(--primary);
    padding: 1rem 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: -0.5px;
}

.logo-accent { color: var(--accent); }

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

.nav-links a {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.1rem;
}
.nav-contact i { color: var(--accent); }

.mobile-menu-btn {
    display: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-image:url("images/IMG_9334.png");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--overlay-dark);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-left {
    max-width: 700px;
}

.hero-subtitle {
    color: var(--accent);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.hero-title {
    color: var(--text-light);
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
}

.hero-desc {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-right {
    color: var(--text-light);
    text-align: left;
    margin-right: 5%;
}

.right-logo{
    text-align:center;
    margin-bottom:30px;
}

.right-logo img{
    width:220px;
    height:auto;
    display:block;
    margin:0 auto;
}

.types-heading {
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.brick-types li {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Hero Bottom Absolute Elements */
.hero-bottom-left {
    position: absolute;
    bottom: 40px;
    left: 4rem;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--text-light);
}

.qr-placeholder {
    width: 80px; height: 80px;
    background: #fff;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    border-radius: 5px;
}

.address-header {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.address-info p {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero-bottom-right {
    position: absolute;
    bottom: 40px;
    right: 4rem;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-light);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-smooth);
}
.social-link:hover { color: var(--accent); }

.icon-bg {
    width: 35px; height: 35px;
    border-radius: 5px;
    display: flex; justify-content: center; align-items: center;
    color: #fff;
    font-size: 1.2rem;
}
.insta-gradient { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }

.divider {
    width: 2px; height: 30px;
    background: rgba(255,255,255,0.3);
}

/* --- Sections Common --- */
.section-light, .section-dark { padding: 6rem 0; }
.section-dark { background-color: var(--primary); color: var(--text-light); }

.section-header { margin-bottom: 4rem; }
.section-subtitle { color: var(--accent); letter-spacing: 2px; font-size: 0.9rem; margin-bottom: 1rem; text-transform: uppercase; }
.section-title { font-size: 2.5rem; color: var(--primary); }

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

/* --- Products --- */
.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
}

.product-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

.product-img-placeholder {
    height: 250px;
    background: var(--text-muted);
    display: flex; justify-content: center; align-items: center;
    color: var(--text-dark);
    font-weight: 600;
}

.product-info { padding: 2rem; }
.product-info h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--primary); }
.product-info p { color: #64748b; margin-bottom: 1.5rem; }

/* --- Why Us --- */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition-smooth);
}
.glass-card:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-5px); }
.feature-icon { font-size: 2.5rem; color: var(--accent); margin-bottom: 1.5rem; }
.glass-card h3 { margin-bottom: 1rem; }
.glass-card p { color: var(--text-muted); font-size: 0.95rem; }

/* --- About --- */
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-img-placeholder { height: 500px; background: var(--primary); border-radius: 15px; display: flex; justify-content: center; align-items: center; color: #fff; }
.about-content p { color: #64748b; font-size: 1.1rem; margin: 1.5rem 0 2.5rem; }

.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.stat-item { border-left: 3px solid var(--accent); padding-left: 1rem; }
.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--primary); }
.stat-plus { font-size: 1.5rem; font-weight: 700; color: var(--accent); }
.stat-item p { margin: 0; font-size: 0.9rem; font-weight: 600; color: #64748b; }

/* --- Gallery --- */
.masonry-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}
.gallery-item {
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}
.g-img {
    width: 100%; height: 100%;
    background: rgba(255,255,255,0.1);
    display: flex; justify-content: center; align-items: center;
    color: var(--text-light);
    transition: var(--transition-smooth);
}
.gallery-item:hover .g-img { transform: scale(1.1); background: rgba(255,255,255,0.2); }

/* --- Contact --- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; }
.contact-card { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 2rem; }
.contact-card i { font-size: 1.5rem; color: var(--accent); margin-bottom: 0.5rem; }
.contact-card h4 { color: var(--primary); }
.contact-card p { color: #64748b; }

.contact-form { background: #fff; padding: 3rem; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.form-group { margin-bottom: 1.5rem; }
.form-group input, .form-group textarea {
    width: 100%; padding: 1rem;
    border: 1px solid #e2e8f0; border-radius: 8px;
    font-family: inherit; font-size: 1rem;
    transition: var(--transition-smooth);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }

/* --- Footer --- */
footer { background-color: var(--secondary); color: var(--text-muted); padding: 5rem 0 2rem; }
.footer-layout { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-brand p { margin-top: 1rem; max-width: 300px; }
.footer-links h4, .footer-social h4 { color: var(--text-light); margin-bottom: 1.5rem; font-size: 1.2rem; }
.footer-links li { margin-bottom: 1rem; }
.footer-links a { color: var(--text-muted); transition: var(--transition-smooth); }
.footer-links a:hover { color: var(--accent); padding-left: 5px; }

.social-icons { display: flex; gap: 1rem; }
.social-icons a {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.1); border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    color: var(--text-light); transition: var(--transition-smooth);
}
.social-icons a:hover { background: var(--accent); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; font-size: 0.9rem; }

/* --- Lightbox --- */
.lightbox {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9); z-index: 2000;
    display: none; justify-content: center; align-items: center;
    opacity: 0; transition: opacity 0.3s ease;
}
.lightbox.active { display: flex; opacity: 1; }
.lightbox-content { width: 80%; height: 80%; background: #222; display: flex; justify-content: center; align-items: center; color: #fff; border-radius: 10px;}
.lightbox-close { position: absolute; top: 30px; right: 40px; font-size: 3rem; color: #fff; cursor: pointer; }

/* --- Animations & Utilities --- */
@keyframes zoomBg { from { transform: scale(1); } to { transform: scale(1.15); } }
@keyframes slideDown { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes fadeUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.nav-slide-down { animation: slideDown 1s ease forwards; }
.fade-up { animation: fadeUp 1s ease forwards; }
.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

/* Scroll Reveal Classes */
.reveal { opacity: 0; transform: translateY(50px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- Responsive Design --- */
@media (max-width: 1200px) {
    .hero-title { font-size: 3.5rem; }
    .right-logo-placeholder h2 { font-size: 4rem; }
    .hero-bottom-left, .hero-bottom-right { bottom: 20px; }
}

@media (max-width: 992px) {
    .hero-content { flex-direction: column; text-align: center; justify-content: center; gap: 3rem; }
    .hero-left, .hero-right { max-width: 100%; margin: 0; text-align: center; }
    .hero-buttons { justify-content: center; }
    .brick-types { display: none; } /* Hide list on mobile to save space, or style horizontally */
    .hero-bottom-left, .hero-bottom-right { display: none; } /* Hide absolute bottom elements on mobile for cleanliness */
    
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .about-layout, .contact-layout { grid-template-columns: 1fr; }
    .footer-layout { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .social-icons { justify-content: center; }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute; top: 100%; left: 0; width: 100%;
        background: var(--primary); flex-direction: column; gap: 0;
        text-align: center; display: none;
    }
    .nav-links.active { display: flex; }
    .nav-links li { padding: 1.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .mobile-menu-btn { display: block; }
    .nav-contact { display: none; }
    
    .grid-3 { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.8rem; }
    .stats-grid { grid-template-columns: 1fr; text-align: center; }
    .stat-item { border-left: none; border-bottom: 3px solid var(--accent); padding: 0 0 1rem 0; }
}