/* GLOBAL STYLE – RAWKICKS THEME PRO */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f4f4f4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    animation: fadeIn 0.6s ease-in-out;
}

/* Fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* LOGO */
.logo {
    position: absolute;
    top: 25px;
    left: 40px;
    font-weight: 700;
    font-size: 23px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s ease;
}

.logo:hover {
    opacity: 0.6;
}

/* CARD */
.auth-card {
    width: 420px;
    background: #fff;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    animation: slideUp 0.6s ease;
}

/* Slide animation */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-card:hover {
    box-shadow: 0 10px 38px rgba(0,0,0,0.15);
}

/* INPUT */
.input-group {
    margin-bottom: 17px;
}

.input-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
}

.input-group input {
    width: 100%;
    padding: 13px;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    transition: 0.25s ease;
}

.input-group input:focus {
    border-color: #e60000;
    box-shadow: 0 0 6px rgba(230, 0, 0, 0.3);
}

/* BUTTON */
.btn {
    width: 100%;
    padding: 12px;
    background: #e60000;
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: 0.25s ease;
}

.btn:hover {
    background: #c00000;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(230, 0, 0, 0.3);
}

.text-link {
    color: #e60000;
    text-decoration: none;
    transition: 0.3s;
}

.text-link:hover {
    opacity: 0.6;
}

/* FOOTER */
.footer-text {
    margin-top: 40px;
    font-size: 12px;
    color: #777;
}

/* RESET BROWSER */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #fff;
    color: #000;
}

/* NAVBAR */
nav {
    width: 100%;
    padding: 18px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 999;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #000;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    transition: 0.25s;
}

/* Hover underline */
.nav-links a::after {
    content: "";
    width: 0;
    height: 2px;
    background: #000;
    position: absolute;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* CTA Button */
.nav-btn {
    padding: 8px 18px;
    background: #000;
    color: #fff !important;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.nav-btn:hover {
    background: #fff;
    color: #000 !important;
    border: 2px solid #000;
}

/* MOBILE */
.menu-btn {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

@media (max-width: 820px) {
    nav {
        padding: 18px 25px;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        flex-direction: column;
        background: #fff;
        width: 200px;
        padding: 20px;
        display: none;
        box-shadow: -2px 2px 12px rgba(0,0,0,0.15);
    }

    .nav-links.show {
        display: flex;
    }

    .menu-btn {
        display: block;
    }
}

/* HERO SECTION */
.hero {
    width: 100%;
    height: 80vh;
    display: flex;
    align-items: center;
    padding: 50px 80px;
    justify-content: space-between;
}

.hero-text h1 {
    font-size: 55px;
    font-weight: 900;
    line-height: 1.1;
}

.hero-text p {
    font-size: 17px;
    margin-top: 15px;
    max-width: 450px;
}

.hero-btn {
    margin-top: 30px;
    padding: 12px 25px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    transition: 0.3s;
}

.hero-btn:hover {
    background: #fff;
    color: #000;
    border: 2px solid #000;
}

/* HERO IMG */
.hero img {
    width: 470px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        height: fit-content;
    }

    .hero img {
        width: 70%;
        margin-bottom: 40px;
    }
}


/* HERO SECTION */
.hero {
    height: 80vh;
    background: url('img/hero.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.55);
}

.hero-content {
    position: relative;
    color: white;
    max-width: 600px;
    animation: fadeInUp 1.2s ease;
}

.hero-content h1 {
    font-size: 50px;
    font-weight: bold;
}

.hero-content p {
    margin: 15px 0 25px;
}

.btn-primary {
    padding: 12px 28px;
    background: #ffb800;
    color: black;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #e0a200;
    transform: scale(1.05);
}

/* PRODUCT SECTION */
.products-section {
    padding: 50px 5%;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
}

.product-card {
    display: block;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
    transition: 0.3s;
    text-decoration: none;
    color: black;
    animation: fadeIn 0.7s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}

.product-img {
    height: 200px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-info {
    padding: 15px;
}

.price {
    font-weight: bold;
    color: #ffb800;
}

/* VIEW ALL BUTTON */
.btn-viewall {
    margin: 35px auto;
    display: block;
    width: max-content;
    padding: 12px 28px;
    border-radius: 10px;
    background: #333;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.btn-viewall:hover {
    background: #000;
    transform: scale(1.05);
}

/* ANIMATIONS */
@keyframes fadeIn {
    0% {opacity: 0; transform: translateY(15px);}
    100% {opacity: 1; transform: translateY(0);}
}

@keyframes fadeInUp {
    0% {opacity: 0; transform: translateY(35px);}
    100% {opacity: 1; transform: translateY(0);}
}


/* POP-UP MODAL */
.modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.55);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal-content {
    background: #fff;
    padding: 25px 35px;
    border-radius: 12px;
    text-align: center;
    animation: fadeIn 0.5s ease;
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
}

.modal-content h3 {
    margin-bottom: 10px;
}

.close-btn {
    margin-top: 15px;
    padding: 10px 20px;
    background: #e60000;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.close-btn:hover {
    background: #c00000;
}
