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

:root {
    /* Bottleworks.jp Colors */
    --primary-bg: #d4cfc4;
    --secondary-bg: #E5DFD7;
    --text-primary: #000000;
    --text-secondary: #000000;
    --text-light: #000000;
    --accent-color: #9b9690;
    --white: #ffffff;
    --border-color: #b8b3aa;
    
    /* Typography */
    --font-primary: 'Noto Sans JP', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --font-logo: 'Montserrat', sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-width: 1100px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    line-height: 1.7;
    background-color: var(--primary-bg);
    background-image: 
        linear-gradient(rgba(155, 150, 144, 0.8) 1px, transparent 1px),
        linear-gradient(90deg, rgba(155, 150, 144, 0.8) 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: -1px -1px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

html {
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    position: relative;
}

section {
    width: 100%;
    overflow-x: hidden;
}

/* ===========================
   Navigation
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    border-bottom: none;
    transition: var(--transition);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 32px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 4px 4px 8px 8px;
    position: relative;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 12px;
    background: var(--primary-bg);
    border-radius: 2px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

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

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text-secondary);
}

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

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ===========================
   Hero Section - Burst Animation
   =========================== */
.hero-burst {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.8s ease;
}

.hero-burst.hidden {
    opacity: 0;
    pointer-events: none;
}

.burst-content {
    text-align: center;
}

.burst-logo {
    animation: burstIn 2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes burstIn {
    0% {
        transform: scale(0.2);
        opacity: 0;
    }
    60% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.burst-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 200;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--text-primary);
    text-stroke: 1.5px var(--text-primary);
    letter-spacing: 10px;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    gap: 0;
    overflow: hidden;
}

.burst-title .letter {
    display: inline-block;
    opacity: 0;
    animation: typewriter 0.3s ease-out forwards;
}

.burst-title .letter:nth-child(1) { animation-delay: 0s; }
.burst-title .letter:nth-child(2) { animation-delay: 0.15s; }
.burst-title .letter:nth-child(3) { animation-delay: 0.3s; }
.burst-title .letter:nth-child(4) { animation-delay: 0.45s; }
.burst-title .letter:nth-child(5) { animation-delay: 0.6s; }
.burst-title .letter:nth-child(6) { animation-delay: 0.75s; }
.burst-title .letter:nth-child(7) { animation-delay: 0.9s; }
.burst-title .letter:nth-child(8) { animation-delay: 1.05s; }

@keyframes typewriter {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.burst-company {
    display: none;
}

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

/* ===========================
   Hero Section - Main
   =========================== */
.hero {
    margin-top: 70px;
    min-height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: var(--primary-bg);
    padding: 0 0 10px;
    overflow-x: visible;
    width: 100%;
}

.hero .container {
    max-width: 100%;
    padding: 0 20px;
}

.hero-content {
    text-align: center;
    margin-top: 0;
    width: 100%;
    max-width: 100%;
    padding: 0;
    position: relative;
    overflow: visible;
}

.hero-content::before {
    content: 'From Hokkaido to the world, we deliver quality';
    position: absolute;
    top: 50%;
    right: 20px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 11px;
    letter-spacing: 2px;
    color: rgba(0, 0, 0, 0.5);
    font-weight: 400;
    transform: translateY(-50%);
    pointer-events: none;
    font-family: var(--font-heading);
}

.hero-content::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10px;
    width: 1px;
    height: 120px;
    background: linear-gradient(180deg, rgba(155, 150, 144, 0), rgba(155, 150, 144, 1), rgba(155, 150, 144, 0));
    transform: translateY(-50%);
    pointer-events: none;
}

.hero-content::after {
    content: '';
    position: absolute;
    bottom: 80px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: 1px dashed rgba(155, 150, 144, 0.35);
    transform: rotate(45deg);
    pointer-events: none;
}

/* Hero Image Slideshow */
.hero-slideshow {
    position: relative;
    width: 100%;
    max-width: 250px;
    height: 300px;
    margin: -70px auto 15px;
    overflow: hidden;
    border-radius: 40% 60% 65% 35% / 45% 50% 50% 55%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    transition: opacity 0.5s ease-in-out, clip-path 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.active {
    opacity: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.hero-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 15px;
    opacity: 0;
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 0 10px;
}

.hero-logo::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -40px;
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, rgba(155, 150, 144, 0.8), transparent);
    pointer-events: none;
}

.hero-logo::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -35px;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(155, 150, 144, 0.8));
    pointer-events: none;
}

