/* KINS Landing Page Styles */
/* Based on kins_style_guide.md */

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

body {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #4E4B42; /* Primary Text */
    background-color: #FAF8F5; /* Primary Background */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

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

h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    color: #4E4B42; /* Primary Text */
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem; /* Adjust as needed */
}

h2 {
    font-size: 2.8rem; /* Adjust as needed */
    text-align: center;
}

h3 {
    font-size: 1.8rem; /* Adjust as needed */
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 300;
}

a {
    color: #4E4B42; /* Primary Text */
    text-decoration: none;
}

section {
    padding: 6rem 0;
    text-align: center;
}

/* Header & Navigation */
#main-header {
    background-color: #FAF8F5; /* Primary Background */
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(160, 156, 147, 0.2); /* Subtle border using Warm Grey */
}

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

#main-header .logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    /* Add specific logo styling if available */
}

#main-header nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

#main-header nav ul li {
    margin-left: 2rem;
}

#main-header nav ul li a {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    padding-bottom: 5px;
    transition: border-bottom 0.3s ease;
}

#main-header nav ul li a:hover,
#main-header nav ul li a.active {
    border-bottom: 2px solid #8A9A5B; /* Accent Color */
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background-color: #8A9A5B; /* Accent Color */
    color: #FAF8F5; /* Button Text */
    border: 1px solid #8A9A5B;
}

.btn-primary:hover {
    background-color: #79884a; /* Darker Accent */
    border-color: #79884a;
    transform: scale(1.03);
}

.nav-btn {
    padding: 0.6rem 1.5rem; /* Slightly smaller for nav */
}

.nav-btn:hover {
    border-bottom: none; /* Remove underline hover for button */
}

/* Link Arrow Style */
.link-arrow {
    color: #8A9A5B; /* Accent Color */
    font-weight: 500;
    display: inline-block;
    margin: 0.5rem 1rem;
    transition: transform 0.3s ease;
}

.link-arrow:hover {
    text-decoration: underline;
    transform: translateX(5px);
}

/* Hero Section */
#hero {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* Add background image/video later */
    background-color: #FAF8F5; /* Fallback or base */
    padding-top: 4rem; /* Adjust padding */
    padding-bottom: 4rem;
}

#hero h1 {
    margin-bottom: 1rem;
}

#hero .subheadline {
    font-size: 1.3rem;
    color: #A09C93; /* Warm Grey */
    margin-bottom: 1.5rem;
    font-weight: 400;
}

#hero .btn {
    margin-top: 1.5rem;
}

#hero .cta-subtext {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #A09C93; /* Warm Grey */
}

/* Why Section */
#why .container {
    max-width: 800px; /* Narrower container for text focus */
}

/* System Section */
#system .container {
    max-width: 800px;
}

/* Program Section */
#program .program-details {
    display: flex;
    justify-content: space-around;
    text-align: left;
    margin-top: 3rem;
    margin-bottom: 3rem;
    gap: 3rem;
}

#program .includes ul {
    list-style: none; /* Remove default bullets */
    padding-left: 0;
}

#program .includes li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.1rem;
    font-weight: 300;
}

#program .includes li::before {
    content: '•'; /* Custom bullet */
    color: #8A9A5B; /* Accent Color */
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1.5em;
    position: absolute;
    top: 1px;
}

#program .structure p {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    font-weight: 300;
}

#program .structure span {
    font-weight: 600;
    color: #4E4B42;
    display: inline-block;
    min-width: 50px; /* Align the text */
}

#program .program-ctas {
    margin-top: 2rem;
}

/* Spaces Section */
#spaces .spaces-ctas {
    margin-top: 2rem;
}
/* Add styles for image gallery/carousel later */

/* App Section */
#app .container {
    display: flex;
    align-items: center;
    gap: 4rem;
    text-align: left;
    max-width: 900px;
}

#app .app-content {
    flex: 1;
}
/* Add styles for app mockup image later */

/* Journal Section */
#journal .container {
    display: flex;
    align-items: center;
    gap: 4rem;
    text-align: left;
    max-width: 900px;
}

#journal .journal-content {
    flex: 1;
}
/* Add styles for founder image later */

/* Collective Section */
#collective .container {
    max-width: 800px;
}

