/* 
   FSBO Presentation V3 - Dark Mode Bento Grid UI (Powered by Teklif Theme)
*/

:root {
    --primary: #F9A03F;     /* Accent Color */
    --primary-glow: rgba(249, 160, 63, 0.3);
    
    --bg-dark: #0B132B;     /* Deep Night Blue */
    --bg-darker: #060b19;
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;

    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.5);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }

/* Background / Texture Elements */
.bg-elements {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}
.texture-overlay {
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.5;
}
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out alternate;
}
.orb-1 { width: 400px; height: 400px; background: #1c3d5a; top: -100px; left: -100px; }
.orb-2 { width: 500px; height: 500px; background: rgba(249, 160, 63, 0.1); bottom: -150px; right: -100px; animation-delay: -5s; }

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.1); }
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; margin-bottom: 0.5rem; }
.highlight { color: var(--primary); text-shadow: 0 0 20px var(--primary-glow); }

/* Glassmorphism Navigation */
.glass-nav {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(11, 19, 43, 0.8);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    transition: var(--transition);
}
.nav-content { display: flex; justify-content: space-between; align-items: center; }
.brand { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; color: var(--text-main); text-decoration: none;}
.nav-logo { height: 40px; border-radius: 8px; object-fit: contain; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none; font-weight: 500; border-radius: 12px;
    transition: var(--transition); cursor: pointer;
}
.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.95rem; }
.btn-primary {
    background: var(--primary); color: #fff;
    box-shadow: 0 4px 15px var(--primary-glow);
}
.btn-primary:hover {
    background: #e68d2f; box-shadow: 0 6px 20px rgba(249, 160, 63, 0.6);
    transform: translateY(-2px);
}

/* Glass Box Generic */
.box-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    padding: 2.5rem;
    transition: var(--transition);
}
.box-glass:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

/* Hero Section */
.section-scroll { min-height: auto; display: flex; align-items: center; padding: 100px 0; }
.hero { position: relative; min-height: 100vh; padding-top: 100px; }
.hero-container { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; height: 100%; }
.hero-content { max-width: 900px; }
.hero-brand {
    display: inline-flex; align-items: center; gap: 1.25rem; margin-bottom: 2rem;
    padding: 0.75rem 1.5rem; background: rgba(255, 255, 255, 0.03);
    border-radius: 30px; border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}
.hero-logo { height: 60px; width: 60px; border-radius: 50%; object-fit: cover; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); border: 2px solid var(--primary); }
.hero-brand-text { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 500; color: var(--text-main); text-align: left; line-height: 1.2;}
.hero-title { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; margin-bottom: 1.5rem; line-height: 1.1; }
.hero-desc { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 3rem; max-width: 700px; margin-inline: auto; line-height: 1.8; }

.scroll-down-btn {
    display: flex; flex-direction: column; align-items: center; gap: 1rem;
    color: var(--text-main); text-decoration: none; font-size: 0.9rem;
    letter-spacing: 1px; opacity: 0.8; transition: var(--transition);
}
.scroll-down-btn:hover { opacity: 1; color: var(--primary); }
.bounce { animation: bounce 2s infinite; font-size: 1.5rem; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(10px); } 60% { transform: translateY(5px); } }

/* Bento Grid System */
.section-header { margin-bottom: 4rem; text-align: center; }
.section-header .title { font-size: 2.5rem; }
.section-header .subtitle { color: var(--text-muted); font-size: 1.1rem; }

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(min-content, max-content);
    gap: 2rem;
}
.bento-card { display: flex; flex-direction: column; gap: 1.5rem; }
.card-large { grid-column: span 12; }
.card-medium { grid-column: span 12; }
.card-wide { grid-column: span 12; }

@media (min-width: 992px) {
    .bento-grid { grid-template-columns: repeat(3, 1fr); }
    .card-large { grid-column: span 2; }
    .card-medium { grid-column: span 1; }
    .card-wide { grid-column: span 3; }
}

.card-header {
    display: flex; align-items: center; gap: 1.25rem;
    border-bottom: 1px solid var(--glass-border); padding-bottom: 1.5rem;
}
.icon-wrap {
    width: 50px; height: 50px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(249, 160, 63, 0.2) 0%, rgba(249, 160, 63, 0.05) 100%);
    color: var(--primary); display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; border: 1px solid rgba(249, 160, 63, 0.2); flex-shrink: 0;
}