.hero-logo.animate {
    animation: blockSlideIn 3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 6.3vw, 50px);
    font-weight: 700;
    color: transparent;
    letter-spacing: 1px;
    text-transform: uppercase;
    width: 100%;
    max-width: 100%;
    padding: 0 10px;
    word-break: keep-all;
    overflow: visible;
    -webkit-text-stroke: 0.8px var(--text-primary);
    text-stroke: 0.8px var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hero-logo-image {
    width: 100%;
    max-width: 350px;
    height: auto;
    display: block;
    margin: 0 auto;
}
}

.hero-company-name {
    font-size: 13px;
    color: #000000;
    letter-spacing: 3px;
    margin-top: 8px;
    font-weight: 300;
}

.hero-description {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 5px;
    line-height: 2.2;
    letter-spacing: 2px;
    font-weight: 600;
    opacity: 0;
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    position: relative;
}

.hero-description::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -60px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(155, 150, 144, 0.3);
    border-radius: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.hero-description::after {
    content: '';
    position: absolute;
    top: 30%;
    right: -110px;
    width: 135px;
    height: 135px;
    border: 2px solid rgba(155, 150, 144, 0.3);
    border-radius: 50%;
    pointer-events: none;
}

/* Hero content container - right side decorations */
.hero-content::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -70px;
    width: 1px;
    height: 70px;
    background: linear-gradient(180deg, rgba(155, 150, 144, 0), rgba(155, 150, 144, 0.8), rgba(155, 150, 144, 0));
    transform: translateY(-50%);
    pointer-events: none;
}

/* Hero content - right side diagonal square */
.hero-content::after {
    content: '';
    position: absolute;
    bottom: 50px;
    right: -55px;
    width: 35px;
    height: 35px;
    border: 1px dashed rgba(155, 150, 144, 0.35);
    transform: rotate(45deg);
    pointer-events: none;
}

.hero-description.animate {
    animation: blockSlideIn 3s cubic-bezier(0.4, 0, 0.2, 1) 1.2s forwards;
}

@keyframes blockSlideIn {
    0% {
        opacity: 0;
        clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    }
    100% {
        opacity: 1;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

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

.btn {
    padding: 14px 40px;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 2px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
}

.btn-primary {
    background: #5a5a5a;
    color: #ffffff;
}

.btn-primary:hover {
    background: #707070;
}

.btn-outline {
    background: transparent;
    color: #5a5a5a;
    border: 2px solid #5a5a5a;
}

.btn-outline:hover {
    background: #5a5a5a;
    color: var(--primary-bg);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ===========================
   Section Styles
   =========================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 30px 40px;
    background: transparent;
    border: none;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: perspective(1000px) rotateX(-90deg);
    transform-origin: center top;
    position: relative;
}

.section-header.visible {
    animation: rollIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes rollIn {
    0% {
        opacity: 0;
        transform: perspective(1000px) rotateX(-90deg);
    }
    100% {
        opacity: 1;
        transform: perspective(1000px) rotateX(0deg);
    }
}

.section-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 10px;
    display: inline-block;
    padding: 4px 12px;
    background: #5a5a5a;
    color: var(--primary-bg);
    position: relative;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(24px, 3.3vw, 30px);
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
    letter-spacing: 2px;
    text-align: center;
    line-height: 1.4;
    word-break: keep-all;
    white-space: normal;
}

.section-description {
    font-size: 10px;
    color: var(--text-secondary);
    line-height: 1.8;
    letter-spacing: 0.6px;
    font-weight: 300;
    position: relative;
    margin-bottom: 20px;
}

.section-description::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 1px;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

/* ===========================
   Services Overview
   =========================== */
.services-overview {
    padding: var(--section-padding) 0;
    background: var(--secondary-bg);
    position: relative;
    overflow: hidden;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}

.service-card {
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    padding: 25px 20px;
    transition: var(--transition);
    text-align: center;
    width: 100%;
    max-width: 100%;
    position: relative;
}

.service-card:nth-child(1)::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -30px;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, rgba(155, 150, 144, 0.6), transparent);
    transform: translateY(-50%);
    pointer-events: none;
}

