/*
Theme Name: Numis Don
Theme URI: https://numisdon.com/
Author: Anonymous
Description: Numis Don theme with new Hero, AI Identification, Features, Categories, Testimonials, Blog, and Newsletter sections.
Version: 1.4.0
Text Domain: numisdon
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles - Fixed */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #2c3e50;
    font-weight: bold;
    font-size: 1.5rem;
    z-index: 1001;
}

.logo i {
    margin-right: 10px;
    color: #f39c12;
}

/* Main Navigation - Desktop */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1rem;
}

.main-nav a:hover {
    color: #f39c12;
}

/* Mobile Menu Toggle - Fixed Position */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #f39c12;
    border-radius: 5px;
    cursor: pointer;
    padding: 0;
    position: relative;
    transition: all 0.3s ease;
    z-index: 1001;
}

.menu-toggle:hover {
    background: #f39c12;
}

.menu-toggle:hover span {
    background: white;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #f39c12;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
    position: relative;
}

.menu-toggle span:nth-child(1) {
    transform: translateY(-6px);
}

.menu-toggle span:nth-child(2) {
    transform: translateY(0);
}

.menu-toggle span:nth-child(3) {
    transform: translateY(6px);
}

/* Hamburger Animation when Active */
.menu-toggle.active {
    border-color: #2c3e50;
    background: #2c3e50;
}

.menu-toggle.active span {
    background: white;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(2px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-2px) rotate(-45deg);
}

/* Mobile Navigation - Fixed */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: white;
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
        z-index: 999;
        padding-top: 100px;
    }
    
    .main-nav.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding: 0 20px;
    }
    
    .main-nav li {
        border-bottom: 1px solid #f1f1f1;
        margin: 0;
    }
    
    .main-nav li:last-child {
        border-bottom: none;
    }
    
    .main-nav a {
        display: block;
        padding: 18px 15px;
        font-size: 1.2rem;
        color: #2c3e50;
        text-decoration: none;
        transition: all 0.3s;
        font-weight: 500;
    }
    
    .main-nav a:hover {
        color: #f39c12;
        background: #f8f9fa;
        padding-left: 20px;
    }
    
    /* Enhanced Mobile Header */
    .header-content {
        position: relative;
        padding: 0 20px;
        height: 80px;
    }
    
    header {
        height: 80px;
        padding: 0;
    }
    
    .site-main {
        margin-top: 80px;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
    
    /* Hide desktop navigation on mobile */
    .main-nav:not(.active) {
        display: none;
    }
}

/* Main Content */
.site-main {
    margin-top: 80px;
    min-height: 60vh;
}

/* HERO SECTION */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #f39c12;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #e67e22;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

.btn-outline {
    background: transparent;
    border: 2px solid #f39c12;
    color: #f39c12;
}

.btn-outline:hover {
    background: #f39c12;
    color: white;
}

/* AI IDENTIFICATION SECTION */
.ai-identification {
    padding: 80px 0;
    background: #f8f9fa;
}

.ai-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.ai-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.ai-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #7f8c8d;
}

.upload-area {
    border: 2px dashed #bdc3c7;
    border-radius: 10px;
    padding: 60px 40px;
    text-align: center;
    background: white;
    transition: all 0.3s;
    cursor: pointer;
}

.upload-area:hover {
    border-color: #f39c12;
}

.upload-icon {
    font-size: 3rem;
    color: #bdc3c7;
    margin-bottom: 20px;
}

.upload-text {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.upload-subtext {
    color: #7f8c8d;
    margin-bottom: 20px;
}

.upload-options {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
}

/* FEATURES SECTION */
.features-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.1rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: #f39c12;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

/* FEATURED COINS SECTION */
.featured-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.featured-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.featured-img {
    height: 200px;
    background: #34495e;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.featured-content {
    padding: 30px;
}

.featured-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.featured-content p {
    color: #7f8c8d;
    margin-bottom: 15px;
}

.price {
    font-size: 1.2rem;
    color: #e74c3c;
    font-weight: bold;
    margin-bottom: 20px;
}

/* CATEGORIES SECTION */
.categories-section {
    padding: 80px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.category-card {
    background: white;
    padding: 40px 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-icon {
    font-size: 2.5rem;
    color: #f39c12;
    margin-bottom: 20px;
}

.category-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.category-card p {
    color: #7f8c8d;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* TESTIMONIALS SECTION */
.testimonials-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    color: #2c3e50;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: #bdc3c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.author-details h4 {
    color: #2c3e50;
    margin-bottom: 5px;
}

.author-details p {
    color: #7f8c8d;
    margin: 0;
}

/* BLOG SECTION */
.blog-section {
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.blog-image {
    height: 200px;
    background: #34495e;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.blog-content {
    padding: 30px;
}

.blog-date {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-content h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.blog-content p {
    color: #7f8c8d;
    margin-bottom: 20px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-author {
    color: #7f8c8d;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more {
    color: #f39c12;
    text-decoration: none;
    font-weight: 600;
}

.view-all {
    text-align: center;
}

/* NEWSLETTER SECTION */
.newsletter-section {
    padding: 80px 0;
    background: #2c3e50;
    color: white;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.newsletter-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 15px 30px;
    background: #f39c12;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: #e67e22;
}

/* Footer Styles */
.site-footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 30px;
}

.footer-section h3 {
    color: #f39c12;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #f39c12;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #34495e;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #f39c12;
    transform: translateY(-2px);
}

.subscribe-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.subscribe-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px;
    background: #34495e;
    color: white;
}

.subscribe-form button {
    padding: 10px 20px;
    background: #f39c12;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.subscribe-form button:hover {
    background: #e67e22;
}

.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

/* Shop Page Styles */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 20px;
}

.product-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e1e1e1;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 200px;
    background: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    border: 1px solid #ddd;
}

.product-title {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 600;
}

.product-price {
    font-size: 1.2em;
    color: #e74c3c;
    font-weight: bold;
    margin-bottom: 15px;
}

.product-button {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
    font-size: 1em;
}

.product-button:hover {
    background: #2980b9;
}

/* Loading States */
.loading {
    text-align: center;
    padding: 40px;
    color: #7f8c8d;
    font-size: 1.1em;
}

/* Filter Styles */
.shop-filters {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px auto;
    max-width: 1200px;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .ai-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .features-grid,
    .featured-grid,
    .categories-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .upload-options {
        flex-direction: column;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        padding: 20px 10px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .feature-card,
    .category-card {
        padding: 30px 20px;
    }
    
    .testimonial {
        padding: 30px 20px;
    }
    
    .blog-content {
        padding: 20px;
    }
}

/* Mobile Menu Close Button */
.menu-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #e6c35c;
    color: #2c3e50;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.menu-close-btn:hover {
    background: #d4b24c;
}