/*
Theme Name: Asian Bistro Dai
Description: A modern WordPress theme for Asian Bistro Dai restaurant
Version: 2.5
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

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

/* Header Styles */
.site-header {
    background: rgba(139, 69, 19, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(139, 69, 19, 0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 10px 0;
}

.main-nav a:hover {
    color: #DEB887;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section - カッコよく大幅改善 */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(139, 69, 19, 0.8) 50%, rgba(0,0,0,0.9) 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    z-index: 1;
    filter: brightness(0.7) contrast(1.2);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(139, 69, 19, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(160, 82, 45, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(139, 69, 19, 0.4) 30%, rgba(0,0,0,0.7) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
    animation: fadeInUp 1.2s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.7);
    letter-spacing: 3px;
    text-align: center;
    background: linear-gradient(135deg, #fff 0%, #DEB887 50%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.6rem;
    margin-bottom: 25px;
    opacity: 0.95;
    font-weight: 300;
    letter-spacing: 2px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: #DEB887;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.8;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    font-weight: 300;
}

.hero-buttons {
    text-align: center;
    margin-top: 40px;
    animation: fadeInUp 1.5s ease-out;
}

/* ボタンスタイル大幅改善（スマホ優先） */
.btn {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 50%, #8B4513 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 60px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
    box-shadow: 
        0 8px 30px rgba(139, 69, 19, 0.4),
        inset 0 1px 0 rgba(255,255,255,0.2);
    font-size: 1.1rem;
    cursor: pointer;
    text-align: center;
    min-width: 220px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(139, 69, 19, 0.6),
        0 5px 15px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.3);
    background: linear-gradient(135deg, #A0522D 0%, #8B4513 50%, #A0522D 100%);
    border-color: rgba(222, 184, 135, 0.5);
}

.btn-primary {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 50%, #8B4513 100%);
    border: 3px solid rgba(139, 69, 19, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, transparent 0%, rgba(139, 69, 19, 0.2) 50%, transparent 100%);
    border: 3px solid #8B4513;
    color: #8B4513;
    backdrop-filter: blur(15px);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 50%, #8B4513 100%);
    color: #fff;
    box-shadow: 0 12px 35px rgba(139, 69, 19, 0.5);
}

.btn-outline {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border: 3px solid rgba(255,255,255,0.8);
    color: #fff;
    backdrop-filter: blur(20px);
}

.btn-outline:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,1) 100%);
    color: #8B4513;
    border-color: #fff;
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.4);
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #8B4513;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Menu Section */
.menu-section {
    background: #fff;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.menu-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.menu-item-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.menu-item-content {
    padding: 30px;
}

.menu-item-title {
    font-size: 1.4rem;
    color: #8B4513;
    margin-bottom: 10px;
    font-weight: 600;
}

.menu-item-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1rem;
}

.menu-item-price {
    font-size: 1.3rem;
    color: #8B4513;
    font-weight: 700;
}

/* Menu Button Container */
.menu-button-container {
    text-align: center;
    margin-top: 50px;
}

/* Reservation Section */
.reservation-section {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: #fff;
}

.reservation-section .section-title {
    color: #fff;
}

.reservation-section .section-subtitle {
    color: rgba(255,255,255,0.9);
}

.reservation-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.reservation-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.contact-info {
    margin-top: 40px;
    text-align: center;
}

.contact-info p {
    margin: 10px 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Course Section */
.course-section {
    background: #f8f8f8;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.course-item {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.course-item-title {
    font-size: 1.5rem;
    color: #8B4513;
    margin-bottom: 15px;
    font-weight: 600;
}

.course-item-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.course-item-price {
    font-size: 1.8rem;
    color: #8B4513;
    font-weight: 700;
}

/* Gallery Section */
.gallery-section {
    background: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(139, 69, 19, 0.3), rgba(160, 82, 45, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Store Information Section */
.store-info-section {
    background: #f8f8f8;
}

.store-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.store-info-item {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.store-info-item h3 {
    color: #8B4513;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.store-info-item p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 10px;
}

/* Footer */
.site-footer {
    background: #2c1810;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #DEB887;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: #DEB887;
}

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

/* スマホ最適化 */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(139, 69, 19, 0.98);
        padding: 20px;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-content {
        padding: 40px 15px;
    }
    
    .hero-title {
        font-size: 2.8rem;
        text-align: center;
        margin-bottom: 20px;
        letter-spacing: 2px;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        text-align: center;
        margin-bottom: 20px;
        letter-spacing: 1px;
    }
    
    .hero-description {
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 30px;
        padding: 0 10px;
        line-height: 1.7;
    }
    
    .hero-buttons {
        margin-top: 30px;
    }
    
    .btn {
        padding: 16px 32px;
        font-size: 1rem;
        min-width: 200px;
        margin: 8px;
        letter-spacing: 1.5px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .course-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .reservation-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .store-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 30px 10px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        text-align: center;
        line-height: 1.2;
        letter-spacing: 1px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .hero-description {
        font-size: 1rem;
        text-align: center;
        padding: 0 5px;
        line-height: 1.6;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 0.95rem;
        min-width: 180px;
        letter-spacing: 1px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .menu-item-content,
    .course-item {
        padding: 25px 20px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .store-info-item {
        padding: 25px 20px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Print Styles */
@media print {
    .site-header,
    .mobile-menu-toggle {
        display: none;
    }
    
    .hero-section {
        height: auto;
        padding: 40px 0;
    }
    
    .section {
        padding: 40px 0;
    }
}
