/* Generated by Claude Code */

/* CSS Variables for Modern Japanese Style */
:root {
    /* 背景色 */
    --bg-main: #fbfbfb;           /* メイン背景（明るいグレー） */
    --bg-section: #f4f0e9;        /* セクション背景（温かみのあるベージュ） */
    --bg-dark: #222222;           /* 濃い背景（ヘッダー・フッター用） */
    
    /* テキスト色 */
    --text-primary: #333333;      /* メインテキスト */
    --text-light: #ffffff;        /* 白色テキスト */
    --text-dark: #222222;         /* 強調テキスト */
    
    /* アクセント色 */
    --border-color: #7d7d7d;      /* 区切り線・ボーダー */
    --hover-color: #e1e1e1;       /* ホバー効果 */
    --overlay: rgba(0,0,0,0.4);   /* 半透明背景 */
    
    /* 旧変数との互換性のため残しておく */
    --primary-color: var(--text-dark);
    --secondary-color: #C8A882;
    --accent-color: var(--text-dark);
    --japanese-red: var(--text-dark);
    --japanese-gold: #B8860B;
    --japanese-black: var(--bg-dark);
    --japanese-charcoal: var(--text-dark);
    --text-muted: #95A5A6;
    --bg-light: var(--bg-section);
    --bg-white: var(--bg-main);
    --bg-paper: var(--bg-section);
    --border-light: var(--hover-color);
    --success-color: #27AE60;
    --warning-color: #F39C12;
    --error-color: #E74C3C;
    --shadow-light: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-medium: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-heavy: 0 8px 24px rgba(0,0,0,0.15);
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 16px;
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-xxl: 64px;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-japanese: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', sans-serif;
    --font-heading: 'Playfair Display', 'Noto Serif JP', serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, var(--text-dark), var(--text-primary));
    --gradient-accent: linear-gradient(135deg, var(--text-dark), var(--text-primary));
    --gradient-gold: linear-gradient(135deg, var(--japanese-gold), var(--secondary-color));
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-japanese), var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-main);
    font-weight: 400;
    letter-spacing: 0.02em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 4px;
    background: var(--bg-main);
    padding: 4px;
    border-radius: var(--border-radius-lg);
    margin-left: var(--spacing-md);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.lang-btn {
    padding: 8px 14px;
    border: none;
    background: transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.lang-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.lang-btn:hover {
    color: var(--text-dark);
    transform: translateY(-1px);
    background: var(--hover-color);
}

.lang-btn:hover::before {
    opacity: 0.1;
}

.lang-btn.active {
    background: var(--text-dark);
    color: var(--text-light);
    box-shadow: var(--shadow-medium);
    transform: translateY(-1px);
}

.lang-btn.active::before {
    opacity: 1;
}

/* Language button content styling */
.lang-btn .flag-icon {
    display: none; /* Hide flags on desktop by default */
    font-size: 14px;
    margin-right: 4px;
}

.lang-btn .lang-text {
    display: inline-block; /* Show text on desktop by default */
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(251, 251, 251, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--hover-color);
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    width: 100%;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(251, 251, 251, 0.98);
    box-shadow: var(--shadow-medium);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 0.05em;
    position: relative;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.logo-image {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

.logo::after {
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    position: relative;
    padding: 8px 0;
    font-size: 15px;
    letter-spacing: 0.02em;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a:hover::before {
    width: 100%;
}

/* Navigation Social Links */
.nav-social {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-left: var(--spacing-md);
}

.nav-social-link {
    color: var(--text-dark);
    transition: var(--transition);
    opacity: 0.8;
}

.nav-social-link:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    margin: 1.5px 0;
    transition: 0.3s;
    transform-origin: center;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
    margin-top: 60px;
    background: var(--bg-section);
}

.fullscreen-hero {
    background: linear-gradient(var(--overlay), var(--overlay)),
                url('../images/menu/８種盛り合わせ_俯瞰.jpg') center/cover no-repeat;
    color: var(--text-light);
}

@media (min-width: 769px) {
    .fullscreen-hero {
        background-attachment: fixed;
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.02em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero-logo {
    max-width: 300px;
    height: auto;
    margin-bottom: var(--spacing-md);
    filter: brightness(0) invert(1) drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

.hero-subtitle {
    font-size: 28px;
    margin-bottom: var(--spacing-sm);
    font-weight: 300;
    letter-spacing: 0.05em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.hero-description {
    font-size: 20px;
    margin-bottom: var(--spacing-xl);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-xl);
    background: #DAA520;
    color: var(--text-light);
    text-decoration: none;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    background: #B8860B;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button.secondary {
    background: var(--gradient-gold);
}

.cta-button.secondary:hover {
    background: var(--gradient-gold);
    filter: brightness(1.1);
}

/* Sections */
.section {
    padding: var(--spacing-xxl) 0;
    position: relative;
}

.section.bg-light {
    background: var(--bg-section);
}

/* 交互に背景色を設定 */
.section:nth-of-type(odd) {
    background: var(--bg-section);
    color: var(--text-primary);
}

.section:nth-of-type(even) {
    background: var(--bg-dark);
    color: var(--text-light);
}

/* ダーク背景のセクション内のタイトルとテキスト */
.section:nth-of-type(even) .section-title {
    color: var(--text-light);
}

.section:nth-of-type(even) p,
.section:nth-of-type(even) h3 {
    color: var(--text-light);
}

/* メニュープレビューセクションは3番目なのでベージュ背景 */
.section:nth-of-type(3) .menu-preview p {
    color: var(--text-primary);
}

/* ボタンの調整 */
.section:nth-of-type(even) .cta-button {
    background: var(--text-light);
    color: var(--bg-dark);
}

.section:nth-of-type(even) .cta-button:hover {
    background: var(--hover-color);
    color: var(--bg-dark);
}

/* メニュープレビューのボタン */
.section:nth-of-type(3) .cta-button {
    background: var(--text-dark);
    color: var(--text-light);
}

.section:nth-of-type(3) .cta-button:hover {
    background: var(--text-primary);
    color: var(--text-light);
}

/* カードの調整 */
.section:nth-of-type(even) .course-card {
    background: var(--text-primary);
    color: var(--text-light);
    border-color: var(--border-color);
}

.section:nth-of-type(even) .course-card h3 {
    color: var(--text-light);
}

.section:nth-of-type(even) .course-card .course-price {
    color: var(--text-light);
}

.section:nth-of-type(even) .select-course-btn {
    background: var(--bg-dark);
    color: var(--text-light);
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 42px;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.02em;
    position: relative;
    padding-top: var(--spacing-md);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--border-color);
    border-radius: 2px;
}

.section:nth-of-type(even) .section-title::after {
    background: var(--hover-color);
}

/* About Section */
.about-section {
    padding: 0;
    text-align: center;
}

/* How to Enjoy Image */
.how-to-enjoy-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin-top: var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    border: 3px solid darkgoldenrod;
    transition: var(--transition);
    cursor: pointer;
}

.how-to-enjoy-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-heavy);
}

/* About Items Grid Layout */
.about-subtitle {
    font-family: var(--font-japanese);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    text-decoration: underline;
    text-decoration-color: #C8A882;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
}

.about-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, auto);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.about-item {
    background: transparent;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: none;
    text-align: left;
    border: none;
    transition: var(--transition);
}

.about-item:hover {
    transform: none;
    box-shadow: none;
}

.about-item h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
}