.service-card:nth-child(2)::before {
    content: '';
    position: absolute;
    top: -25px;
    right: -25px;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(155, 150, 144, 0.3);
    border-radius: 50%;
    pointer-events: none;
}

.service-card:nth-child(2)::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 35px;
    height: 35px;
    border: 1px dashed rgba(155, 150, 144, 0.35);
    transform: rotate(45deg);
    pointer-events: none;
}

.service-card:hover {
    border-color: #5a5a5a;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 40px;
    height: 40px;
    background: #5a5a5a;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 20px;
    color: var(--primary-bg);
}

.service-card h3 {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 12px;
    color: var(--text-primary);
    letter-spacing: 1.2px;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 15px;
    letter-spacing: 0.4px;
    font-size: 11px;
}

.service-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
}

.service-link:hover {
    gap: 12px;
}

/* ===========================
   Restaurants Section
   =========================== */
.restaurants {
    padding: var(--section-padding) 0;
    background: var(--primary-bg);
    position: relative;
    overflow: hidden;
}

.restaurants::before {
    content: '';
    position: absolute;
    top: 50px;
    right: 5%;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(155, 150, 144, 0.3);
    border-radius: 50%;
    pointer-events: none;
}

.restaurants::after {
    content: '';
    position: absolute;
    bottom: 80px;
    left: 3%;
    width: 100px;
    height: 100px;
    border: 1px solid rgba(155, 150, 144, 0.3);
    border-radius: 50%;
    pointer-events: none;
}

.restaurants .container::before {
    content: '';
    position: absolute;
    top: 200px;
    left: 50%;
    width: 1px;
    height: 120px;
    background: linear-gradient(180deg, transparent, rgba(155, 150, 144, 0.6), transparent);
    pointer-events: none;
}

.restaurants .container::after {
    content: '';
    position: absolute;
    bottom: 50px;
    right: 10%;
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(155, 150, 144, 0.7));
    pointer-events: none;
}

.restaurant-list {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.restaurant-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    position: relative;
}

.restaurant-item:nth-child(1)::before {
    content: '';
    position: absolute;
    top: -35px;
    left: 5%;
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, rgba(155, 150, 144, 0.8), transparent);
    pointer-events: none;
}

.restaurant-item:nth-child(1)::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: 12%;
    width: 55px;
    height: 55px;
    border: 1px solid rgba(155, 150, 144, 0.3);
    pointer-events: none;
}

.restaurant-item:nth-child(2)::before {
    content: '';
    position: absolute;
    top: -40px;
    right: 10%;
    width: 70px;
    height: 70px;
    border: 2px solid rgba(155, 150, 144, 0.3);
    border-radius: 50%;
    pointer-events: none;
}

.restaurant-item:nth-child(2)::after {
    content: '';
    position: absolute;
    bottom: -35px;
    left: 8%;
    width: 50px;
    height: 50px;
    border: 1px dashed rgba(155, 150, 144, 0.35);
    transform: rotate(45deg);
    pointer-events: none;
}

.restaurant-item:nth-child(3)::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -50px;
    width: 1px;
    height: 100px;
    background: linear-gradient(180deg, transparent, rgba(155, 150, 144, 0.6), transparent);
    transform: translateY(-50%);
    pointer-events: none;
}

