/*==================================================
        MMA STORE - PREMIUM DESIGN
        style.css
==================================================*/


/*==============================
    RESET
==============================*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --red: #C1121F;
    --red-dark: #8E0E18;
    --red-light: #ff4d5a;
    --orange: #FF6B00;
    --orange-dark: #E85D00;
    --orange-glow: #FF8533;
    --orange-light: rgba(255, 107, 0, 0.15);
    --black: #090909;
    --dark: #111111;
    --dark-2: #1b1b1b;
    --white: #ffffff;
    --gray: #bfbfbf;
    --border: #2d2d2d;
    --display: 'Bebas Neue', sans-serif;
    --body: 'Inter', sans-serif;
}


/*==============================
    BODY
==============================*/

body {
    font-family: var(--body);
    color: var(--white);
    overflow-x: hidden;
    background: radial-gradient(circle at 0% 0%, rgba(193, 18, 31, .18), transparent 35%), radial-gradient(circle at 100% 30%, rgba(255, 255, 255, .03), transparent 30%), radial-gradient(circle at 80% 100%, rgba(193, 18, 31, .10), transparent 35%), #090909;
    animation: bgMove 18s linear infinite;
}

@keyframes bgMove {
    0% {
        background-position: 0% 0%, 100% 30%, 80% 100%;
    }
    50% {
        background-position: 10% 5%, 95% 25%, 70% 90%;
    }
    100% {
        background-position: 0% 0%, 100% 30%, 80% 100%;
    }
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(1200px, 90%);
    margin: auto;
}


/*==============================
    BUTTONS
==============================*/

.btn {
    display: inline-block;
    padding: 16px 42px;
    background: var(--red);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    transition: .35s;
    box-shadow: 0 0 25px rgba(193, 18, 31, .35);
}

.btn:hover {
    transform: translateY(-6px);
    background: var(--red-dark);
    box-shadow: 0 0 40px rgba(193, 18, 31, .7);
}


/*==============================
    NAVBAR
==============================*/

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    backdrop-filter: blur(18px);
    background: rgba(10, 10, 10, .78);
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    transition: .35s;
}

.navbar.scrolled {
    background: #050505;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .4);
}

.navbar-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 12px;
}

.logo {
    font-family: var(--display);
    font-size: 40px;
    letter-spacing: 4px;
    color: var(--red);
    text-shadow: 0 0 18px rgba(193, 18, 31, .5);
}

.admin-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    border-radius: 50px;
    font-weight: 600;
    transition: .35s;
    box-shadow: 0 0 20px rgba(193, 18, 31, .35);
}

.admin-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 35px rgba(193, 18, 31, .8);
}

.admin-btn i {
    font-size: 18px;
}

.navbar-bottom {
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 60px;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--gray);
    font-size: 15px;
    letter-spacing: 1px;
    font-weight: 600;
    transition: .35s;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: .35s;
}

.nav-links a:hover {
    color: white;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: white;
}

.nav-links a.active::after {
    width: 100%;
}


/*==============================
    DROPDOWN NAVIGATION
==============================*/

.nav-item-dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-trigger i {
    font-size: 12px;
    transition: .3s;
}

.nav-item-dropdown:hover .dropdown-trigger i {
    transform: rotate(180deg);
}

.dropdown-panel {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(17, 17, 17, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--orange);
    border-radius: 14px;
    padding: 12px 0;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: all .3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 107, 0, 0.25);
    z-index: 1000;
}

.nav-item-dropdown:hover .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-panel::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--orange);
}

.dropdown-list {
    list-style: none;
}

.dropdown-list li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    color: var(--gray);
    font-size: 15px;
    font-weight: 500;
    transition: .25s;
    position: relative;
}

.dropdown-list li a::after {
    display: none;
}

.dropdown-list li a:hover {
    background: rgba(255, 107, 0, 0.12);
    color: var(--orange);
    padding-left: 32px;
}

