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

:root {
    /* Japanese Traditional Colors */
    --primary-red: #c8102e;
    --primary-dark: #1a1a1a;
    --primary-gold: #d4af37;
    --secondary-red: #a91a2e;
    --accent-gold: #ffd700;
    
    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #f8f5f0;
    --light-gray: #e8e8e8;
    --medium-gray: #666666;
    --dark-gray: #333333;
    --black: #000000;
    
    /* Spacing */
    --section-padding: 100px;
    --section-padding-mobile: 60px;
    --container-padding: 20px;
    
    /* Typography */
    --font-main: 'Noto Sans JP', sans-serif;
    --font-serif: 'Noto Serif JP', serif;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--font-main);
    color: var(--dark-gray);
    line-height: 1.8;
    background-color: var(--off-white);
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.4;
    color: var(--primary-dark);
}

/* ===================================
   Container
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    overflow-x: hidden;
    box-sizing: border-box;
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
    overflow-x: hidden;
    max-width: 100%;
}

.section-dark {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #2a2a2a 100%);
    color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark .section-title {
    color: var(--white);
}

/* Greeting section exceptions - text should be dark on white background */
.section-dark .greeting-text,
.section-dark .greeting-text h3,
.section-dark .greeting-text * {
    color: inherit !important;
}

/* ===================================
   Section Headers
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-red);
    margin-bottom: 15px;
    font-family: var(--font-main);
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.title-main {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    font-family: var(--font-serif);
    margin-bottom: 10px;
}

.title-decoration {
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-gold));
    margin: 0 auto;
}

.section-description {
    font-size: 1rem;
    color: var(--medium-gray);
    margin-top: 15px;
}

.section-dark .section-description {
    color: var(--light-gray);
}

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

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--white);
}

.logo-main {
    font-size: 1.5rem;
    font-weight: 900;
    font-family: var(--font-serif);
    color: var(--accent-gold);
    margin-bottom: 2px;
}

.logo-sub {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--white);
    font-weight: 300;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 0;
    position: relative;
    transition: var(--transition-fast);
}

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

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

.reserve-btn {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    padding: 10px 25px !important;
    border-radius: 30px;
    color: var(--white) !important;
}

.reserve-btn::after {
    display: none;
}

.reserve-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition-normal);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #3a2a2a 100%);
    background-image: 
        linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(58, 42, 42, 0.8) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M20,50 Q30,30 40,50 T60,50 T80,50" stroke="%23d4af37" stroke-width="0.5" fill="none" opacity="0.1"/></svg>');
    background-size: cover, 200px 200px;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.hero-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.decoration-line {
    width: 80px;
    height: 2px;
    background: var(--primary-gold);
}

.decoration-icon {
    font-size: 2rem;
    color: var(--primary-gold);
}

.hero-title {
    margin-bottom: 20px;
}

.hero-title-main {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    font-family: var(--font-serif);
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 3px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--light-gray);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

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

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

.btn-secondary:hover {
    background: var(--primary-gold);
    color: var(--primary-dark);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 0.75rem;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary-gold), transparent);
}

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

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

/* ===================================
   About Section
   =================================== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.about-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
}

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

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-family: var(--font-serif);
    color: var(--primary-dark);
}

.card-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--medium-gray);
}

/* ===================================
   Greeting Section (Owner's Message)
   =================================== */
.greeting.section {
    padding: 120px 0;
    overflow: hidden;
}

.greeting .section-header {
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 40px;
}

.greeting-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    align-items: center;
}

.greeting-photo {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    box-shadow: 0 30px 80px rgba(200, 16, 46, 0.15);
    border: 4px solid rgba(212, 175, 55, 0.3);
}

.greeting-photo img {
    width: 100%;
    height: 100%;
    display: block !important;
    object-fit: cover;
    object-position: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1 !important;
    visibility: visible !important;
}

.greeting-photo:hover img {
    transform: scale(1.05);
}

.greeting-text {
    color: var(--white) !important;
    text-align: left;
}

.greeting-label {
    font-size: 0.7rem;
    letter-spacing: 5px;
    color: var(--primary-gold) !important;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    display: inline-block;
}

.greeting-catchphrase {
    font-size: 2.8rem;
    font-family: var(--font-serif);
    color: var(--white) !important;
    margin-bottom: 30px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-align: left;
}

.greeting-description {
    font-size: 1.05rem;
    line-height: 2.1;
    color: rgba(255, 255, 255, 0.9) !important;
    white-space: pre-wrap;
    letter-spacing: 0.3px;
    max-width: 700px;
    text-align: left;
}

