/* ============================================
   밀크티항공 카페 레시피 웹사이트
   모바일 퍼스트 반응형 디자인
   ============================================ */

/* === Reset & Base === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Milk Tea Color Palette */
    --primary-color: #8B6F47;
    --primary-dark: #6B5335;
    --primary-light: #A68A64;
    --secondary-color: #D4A574;
    --accent-color: #C7956D;
    
    --bg-cream: #FAF7F2;
    --bg-beige: #F5EFE7;
    --bg-light: #FFFFFF;
    --bg-dark: #3E2723;
    
    --text-primary: #2C1810;
    --text-secondary: #5D4E37;
    --text-light: #8B7355;
    --text-white: #FFFFFF;
    
    --shadow-sm: 0 2px 8px rgba(139, 111, 71, 0.1);
    --shadow-md: 0 4px 16px rgba(139, 111, 71, 0.15);
    --shadow-lg: 0 8px 32px rgba(139, 111, 71, 0.2);
    
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    
    --header-height: 70px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-cream);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* === Header === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.logo i {
    font-size: 1.8rem;
}

.nav {
    display: none;
    gap: 40px;
}

.nav-link {
    position: relative;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* 홈페이지 가기 버튼 스타일 */
.nav-link-home {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px !important;
    background: var(--primary-color);
    color: white !important;
    border-radius: 20px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.nav-link-home::after {
    display: none;
}

.nav-link-home:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.nav-link-home i {
    font-size: 0.9em;
}

.mobile-nav-link-home {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--primary-color);
    color: white !important;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 20px;
}

.mobile-nav-link-home i {
    font-size: 1.1em;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 28px;
    height: 24px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: 0;
    background: var(--bg-light);
    overflow: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.mobile-menu.active {
    height: calc(100vh - var(--header-height));
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
}

.mobile-nav-link {
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--bg-beige);
    transition: var(--transition-fast);
}

.mobile-nav-link:hover {
    color: var(--primary-color);
    background: var(--bg-beige);
    padding-left: 30px;
}

/* === Hero Section === */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8B6F47 0%, #D4A574 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-white);
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    min-width: 200px;
}

.btn-primary {
    background: var(--text-white);
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-secondary:hover {
    background: var(--text-white);
    color: var(--primary-color);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-white);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    z-index: 2;
}

/* === Search & Filter Section === */
.search-section {
    padding: 40px 0;
    background: var(--bg-light);
    position: sticky;
    top: var(--header-height);
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.search-filter-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-box {
    position: relative;
    width: 100%;
}

.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1.2rem;
}

.search-box input {
    width: 100%;
    padding: 16px 20px 16px 55px;
    border: 2px solid var(--bg-beige);
    border-radius: var(--border-radius-lg);
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg-cream);
    transition: var(--transition-fast);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-light);
}

.filter-buttons {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
    -webkit-overflow-scrolling: touch;
}

.filter-buttons::-webkit-scrollbar {
    height: 4px;
}

.filter-buttons::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 2px;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg-beige);
    color: var(--text-secondary);
    border-radius: var(--border-radius-md);
    font-weight: 500;
    white-space: nowrap;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-light);
    color: var(--text-secondary);
    border: 1px solid var(--bg-beige);
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.tag-btn:hover,
.tag-btn.active {
    background: var(--secondary-color);
    color: var(--text-white);
    border-color: var(--secondary-color);
}

/* === Section Styles === */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* === Products Section === */
.products-section {
    padding: 80px 0;
    background: var(--bg-beige);
}

.products-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.product-category {
    animation: fadeInUp 0.8s ease-out;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
}

.category-title i {
    color: var(--primary-color);
}

.products-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.product-card {
    position: relative;
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
}

.product-badge.new {
    background: #E74C3C;
}

.product-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    border-radius: 50%;
    font-size: 1.8rem;
    color: var(--text-white);
    margin-bottom: 20px;
}

