@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;600;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600;700;800&display=swap');

:root {
  --bg-color: #ffffff;
  --text-color: #000000;
  --accent-color: #A68A2E;
  --accent-secondary: #0088cc;
  --glass-bg: rgba(0, 0, 0, 0.05);
  --glass-border: rgba(0, 0, 0, 0.1);
  --header-height: 80px;
  --font-main: 'Futura', 'Jost', 'Trebuchet MS', sans-serif;
  --font-accent: 'Futura', 'Jost', sans-serif;
  --font-serif: 'Shippori Mincho', serif;
}

.jp-mincho {
  font-family: var(--font-serif);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-main);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #bbb;
}

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

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
}

/* Animations */
.animate-fade-in {
  animation: fadeIn 1s ease forwards;
}

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

.animate-fade-in-up {
  opacity: 0;
}

.animate-fade-in-up.visible {
  animation: fadeInUp 1.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
    background-color: #000000;
}

.header.glass {
    background-color: rgba(0, 0, 0, 0.8);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: #ffffff;
    cursor: pointer;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-list a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
}

.nav-list a:hover {
    color: var(--accent-color);
}

.btn-outline {
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    background: transparent;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline:hover {
    background: var(--accent-color);
    color: var(--bg-color);
    box-shadow: 0 0 15px var(--accent-color);
}

.cta-header {
    position: relative;
    display: inline-block;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    min-width: 160px;
    padding: 0.5rem 0;
    display: none;
    flex-direction: column;
    z-index: 1001;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.lang-dropdown.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.lang-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 30px;
    width: 12px;
    height: 12px;
    background: rgba(0, 0, 0, 0.9);
    border-left: 1px solid var(--glass-border);
    border-top: 1px solid var(--glass-border);
    transform: rotate(45deg);
}

.lang-item {
    padding: 0.8rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s ease;
    text-align: left;
    letter-spacing: 1px;
}

.lang-item:hover {
    background: rgba(166, 138, 46, 0.2);
    color: var(--accent-color);
}

/* Hero */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
    transform: scale(1.1);
    animation: slowZoom 20s infinite alternate linear;
}

@keyframes slowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 10;
    margin-top: var(--header-height);
}

.hero-text-wrapper {
    width: 100%;
    text-align: center;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-section .container {
    max-width: 100%;
    width: 100%;
}

.small-text {
    font-family: var(--font-serif);
    font-size: 2rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #000000;
    font-weight: 300;
    margin-bottom: 1rem;
    display: inline-block;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    white-space: nowrap;
}

.highlight {
    color: var(--text-color);
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 1.2rem 2.5rem;
    background-color: var(--text-color);
    color: var(--bg-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover, .btn-secondary:hover {
    background-color: var(--accent-color);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
    transform: translateY(-5px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
    z-index: 10;
}

.scroll-indicator p {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--text-color);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 4px;
    background-color: var(--text-color);
    transform: translateX(-50%);
    border-radius: 50%;
    animation: scrollMouse 2s infinite;
}

@keyframes scrollMouse {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* Photo Section */
.photo-features-container {
    padding: 8rem 0;
    background: linear-gradient(to bottom, transparent, rgba(197, 160, 46, 0.05), transparent);
}

.photo-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    margin-bottom: 8rem;
}

.photo-feature-item:last-child {
    margin-bottom: 0;
}

.photo-feature-item.reverse {
    flex-direction: row-reverse;
}

.photo-thumbnail-wrapper {
    flex: 1;
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.photo-thumbnail-wrapper:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-color);
}

.photo-thumbnail {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.photo-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.photo-thumbnail-wrapper:hover img {
    transform: scale(1.1);
}

.photo-text-content {
    flex: 1;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--accent-color);
    letter-spacing: 0.05em;
}

.section-description {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.8;
    margin-bottom: 2rem;
    white-space: pre-line;
}

/* Footer */
footer {
    background-color: var(--bg-color);
}

@media (max-width: 992px) {
    .photo-feature-item, .photo-feature-item.reverse {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 6rem;
    }
    .photo-thumbnail-wrapper { width: 100%; }
    .section-title { font-size: 2rem; }
}

/* Story Page Styles */
.story-page {
    background-color: #fcfcf9;
    color: #1a1a1a;
    min-height: 100vh;
    font-family: 'Futura', 'Jost', 'Trebuchet MS', var(--font-serif);
}

.story-hero {
    height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url('../../img/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: white;
}

.story-hero h1 {
    font-size: clamp(3.5rem, 12vw, 6rem);
    font-weight: 700;
    letter-spacing: 0.4rem;
    margin-bottom: 2rem;
    font-family: inherit;
}

.story-hero .subtitle {
    font-size: 1.4rem;
    opacity: 0.9;
    letter-spacing: 0.2rem;
    font-weight: 400;
}

.company-section, .history-section {
    padding: 10rem 0;
}

.story-page .section-title {
    font-family: inherit;
}

.info-list {
    max-width: 900px;
    margin: 0 auto;
    border-top: 1px solid rgba(166, 138, 46, 0.2);
}

.info-row {
    display: grid;
    grid-template-columns: 240px 1fr;
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(166, 138, 46, 0.2);
    align-items: baseline;
    transition: background 0.4s ease;
}

.info-row:hover {
    background: rgba(166, 138, 46, 0.02);
}

.info-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--accent-color);
    letter-spacing: 0.15rem;
    font-weight: 600;
}

.info-value {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 140px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--accent-color), transparent);
    opacity: 0.5;
}

.timeline-item {
    display: flex;
    margin-bottom: 5rem;
    align-items: flex-start;
    position: relative;
}

.timeline-date {
    width: 120px;
    font-weight: 700;
    color: var(--accent-color);
    font-size: 1.25rem;
    text-align: right;
    margin-right: 40px;
    padding-top: 0.2rem;
}

.timeline-event {
    flex: 1;
    padding: 0.5rem 0 0 40px;
    position: relative;
}

.timeline-event::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 1.2rem;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
}

.timeline-event p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
}

@media (max-width: 768px) {
    .info-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 1.5rem 0;
    }
    .timeline::before { left: 20px; }
    .timeline-item { flex-direction: column; gap: 0.5rem; }
    .timeline-date { text-align: left; margin-right: 0; padding-left: 45px; }
    .timeline-event { padding-left: 45px; }
    .timeline-event::before { left: 16px; }
}