.about-item h4 {
    font-size: 18px;
    color: #B8860B;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

.about-item p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.about-item-note {
    font-size: 14px;
    color: #666666;
    font-style: italic;
    margin-top: var(--spacing-xs);
}

/* PC only: Specific grid positioning for 2x3 layout
   Row 1: ① ②
   Row 2: ④ ③  
   Row 3: ⑤ ⑥ */
.about-item-3 {
    grid-row: 2;
    grid-column: 2;
}

.about-item-4 {
    grid-row: 2;
    grid-column: 1;
}

.about-item-5 {
    grid-row: 3;
    grid-column: 1;
}

.about-item-6 {
    grid-row: 3;
    grid-column: 2;
}

/* Modal Styles for Image Enlargement */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    display: block;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    animation: zoomIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10000;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: none;
}

.modal-close:hover {
    color: #ccc;
    transform: scale(1.1);
}

.modal-controls {
    position: absolute;
    top: 15px;
    left: 35px;
    display: flex;
    gap: 10px;
    z-index: 10000;
}

.modal-zoom-btn {
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.modal-zoom-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    display: block;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    animation: zoomIn 0.3s ease;
    transition: transform 0.3s ease;
    cursor: move;
    transform-origin: center center;
    touch-action: none;
    user-select: none;
    -webkit-user-drag: none;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.5); }
    to { transform: scale(1); }
}

