/* ========================================
   Shift & Grind Coffee — Styles
   Clean Minimalist | Teal + Slate Grey
======================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --teal: #0D7377;
    --teal-light: #14A3A8;
    --teal-dark: #095456;
    --slate: #334155;
    --slate-light: #475569;
    --slate-lighter: #94A3B8;
    --slate-lightest: #E2E8F0;
    --slate-bg: #F8FAFC;
    --white: #FFFFFF;
    --off-white: #F1F5F9;
    --text: #1E293B;
    --text-light: #64748B;
    
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* ---------- Typography ---------- */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1.5px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
}

.btn-primary:hover {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 115, 119, 0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--teal);
    border-color: var(--teal);
}

.btn-secondary:hover {
    background: var(--teal);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ---------- Section Labels ---------- */
.section-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--slate-lightest);
    transition: all var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text);
    letter-spacing: -0.01em;
}

.logo .accent {
    color: var(--teal);
    font-style: italic;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--slate-light);
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--teal);
    transition: width var(--transition);
}

.nav-links a:hover {
    color: var(--teal);
}

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

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--text);
    transition: all var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 4px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -4px);
}

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: var(--white);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-content {
    padding: 2rem 0;
}

.hero-headline {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.hero-headline .accent {
    color: var(--teal);
    font-style: italic;
}

.hero-subtext {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    border-radius: 0;
}

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 1px solid var(--teal);
    z-index: -1;
}

/* ---------- About ---------- */
.about {
    padding: 8rem 0;
    background: var(--slate-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.25rem;
    color: var(--slate-light);
    font-size: 1.05rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

/* ---------- Menu ---------- */
.menu {
    padding: 8rem 0;
    background: var(--white);
}

.menu .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.menu-category {
    padding: 2.5rem;
    border: 1px solid var(--slate-lightest);
    transition: all var(--transition);
}

.menu-category:hover {
    border-color: var(--teal);
    box-shadow: 0 10px 40px rgba(13, 115, 119, 0.08);
    transform: translateY(-4px);
}

.category-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--slate-lightest);
}

.menu-items {
    list-style: none;
}

.menu-items li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--slate-lightest);
}

.menu-items li:last-child {
    border-bottom: none;
}

.item-name {
    font-weight: 500;
    color: var(--text);
    font-size: 0.95rem;
}

.item-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: right;
    max-width: 200px;
    line-height: 1.4;
}

.menu-note {
    text-align: center;
    margin-top: 3rem;
    color: var(--text-light);
    font-style: italic;
    font-size: 0.95rem;
}

/* ---------- Visit ---------- */
.visit {
    padding: 8rem 0;
    background: var(--slate-bg);
}

.visit-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.visit-info .section-title {
    margin-bottom: 2.5rem;
}

.info-blocks {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-block {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.info-icon {
    color: var(--teal);
    flex-shrink: 0;
    margin-top: 2px;
}

.info-text strong {
    display: block;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 0.375rem;
}

.info-text p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-text a {
    color: var(--teal);
    transition: color var(--transition);
}

.info-text a:hover {
    color: var(--teal-dark);
}

.visit-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

/* ---------- Contact ---------- */
.contact {
    padding: 8rem 0;
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-text .section-title {
    margin-bottom: 1rem;
}

.contact-text p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--slate);
}

.form-group input,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    padding: 0.875rem 0;
    border: none;
    border-bottom: 1px solid var(--slate-lightest);
    background: transparent;
    color: var(--text);
    transition: border-color var(--transition);
    outline: none;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: var(--teal);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--slate-lighter);
}

.form-success {
    display: none;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(13, 115, 119, 0.08);
    color: var(--teal);
    font-size: 0.95rem;
    margin-top: 1rem;
}

.form-success.show {
    display: flex;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--slate);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text {
    color: var(--white);
    font-size: 1.75rem;
}

.footer-brand p {
    color: var(--slate-lighter);
    margin-top: 0.75rem;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--slate-lighter);
    font-size: 0.95rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--teal-light);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact p {
    color: var(--slate-lighter);
    font-size: 0.95rem;
}

.footer-contact a {
    color: var(--teal-light);
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--slate-lighter);
    font-size: 0.875rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-container,
    .about-content,
    .visit-content,
    .contact-wrapper {
        gap: 2.5rem;
    }
    
    .menu-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--slate-lightest);
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtext {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image img {
        height: 50vh;
    }
    
    .hero-image-accent {
        display: none;
    }
    
    .about-content,
    .visit-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-image img {
        height: 300px;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-category {
        padding: 2rem;
    }
    
    .visit-image img {
        height: 400px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.8rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
}

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
