/*
Theme Name: Lumora Digital
Theme URI: https://kcgroup.biz
Author: KC Group
Author URI: https://kcgroup.biz
Description: Premium, high-converting one-page website for a luxury marketing agency in Malaysia.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lumora-digital
*/

/* --- CSS VARIABLES & RESET --- */
:root {
    --color-charcoal: #121212;
    --color-charcoal-light: #1e1e1e;
    --color-white: #fafafa;
    --color-gold: #d4af37;
    --color-gold-light: #f3e5ab;
    --color-pastel: #f4f0ec;
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    --spacing-section: 100px;
    --spacing-element: 24px;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--color-white);
    color: var(--color-charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-element);
}

p {
    margin-bottom: var(--spacing-element);
    color: #555;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- DIVI MODULAR STRUCTURE CLASSES --- */
.section {
    padding: var(--spacing-section) 5%;
    position: relative;
    overflow: hidden;
}

.row {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.col {
    flex: 1;
    min-width: 300px;
}

.col-full {
    flex: 0 0 100%;
}

.module {
    margin-bottom: 30px;
}

/* --- DECORATIVE LAYERS --- */
.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.4;
    animation: float 10s ease-in-out infinite alternate;
}

.blob-gold {
    background: var(--color-gold-light);
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.blob-dark {
    background: var(--color-charcoal-light);
    width: 500px;
    height: 500px;
    bottom: -200px;
    left: -100px;
    opacity: 0.1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(250,250,250,0.9) 0%, rgba(244,240,236,0.4) 100%);
    z-index: 1;
}

/* --- COMPONENTS --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--color-charcoal);
    color: var(--color-white);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background-color: var(--color-gold);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-charcoal);
    border: 1px solid var(--color-charcoal);
}

.btn-secondary:hover {
    background-color: var(--color-charcoal);
    color: var(--color-white);
}

.card {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: var(--transition-smooth);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.02);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--color-gold-light);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--color-pastel);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--color-gold);
}

/* --- SPECIFIC SECTIONS --- */
/* Header */
.header-section {
    padding: 20px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(250,250,250,0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.header-row {
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-family: var(--font-secondary);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-charcoal);
}
.logo span {
    color: var(--color-gold);
}

/* Hero */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}
.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
}
.hero-subtitle {
    font-size: 1.2rem;
    max-width: 500px;
    margin-bottom: 40px;
}
.hero-image-wrapper {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}
.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section Titles */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 60px;
}
.section-subtitle {
    color: var(--color-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}
.section-title {
    font-size: 2.5rem;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    width: 100%;
}

/* Dark Section */
.section-dark {
    background-color: var(--color-charcoal);
    color: var(--color-white);
}
.section-dark h2, .section-dark h3 {
    color: var(--color-white);
}
.section-dark p {
    color: #aaa;
}
.section-dark .card {
    background: var(--color-charcoal-light);
    border-color: rgba(255,255,255,0.05);
}
.section-dark .card:hover {
    border-color: var(--color-gold);
}
.section-dark .icon-wrapper {
    background: rgba(212, 175, 55, 0.1);
}

/* Accordion */
.accordion-item {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 10px;
}
.accordion-header {
    padding: 20px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    font-weight: 600;
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.accordion-content p {
    padding-bottom: 20px;
}
.accordion-icon {
    transition: transform 0.3s ease;
}
.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

/* Footer */
.footer-section {
    background: var(--color-charcoal);
    color: var(--color-white);
    padding: 60px 5% 20px;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #888;
}
.footer-bottom a {
    color: var(--color-gold);
    transition: color 0.3s ease;
}
.footer-bottom a:hover {
    color: #fff;
}

/* --- ANIMATIONS --- */
@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -30px) scale(1.05); }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    .row { flex-direction: column; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
    .btn { width: 100%; text-align: center; margin-bottom: 10px; }
}