.bento-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.bento-list.flex-row { flex-direction: row; flex-wrap: wrap;}
.bento-list li {
    display: flex; align-items: flex-start; gap: 1rem; font-size: 1.05rem;
    background: rgba(255, 255, 255, 0.02); padding: 1rem 1.25rem;
    border-radius: 12px; border: 1px solid transparent; transition: var(--transition);
}
.bento-list.flex-row li { flex: 1; min-width: 250px;}
.bento-list li:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); transform: translateX(5px); }
.bento-list i { font-size: 1.2rem; margin-top: 3px; color: var(--primary); }

/* Statistics Pricing / Highlight Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    width: 100%;
}
.stat-box {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-top: 2px solid rgba(249, 160, 63, 0.4);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.stat-number { font-size: 3.5rem; font-weight: 800; font-family: var(--font-heading); color: var(--primary); line-height: 1; margin-bottom: 0.5rem; text-shadow: 0 0 20px var(--primary-glow); }
.stat-label { font-size: 0.95rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px;}

/* Custom Text Card */
.vision-card {
    text-align: center;
    padding: 3rem !important;
}
.vision-icon { font-size: 3rem; color: var(--primary); margin-bottom: 1.5rem;}
.vision-text { font-size: 1.8rem; font-family: var(--font-heading); line-height: 1.4; color: var(--text-main);}

/* Contact & Footer */
.footer-title { font-size: clamp(2.5rem, 4vw, 3.5rem); }
.footer-subtitle { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 3rem; }
.contact-methods { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem; }
.contact-box {
    display: flex; align-items: center; gap: 1.5rem; padding: 1.5rem 2.5rem;
    text-decoration: none; color: var(--text-main); flex: 1; min-width: 280px; max-width: 400px;
}
.hover-scale:hover { transform: translateY(-5px) scale(1.02); background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); }
.whatsapp-box:hover .contact-icon { color: #25D366; transform: scale(1.1); }
.whatsapp-box:hover { border-color: rgba(37, 211, 102, 0.3); background: rgba(37, 211, 102, 0.05); }
.contact-icon { font-size: 2rem; color: var(--primary); transition: var(--transition); }
.contact-text { display: flex; flex-direction: column; text-align: left; }
.contact-text span { font-size: 0.9rem; color: var(--text-muted); }
.contact-text strong { font-size: 1.5rem; font-weight: 600; font-family: var(--font-heading); }

.footer-brand { margin-top: 5rem; padding-top: 2rem; border-top: 1px solid var(--glass-border); font-size: 0.95rem; }

/* Animations */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.is-visible { opacity: 1; transform: translate(0) !important; }

/* Modal Gallery Addition (Custom for FSBO photos) */
.gallery-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem;
}
.gallery-item {
    border-radius: 16px; overflow: hidden; height: 200px; cursor: pointer; border: 1px solid var(--glass-border);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.1); }

/* Responsive Adjustments */
@media (max-width: 992px) {
    .section-scroll { padding: 80px 0; }
    .hero-title { font-size: 3.5rem; }
    .hero-brand { flex-direction: column; gap: 1rem; padding: 1rem; }
    .hero-brand-text { font-size: 1.4rem; text-align: center; }
    .box-glass { padding: 2rem; }
}
@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .box-glass { padding: 1.5rem; }
    .contact-methods { flex-direction: column; align-items: center; }
    
    /* Force stack for horizontal cards on mobile */
    #ben-kimim .bento-card {
        flex-direction: column !important;
        text-align: center;
        gap: 1.5rem !important;
    }
    #ben-kimim .bento-card div[style*="text-align:left"] {
        text-align: center !important;
    }
    
    .bento-card[style*="flex-direction:row"] {
        flex-direction: column !important;
        text-align: center;
        gap: 1.5rem !important;
    }
    .bento-card[style*="flex-direction:row"] > div {
        margin-left: 0 !important;
    }
    .bento-card[style*="flex-direction:row"] img {
        margin: 0 auto !important;
    }
}
