/*
Theme Name: Komunitas Investasi
Theme URI: https://komunitasinvestasi.com
Author: William Foeng
Author URI: https://komunitasinvestasi.com
Description: Official WordPress theme untuk komunitasinvestasi.com — landing page komunitas investasi saham. Dikonversi dari Google AI Studio (React/Vite + Tailwind).
Version: 1.0.0
License: Apache-2.0
License URI: https://www.apache.org/licenses/LICENSE-2.0
Text Domain: komunitasinvestasi
Tags: one-page, landing-page, investasi, komunitas
*/

/* ========================================
   CSS Reset & Base
   ======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', 'Times', serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: #000000;
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    text-decoration: underline;
}

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

/* ========================================
   Layout Container
   ======================================== */
.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem 1rem;
    font-size: 1rem;
}

@media (min-width: 640px) {
    .site-wrapper {
        padding: 2rem 3rem;
        font-size: 1.25rem;
    }
}

/* ========================================
   Header
   ======================================== */
.site-header {
    width: 100%;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid #d6d3d1; /* stone-300 */
}

@media (min-width: 640px) {
    .site-header {
        padding-bottom: 1.5rem;
    }
}

.site-header__title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #000000;
    text-transform: uppercase;
    word-break: break-word;
    padding: 0 0.5rem;
    margin-bottom: 0.25rem;
}

@media (min-width: 640px) {
    .site-header__title {
        font-size: 1.875rem;
    }
}

@media (min-width: 768px) {
    .site-header__title {
        font-size: 2.25rem;
    }
}

.site-header__subtitle {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #000000;
}

@media (min-width: 640px) {
    .site-header__subtitle {
        font-size: 1rem;
    }
}

/* ========================================
   Main Content
   ======================================== */
.site-main {
    width: 100%;
    max-width: 36rem; /* max-w-xl */
    margin: auto;
    text-align: center;
    padding: 1.5rem 0.5rem;
}

@media (min-width: 640px) {
    .site-main {
        padding: 2rem 0.5rem;
    }
}

.site-main p {
    margin-bottom: 0.25rem;
}

/* Content Sections */
.content-section {
    margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
    .content-section {
        margin-bottom: 1.5rem;
    }
}

/* ========================================
   Contact Info
   ======================================== */
.contact-section {
    padding-top: 0.5rem;
}

.contact-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.contact-row svg {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

.contact-row svg.icon-whatsapp {
    color: #059669; /* emerald-600 */
}

.contact-row svg.icon-telegram {
    color: #0ea5e9; /* sky-500 */
}

.contact-row a {
    font-weight: 600;
    word-break: break-all;
}

/* ========================================
   Quotes Section
   ======================================== */
.quotes-section {
    padding-top: 1rem;
}

.quotes-section p {
    margin-bottom: 0.25rem;
}

/* ========================================
   Signature Section
   ======================================== */
.signature-section {
    padding-top: 1rem;
}

.signature-name {
    padding-top: 0.5rem;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
    width: 100%;
    padding-top: 1.5rem;
    border-top: 1px solid #d6d3d1; /* stone-300 */
    text-align: center;
    font-size: 0.75rem;
    color: #44403c; /* stone-700 */
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

@media (min-width: 640px) {
    .site-footer {
        font-size: 0.875rem;
    }
}

.site-footer p {
    margin-bottom: 0.25rem;
}

.footer-motto {
    margin-bottom: 0.5rem;
}

.footer-copyrights {
    padding-top: 0.25rem;
}

.footer-copyrights a {
    color: #000000;
    font-weight: 500;
}

.footer-tagline {
    padding-top: 0.5rem;
    font-style: italic;
    margin-bottom: 0;
}

/* ========================================
   WordPress Required Styles
   ======================================== */
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: #78716c;
    text-align: center;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* ========================================
   WordPress Admin Bar Fix
   ======================================== */
body.admin-bar .site-wrapper {
    min-height: calc(100vh - 32px);
}

@media (max-width: 782px) {
    body.admin-bar .site-wrapper {
        min-height: calc(100vh - 46px);
    }
}