/* Responsive */
@media (max-width: 1024px) {
    .greeting.section {
        padding: 100px 0;
    }
    
    .greeting .section-header {
        margin-bottom: 60px;
    }
    
    .greeting-content {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 0 30px;
    }
    
    .greeting-photo {
        max-width: 350px;
        margin: 0 auto;
    }
    
    .greeting-text {
        text-align: left;
    }
    
    .greeting-description {
        margin: 0 auto;
    }
    
    .greeting-catchphrase {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .greeting.section {
        padding: 80px 0;
    }
    
    .greeting .section-header {
        margin-bottom: 50px;
        padding: 0 20px;
    }
    
    .greeting-content {
        gap: 40px;
        padding: 0 20px;
    }
    
    .greeting-photo {
        max-width: 280px;
    }
    
    .greeting-catchphrase {
        font-size: 2rem;
    }
    
    .greeting-description {
        font-size: 1rem;
        line-height: 2;
    }
}

/* ===================================
   Menu Section
   =================================== */
/* Carousel container with horizontal scroll */
.menu-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 20px 20px 30px;
    margin-top: 20px;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    position: relative;
}

/* Add fade effect on edges to indicate scroll */
.menu-grid::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 30px;
    width: 50px;
    background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
    pointer-events: none;
    z-index: 1;
}

/* Hide scrollbar but keep functionality */
.menu-grid::-webkit-scrollbar {
    height: 8px;
}

.menu-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.menu-grid::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 10px;
}

.menu-grid::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-red);
}

/* Each menu item in carousel */
.menu-item {
    flex: 0 0 300px; /* Fixed width, 4 items ~= 1200px container */
    aspect-ratio: 3/4;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    cursor: pointer;
    background: #f0f0f0;
    position: relative;
    opacity: 1 !important;
    scroll-snap-align: start;
}

.menu-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    opacity: 1 !important;
}

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

.menu-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3a3a3a 0%, #1a1a1a 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--primary-gold);
    font-size: 1.2rem;
    font-weight: 600;
}

.menu-image-placeholder i {
    font-size: 3rem;
    opacity: 0.7;
}

/* Individual Menu Items */
.menu-items-section {
    margin-top: 60px;
}

.menu-items-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: var(--primary-red);
    font-family: var(--font-serif);
}

/* Vertical grid layout for menu items (same as banquet courses) */
.menu-items-grid-vertical {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.menu-item-card-vertical {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.menu-item-card-vertical:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.menu-item-image-large {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.menu-item-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.menu-item-card-vertical:hover .menu-item-image-large img {
    transform: scale(1.05);
}

.menu-item-content-vertical {
    padding: 25px;
}

.menu-item-category-badge {
    display: inline-block;
    padding: 5px 14px;
    background: linear-gradient(135deg, var(--primary-red), #e63946);
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 12px;
}

.menu-item-name-large {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 12px 0;
    font-family: var(--font-serif);
}

.menu-item-price-large {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-red);
    margin: 0 0 15px 0;
}

.menu-item-description {
    font-size: 15px;
    color: var(--medium-gray);
    line-height: 1.8;
    margin: 0;
    white-space: pre-line;
}

/* Banquet Courses - Vertical Layout (Image on top) */
.banquet-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.banquet-course-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.banquet-course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.banquet-course-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.banquet-course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.banquet-course-card:hover .banquet-course-image img {
    transform: scale(1.05);
}

.banquet-course-content {
    padding: 25px;
}

.banquet-course-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 12px 0;
    font-family: var(--font-serif);
}

.banquet-course-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-red);
    margin: 0 0 15px 0;
}

.banquet-course-description {
    font-size: 15px;
    color: var(--medium-gray);
    line-height: 1.8;
    margin: 0;
    white-space: pre-line;
}

.menu-note {
    margin-top: 40px;
    text-align: center;
    padding: 25px;
    background: var(--white);
    border-radius: 10px;
    border-left: 4px solid var(--primary-red);
}

.menu-note p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 8px 0;
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.menu-note i {
    color: var(--primary-red);
}

/* ===================================
   Access Section
   =================================== */
.access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.access-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-gold);
}

.info-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-gold);
    font-family: var(--font-serif);
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--light-gray);
    margin-bottom: 10px;
}

.info-text strong {
    color: var(--white);
    display: block;
    margin-bottom: 5px;
}

.access-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

/* ===================================
   Contact Section
   =================================== */
.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    margin-bottom: 50px;
}

.contact-phone {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    padding: 40px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    box-shadow: var(--shadow-lg);
}

