* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
    background: #fffaf5;
}


/* =====================================================
   NAVBAR
   ===================================================== */

header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.navbar {
    max-width: 1200px;
    margin: auto;
    padding: 18px 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 27px;
    font-weight: bold;
    color: #4b2e20;
}

.logo span,
footer span {
    color: #c56b32;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.nav-links a:hover {
    color: #c56b32;
}


/* =====================================================
   NAVBAR BUTTONS
   ===================================================== */

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}


/* Login */

.login-btn {
    display: inline-block;
    text-decoration: none;

    padding: 10px 18px;

    border: 1px solid #c56b32;
    border-radius: 6px;

    background: white;
    color: #c56b32;

    font-size: 14px;
    font-family: Arial, sans-serif;

    cursor: pointer;

    transition: 0.2s ease;
}

.login-btn:hover {
    background: #fff0e5;
}


/* Register */

.register-btn {
    display: inline-block;
    text-decoration: none;

    padding: 10px 18px;

    border: 1px solid #c56b32;
    border-radius: 6px;

    background: #c56b32;
    color: white;

    font-size: 14px;
    font-family: Arial, sans-serif;

    cursor: pointer;

    transition: 0.2s ease;
}

.register-btn:hover {
    background: #9f4f22;
}


/* Dashboard */

.dashboard-btn {
    display: inline-block;
    text-decoration: none;

    padding: 10px 18px;

    border: 1px solid #c56b32;
    border-radius: 6px;

    background: #c56b32;
    color: white;

    font-size: 14px;
    font-family: Arial, sans-serif;

    cursor: pointer;

    transition: 0.2s ease;
}

.dashboard-btn:hover {
    background: #9f4f22;
}


/* Logout */

.logout-btn {
    display: inline-block;

    padding: 10px 18px;

    border: 1px solid #c56b32;
    border-radius: 6px;

    background: #c56b32;
    color: white;

    font-size: 14px;
    font-family: Arial, sans-serif;
    font-weight: 500;

    cursor: pointer;

    transition: 0.2s ease;
}

.logout-btn:hover {
    background: #9f4f22;
}


/* Welcome Text */

.welcome-text {
    color: #333;
    font-size: 14px;
    white-space: nowrap;
}


/* =====================================================
   HERO
   ===================================================== */

.hero {
    min-height: 600px;
    max-width: 1200px;
    margin: auto;
    padding: 80px 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    width: 55%;
}

.small-title {
    color: #c56b32;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: 52px;
    line-height: 1.15;
    color: #3d261b;
    margin-bottom: 25px;
}

.hero h1 span {
    color: #c56b32;
}

.hero-text {
    font-size: 18px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.primary-btn,
.secondary-btn {
    display: inline-block;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 7px;
    font-weight: bold;
}

.primary-btn {
    background: #c56b32;
    color: white;
}

.secondary-btn {
    border: 2px solid #c56b32;
    color: #c56b32;
}

.primary-btn:hover {
    background: #9f4f22;
}

.secondary-btn:hover {
    background: #fff0e5;
}


/* =====================================================
   HERO IMAGE CARD
   ===================================================== */

.hero-image {
    width: 40%;
    display: flex;
    justify-content: center;
}

.image-card {
    width: 350px;
    height: 350px;

    background: #f1d3b9;
    border-radius: 30px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    padding: 30px;

    box-shadow: 10px 15px 30px rgba(0,0,0,0.12);
}

.craft-icon {
    font-size: 100px;
    margin-bottom: 20px;
}

.image-card h3 {
    color: #4b2e20;
    font-size: 25px;
    margin-bottom: 10px;
}

.image-card p {
    color: #664b3c;
}


/* =====================================================
   CATEGORIES
   ===================================================== */

.categories {
    padding: 80px 25px;
    background: white;
}

.section-heading {
    text-align: center;
    margin-bottom: 45px;
}

.section-heading p {
    color: #c56b32;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
}

.section-heading h2 {
    font-size: 36px;
    color: #3d261b;
    margin: 10px 0;
}

.section-heading span {
    color: #777;
}

.category-container {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.category-card {
    background: #fffaf5;
    border: 1px solid #f0dfd2;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;

    transition: 0.3s;
}

.category-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.category-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.category-card h3 {
    color: #4b2e20;
    margin-bottom: 8px;
}

.category-card p {
    color: #777;
}


/* =====================================================
   ABOUT
   ===================================================== */

.about {
    max-width: 1200px;
    margin: auto;
    padding: 90px 25px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.about-content {
    width: 60%;
}

.about h2 {
    font-size: 38px;
    color: #3d261b;
    margin-bottom: 20px;
}

.about p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.about .primary-btn {
    margin-top: 15px;
}

.about-box {
    width: 35%;

    background: #f1d3b9;
    padding: 35px;
    border-radius: 15px;
}

.about-item {
    display: flex;
    justify-content: space-between;

    padding: 20px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.about-item:last-child {
    border-bottom: none;
}

.about-item strong {
    font-size: 28px;
    color: #9f4f22;
}

.about-item span {
    color: #5b4032;
}


/* =====================================================
   FOOTER
   ===================================================== */

footer {
    background: #3d261b;
    color: white;
    padding: 50px 25px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
}

.footer-content h2 {
    margin-bottom: 15px;
}

.footer-content h3 {
    margin-bottom: 15px;
}

.footer-content p {
    color: #ddd;
    line-height: 1.6;
}

.footer-content a {
    display: block;
    color: #ddd;
    text-decoration: none;
    margin-bottom: 10px;
}

.footer-content a:hover {
    color: #f1b07e;
}

.copyright {
    max-width: 1200px;
    margin: 35px auto 0;
    padding-top: 20px;
    border-top: 1px solid #60493c;

    text-align: center;
    color: #bbb;
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .nav-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content,
    .hero-image {
        width: 100%;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .category-container {
        grid-template-columns: 1fr;
    }

    .about {
        flex-direction: column;
    }

    .about-content,
    .about-box {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .welcome-text {
        font-size: 13px;
    }
}
