/* ==========================================================================
   1. Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Space Mono", monospace;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    overflow-x: hidden;
    min-height: 100vh;
}

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

/* Helper Classes */
.space-mono-bold { font-weight: 700; }
.space-mono-italic { font-style: italic; }
.text-center { text-align: center; width: 100%; margin-bottom: 2rem; }
.section-padding { padding: 5rem 5%; display: flex; flex-direction: column; align-items: center; }

a {
    text-decoration: none;
    transition: all 0.3s ease;
    color: inherit;
}

/* ==========================================================================
   2. Header & Navigation
   ========================================================================== */
header {
    background: #000000;
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #FFD700;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
    height: 45px;
    width: auto;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.date-display {
    color: #FFD700;
    font-size: 0.85rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

nav ul li a {
    color: #ffffff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav ul li a:hover, 
nav ul li a.active {
    color: #FFD700;
}

/* ==========================================================================
   3. Hero Sections
   ========================================================================== */
.hero, .shop-hero {
    background: linear-gradient(to right, #000000, #FFD700);
    color: #ffd700;
    text-align: center;
    padding: 6rem 2rem;
}

.hero h1, .shop-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #FFD700;
    font-family: 'Anton', sans-serif; 
}

/* ==========================================================================
   4. Shop & Product Cards
   ========================================================================== */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 5%;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    position: relative;
    height: 300px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 20px;
    text-transform: uppercase;
    z-index: 10;
}

.badge-popular { background: #FFD700; color: #000; }
.badge-premium { background: #000; color: #FFD700; border: 1px solid #FFD700; }

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 1rem 0;
}

.btn-instagram {
    background: #000;
    color: #fff;
    padding: 1rem;
    text-align: center;
    font-weight: bold;
    border-radius: 6px;
    margin-top: auto;
    display: block;
}

.btn-instagram:hover {
    background: #FFD700;
    color: #000;
}

/* ==========================================================================
   5. Contact Page
   ========================================================================== */
.contact-page-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
    border: 4px solid #000;
    margin: 40px auto;
    max-width: 1400px;
    background: #fff;
    box-shadow: 15px 15px 0px #FFD700;
}

.contact-visual {
    background: #000;
    color: #FFD700;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-form-container {
    padding: 60px;
}

.input-group {
    position: relative;
    margin-bottom: 35px;
}

.input-group input, 
.input-group textarea {
    width: 100%;
    padding: 15px 0;
    font-family: 'Space Mono', monospace;
    border: none;
    border-bottom: 3px solid #000;
    background: transparent;
    outline: none;
}

.input-group label {
    position: absolute;
    top: 15px;
    left: 0;
    pointer-events: none;
    transition: 0.3s ease all;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.5;
}

.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
    top: -20px;
    font-size: 0.8rem;
    opacity: 1;
    color: #000;
}

.btn-main {
    background: #000;
    color: #FFD700;
    border: none;
    padding: 20px;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
    transition: 0.4s;
}

.btn-main:hover {
    background: #FFD700;
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 10px 0 #000;
}

/* ==========================================================================
   6. Portfolio Gallery & Slider
   ========================================================================== */
.gallery {
    display: grid; /* Fixed from source */
    grid-template-columns: repeat(auto-fill, minmax(138px, 1fr));
    gap: 2rem; /* Adjusted from source 22rem */
    padding: 2rem 5%;
}

.gallery img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border: 2px solid #FFD700;
} 

/* Slider Component */
.slider {
  position: relative;
  width: 300px;
  height: 300px;
  margin: auto;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slide.active {
  opacity: 1;
}

/* ==========================================================================
   7. Footer
   ========================================================================== */
footer {
    background: #000;
    color: #888;
    padding: 3rem 1rem;
    text-align: center;
    font-size: 0.8rem;
    border-top: 1px solid #222;
}

/* ==========================================================================
   8. Responsive Adjustments
   ========================================================================== */

@media (max-width: 850px) {
    nav {
        flex-direction: column;
        padding: 1.5rem 1rem;
        gap: 1.5rem;
    }

    .nav-right {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .date-display {
        border-top: 1px solid #333;
        padding-top: 0.5rem;
        width: 100%;
        text-align: center;
    }

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

    .contact-page-wrapper {
        grid-template-columns: 1fr;
        margin: 20px;
        box-shadow: 8px 8px 0px #FFD700;
    }

    .contact-visual {
        padding: 40px 20px;
        border-bottom: 4px solid #000;
    }

    .contact-form-container {
        padding: 40px 20px;
    }
}

@media (max-width: 600px) {
    .shop-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

/* ==========================================================================
   9. Payment Page Styles
   ========================================================================== */
.payment-hero {
    background: linear-gradient(to right, #000000, #333);
    color: #FFD700;
    text-align: center;
    padding: 6rem 2rem;
}

.payment-methods {
    display: flex;
    justify-content: center;
    padding: 5rem 5%;
    background-color: #f9f9f9;
}

.payment-card {
    background: white;
    padding: 3rem;
    border-radius: 0; /* Keeps the brutalist sharp look */
    border: 4px solid #000;
    box-shadow: 15px 15px 0px #FFD700; /* Matching the contact form shadow */
    max-width: 500px;
    width: 100%;
}

.method-container {
    margin-bottom: 1.5rem;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 18px;
    border: 2px solid #000;
    cursor: pointer;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 0 #000;
}

.btn-instapay { background: #4a148c; color: white; border-color: #4a148c; }
.btn-icon { height: 20px; margin-right: 12px; }

.payment-details-box {
    background: #fff;
    border: 2px dashed #000;
    padding: 20px;
    margin-top: 10px;
    animation: fadeIn 0.3s ease;
}

.btn-copy {
    background: #FFD700;
    color: #000;
    border: 1px solid #000;
    padding: 8px 15px;
    cursor: pointer;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 0.7rem;
    margin-top: 10px;
}

.btn-copy:hover {
    background: #000;
    color: #FFD700;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .payment-card {
        padding: 2rem 1.5rem;
        box-shadow: 8px 8px 0px #FFD700;
    }
}