body {
    font-family: 'Advent Pro', sans-serif;
    background-color: #ffffff;
    color: #2c3339;
    text-align: center;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    width: 100%;
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 100px;
    transition: height 0.3s ease, margin 0.3s ease;
    display: block;
    margin-top: auto;
    margin-bottom: auto;
}

/* Logo fade animation for color-pop variants */
.logo-fade {
    animation: logoFadeIn 1s;
}

@keyframes logoFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

a:link, a:active, a:visited {
    color: #2c3339;
    background-color: transparent;
    text-decoration: none;
}

a:hover {
    color: #007bff;
}

.header-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 20px;
    row-gap: 0;
    font-size: 26px;
    color: #2c3339;
    min-width: auto;
    flex-grow: 1;
    max-width: 500px
}

h1, h2, h3, .cta, .header-links a {
    font-family: 'Advent Pro', sans-serif;
}

@media (max-width: 600px) { /* Adjust breakpoint as needed */
    .header-links {
        flex-direction: column; /* Stacks menu items vertically */
        align-items: flex-end; /* Right-aligns the stacked items */
    }
}

.cta {
    font-size: 35px;
    margin: 50px;
    margin-top: 40px;
    margin-bottom: 75px;
    text-align: center;
}

.app-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); /* Allows flexibility */
    max-width: 900px; /* Allows all six icons to fit in one row */
    gap: 50px; /* Adjust spacing as needed */
    justify-content: center;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .app-container {
        grid-template-columns: repeat(3, minmax(100px, 1fr));
    }
}

@media (max-width: 600px) {
    .app-container {
        grid-template-columns: repeat(2, minmax(100px, 1fr));
    }
}

.app-icon-inactive {
    width: 100px;
    height: 100px;
    transition: transform 0.3s ease;
    animation: pulse 2s infinite ease-in-out;
}

.app-icon {
    width: 100px;
    height: 100px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.app-icon:hover {
    width: 100px;
    height: 100px;
    cursor: pointer;
    transform: scale(1.1);
}

@keyframes pulse {
    0% { opacity: 0.0; }
    50% { opacity: 1; }
    100% { opacity: 0.0; }
}


.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    width: 300px;
    margin: 10% auto;
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

footer {
    margin-top: auto;
    padding-top: 30px;
    padding-bottom: 50px;
}

/* Section styles for alternating backgrounds */
.section {
    padding: 80px 20px;
    text-align: center;
}

.section-dark {
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(240, 240, 240, 1) 25%,
        rgba(240, 240, 240, 1) 75%,
        rgba(255, 255, 255, 0) 100%
    );
    color: #2C3339;
}

.section-light {
    background-color: #ffffff;
    color: #2C3339;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: transparent;
    border: none;
    font-family: 'Advent Pro', sans-serif;
    font-size: 26px;
    color: #2c3339;
    cursor: pointer;
    padding: 0;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #ffffff;
    min-width: 180px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    z-index: 1;
    text-align: left;
}

.dropdown-content a {
    color: #2c3339;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 16px;
}

.dropdown-content a:hover {
    background-color: #f0f0f0;
}

.dropdown:hover .dropdown-content {
    display: block;
}



/* Theme-specific hover styles for header links */
body.theme-green .header-links a:hover,
body.theme-green .dropbtn:hover {
    color: #2C3339;
    text-shadow: 1px 1px 0 #39FF14;
}

body.theme-blue .header-links a:hover,
body.theme-blue .dropbtn:hover {
    color: #2C3339;
    text-shadow: 1px 1px 0 #00FFFF;
}

body.theme-pink .header-links a:hover,
body.theme-pink .dropbtn:hover {
    color: #2C3339;
    text-shadow: 1px 1px 0 #FF007F;
}

/* Sticky, translucent header */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    transition: background-color 0.3s ease, padding 0.3s ease;
}

.fade-in {
    animation: logoFadeIn 1s ease-in-out;
}

.venture-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.venture-card {
    width: 280px;
    height: 520px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.prebuilt-card {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Color-pop drop-shadow hover effects for venture cards */
body.theme-green .venture-card:hover svg path {
    filter: drop-shadow(0 0 12px #39FF14);
}

body.theme-blue .venture-card:hover svg path {
    filter: drop-shadow(0 0 12px #00FFFF);
}

body.theme-pink .venture-card:hover svg path {
    filter: drop-shadow(0 0 12px #FF007F);
}


/* Make the entire venture card clickable */
.venture-card-link {
    display: block;        /* ensures the link takes up the full card space */
    text-decoration: none; /* removes underline */
    color: inherit;        /* keeps any text color inside the card */
}

/* Optional: subtle scaling hover effect for cards */
.venture-card-link:hover .venture-card {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* Theme-specific color-pop hover effects for clickable cards */
body.theme-green .venture-card-link:hover .venture-card {
    text-shadow: 1px 1px 0 #39FF14;
}

body.theme-blue .venture-card-link:hover .venture-card {
    text-shadow: 1px 1px 0 #00FFFF;
}

body.theme-pink .venture-card-link:hover .venture-card {
    text-shadow: 1px 1px 0 #FF007F;
}
