/* Consolidated styles for ZORIXA website */

/* Global Styles */
:root {
    --primary-color: #00aaff; /* Slightly adjusted blue */
    --secondary-color: #121212;
    --text-color: #ffffff;
    --accent-color: #1f1f1f; /* Slightly lighter dark grey */
    --border-color: #333333; /* New border/highlight color */
    --gradient-start: #121212;
    --gradient-end: #282828; /* More dynamic gradient */
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--text-color);
    line-height: 1.7;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    -webkit-overflow-scrolling: touch;
}

h1, h2, h3, h4, h5, h6, .section-title, .feature-title, .nav-links a, .social-name {
    font-family: 'Poppins', sans-serif;
}

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

/* Header Styles */
header {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banner {
    width: 100%;
    height: auto;
    max-height: 100vh;
    object-fit: cover;
    display: block;
}

/* Navigation Styles */
nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px); /* Safari support */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.nav-logo-img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color); /* Use updated primary color */
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 24px;
    cursor: pointer;
}

/* Main Content Styles */
.main-content {
    padding: 100px 0; /* Increased padding */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px; /* Increased horizontal padding */
}

.section-title {
    font-size: 2.8rem; /* Slightly larger */
    margin-bottom: 60px; /* Increased margin */
    text-align: center;
    color: var(--primary-color); /* Use updated primary color */
    font-weight: 700; /* Add weight */
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px; /* Increased gap */
    margin-bottom: 100px; /* Increased margin */
}

.feature-card {
    background-color: var(--accent-color); /* Use updated accent color */
    padding: 40px; /* Increased padding */
    border-radius: 12px; /* Slightly more rounded */
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    border: 1px solid var(--border-color); /* Add subtle border */
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 170, 255, 0.15); /* Subtle glow */
}

.feature-title {
    color: var(--primary-color); /* Use updated primary color */
    margin-bottom: 20px; /* Increased margin */
    font-size: 1.6rem; /* Slightly larger */
    font-weight: 600; /* Add weight */
}

/* About Section */
.about {
    margin-bottom: 100px; /* Increased margin */
}

.about-content {
    background-color: var(--accent-color); /* Use updated accent color */
    padding: 50px; /* Increased padding */
    border-radius: 12px; /* Slightly more rounded */
    border: 1px solid var(--border-color); /* Add subtle border */
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px; /* Increased gap */
    margin-bottom: 100px; /* Increased margin */
}

.gallery-item {
    overflow: hidden;
    border-radius: 12px; /* Slightly more rounded */
    position: relative;
    background-color: var(--accent-color); /* Updated background */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.35); /* Enhanced shadow */
    aspect-ratio: 1 / 1;
    border: 1px solid var(--border-color); /* Add subtle border */
    transition: transform 0.3s, box-shadow 0.3s; /* Add transitions */
}

.gallery-item:hover {
    transform: scale(1.03); /* Slight scale on hover */
    box-shadow: 0 10px 20px rgba(0, 170, 255, 0.15); /* Subtle glow */
}

.gallery-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000;
}

/* Social Links */
.social-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px; /* Increased gap */
    margin-bottom: 100px; /* Increased margin */
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    background-color: var(--accent-color); /* Use updated accent color */
    padding: 30px; /* Increased padding */
    border-radius: 12px; /* Slightly more rounded */
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color); /* Add subtle border */
}

.social-link:hover {
    transform: translateY(-10px);
    color: var(--primary-color); /* Use updated primary color */
    box-shadow: 0 8px 16px rgba(0, 170, 255, 0.2); /* Add subtle glow on hover */
}

.social-img {
    width: 100%;
    height: auto;
    border-radius: 10px; /* Slightly more rounded */
    margin-bottom: 20px; /* Increased margin */
}

.social-name {
    font-weight: 600; /* Increased weight */
    font-size: 1.3rem; /* Slightly larger */
}

