/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-black: #000000;
    --secondary-black: #111111;
    --tertiary-black: #1a1a1a;
    --accent-gray: #333333;
    --light-gray: #888888;
    --text-white: #ffffff;
    --accent-white: #ffffff;
    --accent-green: #ffff;
    --border-radius: 8px;
    --transition: all 0.2s ease;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--primary-black);
    color: var(--text-white);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: rgba(0, 0, 0, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--accent-gray);
    transition: all 0.3s ease;
    width: 100%;
    backdrop-filter: blur(10px);
    margin: 0;
}


/*unused code, keep here later if we ever revist it*/
/* Center the navigation */
header nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

header.scrolled {
    background: rgba(0, 0, 0, 0.9);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
}

/* Header fade-out effect when scrolling */
header.fade-out {
    opacity: 0.3;
    transform: translateY(-10px);
}

/* Header full opacity when at top */
header.at-top {
    opacity: 1;
    transform: translateY(0);
    background: var(--primary-black);
    box-shadow: none;
}

/*end unused code*/

.logo {
    font-size: 2rem;
    font-weight: 400;
    color: var(--text-white);
    transition: var(--transition);
}

.logo:hover {
    opacity: 0.7;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    position: relative;
    transition: var(--transition);
    padding: 0.5rem 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-white);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    opacity: 0.7;
}

/* Mobile menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
#hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    position: relative;
    background: var(--primary-black);
}

#hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    margin: 0;
    color: var(--text-white);
    letter-spacing: -0.02em;
    animation: fadeInUp 1s ease-out;
}

#hero p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-top: 1.5rem;
    color: var(--light-gray);
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.cta-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--text-white);
    color: var(--primary-black);
    border: 1px solid var(--text-white);
}

.btn-primary:hover {
    background: transparent;
    color: var(--text-white);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 1px solid var(--accent-gray);    margin: 0;

}

.btn-secondary:hover {
    border-color: var(--text-white);
    color: var(--text-white);
}

/* Sections */
section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Page wrapper for proper centering */
.page-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 80px; /* Add padding to account for fixed header */
}

/* Ensure proper centering for all content */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--primary-black);
    color: var(--text-white);
    line-height: 1.5;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 300;
    position: relative;
    color: var(--text-white);
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: var(--text-white);
}

/* Project Grid */
.project-grid, .merch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card, .merch-item {
    background: var(--secondary-black);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--accent-gray);
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.project-card:hover, .merch-item:hover {
    border-color: var(--text-white);
    transform: translateY(-2px);
}

.project-img, .merch-img {
    width: 100%;          /* full width of card */
    height: 150px;        /* fixed height */
    overflow: hidden;
    border-radius: var(--border-radius);

    display: flex;        /* make it a flex container */
    align-items: center;  /* vertical center */
    justify-content: center; /* horizontal center */
}


.project-img.placeholder, .merch-img.placeholder {
    background: var(--tertiary-black);
    font-size: 1rem;
    color: var(--light-gray);
    font-weight: 400;
    text-transform: lowercase;
    letter-spacing: 0.5px;
}

.project-card h3, .merch-item h4 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.project-card p, .merch-item p {
    color: var(--light-gray);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.merch-item .price {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-white);
    margin-bottom: 1rem;
}

/* Coming Soon Buttons */
.project-card button, .merch-item button {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: var(--accent-gray);
    color: var(--light-gray);
    border: 1px solid var(--accent-gray);
    border-radius: var(--border-radius);
    font-weight: 400;
    cursor: not-allowed;
    transition: var(--transition);
    text-transform: lowercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.project-card button:disabled, .merch-item button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.project-card button:disabled:hover, .merch-item button:disabled:hover {
    background: var(--accent-gray);
    color: var(--light-gray);
    transform: none;
}

/* Add a subtle animation for coming soon buttons */
.project-card button:disabled::before, .merch-item button:disabled::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.project-card button:disabled:hover::before, .merch-item button:disabled:hover::before {
    left: 100%;
}

/* Add a subtle pulse animation for coming soon buttons */
@keyframes comingSoonPulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.8;
    }
}

.project-card button:disabled, .merch-item button:disabled {
    animation: comingSoonPulse 3s ease-in-out infinite;
}

/* Merch Section */
#merch {
    background: var(--secondary-black);
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

/* View All Merch Button */
.merch-view-all {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    width: 100%;
}

.merch-view-all .btn {
    background: var(--accent-green);
    color: var(--primary-black);
    border: 1px solid var(--accent-green);
    font-weight: 600;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
    transition: var(--transition);
}

.merch-view-all .btn:hover {
    background: transparent;
    color: var(--accent-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
}

.merch-disclaimer {
    text-align: center;
    color: var(--light-gray);
    font-style: italic;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--tertiary-black);
    border-radius: var(--border-radius);
    border: 1px solid var(--accent-gray);
}

/* About Section */
#about {
    background: var(--tertiary-black);
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

#about p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--light-gray);
}

#about a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition);
}

#about a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--secondary-black);
    border-radius: var(--border-radius);
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--light-gray);
    font-size: 1rem;
    margin: 0;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.newsletter-form iframe {
    max-width: 100%;
    border-radius: var(--border-radius);
    background: var(--tertiary-black) !important;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.newsletter-form iframe:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .newsletter-form iframe {
        width: 100% !important;
        height: 170px !important;
    }
}

/* Footer */
footer {
    background: var(--primary-black);
    padding: 3rem 2rem 2rem;
    border-top: 1px solid var(--accent-gray);
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.main-section {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.footer-section h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: lowercase;
    letter-spacing: 0.5px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section p, .footer-section a {
    color: var(--light-gray);
    text-decoration: none;
    line-height: 1.6;
    transition: var(--transition);
    font-size: 0.9rem;
}

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

.footer-section a.coming-soon {
    color: var(--accent-gray);
    cursor: not-allowed;
    position: relative;
}

.footer-section a.coming-soon:hover {
    color: var(--accent-gray);
}

.footer-section a.coming-soon::after {
    content: 'coming soon';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gray);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.footer-section a.coming-soon:hover::after {
    opacity: 1;
    top: -25px;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--tertiary-black);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--text-white);
    color: var(--primary-black);
    transform: translateY(-2px);
}

.footer-sheep {
    font-size: 2rem;
    margin-top: 1rem;
    animation: bounce 2s infinite;
}

.footer-bottom {
    border-top: 1px solid var(--accent-gray);
    padding-top: 1rem;
    margin-top: 2rem;
    color: var(--light-gray);
    text-align: center;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-wrapper {
        max-width: none;
        width: 100%;
    }
    
    header {
        padding: 1rem;
        width: 100%;
    }
    
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--secondary-black);
        flex-direction: column;
        padding: 1rem;
        border-top: 1px solid var(--accent-gray);
        transform: none;
    }
    
    nav.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .project-grid, .merch-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    section {
        padding: 4rem 1rem;
        width: 100%;
        max-width: none;
        margin: 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2rem;
    }
    
    #hero h1 {
        font-size: 2.5rem;
    }
    
    .project-card, .merch-item {
        padding: 1.5rem;
    }
}
