:root {
    --main-color: #1e1e2f;
    --accent-color: #ff6f61;
    --bg-color: #f5f3ff;
    --card-bg: #ffffff;
    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Merriweather', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--main-color);
    line-height: 1.6;
}

header {
    background: transparent;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.3s ease, padding 0.3s ease;
}

.scrolled header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 15px 30px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent-color);
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-icons i {
    font-size: 1.5rem;
    color: var(--main-color);
    cursor: pointer;
    transition: color 0.2s ease;
}

.header-icons i:hover {
    color: var(--accent-color);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(6px);
    z-index: 1100;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 100px;
    overflow-y: auto;
}

.overlay.active {
    display: flex;
}

.close-icon {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 1.8rem;
    color: var(--main-color);
    cursor: pointer;
}

.close-icon:hover {
    color: var(--accent-color);
}

.search-box-fullscreen input {
    width: 80%;
    padding: 1.5rem 1rem;
    font-size: 1.2rem;
    border: 2px solid var(--accent-color);
    outline: none;
    background-color: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.search-results-wrapper {
    width: 80%;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-results p {
    padding: 15px 20px;
    margin-top: .873rem;
    font-size: 1.1rem;
    background: #ffffff;
    border: 2px solid #eee;
    border-radius: 10px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: background 0.2s ease;
}

.search-results p:hover {
    background: #f9f9f9;
}

.menu-box-fullscreen ul {
    list-style: none;
    padding: 0;
}

.menu-box-fullscreen li {
    padding: 40px 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--main-color);
    cursor: pointer;
    text-align: center;
    justify-content: center;
}

.menu-box-fullscreen li:hover {
    color: var(--accent-color);
}

.intro {
    text-align: center;
    padding: 120px 20px 40px;
}

.intro h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--accent-color);
}

.subtitle {
    color: #6b7280;
    margin-top: 10px;
    font-size: 1.1rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 25px;
    padding: 0 20px;
}

.card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.card h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.card p {
    font-size: 1rem;
    color: #4b5563;
    flex-grow: 1;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.read-more:hover {
    color: #d9483b;
}

footer {
    margin-top: 80px;
    text-align: center;
    color: #9ca3af;
    font-size: 0.9rem;
    padding: 20px;
}



/* MEDIA QUERIES FOR RESPONSIVENESS */
@media (max-width: 360px) {
    .logo {
        font-size: 1.6rem;
    }
    
    .header-icons i {
        font-size: 1.3rem;
    }
    
    .search-box-fullscreen input {
        width: 80%;
    }
    
    .grid {
        gap: 15px;
    }
    
    .card h2 {
        font-size: 1.3rem;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .logo {
        font-size: 2rem;
    }
    
    .header-icons i {
        font-size: 1.5rem;
    }
    
    .search-box-fullscreen input,
    .search-results-wrapper{
        width: 75%;
    }
    
}

@media (min-width: 1200px) {
    .grid {
        gap: 30px;
    }
    
    .card h2 {
        font-size: 1.6rem;
    }
}