.dropdown-list li a:hover .dropdown-icon {
    transform: scale(1.2);
}

.dropdown-icon {
    font-size: 24px;
    transition: .25s;
}


/*==============================
    HERO
==============================*/

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(193, 18, 31, .30), transparent 70%);
    top: -250px;
    right: -180px;
    filter: blur(20px);
}

.hero::after {
    content: "";
    position: absolute;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .05), transparent 75%);
    left: -180px;
    bottom: -180px;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: var(--display);
    font-size: 95px;
    letter-spacing: 5px;
    line-height: 1;
    margin-bottom: 25px;
    animation: fadeUp 1s ease;
}

.hero p {
    max-width: 720px;
    margin: auto;
    color: var(--gray);
    font-size: 19px;
    line-height: 1.8;
    margin-bottom: 45px;
    animation: fadeUp 1.2s ease;
}

.hero .btn {
    animation: fadeUp 1.4s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/*==============================
    COMMON SECTION
==============================*/

section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-family: var(--display);
    font-size: 58px;
    letter-spacing: 4px;
    position: relative;
    display: inline-block;
}

.section-title h2::before,
.section-title h2::after {
    content: "";
    display: block;
    width: 90px;
    height: 3px;
    background: var(--red);
    margin: 12px auto;
    border-radius: 20px;
}

.section-title p {
    color: var(--gray);
    margin-top: 12px;
    font-size: 16px;
}


/*==================================================
        CATEGORIES - SAME AS PRODUCTS
==================================================*/

.categories {
    background: linear-gradient(135deg, #1a0f08 0%, #2d1405 50%, #1a0f08 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.categories .section-title h2::before,
.categories .section-title h2::after {
    background: var(--orange);
    box-shadow: 0 0 20px rgba(255, 107, 0, .6);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 2;
    justify-content: center;
}

.category-card {
    background: #1a1a1a;
    border: 1px solid #2d2d2d;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: inherit;
    max-width: 260px;
    justify-self: center;
    width: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--orange);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.2);
}

.category-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.category-card .info {
    padding: 15px;
    text-align: center;
}

.category-card .info .icon {
    font-size: 28px;
    display: block;
    margin-bottom: 5px;
}

.category-card .info h3 {
    font-family: var(--display);
    font-size: 20px;
    letter-spacing: 1px;
}


/*==================================================
        PRODUCTS - SMALL CARDS
==================================================*/

.products {
    background: linear-gradient(180deg, #0d1117, #111827);
    padding: 100px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    justify-content: center;
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    background: #1a1a1a;
    border: 1px solid #2d2d2d;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    cursor: pointer;
    max-width: 260px;
    justify-self: center;
    width: 100%;
}

.product-card-link:hover {
    transform: translateY(-5px);
    border-color: #FF6B00;
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.2);
}

.product-card-link img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.product-card-link .info {
    padding: 15px;
}

.product-card-link .info h3 {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 600;
}

.product-card-link .info .price {
    font-size: 18px;
    font-weight: 700;
    color: #FF6B00;
}

.product-card-link .info .meta {
    color: #a0a0a0;
    font-size: 12px;
    margin: 3px 0;
}

.empty-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 30px;
    border: 2px dashed #3b82f6;
    border-radius: 18px;
    background: rgba(255, 255, 255, .03);
}


/*==================================================
        CONTACT GRID - For displaying contact cards
==================================================*/

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
    margin-bottom: 40px;
}

.contact-card {
    background: rgba(255, 255, 255, .04);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    padding: 45px 25px;
    text-align: center;
    transition: .35s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: #9d4edd;
    box-shadow: 0 18px 45px rgba(157, 78, 221, .30);
}

