/* css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #00d26a; 
    --primary-dark: #00b35a;
    --dark: #0a0a0a;    
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --border-color: #e9ecef;
    --text-main: #2b2b2b;
    --text-muted: #6c757d;
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; margin: 0; padding: 0; background-color: var(--light-bg); color: var(--text-main); overflow-x: hidden; scroll-behavior: smooth; }
a { text-decoration: none; }

/* --- Modern Glassmorphism Header --- */
.site-header { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(0,0,0,0.05); }
.site-header img.logo { height: 38px; }

/* --- Mobile Menu Toggle --- */
.menu-btn { display: flex; flex-direction: column; justify-content: space-between; height: 22px; width: 30px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1002; }
.menu-btn span { width: 100%; height: 3px; background: var(--dark); border-radius: 10px; transition: all 0.3s ease; transform-origin: left; }

.menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(5px); z-index: 1001; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); padding-top: 100px; text-align: center; }
.menu-overlay.open { transform: translateX(0); }
.menu-overlay ul { list-style: none; padding: 0; margin: 0; }
.menu-overlay li { margin: 25px 0; }
.menu-overlay a { font-size: 1.3rem; color: var(--dark); font-weight: 600; display: block; padding: 10px; transition: color 0.3s; }
.menu-overlay a:hover { color: var(--primary); }
.menu-overlay .btn-login { background: rgba(0, 210, 106, 0.1); color: var(--primary-dark); padding: 12px 35px; border-radius: 8px; display: inline-block; margin-top: 20px; border: 1px solid var(--primary); font-weight: 700;}

/* --- Premium Hero Slider --- */
.slider-wrapper { position: relative; width: 100%; height: 280px; overflow: hidden; background: #ddd; border-bottom: 4px solid var(--primary); }
.slide { width: 100%; height: 100%; position: absolute; opacity: 0; transition: opacity 1s ease-in-out; object-fit: cover; }
.slide.active { opacity: 1; }
.slider-overlay { position: absolute; bottom: 0; width: 100%; background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 70%, transparent 100%); color: white; padding: 40px 20px 20px; box-sizing: border-box; }
.slider-overlay h2 { margin: 0; font-size: 1.6rem; font-weight: 700; letter-spacing: 0.5px; text-shadow: 2px 2px 4px rgba(0,0,0,0.5);}
.slider-overlay p { margin: 5px 0 0 0; font-size: 0.95rem; color: #eee; }

/* --- Container & Floating About Card --- */
.container { padding: 20px; max-width: 850px; margin: 0 auto; }
.school-about { background: var(--white); padding: 25px; border-radius: 16px; box-shadow: var(--shadow-md); margin-top: -30px; position: relative; z-index: 10; margin-bottom: 25px; border: 1px solid var(--border-color); }
.school-about h1 { margin: 0 0 10px 0; color: var(--dark); font-size: 1.4rem; font-weight: 700; }
.school-about p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; margin: 0; }

/* --- Action Buttons (3D Hover Effect) --- */
.action-buttons { display: flex; gap: 12px; margin-bottom: 30px; flex-direction: column; }
@media(min-width: 600px) { .action-buttons { flex-direction: row; } }
.btn { flex: 1; text-align: center; padding: 14px; border-radius: 10px; color: white; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 1.05rem; transition: transform 0.2s, box-shadow 0.2s; }
.btn:hover { transform: translateY(-3px); }
.btn-call { background: #007bff; box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3); }
.btn-call:hover { box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4); }
.btn-wa { background: #25D366; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3); }
.btn-wa:hover { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); }

/* --- Highlighted Contact Box --- */
.contact-card { text-align: center; padding: 25px; border: 1px solid rgba(0, 210, 106, 0.3); border-radius: 16px; background: rgba(0, 210, 106, 0.03); margin-bottom: 30px; box-shadow: inset 0 0 20px rgba(0, 210, 106, 0.02); }
.contact-card h3 { color: var(--dark); margin-top: 0; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; gap: 8px; }
.contact-card .location { font-size: 1.05rem; font-weight: 600; margin: 12px 0; color: var(--text-main); line-height: 1.5; }
.contact-card p { margin: 5px 0; font-size: 0.95rem; color: var(--text-muted); }