.restaurant-item:nth-child(3)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -80px;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(155, 150, 144, 0.3);
    border-radius: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.restaurant-item.reverse {
    direction: rtl;
}

.restaurant-item.reverse > * {
    direction: ltr;
}

.restaurant-image {
    overflow: hidden;
    position: relative;
    border-radius: 0;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.restaurant-slider {
    position: relative;
    width: 100%;
    height: 350px;
}

.restaurant-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.restaurant-slide.active {
    opacity: 1;
}

.restaurant-photo {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    background: var(--secondary-bg);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.slider-btn.prev {
    left: 15px;
}

.slider-btn.next {
    right: 15px;
}

.image-placeholder {
    width: 100%;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
}

.image-placeholder.restaurant-1 {
    background: linear-gradient(135deg, #b8afa4 0%, #a89f94 100%);
}

.image-placeholder.restaurant-2 {
    background: linear-gradient(135deg, #9b9690 0%, #8b8580 100%);
}

.image-placeholder.restaurant-3 {
    background: linear-gradient(135deg, #c4bfb4 0%, #b4afa4 100%);
}

.image-placeholder.restaurant-4 {
    background: linear-gradient(135deg, #d4c9be 0%, #c4b9ae 100%);
}

.image-placeholder i {
    font-size: 80px;
    color: rgba(255, 255, 255, 0.2);
}

.restaurant-info {
    position: relative;
}

.restaurant-badge {
    display: inline-block;
    background: #5a5a5a;
    color: var(--primary-bg);
    padding: 4px 14px;
    font-size: 9px;
    font-weight: 400;
    margin-bottom: 15px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.restaurant-info h3 {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 12px;
    color: var(--text-primary);
    letter-spacing: 0.8px;
}

.restaurant-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 11px;
    margin-bottom: 18px;
    letter-spacing: 0.4px;
}

.restaurant-location i {
    color: var(--text-primary);
}

.restaurant-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 11px;
    letter-spacing: 0.4px;
}

.restaurant-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    font-size: 10px;
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: 0.4px;
}

.feature-item i {
    color: var(--text-primary);
    font-size: 9px;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
    padding: 12px 24px;
    background: #5a5a5a;
    border: 2px solid #5a5a5a;
    color: var(--primary-bg);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
    text-transform: uppercase;
}

.instagram-link:hover {
    background: transparent;
    color: #5a5a5a;
}

.instagram-link i {
    font-size: 16px;
}

.restaurant-map {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.restaurant-map iframe {
    display: block;
    width: 100%;
}

/* ===========================
   Consulting Section
   =========================== */
.consulting {
    padding: var(--section-padding) 0;
    background: var(--secondary-bg);
    position: relative;
    overflow: hidden;
}

.consulting::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(90, 90, 90, 0.5), transparent);
}

.consulting .container::before {
    content: '';
    position: absolute;
    top: 150px;
    right: 8%;
    width: 1px;
    height: 180px;
    background: linear-gradient(180deg, rgba(155, 150, 144, 0.6), transparent);
    pointer-events: none;
}

.consulting .container::after {
    content: '';
    position: absolute;
    bottom: 80px;
    left: 15%;
    width: 250px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(155, 150, 144, 0.6), transparent);
    pointer-events: none;
}

.consulting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 100%;
}

.consulting-card {
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    padding: 50px 40px;
    transition: var(--transition);
    position: relative;
    text-align: center;
    width: 100%;
    max-width: 100%;
}

.consulting-card:nth-child(3)::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    width: 55px;
    height: 55px;
    border: 2px solid rgba(155, 150, 144, 0.3);
    border-radius: 50%;
    pointer-events: none;
}

.consulting-card:nth-child(3)::after {
    content: '';
    position: absolute;
    bottom: -25px;
    right: -25px;
    width: 38px;
    height: 38px;
    border: 1px dashed rgba(155, 150, 144, 0.35);
    transform: rotate(45deg);
    pointer-events: none;
}

