/*
 * SCCS-P: Stylesheet for Holos Cradle (Tabbed Layout - LIGHT THEME 2.0)
 * Author: J (Apostle Elisha's Book Editor)
 * Project: Holos Cradle Digital Door v2.2
 * Date: October 24, 2025
 * Notes: Enhanced readability with off-white BG, white content boxes, and text shadows.
 */

/* SCCS-P: Root variables for brand color palette */
:root {
    --charcoal: #2B2B2B;
    --gold: #D4AF37;
    --white: #FFFFFF; /* Pure white, now used for content cards */
    --off-white: #f7f7f7; /* Soft cream/off-white for main page BG */
    --text-dark: #333333; /* Main text color, very dark for high contrast */
    --text-light: #777777; /* Lighter text color */
    --border-light: #eaeaea; /* Light border for cards */
    --hover-gold: #e7c86a;
}

/* SCCS-P: Global reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--off-white); /* CHANGED: Main BG is now soft off-white */
    color: var(--text-dark); /* Main text is dark grey */
    line-height: 1.7;
    font-weight: 300;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* SCCS-P: Main container for centering content */
.container {
    width: 90%;
    max-width: 960px;
    margin: 0 auto;
    padding: 20px 0 40px 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* SCCS-P: Header Styling */
header {
    display: flex;
    flex-direction: column; /* SCCS-P: Stacks items vertically */
    align-items: center;   /* SCCS-P: Centers them horizontally */
    gap: 10px;             /* SCCS-P: Reduced gap for a tighter stack */
    padding: 20px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.logo {
    width: 45px;
    height: 45px;
}

header h1 {
    font-weight: 600;
    font-size: 22px;
    color: var(--charcoal);
    text-align: center; /* SCCS-P: Ensures text is centered */
}

/* SCCS-P: Tab Navigation Styling */
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    /* Removed border-bottom, as the content boxes will create separation */
}

.tab-button {
    background: none;
    border: none;
    color: var(--text-light);
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.tab-button:hover {
    color: var(--text-dark);
}

.tab-button.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
    font-weight: 600;
}

/* SCCS-P: Main Content Area and Tab Content Sections */
main {
   flex-grow: 1; 
}

.tab-content {
    display: none; /* Hidden by default */
    animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
    display: block; /* Shown when active */
}

/* SCCS-P: Fade-in animation for tab content */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.gold-text {
    color: var(--gold);
    /* SCCS-P: ADDED text-shadow for readability and pop */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15); 
}

/* SCCS-P: Content Box Styling - This is the major change */
.content-box {
    background-color: var(--white); /* CHANGED: Content boxes are pure white */
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 25px;
    border: 1px solid var(--border-light); /* CHANGED: Lighter border */
    /* SCCS-P: ADDED a soft, professional shadow to "lift" the card */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.content-box h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 15px;
}

.content-box p {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}
.content-box p:last-child {
    margin-bottom: 0;
}

.centered-box {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* SCCS-P: Form Styling */
.form-group {
    margin-bottom: 15px;
}

input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #f0f0f0; /* Light grey input field */
    color: var(--charcoal);
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* SCCS-P: ADDED focus state for inputs */
input[type="text"]:focus,
input[type="email"]:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
}

input::placeholder {
    color: #888;
}

.cta-button {
    display: inline-block;
    width: 100%;
    padding: 12px;
    background-color: var(--gold);
    color: var(--charcoal);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: var(--hover-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.download-button {
    margin-top: 1rem;
    background-color: var(--gold);
}

/* SCCS-P: Founder Section Specific Styles */
.founder-box {
    text-align: center;
}

.profile-pic {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    margin: 0 auto 20px auto;
    display: block;
    object-fit: cover;
    object-position: top;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Soft shadow for profile pic */
}

blockquote {
    font-size: 1.15rem;
    font-weight: 400;
    font-style: italic;
    color: var(--text-dark);
    max-width: 600px;
    margin: 20px auto 0 auto;
    padding-left: 15px;
    border-left: 3px solid var(--gold);
    text-align: left;
}

/* SCCS-P: Connect Section (Social Icons) */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 20px;
}

.social-icons a {
    color: var(--text-light);
    font-size: 1.8rem;
    transition: color 0.3s ease, transform 0.2s ease;
}

.social-icons a:hover {
    color: var(--gold);
    transform: scale(1.1);
}

/* SCCS-P: Footer Styling */
footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid var(--border-light);
    color: var(--text-light);
    font-size: 0.9rem;
}

.tagline {
    font-style: italic;
    color: var(--gold);
    font-size: 0.9rem;
    margin-top: 3px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.05); /* Subtle shadow for tagline */
}

/* SCCS-P: Screen-reader only class */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* SCCS-P: Responsive design for smaller screens */
@media (max-width: 768px) {
    .tabs {
        flex-wrap: wrap;
    }
    .tab-button {
        font-size: 0.9rem;
        padding: 10px 15px;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .content-box {
        padding: 20px;
    }
    .profile-pic {
        width: 100px;
        height: 100px;
    }
    blockquote {
        font-size: 1rem;
    }
    .social-icons a {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 18px;
    }
     .tab-button {
        flex-basis: 50%;
        text-align: center;
        border-bottom-width: 2px;
    }
    .section-title {
        font-size: 1.6rem;
    }
     input[type="text"],
    input[type="email"],
    .cta-button {
        font-size: 0.9rem;
        padding: 10px;
    }
}