:root {
--primary: #3b2f2f;
--accent: #8b5a2b;
--accent-hover: #613e1d;
--bg: #fdf8f5;
--box-bg: #fffcf9;
--text: #4a4036;
--border-color: #d4c5b9;
--glass: rgba(253, 248, 245, 0.96);
}

* {
  box-sizing: border-box;
  }

html {
scroll-behavior: smooth;
}

body {
margin: 0;
padding-top: 80px;
background: var(--bg);
color: var(--text);

font-family: 'Cormorant Garamond', serif;
font-size: 1.1rem;
line-height: 1.7;

text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;

}

/* NAV */

nav {
position: fixed;
top: 0;
width: 100%;
height: 80px;
background: var(--glass);

border-bottom: 1px solid var(--border-color);

display: flex;
justify-content: space-between;
align-items: center;

padding: 0 8%;

z-index: 1000;


}

.logo {
text-decoration: none;

color: var(--primary);

font-family: 'Playfair Display', serif;
font-size: 1.8rem;
font-weight: 700;

}

.nav-links {
display: flex;
gap: 25px;
}

.nav-links a {
position: relative;

color: var(--text);
text-decoration: none;

font-family: 'Playfair Display', serif;
font-size: 1rem;
text-transform: uppercase;
letter-spacing: 1px;

}

.nav-links a::after {
content: "";
position: absolute;
left: 0;
bottom: -4px;

width: 0;
height: 1px;

background: var(--accent);

transition: width 0.3s ease;

}

.nav-links a:hover::after,
.nav-links a.active::after {
width: 100%;
}

/* HERO */

.hero {
height: 400px;

background:
    linear-gradient(rgba(59,47,47,0.55), rgba(59,47,47,0.55)),
    url("https://images.unsplash.com/photo-1461360370896-922624d12aa1?auto=format&fit=crop&q=80&w=1400")
    center/cover no-repeat;

display: flex;
justify-content: center;
align-items: center;

text-align: center;

border-bottom: 4px double var(--accent);


}

.hero-content h1 {
margin: 0;

color: #fff;

font-family: 'Playfair Display', serif;
font-size: clamp(2.5rem, 5vw, 4rem);

}

.hero-content p {
color: #fff;


font-size: 1.3rem;
font-style: italic;


}

/* LAYOUT */

.container {
max-width: 1200px;


margin: 60px auto;

padding: 0 20px;


}

.intro-section {
display: flex;
flex-wrap: wrap;
gap: 50px;
align-items: center;
}

.intro-text {
flex: 2;
min-width: 300px;
}

.intro-text h2 {
font-size: 2.4rem;
}

.intro-cafe {
flex: 1;
min-width: 300px;


padding: 40px;

background: var(--box-bg);

border: 1px solid var(--border-color);


}

/* MINI GALLERY */

.mini-gallery {
display: flex;
gap: 20px;


margin: 30px 0;


}

.vintage-photo {
flex: 1;


background: white;

padding: 10px;

border: 1px solid var(--border-color);

transition: transform 0.3s ease;


}

.vintage-photo:hover {
transform: translateY(-4px);
}

.vintage-photo img {
width: 100%;
height: 220px;


object-fit: cover;


}

.vintage-photo small {
display: block;


margin-top: 8px;

text-align: center;
font-style: italic;


}

/* STORY */

.story-section {
margin-top: 70px;


padding: 50px 30px;

background: #8b7f6f;

border-radius: 10px;


}

.story-content {
max-width: 800px;
margin: 0 auto;


text-align: center;


}

.story-content h2,
.story-content p {
color: white;
}

/* BUTTON */

.btn {
display: inline-block;


margin-top: 15px;
padding: 12px 28px;

border: 1px solid var(--accent);

color: var(--accent);
text-decoration: none;

transition:
    background 0.3s ease,
    color 0.3s ease;


}

.btn:hover {
background: var(--accent);
color: white;
}

/* SHOWCASE */

.showcase-section {
margin-top: 80px;
}

.text-center {
text-align: center;
}

.showcase-window {
overflow: hidden;


max-width: 1000px;

margin: 0 auto;

background: white;

border-radius: 12px;

border: 1px solid #eee;


}

.showcase-wrapper {
display: flex;


animation: slider 60s infinite ease-in-out;

will-change: transform;


}

.showcase-item {
flex: 0 0 100%;


display: flex;
align-items: center;


}

.showcase-image {
width: 50%;
height: 450px;
}

.showcase-image img {
width: 100%;
height: 100%;


object-fit: cover;


}

.showcase-text {
width: 50%;


padding: 50px;


}

.showcase-text h3 {
margin-top: 0;


font-size: 2rem;


}

/* FOOTER */

footer {
margin-top: 60px;
padding: 40px 20px;


border-top: 1px solid var(--border-color);

text-align: center;


}

/* ANIMATION */

@keyframes slider {


0%, 22% {
    transform: translateX(0);
}

25%, 47% {
    transform: translateX(-100%);
}

50%, 72% {
    transform: translateX(-200%);
}

75%, 97% {
    transform: translateX(-300%);
}

100% {
    transform: translateX(0);
}


}

/* MOBILE */

@media (max-width: 768px) {


nav {
    padding: 0 20px;
}

.intro-section {
    flex-direction: column;
}

.mini-gallery {
    flex-direction: column;
}

.showcase-item {
    flex-direction: column;
}

.showcase-image,
.showcase-text {
    width: 100%;
}

.showcase-image {
    height: 280px;
}

.showcase-text {
    padding: 30px 20px;
}

.hero {
    height: 300px;
}

.hero-content p {
    font-size: 1.1rem;
}


}
