/*
Theme Name: KAMuses
Theme URI: https://kamuses.co.za
Author: Cindy
Description: Strategic Communications Consultancy landing page with ACF integration
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kamuses
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Lexend", sans-serif;
    background: #000;
    color: #fff;
    min-height: 100vh;
    max-width: 100vw;
    overflow: hidden;
}

.container {
    height: 100vh;
    width: 100vw;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    overflow-x: hidden;
}

/* Left Side - Black with Purple accent */
.left-side {
    background: linear-gradient(135deg, #000 0%, #1a0a2e 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 3rem;
    position: relative;
}

/* Right Side - Deep Purple */
.right-side {
    background: #4A2362;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 2.5rem;
    position: relative;
}

/* Animated circles */
.circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: #E6007E;
    bottom: -100px;
    right: -100px;
    animation-delay: 0s;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: #4A2362;
    top: 26px;
    left: -50px;
    animation-delay: 5s;
}

.circle-3 {
    width: 250px;
    height: 250px;
    background: rgba(198, 255, 0, 0.08);
    top: 10%;
    right: -80px;
    animation-delay: 2s;
}

.circle-4 {
    width: 200px;
    height: 200px;
    background: rgba(230, 0, 126, 0.15);
    bottom: 15%;
    right: 10%;
    animation-delay: 7s;
}

a.button { 
    padding: 1rem 2rem; 
    border-radius: 8px; 
    width: fit-content; 
    text-decoration: none; 
    color: #000; 
    cursor: pointer; 
    z-index: 999;  
    animation: fadeIn 1s ease-out 1.2s both; 
    font-weight: 800;
    font-size: clamp(0.9rem, 1.4vw, 1.05rem);
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #C6FF00 0%, #a8d900 100%); 
    position: relative; 
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(198, 255, 0, 0.3);
    text-transform: uppercase;
}

a.button:hover { 
    background: linear-gradient(135deg, #a8d900 0%, #C6FF00 100%); 
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(198, 255, 0, 0.5);
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(40px, 40px) rotate(180deg);
    }
}

.logo {
    max-width: 550px;
    width: 95%;
    margin-bottom: 3rem;
    animation: fadeIn 1s ease-out;
}

.tagline {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 800;
    text-align: left;
    line-height: 1.3;
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-out 0.3s both;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
    font-weight: 600;
    text-align: left;
    line-height: 1.4;
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-out 0.6s both;
    color: #C6FF00;
}

.intro {
    font-size: clamp(1rem, 1.7vw, 1.2rem);
    text-align: left;
    line-height: 1.7;
    max-width: 650px;
    animation: fadeIn 1s ease-out 0.9s both;
    opacity: 0.92;
    margin-bottom: 2.5rem;
}

.intro strong {
    color: #E6007E;
    font-weight: 700;
}

/* Stats Section - Top of Right Side */
.stats-section {
    animation: fadeIn 1s ease-out 0.6s both;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid rgba(198, 255, 0, 0.3);
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 900;
    color: #C6FF00;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: clamp(0.85rem, 1.3vw, 1rem);
    font-weight: 600;
    opacity: 0.9;
}

/* Content Section - Bottom of Right Side */
.content-section {
    animation: fadeIn 1s ease-out 0.9s both;
}

.differentiator {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #E6007E;
    backdrop-filter: blur(10px);
    margin-bottom: 1.5rem;
}

.differentiator h3 {
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: #E6007E;
}

.differentiator p {
    font-size: clamp(0.9rem, 1.4vw, 1.05rem);
    line-height: 1.6;
    opacity: 0.92;
}

.principles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.principle-tag {
    background: rgba(198, 255, 0, 0.2);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: clamp(0.8rem, 1.3vw, 0.95rem);
    font-weight: 700;
    border: 1px solid rgba(198, 255, 0, 0.4);
    transition: all 0.3s ease;
}

.principle-tag:hover {
    background: rgba(198, 255, 0, 0.35);
    transform: translateY(-2px);
}

.waitlist-badge {
    display: inline-block;
    background: rgba(230, 0, 126, 0.3);
    color: #E6007E;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: clamp(0.75rem, 1.2vw, 0.9rem);
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 2px solid #E6007E;
    margin-bottom: 1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .container {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        height: auto;
        overflow-y: auto;
    }

    body {
        overflow-y: auto;
        overflow-x: hidden;
    }

    .left-side, .right-side {
        padding: 2.5rem 2rem;
        min-height: 50vh;
    }

    .logo {
        max-width: 450px;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .differentiator {
        padding: 1.5rem;
    }

    .left-side, .right-side {
        padding: 2rem 1.5rem;
    }
}

/* Override body overflow for regular pages */
body.page:not(.page-template-template-landing) {
    overflow: auto;
    background: #000;
}

.page-main {
    min-height: 100vh;
    padding: 3rem 0 5rem;
    background: linear-gradient(160deg, #000 0%, #1a0a2e 50%, #000 100%);
}

.page-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 2rem;
}

.page-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid #C6FF00;
}

.page-title {
    font-family: "Lexend", sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: #C6FF00;
    line-height: 1.2;
    letter-spacing: -0.02em;
    animation: fadeIn 0.6s ease-out both;
}

.page-body {
    animation: fadeIn 0.6s ease-out 0.2s both;
}

.entry-content p {
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
}

.entry-content h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: #E6007E;
    margin: 2.5rem 0 1rem;
}

.entry-content h3 {
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    font-weight: 700;
    color: #C6FF00;
    margin: 2rem 0 0.75rem;
}

.entry-content h4, .entry-content h5, .entry-content h6 {
    font-weight: 700;
    color: #fff;
    margin: 1.5rem 0 0.5rem;
}

.entry-content ul, .entry-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.9);
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);
    line-height: 1.8;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content ul li::marker {
    color: #C6FF00;
}

.entry-content a {
    color: #C6FF00;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.entry-content a:hover {
    color: #E6007E;
}

.entry-content strong {
    color: #fff;
    font-weight: 700;
}

.entry-content em {
    color: rgba(255,255,255,0.75);
}

.entry-content blockquote {
    border-left: 4px solid #E6007E;
    background: rgba(74,35,98,0.35);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: rgba(255,255,255,0.85);
}

.entry-content blockquote p {
    margin-bottom: 0;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.entry-content hr {
    border: none;
    border-top: 1px solid rgba(198,255,0,0.25);
    margin: 2.5rem 0;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
}

.entry-content th {
    background: #4A2362;
    color: #C6FF00;
    font-weight: 700;
    padding: 0.75rem 1rem;
    text-align: left;
    border: 1px solid rgba(198,255,0,0.2);
}

.entry-content td {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.85);
    vertical-align: top;
}

.entry-content tr:nth-child(even) td {
    background: rgba(74,35,98,0.2);
}

.page-links {
    margin-top: 2rem;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
}

.page-links a {
    color: #C6FF00;
    text-decoration: none;
    padding: 0.3rem 0.6rem;
    border: 1px solid rgba(198,255,0,0.4);
    border-radius: 4px;
    margin: 0 0.25rem;
    transition: all 0.2s ease;
}

.page-links a:hover {
    background: rgba(198,255,0,0.15);
}