.contact-card i {
    font-size: 48px;
    color: #bb86fc;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-family: var(--display);
    font-size: 32px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.contact-card p {
    color: #d4d4d4;
    line-height: 1.8;
}


/*==================================================
        CONTACT FORM
==================================================*/

.contact {
    background: linear-gradient(180deg, #140c1d, #241135);
    position: relative;
    padding: 100px 0;
}

.contact::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(157, 78, 221, .15), transparent 70%);
    left: -220px;
    bottom: -220px;
}

.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, .04);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    padding: 50px;
    position: relative;
    z-index: 2;
}

.contact-form-wrapper .form-group {
    margin-bottom: 20px;
}

.contact-form-wrapper label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #d4d4d4;
}

.contact-form-wrapper input,
.contact-form-wrapper textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: 0.3s;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus {
    border-color: #FF6B00;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

.contact-form-wrapper textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form-wrapper .submit-btn {
    padding: 14px 40px;
    background: linear-gradient(135deg, #FF6B00, #C1121F);
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.contact-form-wrapper .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.4);
}

.contact-form-wrapper .form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    display: none;
}

.contact-form-wrapper .form-message.success {
    display: block;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid #10b981;
    color: #10b981;
}

.contact-form-wrapper .form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid #ef4444;
    color: #ef4444;
}

.contact-form-wrapper .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}


/*==================================================
        CONTACT PAGE
==================================================*/

.contact-page {
    background: linear-gradient(180deg, rgba(20, 12, 29, 0.9), rgba(36, 17, 53, 0.9));
    padding: 150px 0 100px;
    position: relative;
    min-height: 70vh;
}

.contact-page::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(157, 78, 221, .15), transparent 70%);
    left: -220px;
    bottom: -220px;
}

.contact-page .container {
    position: relative;
    z-index: 2;
}

.contact-page h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.contact-page .sub-text {
    text-align: center;
    color: #bfbfbf;
    margin-bottom: 50px;
    font-size: 17px;
}


/*==================================================
        EMAIL PAGE
==================================================*/

.email-page {
    background: linear-gradient(180deg, rgba(20, 12, 29, 0.9), rgba(36, 17, 53, 0.9));
    padding: 150px 0 100px;
    position: relative;
    min-height: 70vh;
}

.email-page::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(157, 78, 221, .15), transparent 70%);
    left: -220px;
    bottom: -220px;
}

.email-page .container {
    position: relative;
    z-index: 2;
}

.email-page h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 20px;
}


/*==================================================
        NEWSLETTER
==================================================*/

.newsletter {
    background: linear-gradient(135deg, #5b0000, #0b0b0b);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    text-align: center;
}

.newsletter::before {
    content: "";
    position: absolute;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .05), transparent 70%);
    top: -220px;
    right: -220px;
}

.newsletter .container {
    position: relative;
    z-index: 2;
}

.newsletter h2 {
    font-family: var(--display);
    font-size: 64px;
    letter-spacing: 4px;
    margin-bottom: 18px;
}

.newsletter p {
    color: #d6d6d6;
    font-size: 17px;
    margin-bottom: 35px;
}

.newsletter-form {
    max-width: 650px;
    margin: auto;
    display: flex;
    gap: 0;
}

.newsletter-form input {
    flex: 1;
    padding: 18px 22px;
    border: none;
    outline: none;
    background: #151515;
    color: white;
    font-size: 16px;
    border-radius: 10px 0 0 10px;
}

.newsletter-form input::placeholder {
    color: #888;
}

.newsletter-form button {
    padding: 18px 35px;
    border: none;
    background: var(--red);
    color: white;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    border-radius: 0 10px 10px 0;
    transition: .35s;
    box-shadow: 0 0 20px rgba(193, 18, 31, .35);
}

.newsletter-form button:hover {
    background: var(--red-dark);
    box-shadow: 0 0 35px rgba(193, 18, 31, .7);
}

#newsletterMsg {
    margin-top: 18px;
    font-size: 15px;
    color: #66dd66;
    font-weight: 600;
}


/*==================================================
        FOOTER
==================================================*/