/* --- Details Lists --- */
.section-title { font-size: 1.25rem; font-weight: 700; border-left: 5px solid var(--primary); padding-left: 12px; margin: 35px 0 15px 0; color: var(--dark); border-radius: 2px; }
.details-list { background: var(--white); border-radius: 12px; border: 1px solid var(--border-color); overflow: hidden; margin-bottom: 30px; box-shadow: var(--shadow-sm); }
.list-item { padding: 16px; border-bottom: 1px solid var(--border-color); display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; transition: background 0.2s; }
.list-item:hover { background-color: #f0faf4; } /* Halka green hover par */
.list-item:last-child { border-bottom: none; }
.list-item .icon { color: var(--primary); font-weight: bold; margin-top: 1px; font-size: 1.1rem; }
.list-item .label { color: var(--text-muted); margin-right: 5px; }
.list-item .value { color: var(--text-main); font-weight: 600; }

/* --- 🔥 The Premium Ad Banner (With Animations) 🔥 --- */
.premium-ad-banner { background: linear-gradient(135deg, #050505 0%, #1a2a20 100%); border: 1px solid #2a3a30; border-radius: 16px; padding: 35px 25px; text-align: center; margin: 40px 0; box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); position: relative; overflow: hidden; }
/* Animated Shine */
.premium-ad-banner::before { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent); transform: skewX(-25deg); animation: shine 6s infinite; }
@keyframes shine { 0% { left: -100%; } 20% { left: 200%; } 100% { left: 200%; } }

.ad-badge { background: var(--primary); color: #000; font-size: 0.75rem; font-weight: 800; padding: 6px 14px; border-radius: 20px; text-transform: uppercase; margin-bottom: 18px; display: inline-block; box-shadow: 0 0 15px rgba(0, 210, 106, 0.4); animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }

.premium-ad-banner h3 { color: white; font-size: 1.6rem; margin-top: 0; margin-bottom: 12px; line-height: 1.3; }
.premium-ad-banner h3 span { color: var(--primary); }
.premium-ad-banner p { color: #a0aab2; font-size: 0.95rem; margin-bottom: 25px; line-height: 1.6; }
.btn-primary-ad { background: var(--primary); color: #000; padding: 14px 20px; border-radius: 10px; font-weight: 700; font-size: 1.05rem; display: block; width: 100%; box-sizing: border-box; transition: transform 0.2s, background 0.2s; position: relative; z-index: 2;}
.btn-primary-ad:hover { transform: translateY(-3px); background: var(--white); color: var(--dark); }

/* --- Map --- */
.map-container { width: 100%; border-radius: 16px; overflow: hidden; margin-bottom: 30px; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }

/* --- Modern Footer --- */
.site-footer { background: var(--dark); color: white; padding: 50px 20px 20px; font-size: 0.9rem; text-align: center; margin-top: 40px; }
.footer-logo { font-size: 2rem; font-weight: 800; margin-bottom: 15px; display: block; color: white; letter-spacing: -0.5px; }
.footer-logo span { color: var(--primary); }
.footer-text { color: #88929b; margin-bottom: 35px; line-height: 1.6; max-width: 400px; margin-left: auto; margin-right: auto; }
.footer-links { text-align: left; margin-bottom: 35px; max-width: 400px; margin-left: auto; margin-right: auto; }
.footer-links h4 { color: white; margin-bottom: 20px; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; }
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 10px;}
.footer-links li:last-child { border-bottom: none; }
.footer-links a { color: #88929b; transition: color 0.3s; font-size: 0.95rem; display: block;}
.footer-links a:hover { color: var(--primary); padding-left: 5px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 25px; color: #6c757d; font-size: 0.85rem; }
.developer-link { color: #6c757d; text-decoration: none; display: block; margin-top: 12px; letter-spacing: 0.5px; transition: color 0.3s; }
.developer-link:hover { color: var(--white); }
.developer-link strong { color: var(--white); font-weight: 600; }
.heart { color: #ff3366; display: inline-block; animation: heartbeat 1.5s infinite; }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }
/* =========================================
   HOMEPAGE SPECIFIC CSS (Add to style.css)
   ========================================= */

/* --- Hero Search Section --- */
.hero-search { background: linear-gradient(135deg, var(--dark) 0%, #1a2a20 100%); padding: 70px 20px; text-align: center; color: white; border-bottom: 4px solid var(--primary); margin-top: -1px; }
.hero-search h1 { font-size: 2.4rem; margin-top: 0; margin-bottom: 15px; line-height: 1.2; }
.hero-search h1 span { color: var(--primary); }
.hero-search p { font-size: 1.05rem; color: #b3b3b3; margin-bottom: 35px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* --- The Search Box --- */
.search-box { max-width: 650px; margin: 0 auto; display: flex; background: white; border-radius: 50px; padding: 6px; box-shadow: 0 15px 35px rgba(0,0,0,0.2); transition: 0.3s; border: 2px solid transparent; }
.search-box:focus-within { border-color: var(--primary); transform: translateY(-2px); }
.search-box input { flex: 1; border: none; padding: 15px 25px; font-size: 1.05rem; outline: none; border-radius: 50px 0 0 50px; font-family: 'Poppins', sans-serif; color: var(--dark); background: transparent; }
.search-box button { background: var(--primary); color: var(--dark); border: none; padding: 15px 35px; font-weight: 700; font-size: 1.05rem; cursor: pointer; border-radius: 50px; transition: 0.3s all; font-family: 'Poppins', sans-serif; }
.search-box button:hover { background: var(--primary-dark); color: white; transform: scale(1.02); }

/* --- Categories Grid --- */
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 15px; margin-bottom: 40px; }
.cat-card { background: white; padding: 20px 10px; text-align: center; border-radius: 16px; font-weight: 600; color: var(--text-muted); box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); cursor: pointer; transition: 0.3s all; }
.cat-card:hover { border-color: var(--primary); transform: translateY(-4px); color: var(--primary); box-shadow: var(--shadow-md); }
.cat-card span { display: block; font-size: 1.8rem; margin-bottom: 8px; }

/* --- Recent Listings Cards --- */
.listings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-bottom: 50px; }
.listing-card { background: white; padding: 25px; border-radius: 16px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); display: block; transition: 0.3s all; position: relative; overflow: hidden; }
.listing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.listing-badge { position: absolute; top: 20px; right: 20px; background: rgba(0, 210, 106, 0.1); color: var(--primary-dark); font-size: 0.75rem; padding: 5px 12px; border-radius: 20px; font-weight: bold; border: 1px solid rgba(0, 210, 106, 0.3); }
.listing-card h3 { color: var(--dark); margin: 0 0 8px 0; font-size: 1.3rem; padding-right: 70px; line-height: 1.3; }
.listing-card p { color: var(--text-muted); font-size: 0.95rem; margin: 0 0 20px 0; display: flex; align-items: center; gap: 5px; }
.view-btn { display: inline-flex; align-items: center; gap: 5px; color: var(--primary-dark); font-weight: 600; font-size: 0.95rem; background: #f0faf4; padding: 8px 15px; border-radius: 8px; transition: 0.3s; }
.listing-card:hover .view-btn { background: var(--primary); color: var(--dark); }