.consulting-card:nth-child(1)::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -70px;
    width: 130px;
    height: 130px;
    border: 2px solid rgba(155, 150, 144, 0.3);
    border-radius: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.consulting-card:nth-child(1)::after {
    content: '';
    position: absolute;
    top: -25px;
    right: 15%;
    width: 35px;
    height: 35px;
    border: 1px solid rgba(155, 150, 144, 0.3);
    transform: rotate(45deg);
    pointer-events: none;
}

.consulting-card:nth-child(2)::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -35px;
    width: 1px;
    height: 80px;
    background: linear-gradient(180deg, transparent, rgba(155, 150, 144, 0.6), transparent);
    transform: translateY(-50%);
    pointer-events: none;
}

.consulting-card:nth-child(2)::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 45px;
    border: 1px dashed rgba(155, 150, 144, 0.35);
    border-radius: 50%;
    pointer-events: none;
}

.consulting-card:nth-child(4)::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 10%;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(155, 150, 144, 0.3);
    border-radius: 50%;
    pointer-events: none;
}

.consulting-card:nth-child(4)::after {
    content: '';
    position: absolute;
    bottom: 50%;
    left: -40px;
    width: 1px;
    height: 90px;
    background: linear-gradient(180deg, rgba(155, 150, 144, 0.6), transparent);
    pointer-events: none;
}

.consulting-card {
    border-color: var(--text-primary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.consulting-number {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-light);
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.consulting-icon {
    width: 50px;
    height: 50px;
    background: #5a5a5a;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.consulting-icon i {
    font-size: 24px;
    color: var(--primary-bg);
}

.consulting-card h3 {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 15px;
    color: var(--text-primary);
    letter-spacing: 0.8px;
}

.consulting-card > p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 10px;
    letter-spacing: 0.4px;
}

.consulting-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.consulting-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 10px;
    letter-spacing: 0.4px;
}

.consulting-features i {
    color: #5a5a5a;
    font-size: 10px;
}

/* ===========================
   Company Info
   =========================== */
.company-info {
    padding: var(--section-padding) 0;
    background: var(--primary-bg);
    position: relative;
    overflow: hidden;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    width: 100%;
    max-width: 100%;
    position: relative;
}

.info-content {
    text-align: center;
}

.info-content .section-label {
    margin: 0 auto 10px;
}

