* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
    color: #333;
    background: #fdfdfd;
}


header {
    background: #ffffff;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}


.header-container {
    max-width: 1200px;
    margin: 0 auto;   
    padding: 0 2rem; 
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-container > div {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #2E7D32;
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
}

nav a {
    color: #444;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #2E7D32; 
}

.login-btn, .signup-btn {
    text-decoration: none;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.login-btn {
    color: #2E7D32;
    background: transparent;
    border: 2px solid #2E7D32;
}
.login-btn:hover {
    background: #2E7D32;
    color: white;
}
.signup-btn {
    color: white;
    background: #2E7D32;
    border: 2px solid #2E7D32;
}
.signup-btn:hover {
    background: #388E3C;
    border-color: #388E3C;
}

.header-container > div:last-child {
    gap: 1rem;
}

.hero-section {
    height: 550px;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('assets/background_sandwich.jpg') center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.hero-section p {
    font-size: 1.4rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.cta-section {
    padding: 3rem 2rem;
    text-align: center;
    background: #f8f9fa;
}

.cta-button {
    display: inline-block;
    padding: 1.5rem 3.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    background: linear-gradient(135deg, #FFD54F 0%, #FFC107 100%);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(255, 193, 7, 0.5);
}

.guide-section {
    padding: 4rem 2rem;
    background: #ffffff;
}

.guide-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    font-weight: 800;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.step-card {
    background: #f8f9fa;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #388E3C; 
    margin-bottom: 1rem;
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.step-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.recommend-section {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.recommend-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    font-weight: 800;
}

.recipe-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.recipe-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.recipe-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.recipe-image {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.recipe-content {
    padding: 1.5rem;
}

.recipe-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.recipe-content p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.2rem;
}

.recipe-badge {
    display: inline-block;
    background: #E8F5E9;
    color: #2E7D32;   
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 0.5rem;
}

footer {
    background: #212121;
    color: #aaa;
    text-align: center;
    padding: 2rem;
}

@media (max-width: 992px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
}
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .cta-button {
        padding: 1.2rem 2.5rem;
        font-size: 1.2rem;
    }
}