#collective .collective-ctas {
    margin-top: 2rem;
}

#collective .collective-ctas .btn {
    margin-right: 1rem;
}

/* Final Invite Section */
#final-invite {
    background-color: #f5f2ef; /* Slightly different shade for emphasis */
}

#final-invite .container {
    max-width: 700px;
}

#final-invite h2 {
    margin-bottom: 1rem;
}

#final-invite .btn {
    margin-top: 1.5rem;
}

#final-invite .cta-subtext {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #A09C93; /* Warm Grey */
}

/* Footer */
footer {
    background-color: #FAF8F5;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(160, 156, 147, 0.2);
}

footer p {
    font-size: 0.9rem;
    color: #A09C93; /* Warm Grey */
    margin-bottom: 0;
}

footer a {
    color: #A09C93; /* Warm Grey */
    text-decoration: underline;
}

footer a:hover {
    color: #8A9A5B; /* Accent Color */
}

/* Responsive Design will be added in the next step */




/* Responsive Design */

/* Medium Devices (Tablets, less than 992px) */
@media (max-width: 991.98px) {
    h1 {
        font-size: 3rem;
    }
    h2 {
        font-size: 2.4rem;
    }
    .container {
        width: 95%;
    }
    #main-header .container {
        flex-direction: column;
        align-items: center;
    }
    #main-header .logo {
        margin-bottom: 1rem;
    }
    #main-header nav ul {
        justify-content: center;
        flex-wrap: wrap; /* Allow nav items to wrap */
        padding-left: 0;
    }
    #main-header nav ul li {
        margin: 0.5rem 1rem; /* Adjust spacing for wrapped items */
    }
    #program .program-details {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }
    #program .includes, #program .structure {
        width: 100%;
        max-width: 500px; /* Limit width on tablets */
        text-align: left; /* Keep text left aligned within centered block */
    }
    #app .container, #journal .container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    #app .app-content, #journal .journal-content {
        text-align: center;
    }
    /* Add placeholders for image adjustments if needed */
}

/* Small Devices (Landscape Phones, less than 768px) */
@media (max-width: 767.98px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    h3 {
        font-size: 1.6rem;
    }
    p, #program .includes li, #program .structure p {
        font-size: 1rem;
    }
    section {
        padding: 4rem 0;
    }
    #main-header nav ul li {
        margin: 0.5rem 0.8rem;
    }
    #main-header nav ul li a {
        font-size: 0.9rem;
    }
    .nav-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    #hero {
        min-height: 70vh;
    }
    #hero .subheadline {
        font-size: 1.1rem;
    }
    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    #collective .collective-ctas {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    #collective .collective-ctas .btn {
        margin-right: 0;
        width: 80%;
        max-width: 300px;
    }
    #collective .collective-ctas .link-arrow {
         margin-top: 0.5rem;
    }
    footer p {
        font-size: 0.8rem;
    }
}

/* Extra Small Devices (Portrait Phones, less than 576px) */
@media (max-width: 575.98px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    #main-header {
        padding: 1rem 0;
        position: static; /* Consider making header static on very small screens */
    }
    #main-header .container {
        flex-direction: column;
    }
    #main-header .logo {
        margin-bottom: 1rem;
    }
    #main-header nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    #main-header nav ul li {
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
    }
    #main-header nav ul li a {
        display: block; /* Make links take full width */
        padding: 0.5rem 0;
        border-bottom: none; /* Remove border hover effect */
    }
    #main-header nav ul li a:hover {
        background-color: rgba(138, 154, 91, 0.1); /* Subtle hover background */
    }
    .nav-btn {
        width: 80%;
        margin-top: 0.5rem;
    }
    #hero {
        padding-top: 2rem;
        padding-bottom: 2rem;
        min-height: auto;
    }
    #hero .subheadline {
        font-size: 1rem;
    }
    .container {
        padding: 0 15px;
    }
    section {
        padding: 3rem 0;
    }
    #program .program-details {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    #program .includes li::before {
        /* Adjust position if needed */
    }
    .link-arrow {
        display: block; /* Stack links vertically */
        margin: 0.8rem auto;
    }
    #app .container, #journal .container {
        gap: 1.5rem;
    }
    #final-invite .cta-subtext {
        font-size: 0.8rem;
    }
}