.about-wrapper {
    position: relative;
    padding: var(--spacing-xl) 0;
    overflow: hidden;
}

.about-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/images/about-us.png') center/cover no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.about-wrapper .container {
    position: relative;
    z-index: 1;
}

.about-content {
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
    padding: var(--spacing-lg);
}

.about-section .section-title {
    color: var(--text-primary);
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

/* フッターが次のセクションなので、アクセスセクションを明示的に指定 */
#access {
    background: var(--bg-section) !important;
    color: var(--text-primary) !important;
}

#access .section-title,
#access p,
#access h3 {
    color: var(--text-primary) !important;
}

/* Menu Preview Section */
.menu-preview {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.menu-preview p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

/* Menu Gallery */
.menu-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-xl) 0;
}

.menu-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 4/3;
}

.menu-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.menu-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.menu-gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .menu-gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: var(--spacing-sm);
    }
}

/* Course Section */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.course-card {
    background: var(--bg-main);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--hover-color);
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.course-card:hover::before {
    transform: scaleX(1);
}

.course-card.featured {
    border: 2px solid var(--japanese-gold);
    background: linear-gradient(135deg, #fff 0%, #fefefe 100%);
    position: relative;
}

.course-card.featured::after {
    content: 'おすすめ';
    position: absolute;
    top: 15px;
    right: -10px;
    background: var(--text-dark);
    color: var(--text-light);
    padding: 4px 20px;
    font-size: 12px;
    font-weight: 600;
    transform: rotate(15deg);
    box-shadow: var(--shadow-medium);
}

.course-card h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.course-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    font-family: var(--font-heading);
}

.select-course-btn {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--text-dark);
    color: var(--text-light);
    border: none;
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    font-size: 15px;
    box-shadow: var(--shadow-medium);
}

.select-course-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

/* Reservation Section */
.course-selection {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.course-selection label {
    font-size: 18px;
    font-weight: bold;
    margin-right: var(--spacing-sm);
}

.course-dropdown {
    padding: var(--spacing-sm);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    background: var(--bg-main);
    cursor: pointer;
}

.reservation-widget {
    margin: 0 auto;
    max-width: 600px;
    min-height: 500px;
    background: var(--text-light);
    border-radius: var(--border-radius);
    /* padding: var(--spacing-lg); */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.widget-placeholder {
    color: var(--text-primary);
}

.widget-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    color: var(--text-light);
}

/* Access Section */
.access-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
}

.access-info h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
}

.access-info h3:first-child {
    margin-top: 0;
}

