:root {
    --bg: #efece9;
    --text: #574427;
    --accent: #f5d682;
    --card: #efe1b6;
    --contact-bar: #574427;
    --shadow: 0 4px 10px rgba(87, 68, 39, 0.18);
    --radius: 15px;
    --max-width: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Nunito", sans-serif;
    color: var(--text);
    background-color: var(--bg);
    background-image: url("./assets/bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

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

a {
    color: inherit;
}

.page-wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 0 8px;
}

/* NAVBAR */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 18px 32px 10px;
}

.logo-link {
    flex-shrink: 0;
}

.logo {
    width: 78px;
    height: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 72px;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 800;
    font-size: 20px;
    line-height: 1;
    padding: 10px 12px;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
    background-color: #574427;
    color: #D9D9D9;
    transform: translateY(-1px);
}

/* MAIN */
main {
    padding: 8px 24px 40px;
}

.brand-header {
    width: 100%;
    margin: 10px 0 24px;
}

.brand-bar {
    width: 80%; /* control how far it goes */
    max-width: 720px; /* optional cap */
    
    background-color: var(--card);
    color: var(--text);

    padding: 14px 26px;
    border-radius: 0 16px 16px 0; /* only right side rounded */

    font-size: 24px;
    font-weight: 800;

    box-shadow: var(--shadow);
}

/* HERO */
.hero {
    display: grid;
    grid-template-columns: 1fr 1.7fr;
    gap: 32px;
    align-items: start;
    margin-top: 8px;
}

.hero-image-card {
    border-radius: var(--radius);
    overflow: hidden;
    max-width: 380px;
}

.hero-image-card:hover{
    transform: scale(1.05px);
}

.hero-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    max-width: 760px;
}

.hero-content h1 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.1;
    font-weight: 800;
    text-decoration: none;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.hero-content p {
    margin: 0 0 20px;
    font-size: 20px;
    line-height: 1.45;
    max-width: 760px;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 220px;
    padding: 16px 32px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 28px;
    font-weight: 800;
    box-shadow: var(--shadow);

    transition: all 0.2s ease;
}

.btn::after {
    content: "🐾";
    position: absolute;
    right: 16px; /* distance from edge */
    font-size: 20px;

    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.2s ease;
}

.btn:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(87, 68, 39, 0.22);
    filter: brightness(1.02);
    gap: 12px;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text);
}

/* ABOUT */
.about-card {
    width: 100%;
    margin-top: 36px;
    background-color: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px 34px;
    display: grid;
    grid-template-columns: 1.3fr 0.8fr;
    gap: 36px;
    align-items: center;
}

.about-text h2 {
    margin: 0 0 14px;
    font-size: 2rem;
    line-height: 1.1;
    font-weight: 800;
}

.about-text p {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.35;
    max-width: 700px;
}

.about-image-card {
    justify-self: end;
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius);
    overflow: hidden;
}

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

/* CONTACT */
.contact-section {
    margin-top: 34px;
    padding: 0 6px 10px;
}

.section-label {
    width: 100%;
    margin: 0 0 14px;
    background-color: var(--contact-bar);
    color: #ffffff;
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    padding: 12px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-intro {
    margin: 0 0 18px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 36px;
    align-items: start;
    justify-items: center;
    max-width: 860px;
    margin: 0 auto;
}

.contact-details {
    width: 100%;
    max-width: 360px;
    padding-top: 6px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 18px;
    font-weight: 600;
}

.contact-item a {
    text-decoration: none;
    border-bottom: 1px solid rgba(87, 68, 39, 0.35);
}

.contact-item a:hover {
    border-bottom-color: var(--text);
}

.contact-item p {
    margin: 0;
    line-height: 1.35;
}

.contact-icon {
    flex-shrink: 0;
    width: 28px;
    font-size: 22px;
    line-height: 1.1;
    text-align: center;
}

.map-card iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 220px;
}

/* FOOTER */
.footer {
    margin-top: 34px;
    background-color: var(--accent);
    padding: 18px 28px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
}

.footer-logo {
    width: 54px;
    height: auto;
}

.footer-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 42px;
    flex-wrap: wrap;
}

.footer-center a,
.footer-right p {
    margin: 0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.footer-right {
    text-align: right;
}

/* TABLET */
@media (max-width: 1100px) {
    .nav-links {
        gap: 40px;
    }

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

    .hero-image-card {
        max-width: 420px;
    }

    .about-card {
        grid-template-columns: 1fr;
    }

    .about-image-card {
        justify-self: start;
        max-width: 420px;
    }

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

    .footer {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .footer-right {
        text-align: center;
    }
}

/* MOBILE */
@media (max-width: 700px) {
    .page-wrapper {
        padding: 0;
    }

    .navbar {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        padding: 18px 18px 8px;
    }

    .logo {
        width: 64px;
    }

    .nav-links {
        gap: 12px;
        width: 100%;
    }

    .nav-links a {
        font-size: 16px;
        padding: 10px 12px;
    }

    main {
        padding: 8px 16px 28px;
    }

    .hero {
        gap: 22px;
    }

    .hero-content h1 {
        font-size: 1.9rem;
    }

    .hero-content p,
    .about-text p,
    .contact-intro,
    .contact-item {
        font-size: 16px;
    }

    .btn {
        width: 100%;
        min-width: 0;
        font-size: 24px;
        padding: 14px 20px;
    }

    .about-card {
        padding: 20px;
        gap: 22px;
    }

    .about-text h2 {
        font-size: 1.7rem;
    }

    .section-label {
        font-size: 1.6rem;
        padding: 12px 16px;
    }

    .footer {
        padding: 16px;
    }

    .footer-center {
        gap: 18px;
    }
}
/* BRANDS PAGE */
.brands-page {
    padding: 18px 24px 48px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
    align-items: stretch;
}

.product-card {
    background-color: var(--card);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 16px 18px 18px;
    min-height: 395px;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("./assets/bg.png");
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    pointer-events: none;
}

.product-card > * {
    position: relative;
    z-index: 1;
}

.product-tags {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    margin-bottom: 14px;
}

.product-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 18px;
    background-color: #f3dd96;
    color: var(--text);
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 3px 8px rgba(87, 68, 39, 0.18);
}

.product-subtitle {
    margin: 6px 0 14px;
    font-size: 19px;
    line-height: 1.25;
    font-weight: 800;
}

.product-image-wrap {
    width: 150px;
    height: 150px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-title {
    margin: 0 0 18px;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.product-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 16px 24px;
    border-radius: 999px;
    background-color: #6b5128;
    color: #f4f1eb;
    text-decoration: none;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 5px 10px rgba(87, 68, 39, 0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.product-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(87, 68, 39, 0.28);
    filter: brightness(1.03);
}

/* TABLET */
@media (max-width: 1100px) {
    .brands-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* MOBILE */
@media (max-width: 700px) {
    .brands-page {
        padding: 10px 16px 32px;
    }

    .brands-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .product-card {
        min-height: auto;
        padding: 16px;
    }

    .product-tag {
        font-size: 15px;
        padding: 6px 14px;
    }

    .product-subtitle {
        font-size: 18px;
    }

    .product-title {
        font-size: 16px;
    }

    .product-btn {
        width: 100%;
        min-width: 0;
        font-size: 18px;
        padding: 15px 20px;
    }
}