/* Footer Styles */
footer {
    background-color: var(--secondary-color);
    padding: 30px 0;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .feature-card {
        padding: 25px;
    }
    
    .about-content {
        padding: 35px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 10px 15px;
    }
    
    .nav-logo-img {
        height: 40px;
    }
    
    .mobile-menu-btn {
        display: block;
        font-size: 28px;
        padding: 5px;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transition: left 0.3s ease;
        padding: 50px 0;
        z-index: 1000;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links a {
        font-size: 24px;
        padding: 15px;
        display: block;
        width: 80%;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .about-content {
        padding: 30px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .social-links {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .social-link {
        padding: 15px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .nav-logo-img {
        height: 40px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .features {
        gap: 20px;
    }
    
    .feature-title {
        font-size: 1.3rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Fix for iOS Safari height issues */
@supports (-webkit-touch-callout: none) {
    .nav-links {
        height: -webkit-fill-available;
    }
}

/* Orientation change handling */
@media screen and (orientation: landscape) and (max-width: 900px) {
    .nav-links {
        padding: 20px 0;
        overflow-y: auto;
    }
    
    .nav-links a {
        padding: 10px;
        font-size: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .social-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Fix for notched phones */
@supports (padding: max(0px)) {
    .nav-container, .container {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
    
    .nav-links {
        padding-bottom: max(50px, env(safe-area-inset-bottom));
    }
}

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

/* Fix for Firefox image rendering */
@-moz-document url-prefix() {
    .gallery-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Fix for IE11 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .gallery-img {
        width: 100%;
        height: auto;
        min-height: 100%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

/* Fix for Edge */
@supports (-ms-ime-align:auto) {
    .gallery-img {
        width: 100%;
        height: auto;
        min-height: 100%;
    }
}

/* Styles for Token Project Section */
.token-project {
    padding: 100px 0; /* Increased padding */
    margin-bottom: 100px; /* Increased margin */
}

.project-content h3 {
    color: var(--primary-color); /* Use updated primary color */
    margin-top: 50px; /* Increased margin */
    margin-bottom: 25px; /* Increased margin */
    font-size: 2rem; /* Slightly larger */
    font-weight: 600; /* Add weight */
}

.project-content .blockquote {
    border-left: 5px solid var(--primary-color); /* Use updated primary color */
    padding-left: 25px; /* Increased padding */
    margin: 40px 0; /* Increased margin */
    font-style: italic;
    font-size: 1.1rem; /* Slightly larger */
}

.project-content .table {
    margin-top: 30px; /* Increased margin */
    border: 1px solid var(--border-color); /* Add border */
    border-radius: 8px; /* Rounded corners */
    overflow: hidden; /* Ensure border radius applies to table */
}

.project-content .table th {
    color: var(--primary-color); /* Use updated primary color */
    background-color: var(--accent-color); /* Use updated accent color */
    font-weight: 600; /* Add weight */
    padding: 15px; /* Increase padding */
    text-align: left;
}

.project-content .table td {
    vertical-align: middle;
    padding: 15px; /* Increase padding */
    border-top: 1px solid var(--border-color); /* Add top border to rows */
}

/* Style for striped tables from Bootstrap */
.table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: rgba(255, 255, 255, 0.03); /* Subtle striping */
}

.project-content .impact-list li,
.project-content .security-list li {
    margin-bottom: 10px;
    padding-left: 10px;
}

/* Ensure table responsiveness on smaller screens */
@media (max-width: 768px) {
    .project-content h3 {
        font-size: 1.6rem;
    }
    .table-responsive {
        border: none; /* Remove border added by bootstrap on small screens if not desired */
    }
}

/* Safari specific fixes if needed - currently relying on Bootstrap */
@supports (-webkit-touch-callout: none) {
    /* Add Safari-specific CSS adjustments here if issues arise */
}



/* PinkSale Info Section Styling */
.pinksale-info-container {
    background-color: rgba(255, 255, 255, 0.05); /* Subtle background */
    border: 1px solid #444;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem auto; /* Center it and add space */
    max-width: 600px; /* Limit width */
    text-align: center;
}

.pinksale-info-title {
    color: #00AAFF; /* Accent color */
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.pinksale-details {
    margin-bottom: 1.5rem;
    text-align: left; /* Align details left */
    display: inline-block; /* Center the left-aligned block */
}

.pinksale-details p {
    margin-bottom: 0.5rem;
    color: #ccc;
}

.pinksale-details strong {
    color: #fff;
    min-width: 120px; /* Align keys */
    display: inline-block;
}

.btn-pinksale {
    background-color: #ff69b4; /* PinkSale-like pink */
    border: none;
    color: #fff;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    display: inline-block; /* Ensure button behaves like a block */
}

.btn-pinksale:hover {
    background-color: #ff85c1; /* Lighter pink on hover */
    color: #fff;
}

.btn-pinksale .bi {
    margin-left: 0.5rem;
    vertical-align: middle;
}



/* Add style for Bootstrap Icons in social links */
.social-icon {
    font-size: 60px; /* Adjust size as needed, similar to social-img */
    margin-bottom: 10px; /* Space between icon and text */
    color: #00d1ff; /* Use a consistent color, maybe neon blue */
    width: 80px; /* Match social-img width */
    height: 80px; /* Match social-img height */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive adjustments for social icon */
@media (max-width: 768px) {
    .social-icon {
        font-size: 45px;
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .social-icon {
        font-size: 40px;
        width: 50px;
        height: 50px;
    }
}



/* Partners Section Styling */
.partners {
    padding: 40px 20px;
    background-color: #0a0a1a; /* Slightly different background or same as community */
    text-align: center;
}

.partner-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px; /* Spacing between partner links */
    margin-top: 30px;
}

.partner-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #fff; /* White text for partner name */
    transition: transform 0.3s ease, color 0.3s ease;
}

.partner-link:hover {
    transform: scale(1.1);
    color: #00d1ff; /* Neon blue on hover */
}

/* .partner-icon styles removed as logos are now used */

.partner-logo {
    height: 60px; /* Set a consistent height for logos */
    width: auto; /* Maintain aspect ratio */
    max-width: 150px; /* Prevent logos from becoming too wide */
    margin-bottom: 10px; /* Space between logo and text */
    object-fit: contain; /* Ensure logo fits within dimensions without distortion */
}

.partner-name {
    font-size: 1rem;
    font-weight: bold;
}

/* Responsive adjustments for partners section */
@media (max-width: 768px) {
    .partner-logo { /* Adjusted responsive logo height */
        height: 45px;
    }
    .partner-name {
        font-size: 0.9rem;
    }
    .partner-links {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .partner-logo { /* Adjusted mobile logo height */
        height: 40px;
    }
    .partner-name {
        font-size: 0.8rem;
    }
}



/* Launchpad Section Styling */
.launchpad-section {
    padding: 60px 0; /* Consistent padding */
    background-color: rgba(255, 255, 255, 0.03); /* Subtle background differentiation */
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.launchpad-subsection {
    margin-bottom: 40px;
}

.launchpad-subsection .subsection-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.launchpad-subsection .subsection-icon {
    font-size: 1.5rem; /* Adjust icon size */
}

.launchpad-subsection ul {
    list-style: disc;
    margin-left: 20px;
    padding-left: 20px;
}

.launchpad-subsection li {
    margin-bottom: 8px;
}

.launchpad-feature-card {
    background-color: var(--accent-color); /* Match other feature cards */
    height: 100%; /* Ensure cards in a row have same height */
}

.features-grid .feature-title {
    font-size: 1.2rem; /* Slightly smaller title for feature cards */
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Responsive adjustments for launchpad section */
@media (max-width: 768px) {
    .launchpad-subsection .subsection-title {
        font-size: 1.5rem;
    }
    .launchpad-section {
        padding: 40px 0;
    }
}