.contact-phone i {
    font-size: 3rem;
    color: var(--white);
}

.phone-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.phone-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.phone-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-serif);
    transition: var(--transition-fast);
}

.phone-number:hover {
    color: var(--primary-gold);
}

.phone-time {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.google-form-wrapper {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.google-form-wrapper iframe {
    border: none;
    width: 100%;
    min-height: 1200px;
    display: block;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 0.9rem;
}

.required {
    color: var(--primary-red);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-main);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    color: var(--white);
    padding: 18px 40px;
    font-size: 1.1rem;
    margin-top: 10px;
}

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

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

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

.footer-logo h3 {
    font-size: 1.8rem;
    font-family: var(--font-serif);
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 0.9rem;
    color: var(--light-gray);
}

.footer-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0;
    color: var(--light-gray);
    font-size: 0.9rem;
}

.footer-info i {
    color: var(--primary-gold);
    width: 20px;
}

/* Information Section */
.information {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

.information .section-header {
    color: var(--white);
}

.information .section-label {
    color: var(--primary-gold);
}

.information .section-title,
.information .title-main {
    color: var(--white);
}

.information-list {
    max-width: 800px;
    margin: 50px auto 0;
    padding: 0 20px;
}

.blog-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-item {
    background: var(--white);
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    border-left: 4px solid var(--primary-red);
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.blog-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(200, 16, 46, 0.2);
    border-left-color: var(--primary-gold);
}

.blog-item:active {
    transform: translateX(5px) scale(0.98);
}

.blog-date {
    flex-shrink: 0;
    background: var(--primary-red);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 110px;
    text-align: center;
}

.blog-title {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.6;
}

.blog-item:hover .blog-title {
    color: var(--primary-red);
}

/* Blog Modal */
.modal {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.3);
    animation: slideDown 0.3s;
}

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

.blog-modal-content {
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    color: var(--dark-grey);
    font-size: 35px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 1;
}

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

.blog-modal-header {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    color: var(--white);
    padding: 40px 30px 30px;
    border-radius: 15px 15px 0 0;
}

.blog-modal-header h2 {
    margin: 0 0 15px 0;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--white);
}

.blog-modal-date {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin: 0;
}

.blog-modal-body {
    padding: 40px 30px;
    color: var(--dark-grey);
    font-size: 1rem;
    line-height: 1.9;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.blog-modal-body p {
    margin-bottom: 1.2em;
}

/* Footer SNS */
.footer-sns {
    margin-top: 30px;
    text-align: center;
}

.footer-sns-title {
    color: var(--primary-gold);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-sns-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-sns-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 20px;
    transition: all 0.3s;
    text-decoration: none;
}

.footer-sns-icons a:hover {
    background: var(--primary-gold);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

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

.footer-bottom p {
    color: var(--medium-gray);
    font-size: 0.85rem;
}

/* ===================================
   Floating SNS Icons
   =================================== */
.floating-sns {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

.floating-sns-icons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-sns-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    border-radius: 50%;
    color: var(--white);
    font-size: 22px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.floating-sns-icons a:hover {
    background: linear-gradient(135deg, var(--primary-gold), #d4af37);
    transform: translateX(-5px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.5);
}

/* ===================================
   Scroll to Top Button
   =================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
    z-index: 999;
}

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

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ===================================
   Animation Utilities
   =================================== */
[data-aos] {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .access-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    /* Navigation */
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 20px;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 15px 0;
        width: 100%;
        text-align: center;
    }
    
    .reserve-btn {
        width: 100%;
        text-align: center;
    }
    
    /* Hero */
    .hero {
        min-height: 80vh;
    }
    
    .hero-title-main {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Section Headers */
    .title-main {
        font-size: 2rem;
    }
    
    /* About */
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    /* Service */
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    /* Menu Carousel - mobile optimized */
    .menu-grid {
        gap: 15px;
        padding: 15px 5px 25px;
    }
    
    .menu-item {
        flex: 0 0 250px; /* Smaller width for mobile */
    }
    
    /* Gallery Carousel - tablet optimized */
    .gallery-grid {
        gap: 15px;
        padding: 15px 5px 25px;
    }
    
    .gallery-image-item {
        flex: 0 0 280px; /* Smaller width for tablet */
    }
    
    .menu-items-grid-vertical {
        grid-template-columns: 1fr;
    }
    
    .menu-item-image-large {
        height: 220px;
    }
    
    /* Information */
    .information-list {
        padding: 0 15px;
    }
    
    .blog-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 15px 20px;
    }
    
    .blog-date {
        min-width: auto;
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    .blog-title {
        font-size: 1rem;
    }
    
    /* Blog Modal */
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .blog-modal-header h2 {
        font-size: 1.4rem;
        color: var(--white);
    }
    
    .blog-modal-body {
        padding: 30px 20px;
    }
    
    .banquet-courses-grid {
        grid-template-columns: 1fr;
    }
    
    .banquet-course-image {
        height: 220px;
    }
    
    /* Contact */
    .contact-phone {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .phone-number {
        font-size: 2rem;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Floating SNS - hide on mobile */
    .floating-sns {
        display: none !important;
    }
    
    /* Footer SNS - adjust spacing on mobile */
    .footer-sns {
        margin-top: 20px;
    }
    
    .footer-sns-icons a {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .hero-title-main {
        font-size: 2rem;
    }
    
    .title-main {
        font-size: 1.75rem;
    }
    
    .menu-grid {
        gap: 10px;
        padding: 10px 5px 20px;
    }
    
    .menu-item {
        flex: 0 0 200px; /* Even smaller for very small screens */
    }
    
    .phone-number {
        font-size: 1.75rem;
    }
    
    .gallery-grid {
        gap: 10px;
        padding: 10px 5px 20px;
    }
    
    .gallery-image-item {
        flex: 0 0 220px; /* Smaller width for very small screens */
    }
}

/* ===================================
   Gallery Section - Horizontal Carousel
   =================================== */
.gallery-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 20px 20px 30px;
    margin-top: 20px;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    position: relative;
}

/* Add fade effect on edges to indicate scroll */
.gallery-grid::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 30px;
    width: 50px;
    background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
    pointer-events: none;
    z-index: 1;
}

/* Hide scrollbar but keep functionality */
.gallery-grid::-webkit-scrollbar {
    height: 8px;
}

.gallery-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.gallery-grid::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 10px;
}

.gallery-grid::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-red);
}

.gallery-image-item {
    flex: 0 0 320px; /* Fixed width for carousel */
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
    cursor: pointer;
    background: var(--white);
    opacity: 1 !important;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
}

.gallery-image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.gallery-image-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    opacity: 1 !important;
}

.gallery-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    transform: translateY(100%);
    transition: 0.3s ease;
}

