/* 
* Jesus Is King Merch Store
* Main Stylesheet
* https://jesusiskingmerch.store
*/

/* Reset and Base Styles */
:root {
    --primary-color: #3f51b5;
    --secondary-color: #ff9800;
    --text-color: #333;
    --light-text: #fff;
    --dark-bg: #1a1a1a;
    --light-bg: #f5f5f5;
    --border-color: #e0e0e0;
    --success-color: #4caf50;
    --error-color: #f44336;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --max-width: 1200px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Segoe UI', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 10px auto;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

.primary-btn:hover {
    background-color: #303f9f;
    color: var(--light-text);
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background-color: rgba(63, 81, 181, 0.1);
}

.product-btn {
    background-color: var(--secondary-color);
    color: var(--light-text);
    width: 100%;
}

.product-btn:hover {
    background-color: #fb8c00;
    color: var(--light-text);
}

/* Placeholder for images */
.placeholder {
    background-color: #ddd;
    position: relative;
    overflow: hidden;
}

.placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    to {
        left: 100%;
    }
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: #fff;
    box-shadow: var(--box-shadow);
    z-index: 100;
    transition: var(--transition);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 180px;
    height: 60px;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 180 60" fill="%233f51b5"%3E%3Cpath d="M10 10h160v40H10z" fill="none"/%3E%3Ctext x="90" y="36" text-anchor="middle" font-family="Arial, sans-serif" font-size="16" font-weight="bold"%3EJESUS IS KING%3C/text%3E%3Ctext x="90" y="48" text-anchor="middle" font-family="Arial, sans-serif" font-size="10"%3EMERCH STORE%3C/text%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600" fill="%23f5f5f5"%3E%3Crect width="1200" height="600" fill="%233f51b5"/%3E%3Cpath d="M600 150 L650 250 L600 350 L550 250 Z" fill="%23ffffff"/%3E%3Crect x="595" y="350" width="10" height="100" fill="%23ffffff"/%3E%3C/svg%3E');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
}

.hero-content {
    max-width: 600px;
    color: var(--light-text);
    text-align: center;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Featured Products Section */
.featured {
    background-color: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 200px;
    width: 100%;
}

.product-card h3 {
    padding: 15px 15px 5px;
    font-size: 1.2rem;
}

.product-card p {
    padding: 0 15px;
    font-size: 0.9rem;
    color: #666;
}

.price {
    font-weight: 700;
    color: var(--primary-color) !important;
    padding: 10px 15px !important;
    font-size: 1.1rem !important;
}

.product-card .btn {
    margin: 10px 15px 15px;
}

/* Collection Section */
.collection {
    background-color: var(--light-bg);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    position: relative;
}

.category-image {
    height: 200px;
    width: 100%;
}

.category-card h3 {
    text-align: center;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    position: absolute;
    bottom: 50px;
    width: 100%;
}

.category-link {
    display: block;
    text-align: center;
    padding: 15px;
    background-color: var(--primary-color);
    color: var(--light-text);
    position: absolute;
    bottom: 0;
    width: 100%;
    transition: var(--transition);
}

.category-link:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

/* About Section */
.about {
    background-color: #fff;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Games Section */
.games {
    background-color: var(--light-bg);
    padding: 60px 0;
}

.game-intro {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.game-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 0 auto;
}

.game-link-item {
    background-color: #fff;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.game-link-item:hover {
    transform: translateY(-5px);
}

.game-link-item a {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.game-link-item p {
    font-size: 0.9rem;
    color: #666;
}

/* Testimonials Section */
.testimonials {
    background-color: #fff;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.stars {
    color: #ffc107;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.quote {
    font-style: italic;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.author {
    text-align: right;
    font-weight: 600;
}

/* Contact Section */
.contact {
    background-color: var(--light-bg);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.info-item h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

input,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(63, 81, 181, 0.2);
}

.submit-btn {
    background-color: var(--primary-color);
    color: var(--light-text);
    font-size: 1rem;
}

.submit-btn:hover {
    background-color: #303f9f;
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo-image {
    width: 150px;
    height: 50px;
    filter: brightness(0) invert(1);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #bbb;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-social h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--secondary-color);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #333;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-icon {
    width: 40px;
    height: 25px;
    background-color: #fff;
    border-radius: 4px;
}

/* Media Queries */
@media screen and (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 2fr;
    }

    .footer-social {
        grid-column: span 2;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .section-title {
        font-size: 2rem;
    }

    .menu-toggle {
        display: block;
        z-index: 200;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.5s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 100;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .footer-social {
        grid-column: auto;
    }
}

@media screen and (max-width: 576px) {
    section {
        padding: 60px 0;
    }

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

    .hero-content p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Animation Effects */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fadeIn {
    animation: fadeIn 1s ease;
}
