/* CSS for Creccoin Website - Inspired by blackrock.com */

/* Global Resets & Basic Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333; /* Dark grey for text */
    line-height: 1.6;
    background-color: #fff; /* White background */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4 {
    margin-bottom: 1rem;
    color: #111; /* Near black for headings */
    font-weight: 600;
}

h1 { font-size: 2.5rem; line-height: 1.2; }
h2 { font-size: 2rem; line-height: 1.3; }
h3 { font-size: 1.5rem; line-height: 1.4; }
h4 { font-size: 1.2rem; line-height: 1.5; }

p {
    margin-bottom: 1rem;
}

a {
    color: #0052cc; /* Professional blue for links */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul, ol {
    list-style-position: inside;
    margin-bottom: 1rem;
}

/* Utility Classes */
.section-padding {
    padding: 60px 0;
}

.alt-bg {
    background-color: #f8f9fa; /* Light grey background for alternating sections */
}

/* Buttons */
.button {
    display: inline-block;
    padding: 10px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    margin: 5px;
}

.button-primary {
    background-color: #0052cc; /* Primary blue */
    color: #fff;
    border-color: #0052cc;
}

.button-primary:hover {
    background-color: #003f9e;
    border-color: #003f9e;
    color: #fff;
    text-decoration: none;
}

.button-secondary {
    background-color: #e9ecef; /* Light grey */
    color: #333;
    border-color: #ced4da;
}

.button-secondary:hover {
    background-color: #ced4da;
    border-color: #adb5bd;
    color: #333;
    text-decoration: none;
}

.button-outline {
    background-color: transparent;
    color: #0052cc;
    border-color: #0052cc;
}

.button-outline:hover {
    background-color: #0052cc;
    color: #fff;
    text-decoration: none;
}

.cta-buttons .button {
    margin-right: 10px;
}

/* Header */
.site-header {
    background-color: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: 15px 0;
}

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

.site-header .logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #111;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-nav li {
    margin-left: 25px;
}

.main-nav a {
    color: #333;
    font-weight: 600;
    text-decoration: none;
}

.main-nav a:hover {
    color: #0052cc;
    text-decoration: none;
}

/* Hero Section */
.hero-section {
    background-color: #f8f9fa; /* Or use a background image */
    text-align: center; /* Adjust as needed if image is used */
}

.hero-content h1 {
    margin-bottom: 1rem;
}

.hero-content .subtitle {
    font-size: 1.2rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto 2rem auto;
}

/* Flywheel Section */
.flywheel-visual {
    text-align: center;
    margin-bottom: 2rem;
    font-style: italic;
    color: #888;
}

.flywheel-steps {
    list-style-type: decimal;
    margin-left: 20px;
}

.flywheel-steps li {
    margin-bottom: 0.5rem;
}

.tagline {
    font-weight: 600;
    text-align: center;
    margin-top: 1.5rem;
}

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

.feature-card {
    background-color: #fff;
    padding: 25px;
    border: 1px solid #e9ecef;
    border-radius: 4px;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
}

/* Snapshot Section */
.snapshot-data {
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.1rem;
}

.snapshot-data p {
    margin-bottom: 0.5rem;
}

.snapshot-section .cta-buttons {
    text-align: center;
}

/* Roadmap Highlights Section */
.roadmap-summary {
    margin-bottom: 1.5rem;
}

.roadmap-summary p {
    margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
    background-color: #343a40; /* Dark footer */
    color: #adb5bd; /* Light grey text */
}

.site-footer h4 {
    color: #fff; /* White headings in footer */
    margin-bottom: 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

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

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

.footer-column a {
    color: #adb5bd;
}

.footer-column a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #495057;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive Adjustments (Basic Example) */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
    }
    .main-nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .main-nav li {
        margin: 5px 10px;
    }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
}



/* Emphasis for Flywheel Steps */
.flywheel-steps-emphasized li {
    font-size: 1.1rem; /* Slightly larger font */
    margin-bottom: 1rem; /* More spacing */
    padding-left: 10px;
    border-left: 3px solid #0052cc; /* Add a blue accent line */
}

.flywheel-steps-emphasized strong {
    color: #111; /* Ensure strong text is dark */
}


/* Two-column layout for sections with images */
.hero-container, .intro-container, .flywheel-container, .features-container, .snapshot-container, .community-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content, .intro-content, .flywheel-content, .features-content, .snapshot-content, .community-content {
    flex: 1; /* Allow text content to take available space */
}

.hero-image, .intro-image, .flywheel-image, .features-image, .snapshot-image, .community-image {
    flex: 0 0 45%; /* Set a fixed width percentage for the image container */
    text-align: center;
}

/* Responsive image styling */
.responsive-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* Optional: add rounded corners */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Optional: add subtle shadow */
}

/* Landscape image specific styling */
.content-image-landscape {
    width: 100%;
    object-fit: cover; /* Cover the container while maintaining aspect ratio */
}

/* Responsive adjustments for two-column layouts */
@media (max-width: 768px) {
    .hero-container, .intro-container, .flywheel-container, .features-container, .snapshot-container, .community-container {
        flex-direction: column;
        gap: 20px;
    }

    .hero-image, .intro-image, .flywheel-image, .features-image, .snapshot-image, .community-image {
        flex: 0 0 auto; /* Reset flex basis */
        width: 100%; /* Make image container full width */
        margin-top: 20px;
    }

    .content-image-landscape {
        aspect-ratio: auto; /* Allow natural aspect ratio on smaller screcens if needed */
    }
}

.three-column-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    text-align: center;
}

.text-center {
    text-align: center;
}

