@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@200;300;400;500;600;700;800&display=swap');

:root {
    --color-bg-main: #0a0a0c;
    --color-bg-secondary: #141416;
    --color-bg-tertiary: #1f1f22;
    --color-text-main: #e2e2df;
    --color-text-muted: #8b8b8b;
    --color-accent: #c67b5c;
    --color-accent-hover: #e08b68;
    --color-coffee: #4a3b32;
    --color-border: rgba(255, 255, 255, 0.08);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --container-width: 1280px;
    --section-padding: 8rem 2rem;
    --border-radius: 6px;
    --border-radius-lg: 16px;

    --transition-fast: 0.2s ease-in-out;
    --transition-smooth: 0.4s cubic-bezier(0.25, 1, 0.5, 1);

    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    object-fit: cover;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.text-accent {
    color: var(--color-accent);
}

.text-muted {
    color: var(--color-text-muted);
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.d-flex {
    display: flex;
    flex-wrap: wrap;
}

.justify-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

h1.display {
    font-size: clamp(3rem, 6vw, 6.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

h2.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    color: #fff;
}

h2.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
}

.text-center h2.section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.text-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* Base Form Styles (To be converted to PHP DB forms later) */
.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    background-color: var(--color-bg-main);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    color: var(--color-text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: rgba(255, 255, 255, 0.02);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2.2rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--color-accent);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(198, 123, 92, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text-main);
    border: 1px solid var(--color-text-muted);
}

.btn-outline:hover {
    border-color: var(--color-text-main);
    background-color: var(--color-text-main);
    color: var(--color-bg-main);
    transform: translateY(-3px);
}

/* Buttons Group */
.hero-btns {
    display: flex;
    gap: 1rem;
}

/* Navbar Component */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.8rem 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--color-border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
}

.navbar-brand span {
    color: var(--color-accent);
}

.navbar-nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    color: var(--color-text-main);
}

.nav-link:hover {
    color: #fff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.navbar-social {
    display: flex;
    gap: 1.2rem;
}

.navbar-social a {
    color: var(--color-text-main);
    font-size: 1.1rem;
}

.navbar-social a:hover {
    color: var(--color-accent);
}

.mobile-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    background: none;
    border: none;
    color: #fff;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1554118811-1e0d58224f24?q=80&w=2000') center/cover no-repeat;
    z-index: -2;
    transform: scale(1.05);
    /* Slight zoom for image */
    animation: slowPan 30s infinite alternate linear;
}

@keyframes slowPan {
    0% {
        background-position: center 0%;
    }

    100% {
        background-position: center 100%;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 10, 12, 0.4) 0%, rgba(10, 10, 12, 0.8) 50%, rgba(10, 10, 12, 1) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    padding-top: 5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1rem;
    display: block;
}

.hero-text {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.7;
}

/* Categories / Tabs Structure */
.filter-nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    justify-content: center;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--color-border);
    padding: 0.8rem 1.5rem;
    font-family: var(--font-heading);
    color: var(--color-text-muted);
    cursor: pointer;
    border-radius: 30px;
    transition: var(--transition-fast);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.filter-btn.active,
.filter-btn:hover {
    border-color: var(--color-accent);
    color: #fff;
    background-color: rgba(198, 123, 92, 0.1);
}

/* Cards (Products & Menu) */
.section {
    padding: var(--section-padding);
}

.bg-secondary {
    background-color: var(--color-bg-secondary);
}

.bg-tertiary {
    background-color: var(--color-bg-tertiary);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.card {
    background-color: var(--color-bg-secondary);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(198, 123, 92, 0.3);
    box-shadow: var(--shadow-heavy);
}

.card-img-wrapper {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.card-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease;
}

.card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--color-accent);
    color: #fff;
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.05em;
    z-index: 2;
}

.card-body {
    padding: 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card-price {
    font-family: var(--font-heading);
    color: var(--color-accent);
    font-weight: 600;
    font-size: 1.2rem;
}

.card-text {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-footer {
    border-top: 1px solid var(--color-border);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Image Grid Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    aspect-ratio: 1/1;
    cursor: pointer;
}

.gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
    filter: brightness(0.8);
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 12, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    color: #fff;
    font-size: 2rem;
    transform: scale(0.8);
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-icon {
    transform: scale(1);
}

/* Banner / Promo Strip */
.promo-strip {
    background: linear-gradient(to right, rgba(198, 123, 92, 0.9), rgba(122, 63, 41, 0.9)), url('https://images.unsplash.com/photo-1541167760496-1628856ab772?q=80&w=2000') center/cover fixed;
    padding: 6rem 0;
    text-align: center;
    color: #fff;
}

.promo-strip h2 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.promo-strip p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* Testimonials / Experience */
.testimonial-card {
    background: var(--color-bg-tertiary);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    text-align: center;
    position: relative;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
}

.stars {
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.user-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.user-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-border);
}

.user-info h5 {
    margin: 0;
    font-size: 1rem;
    color: #fff;
}

.user-info p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Footer */
.footer {
    background-color: #050505;
    border-top: 1px solid var(--color-border);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    display: block;
}

.footer-desc {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    display: inline-block;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-accent);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* Contact info list */
.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.contact-info i {
    color: var(--color-accent);
    font-size: 1.2rem;
    margin-top: 2px;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .navbar-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--color-bg-secondary);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem;
        transition: var(--transition-smooth);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .navbar-nav.active {
        right: 0;
        display: flex;
    }

    .mobile-toggle {
        display: block;
        z-index: 1001;
    }

    .grid-4,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item:nth-child(1) {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 1rem;
    }

    .grid-4,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    h1.display {
        font-size: 2.8rem;
    }

    :root {
        --section-padding: 5rem 1rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
}