.gallery-image-item:hover .gallery-image-overlay {
    transform: translateY(0);
}

.gallery-image-title {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.gallery-image-caption {
    color: #e8e8e8;
    font-size: 0.9rem;
}

/* Caption below gallery image (always visible) */
.gallery-image-caption-below {
    padding: 12px 15px;
    background: var(--white);
    color: var(--medium-gray);
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    border-top: 1px solid #e0e0e0;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===================================
   Image Lightbox Modal
   =================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

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

.lightbox-content {
    position: relative;
    z-index: 10001;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    max-height: 90vh;
}

.lightbox-image-container img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    margin-top: 20px;
    color: #ffffff;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    max-width: 600px;
    line-height: 1.6;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10002;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10002;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

/* モバイル対応 */
@media (max-width: 768px) {
    .lightbox-image-container img {
        max-height: 70vh;
    }
    
    .lightbox-close {
        width: 40px;
        height: 40px;
        top: 15px;
        right: 15px;
        font-size: 1.2rem;
    }
    
    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .lightbox-prev {
        left: 15px;
    }
    
    .lightbox-next {
        right: 15px;
    }
    
    .lightbox-caption {
        font-size: 0.9rem;
        padding: 0 15px;
    }
    
    .lightbox-counter {
        bottom: 20px;
        font-size: 0.8rem;
        padding: 6px 15px;
    }
}

/* ===================================
   FAQ Section
   =================================== */
.faq {
    background: var(--off-white);
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 20px 60px 20px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
    border: none;
    width: 100%;
    text-align: left;
    position: relative;
    transition: var(--transition-normal);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.faq-question:hover {
    background: #f9f9f9;
}

.faq-question::before {
    content: 'Q';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--primary-red);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.faq-question-text {
    flex: 1;
    line-height: 1.6;
}

.faq-icon {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    font-size: 1.2rem;
    transition: var(--transition-normal);
}

.faq-item.active .faq-icon {
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 25px 25px 25px;
}

.faq-answer-content {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 6px;
    position: relative;
    padding-left: 60px;
}

.faq-answer-content::before {
    content: 'A';
    position: absolute;
    left: 15px;
    top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--primary-gold);
    color: var(--primary-dark);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
}

.faq-answer-content p {
    color: var(--dark-gray);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

.faq-loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--medium-gray);
}

.faq-loading i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
    color: var(--primary-red);
}

