/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;700&display=swap');

/* --- Root Variables (Liquid Glass Theme) --- */
:root {
    --c-bg: #f2f2f7;
    --c-content: #1d1d1f;
    --c-glass-bg: rgba(255, 255, 255, 0.7);
    --c-glass-border: rgba(255, 255, 255, 0.9);
    --c-shadow: rgba(0, 0, 0, 0.1);
    --border-radius: 20px;
    --font-family: 'Vazirmatn', sans-serif;
}

/* --- Base Styles --- */
body {
    font-family: var(--font-family);
    background-color: var(--c-bg);
    color: var(--c-content);
    margin: 0;
    padding-top: 100px; 
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Core Glass Effect Class --- */
.glass-effect {
    background: var(--c-glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--c-glass-border);
    box-shadow: 0 8px 32px 0 var(--c-shadow);
}

/* --- Header --- */
.main-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    z-index: 1000;
    border-radius: var(--border-radius);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    gap: 10px; /* این خط اضافه شده است */
}

.logo a {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--c-content);
    text-decoration: none;
}

/* --- Main Content Sections --- */
.hero-section {
    text-align: center;
    padding: 20px 0px 60px 0px;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero-section p {
    font-size: 1.2rem;
    color: #6e6e73;
    margin-bottom: 30px; /* Add space before search bar */
}

/* --- NEW: Hero Search Bar Styles --- */
.hero-search-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 10px;
    border-radius: 16px; /* A slightly smaller radius than the main glass */
}

#search-input {
    width: 100%;
    padding: 15px 25px;
    font-size: 1.1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.4); /* یک حاشیه سفید نیمه شفاف */
    box-sizing: border-box;
    font-family: var(--font-family);
    
    /* گرادیانت درخواستی شما برای پس زمینه */
    background: #7F00FF;
    background: -webkit-linear-gradient(to right, #E100FF, #7F00FF);
    background: linear-gradient(to right, #E100FF, #7F00FF);

    /* رنگ متن سفید */
    color: #FFFFFF;
    font-weight: bold;
}

/* استایل برای متن placeholder (متن راهنما) */
#search-input::placeholder {
    color: rgba(255, 255, 255, 0.8);
    font-weight: normal;
}

/* حذف حاشیه آبی پیش فرض هنگام کلیک و استفاده از یک سایه زیبا */
#search-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
}

/* --- Celebrity Grid --- */
.celebrity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

/* --- Footer --- */
.main-footer {
    text-align: center;
    padding: 40px 0;
    margin-top: 60px;
    border-top: 1px solid #e5e5e5;
    color: #6e6e73;
}