/* Place your existing CSS here. */
body {
	margin: 0;
	font-family: 'Segoe UI', Arial, sans-serif;
	background: #f7f7f7;
	color: #222;
}
.site-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
	padding: 16px 32px;
}
.brand {
	display: flex;
	align-items: center;
}
.logo {
    width: 200px;
    height: 100px;
    margin-right: 12px;
    margin-bottom: -30px;
    margin-top: -30px;
}
.brand-name {
	font-size: 1.5rem;
	font-weight: bold;
	color: #6c63ff;
}
.main-nav a {
	margin-left: 24px;
	text-decoration: none;
	color: #222;
	font-weight: 500;
	transition: color 0.2s;
}
.main-nav a:hover {
	color: #6c63ff;
}
.hero {
	background: linear-gradient(90deg, #6c63ff 0%, #48c6ef 100%);
	color: #fff;
	text-align: center;
	padding: 64px 20px 40px 20px;
}
.hero h1 {
	font-size: 2.5rem;
	margin-bottom: 16px;
}
.hero p {
	font-size: 1.2rem;
	margin-bottom: 0;
}
.ad-gallery {
	margin: 40px auto;
	padding: 0 20px;
}
.ad-gallery h2 {
	font-size: 2rem;
	margin-bottom: 24px;
	color: #6c63ff;
}
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 32px;
}
.ad-item {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.07);
	padding: 20px;
	text-align: center;
	transition: box-shadow 0.2s;
}
.ad-item:hover {
	box-shadow: 0 4px 24px rgba(108,99,255,0.12);
}
.ad-item img {

	border-radius: 8px;
	margin-bottom: 12px;
}
.clear-filter {
	background: #6c63ff;
	color: #fff !important;
	padding: 6px 16px;
	border-radius: 6px;
	margin-left: 24px;
	text-decoration: none;
	font-weight: 500;
	transition: background 0.2s;
}
.clear-filter:hover {
	background: #48c6ef;
}
.login-link {
	margin-left: 24px;
	color: #6c63ff !important;
	font-weight: bold;
}
/* Filter Section Styles */
.filter-section {
	background: #23233a;
	color: #fff;
	border-radius: 16px;
	box-shadow: 0 2px 16px rgba(44,44,80,0.10);
	padding: 32px 24px 24px 24px;
	margin: 32px 0;
}
.filter-section h2 {
	font-size: 2rem;
	font-weight: bold;
	letter-spacing: 2px;
	margin-bottom: 24px;
	border-bottom: 2px solid #fff2;
	padding-bottom: 8px;
}
.filter-group {
	margin-bottom: 32px;
}
.filter-group h3 {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 16px;
	color: #fff;
}
.filter-options {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}
.filter-option {
	background: none;
	border: 2px solid #fff3;
	border-radius: 8px;
	padding: 16px 18px;
	min-width: 110px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	color: #fff;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s;
}
.filter-option:hover {
	border-color: #6c63ff;
	background: #6c63ff22;
}
.filter-count {
	font-size: 1.1rem;
	font-weight: bold;
	margin-bottom: 6px;
	color: #48c6ef;
}


/* filter section */

                    .filter-group h3 {
                        cursor: pointer;
                        user-select: none;
                        position: relative;
                        padding-right: 24px;
                    }
                    .filter-group.collapsed .filter-options {
                        display: none;
                    }
                    .filter-group h3:after {
                        content: '\25BC';
                        position: absolute;
                        right: 0;
                        top: 50%;
                        transform: translateY(-50%) rotate(0deg);
                        transition: transform 0.2s;
                    }
                    .filter-group.collapsed h3:after {
                        transform: translateY(-50%) rotate(-90deg);
                    }



                    /* gallery section */




                    /* .gallery-grid {
                        display: grid;
                        grid-template-columns: repeat(4, 1fr);
                        gap: 24px;
                    } */
                    .ad-item {
                        position: relative;
                        width: 100%;
                        max-width: 300px;
                        height: 250px;
                        overflow: hidden;
                        border-radius: 12px;
                        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
                        background: #fff;
                        transition: box-shadow 0.2s;
                        margin: 0 auto;
                        border: 1px solid purple;
                    }
                    .ad-item img {
                        width: 100%;
                        object-fit: cover;
                        display: block;
                        max-width: 300px;
                        height: 250px;
                    }
                    .ad-overlay {
                        position: absolute;
                        top: 0; left: 0; right: 0; bottom: 0;
                        background: rgba(0,0,0,0.6);
                        color: #fff;
                        opacity: 0;
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        justify-content: center;
                        transition: opacity 0.2s;
                        padding: 24px;
                        text-align: center;
                    }
                    .ad-item:hover .ad-overlay {
                        opacity: 1;
                    }
                    .ad-overlay .btn {
                        margin-top: 16px;
                    }
                    /* @media (max-width: 1200px) {
                        .gallery-grid {
                            grid-template-columns: repeat(2, 1fr);
                        }
                    }
                    @media (max-width: 768px) {
                        .gallery-grid {
                            grid-template-columns: 1fr;
                        }
                        .ad-item {
                            max-width: 100%;
                            height: 250px;
                        }
                    } */
                    .ad-item a {
                        border: 1px solid purple;
                        padding: 5px 10px;
                        border-radius: 10px;
                        text-decoration: none;
                        color: white;
                        font-weight: 600;
                        background-color: purple;
                        transition: background-color 0.2s, color 0.2s;
                    }

                    .ad-item a:hover {
                        background-color: transparent;
                        color: white;
                    }