.faq-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--medium-gray);
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.faq-empty i {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    color: var(--light-gray);
}

/* FAQ Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .faq-question {
        padding: 18px 50px 18px 20px;
        font-size: 0.95rem;
    }
    
    .faq-question::before {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        margin-right: 12px;
    }
    
    .faq-icon {
        right: 20px;
        width: 26px;
        height: 26px;
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }
    
    .faq-answer-content {
        padding: 15px;
        padding-left: 55px;
    }
    
    .faq-answer-content::before {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        left: 12px;
        top: 15px;
    }
    
    .faq-answer-content p {
        font-size: 0.9rem;
        line-height: 1.7;
    }
}

/* ===================================
   Contact Corner Section
   =================================== */
.contact-corner.section {
    padding: var(--section-padding) 0;
    background: var(--off-white);
}

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

.google-form-container {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-top: 40px;
}

.google-form-container iframe {
    display: block;
    width: 100%;
    min-height: 1200px;
    border: none;
}

/* Contact Corner Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .contact-corner.section {
        padding: var(--section-padding-mobile) 0;
    }
    
    .google-form-container {
        margin-top: 30px;
        border-radius: 8px;
    }
    
    .google-form-container iframe {
        min-height: 1000px;
    }
}

/* ===================================
   Language Selector
   =================================== */
.lang-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.lang-btn i.fa-globe {
    font-size: 1.1rem;
}

.lang-btn i.fa-chevron-down {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.lang-selector.active .lang-btn {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
}

.lang-selector.active .lang-btn i.fa-chevron-down {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.lang-selector.active .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Language option separator */
.lang-option:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.lang-option {
    display: block;
    padding: 12px 20px;
    color: #333333;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    cursor: pointer;
    background: transparent;
}

.lang-option:hover {
    background: #f8f5f0;
    color: #c8102e;
    padding-left: 24px;
}

.lang-option.active {
    background: #f8f5f0;
    color: #c8102e;
    font-weight: 600;
    border-left: 3px solid #c8102e;
}

/* Header scrolled state - adjust lang button color */
.header.scrolled .lang-btn {
    color: var(--dark-gray);
    border-color: rgba(0, 0, 0, 0.2);
}

.header.scrolled .lang-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.3);
}

/* Mobile Language Selector */
@media screen and (max-width: 768px) {
    .lang-selector {
        width: 100%;
        margin-top: 10px;
    }
    
    .lang-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
    }
    
    .lang-menu {
        position: static;
        width: 100%;
        opacity: 0;
        max-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 8px;
        margin-top: 10px;
        transition: all 0.3s ease;
        -webkit-overflow-scrolling: touch;
    }
    
    .lang-selector.active .lang-menu {
        opacity: 1;
        max-height: 500px;
    }
    
    .lang-option {
        color: #ffffff;
        text-align: center;
        padding: 14px 20px;
    }
    
    .lang-option:hover {
        background: rgba(255, 255, 255, 0.15);
        color: #ffd700;
        padding-left: 20px;
    }
    
    .lang-option.active {
        background: rgba(255, 255, 255, 0.2);
        color: #ffd700;
        font-weight: 600;
        border-left: none;
    }
}

/* ===================================
   Swipe Animation for Carousel Hint
   =================================== */
@keyframes swipeLeft {
    0%, 100% {
        transform: translateX(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-8px);
        opacity: 0.5;
    }
}

@keyframes swipeRight {
    0%, 100% {
        transform: translateX(0);
        opacity: 1;
    }
    50% {
        transform: translateX(8px);
        opacity: 0.5;
    }
}

/* ===================================
   Language Selector Styles
   =================================== */
.language-selector {
    position: relative;
    margin-left: 20px;
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-toggle:hover {
    background: var(--primary-color);
    color: white;
}

.language-toggle i.fa-globe {
    font-size: 16px;
}

.language-toggle i.fa-chevron-down {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.language-menu.active ~ .language-toggle i.fa-chevron-down,
.language-toggle:hover i.fa-chevron-down {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 8px 0;
    margin: 0;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.language-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-menu li {
    margin: 0;
}

.language-option {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-option:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.language-option.active {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

/* Mobile Language Selector */
@media (max-width: 768px) {
    .language-selector {
        margin-left: 0;
        margin-top: 20px;
        width: 100%;
    }

    .language-toggle {
        width: 100%;
        justify-content: center;
    }

    .language-menu {
        left: 0;
        right: 0;
        width: 100%;
    }
}

/* Navigation mobile menu adjustment */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-right {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
}