.map-container {
    width: 100%;
    height: 400px;
    background: var(--bg-section);
    border-radius: var(--border-radius);
    overflow: hidden;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.footer-logo h3 {
    font-size: 24px;
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
}

.social-link {
    color: var(--text-light);
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--hover-color);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* Reservation Description */
.reservation-description {
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
    text-align: center;
}

.reservation-description p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.reservation-description p:first-child {
    font-size: 18px;
    font-weight: 500;
}

.reservation-description p:last-child {
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
}

.reservation-description a {
    color: white;
    text-decoration: underline;
}

.reservation-description a:hover {
    color: white;
    opacity: 0.8;
}

/* Floating CTA Button */
.floating-cta {
    position: fixed;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: #DAA520;
    color: var(--text-light);
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    z-index: 999;
    text-decoration: none;
    display: inline-block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.floating-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(218, 165, 32, 0.4);
    background: #B8860B;
}

/* Responsive Design */
@media (max-width: 1024px) {
    /* Navigation */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }
    
    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--bg-main);
        flex-direction: column;
        align-items: center;
        justify-content: start;
        padding-top: var(--spacing-xl);
        transition: left 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
        position: relative;
        z-index: 1001;
    }
    
    /* Language Switcher for Mobile */
    .language-switcher {
        position: relative;
        margin-left: auto;
        margin-right: var(--spacing-sm);
    }
    
    /* Mobile Navigation Social Links */
    .nav-social {
        margin-left: 0;
        margin-top: var(--spacing-md);
        justify-content: center;
    }
    

    /* Hero */
    .hero-title {
        font-size: 36px;
    }
    
    .hero-logo {
        max-width: 250px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-description {
        font-size: 16px;
    }

    /* Grids */
    .menu-grid,
    .course-grid {
        grid-template-columns: 1fr;
    }

    .access-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    /* Floating CTA */
    .floating-cta {
        bottom: var(--spacing-md);
        right: var(--spacing-md);
    }

}

@media (max-width: 480px) {
    /* Typography */
    .section-title {
        font-size: 28px;
    }

    .hero-title {
        font-size: 28px;
    }
    
    .hero-logo {
        max-width: 200px;
    }

    /* Spacing */
    .section {
        padding: var(--spacing-lg) 0;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    /* Buttons */
    .cta-button {
        width: 100%;
        text-align: center;
    }

    /* How to Enjoy Image for Small Screens */
    .how-to-enjoy-image {
        margin-top: var(--spacing-md);
        border-radius: var(--border-radius-sm);
        max-width: 100%;
        border: 2px solid darkgoldenrod;
    }
    
    /* About Items Mobile Layout */
    .about-items {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        margin-top: var(--spacing-lg);
    }
    
    .about-item {
        padding: var(--spacing-md);
        text-align: center;
    }
    
    .about-item h3 {
        font-size: 18px;
    }
    
    .about-item h4 {
        font-size: 16px;
    }
    
    .about-item p {
        font-size: 14px;
    }
    
    /* Mobile: Reset grid positioning to natural flow */
    .about-item-3,
    .about-item-4,
    .about-item-5,
    .about-item-6 {
        grid-row: unset;
        grid-column: unset;
    }
    
    /* Modal adjustments for mobile */
    .modal-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .modal-controls {
        top: 10px;
        left: 10px;
        gap: 5px;
    }
    
    .modal-zoom-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}


/* Mobile responsive for language switcher and logo */
@media (max-width: 1024px) {
    .language-switcher {
        margin-left: var(--spacing-xs);
        margin-right: var(--spacing-xs);
        gap: 2px;
    }
    
    .lang-btn {
        padding: 6px 8px;
        font-size: 16px; /* Larger for flag emojis */
        min-width: auto;
    }
    
    /* Show flags on mobile, hide text */
    .lang-btn .flag-icon {
        display: inline-block;
        font-size: 16px;
        line-height: 1;
        margin-right: 0; /* Remove margin on mobile */
    }
    
    .lang-btn .lang-text {
        display: none;
    }
    
    .logo-image {
        height: 32px;
    }
    
    .navbar .container {
        padding: 0 var(--spacing-sm);
    }
}