.product-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.product-spec {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.product-feature {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-weight: 500;
}

.product-uses {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.use-tag {
    padding: 6px 12px;
    background: var(--bg-beige);
    color: var(--text-secondary);
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
}

/* === Recipes Section === */
.recipes-section {
    padding: 80px 0;
    background: var(--bg-cream);
}

.recipe-count {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.recipes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.recipe-card {
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    animation: fadeInUp 0.6s ease-out;
}

.recipe-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.recipe-image {
    position: relative;
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.recipe-image i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
}

.recipe-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 8px;
}

.recipe-badge {
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.badge-hot {
    background: rgba(231, 76, 60, 0.9);
    color: white;
}

.badge-ice {
    background: rgba(52, 152, 219, 0.9);
    color: white;
}

.badge-new {
    background: rgba(46, 204, 113, 0.9);
    color: white;
}

.recipe-difficulty {
    position: absolute;
    bottom: 15px;
    right: 15px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    backdrop-filter: blur(10px);
}

.recipe-content {
    padding: 25px;
}

.recipe-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-beige);
    color: var(--primary-color);
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.recipe-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.recipe-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.recipe-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--bg-beige);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.meta-item i {
    color: var(--primary-color);
}

.no-results {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
}

.no-results i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-results p {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* === Recipe Modal === */
.recipe-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.recipe-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    background: var(--bg-light);
    border-radius: var(--border-radius-xl);
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: modalSlideUp 0.4s ease-out;
}

.modal-close {
    position: sticky;
    top: 20px;
    left: calc(100% - 60px);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--text-secondary);
    box-shadow: var(--shadow-md);
    z-index: 10;
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: rotate(90deg);
}

.modal-body {
    padding: 40px 30px;
}

.modal-header {
    text-align: center;
    margin-bottom: 40px;
}

.modal-category {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.modal-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.modal-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.modal-tag {
    padding: 8px 16px;
    background: var(--bg-beige);
    color: var(--text-secondary);
    border-radius: var(--border-radius-md);
    font-size: 0.9rem;
    font-weight: 500;
}

.modal-section {
    margin-bottom: 40px;
}

.modal-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-beige);
}

.modal-section-title i {
    color: var(--primary-color);
}

.ingredients-list,
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ingredient-item,
.step-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: var(--bg-beige);
    border-radius: var(--border-radius-md);
}

.ingredient-icon,
.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: 50%;
    font-weight: 700;
}

.ingredient-text,
.step-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ingredient-name,
.step-description {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.ingredient-amount {
    font-size: 0.9rem;
    color: var(--text-light);
}

.tips-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tip-item {
    display: flex;
    gap: 12px;
    padding: 15px;
    background: #FFF9E6;
    border-left: 4px solid #F39C12;
    border-radius: var(--border-radius-sm);
}

.tip-item i {
    color: #F39C12;
    font-size: 1.2rem;
}

.tip-text {
    flex: 1;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* === About Section === */
.about-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin: 50px 0;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-beige);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.feature-item p {
    color: var(--text-secondary);
}

.about-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 30px;
    background: var(--bg-beige);
    border-radius: var(--border-radius-lg);
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

/* === Footer === */
.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* === Back to Top === */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* === Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Tablet (768px+) === */
@media (min-width: 768px) {
    :root {
        --header-height: 80px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 20px;
        justify-content: center;
    }

    .section-title {
        font-size: 3rem;
    }

    .products-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .recipes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .about-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }

    .search-filter-wrapper {
        gap: 25px;
    }

    .filter-buttons {
        justify-content: center;
    }

    .filter-tags {
        justify-content: center;
    }
}

/* === Desktop (1024px+) === */
@media (min-width: 1024px) {
    .nav {
        display: flex;
    }

    .menu-toggle {
        display: none;
    }

    .mobile-menu {
        display: none;
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .products-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .recipes-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-features {
        grid-template-columns: repeat(4, 1fr);
    }

    .about-contact {
        flex-direction: row;
        justify-content: center;
        gap: 60px;
    }
}

/* === Print Styles === */
@media print {
    .header,
    .search-section,
    .hero,
    .footer,
    .back-to-top,
    .modal-close {
        display: none;
    }

    .modal-content {
        max-height: none;
        box-shadow: none;
    }

    .recipe-card {
        break-inside: avoid;
    }
}