footer {
    background: #050505;
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 28px 0;
    text-align: center;
}

footer p {
    color: #888;
    font-size: 15px;
    letter-spacing: 1px;
}


/*==================================================
        SCROLLBAR
==================================================*/

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #111;
}

::-webkit-scrollbar-thumb {
    background: var(--red);
    border-radius: 30px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--red-dark);
}


/*==================================================
        FADE-IN ANIMATION
==================================================*/

.fade-up {
    animation: fadeUp .8s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/*==================================================
        HOVER ANIMATION
==================================================*/

.category-card,
.contact-card,
.empty-products,
.product-card-link {
    transition: transform .35s, box-shadow .35s, border-color .35s;
}


/*==================================================
        RESPONSIVE
==================================================*/

@media(max-width:1024px) {
    .hero h1 {
        font-size: 72px;
    }
    .section-title h2 {
        font-size: 52px;
    }
}

@media(max-width:768px) {
    .navbar-top {
        flex-direction: column;
        gap: 18px;
    }
    .navbar-bottom {
        padding-bottom: 18px;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 28px;
    }
    .hero {
        padding-top: 150px;
    }
    .hero h1 {
        font-size: 56px;
    }
    .hero p {
        font-size: 16px;
    }
    .newsletter h2 {
        font-size: 48px;
    }
    .newsletter-form {
        flex-direction: column;
        gap: 15px;
    }
    .newsletter-form input {
        border-radius: 10px;
    }
    .newsletter-form button {
        border-radius: 10px;
    }
    .nav-item-dropdown.active .dropdown-panel {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
    .dropdown-panel {
        position: fixed;
        left: 5%;
        right: 5%;
        transform: translateY(-10px);
        min-width: auto;
    }
    .nav-item-dropdown:hover .dropdown-panel,
    .nav-item-dropdown.active .dropdown-panel {
        transform: translateY(0);
    }
    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
    .category-card img {
        height: 150px;
    }
    .category-card {
        max-width: 200px;
    }
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
    .product-card-link img {
        height: 150px;
    }
    .product-card-link {
        max-width: 200px;
    }
    .contact-page {
        padding: 130px 0 80px;
    }
    .contact-page h1 {
        font-size: 32px;
    }
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    .contact-form-wrapper .form-row {
        grid-template-columns: 1fr;
    }
    .email-page {
        padding: 130px 0 80px;
    }
    .email-page h1 {
        font-size: 32px;
    }
    .contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media(max-width:576px) {
    .hero h1 {
        font-size: 42px;
        letter-spacing: 2px;
    }
    .section-title h2 {
        font-size: 38px;
    }
    .newsletter h2 {
        font-size: 36px;
    }
    .logo {
        font-size: 30px;
    }
    .nav-links {
        gap: 18px;
    }
    .nav-links a {
        font-size: 14px;
    }
    .admin-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    .category-card .info {
        padding: 12px;
    }
    .category-card .info h3 {
        font-size: 16px;
    }
    .category-card .info .icon {
        font-size: 22px;
    }
    .empty-products {
        padding: 60px 20px;
    }
    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }
    .category-card img {
        height: 120px;
    }
    .category-card {
        max-width: 160px;
    }
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }
    .product-card-link img {
        height: 120px;
    }
    .product-card-link .info {
        padding: 12px;
    }
    .product-card-link .info h3 {
        font-size: 14px;
    }
    .product-card-link .info .price {
        font-size: 16px;
    }
    .product-card-link .info .meta {
        font-size: 11px;
    }
    .product-card-link {
        max-width: 160px;
    }
    .contact-form-wrapper {
        padding: 20px 15px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}


/*==================================================
        SELECTION COLOR
==================================================*/

::selection {
    background: var(--red);
    color: #fff;
}


/*==================================================
        SMOOTH TRANSITIONS
==================================================*/

* {
    transition: background-color .25s, color .25s, border-color .25s;
}