.info-description {
    color: var(--text-secondary);
    line-height: 2.2;
    margin-top: 30px;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.info-details {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    padding: 50px;
}

.detail-item {
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.detail-value {
    font-size: 15px;
    color: var(--text-primary);
    line-height: 2;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.detail-value small {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 8px;
    font-weight: 400;
}

/* ===========================
   Contact Section
   =========================== */
.contact {
    padding: var(--section-padding) 0;
    background: var(--secondary-bg);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #5a5a5a, transparent 20%, transparent 80%, #5a5a5a);
}

.contact::after {
    content: '';
    position: absolute;
    top: 120px;
    right: 5%;
    width: 90px;
    height: 90px;
    border: 1px solid rgba(155, 150, 144, 0.3);
    border-radius: 50%;
    pointer-events: none;
}

.contact .container::before {
    content: '';
    position: absolute;
    top: 40%;
    left: 2%;
    width: 1px;
    height: 150px;
    background: linear-gradient(180deg, transparent, rgba(155, 150, 144, 0.6), transparent);
    pointer-events: none;
}

.contact .container::after {
    content: '';
    position: absolute;
    bottom: 100px;
    right: 12%;
    width: 180px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(155, 150, 144, 0.8));
    pointer-events: none;
}

.contact-container {
    display: block;
    width: 100%;
    max-width: 100%;
}

.contact-info-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 60px;
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 50px 40px;
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 100%;
}

.contact-info-icon {
    width: 45px;
    height: 45px;
    background: #5a5a5a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon i {
    font-size: 20px;
    color: var(--primary-bg);
}

.contact-info-text h4 {
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 10px;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.contact-info-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.contact-info-text a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 400;
}

.contact-info-text a:hover {
    text-decoration: underline;
}

.contact-info-note {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 8px;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    padding: 50px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    box-sizing: border-box;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    width: 100%;
    box-sizing: border-box;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
}

.form-group label {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: 1px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 14px;
    transition: var(--transition);
    letter-spacing: 0.5px;
    width: 100%;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #5a5a5a;
}

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

/* ===========================
   Sliding Text Section
   =========================== */
.sliding-text-section {
    background: transparent;
    padding: 5px 0;
    overflow: hidden;
    position: relative;
    height: auto;
}

.sliding-text-wrapper {
    width: 100%;
    overflow: hidden;
    display: flex;
}

.sliding-text {
    display: flex;
    gap: 0;
    animation: slideText 60s linear infinite;
    white-space: nowrap;
    will-change: transform;
}

.sliding-text span {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(24px, 4.2vw, 33px);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    flex-shrink: 0;
    -webkit-text-stroke: 0.5px var(--text-primary);
    text-stroke: 0.5px var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@keyframes slideText {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: #5a5a5a;
    color: #ffffff;
    padding: 80px 0 40px;
    border-top: 1px solid #707070;
}

.footer *,
.footer a,
.footer p,
.footer h3,
.footer h4,
.footer li {
    color: #ffffff !important;
}

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

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.footer-brand p {
    color: #ffffff;
    margin-bottom: 8px;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.footer-tagline {
    color: #cccccc;
    font-size: 13px;
    margin-top: 20px;
    letter-spacing: 0.5px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #cccccc !important;
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.footer-col ul li a:hover {
    color: #ffffff;
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #707070;
    color: #cccccc;
    font-size: 12px;
    letter-spacing: 1px;
}

.footer-col ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.footer-col ul li a:hover {
    color: var(--primary-bg);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 12px;
    letter-spacing: 1px;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 968px) {
    :root {
        --section-padding: 80px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--primary-bg);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        gap: 30px;
        transition: var(--transition);
        border-left: 1px solid var(--border-color);
        z-index: 9999;
    }

    .nav-menu.active {
        right: 0;
    }

    /* Navigation menu decorative lines - bottleworks.jp style */
    .nav-menu::before {
        content: '';
        position: absolute;
        top: 15%;
        left: 0;
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(90, 90, 90, 0.6), transparent);
        pointer-events: none;
    }

    .nav-menu::after {
        content: '';
        position: absolute;
        top: 0;
        right: 20%;
        width: 1px;
        height: 100%;
        background: linear-gradient(180deg, transparent, rgba(90, 90, 90, 0.5), transparent);
        pointer-events: none;
    }

    .nav-link {
        color: var(--text-primary);
        font-size: 16px;
        font-weight: 500;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

    .services-grid {
        grid-template-columns: 1fr;
    }

    .restaurant-item,
    .restaurant-item.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .consulting-grid {
        grid-template-columns: 1fr;
    }

    .info-grid,
    .contact-container,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    :root {
        --section-padding: 60px;
    }

    .hero {
        padding: 80px 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 35px 25px;
    }
}

/* ===========================
   Desktop - Hero Image Adjustments
   =========================== */
@media (min-width: 769px) {
    .logo-text {
        font-size: 20px;
    }
    
    .hero {
        padding: 0 40px 10px;
    }
    
    .hero .container {
        padding: 0 40px;
    }
    
    .hero-content::after {
        display: none;
    }
    
    .hero-slideshow {
        width: 100%;
        max-width: 600px;
        height: 350px;
        margin: 50px auto 15px;
        border-radius: 50% / 40%;
    }
    
    .consulting-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
        margin: 0 auto;
    }
    
    .restaurant-item.reverse {
        direction: ltr;
    }
}
