/*
Theme Name: RIKAI Marketing Website
Theme URI: https://rikai.technology
Author: RIKAI Development Team (Nobi Nguyen)
Author URI: https://rikai.technology
Description: Corporate marketing website theme for a technology / AI company. Features modern design with Bootstrap 5, Custom Post Types, ACF integration, and component-based architecture.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rikai-marketing
Tags: business, corporate, technology, AI, custom-post-types, bootstrap
*/

/* ==========================================================================
   GLOBAL STYLES
   ========================================================================== */

:root {
    --primary-color: #008fd5;
    --primary-color-dark: #1f659a;
    --secondary-color: #00d9ff;
    --secondary-color-light: #87d3ff;
    --secondary-color-lightest: #e6f2fa;
    --third-color: #e6f1f9;
    --dark-color: #1a1a1a;
    --dark-color-light: #f0f0f0;
    --light-color: #f8f9fa;
    --primary-text-color: #333333;
    --muted-text-color: #666666;
    --primary-border-color: #87d4ff;
    --secondary-border-color: #a6a6a6;
    --third-border-color: #cccccc;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --font-family-base:
        "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans",
        Meiryo, sans-serif;
    --font-family-heading:
        "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans",
        Meiryo, sans-serif;
    --transition-base: all 0.3s ease;
    --filter-drop-shadow: drop-shadow(0px 0px 5px #e6e6e6);

    --dev-process-bg-blue-light: #5ac4c1;
    --dev-process-bg-blue: #0095e8;
    --dev-process-bg-blue-deep: #005179;
    --letter-spacing-wide: 2px;
}

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

body {
    font-family: var(--font-family-base);
    color: var(--primary-text-color);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 {
    font-size: 3rem;
}
h2 {
    font-size: 2.5rem;
}
h3 {
    font-size: 2rem;
}
h4 {
    font-size: 1.5rem;
}
h5 {
    font-size: 1.25rem;
}
h6 {
    font-size: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-base);
}

a:hover {
    color: var(--secondary-color);
}

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

.text-primary {
    color: var(--primary-color) !important;
}

.text-bold {
    font-weight: 700;
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
    margin-top: -70px; /* Adjust based on header height */
    background: #edf2f5;
    background: linear-gradient(
        180deg,
        rgba(237, 242, 245, 1) 0%,
        rgba(255, 255, 255, 1) 100%
    );
}

/* ==========================================================================
   HEADER
   ========================================================================== */

/* .site-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.site-header .nav-link {
    color: var(--primary-text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition-base);
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
    color: var(--primary-color);
} */

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    background: var(--dark-color);
    color: #ffffff;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.site-footer a {
    color: #ffffff;
}

.site-footer a:hover {
    color: var(--secondary-color);
}

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */

.hero-section {
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--secondary-color) 100%
    );
    color: #ffffff;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    color: #ffffff;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

/* ==========================================================================
   CARDS
   ========================================================================== */

.card {
    border: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition-base);
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    font-weight: 700;
    padding: 15px 40px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary {
    border-color: var(--primary-color);
}
a.btn-outline-primary {
    color: var(--primary-color);
}

.btn-circle {
    border-radius: 27px;
}

.btn-outline-primary:hover,
.btn-primary:hover {
    background-color: var(--primary-color-dark);
    border-color: var(--primary-color-dark);
}

.btn-outline-dark:hover,
a.btn-outline-dark:hover {
    color: #ffffff !important;
}

/* .btn-arrow-right {
    padding-left: 35px;
    padding-right: 75px;
} */
.btn.btn-arrow-right::after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 18px;
    background-image: url("assets/images/btn-arrow-right.svg");
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 20px;
    vertical-align: middle;
}

.btn-outline-dark.btn-arrow-right:hover::after,
a.btn-outline-dark.btn-arrow-right:hover::after {
    background-image: url("assets/images/btn-arrow-right--hover.svg");
}

/* .btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 700;
}

.btn-primary:hover {
    background: var(--primary-color-dark);
    border-color: var(--primary-color-dark);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color) !important;
    border: 1px solid var(--primary-color) !important;
    padding: 0.75rem 2rem;
    font-weight: 700;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff !important;
}

.btn-dark {
    padding: 0.75rem 2rem;
    font-weight: 700;
} */

.btn-300 {
    min-width: 300px;
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */

.text-gradient {
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--secondary-color) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-light-gray {
    background-color: #f8f9fa;
}

.bg-primary-gradient {
    background: linear-gradient(
        180deg,
        rgba(237, 242, 245, 1) 0%,
        rgba(255, 255, 255, 1) 100%
    );
}

.letter-spacing-wide {
    letter-spacing: var(--letter-spacing-wide);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
.d-md-none,
.d-sm-none,
.d-xs-none {
    display: block !important;
}

.d-md-display-block,
.d-sm-display-block,
.d-xs-display-block {
    display: none !important;
}

@media (max-width: 992px) {
    .d-md-none {
        display: none !important;
    }

    .d-md-display-block {
        display: block !important;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.75rem;
    }
    h3 {
        font-size: 1.5rem;
    }

    .hero-section {
        padding: 3rem 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .section {
        padding: 2rem 0;
    }

    .d-sm-none {
        display: none !important;
    }

    .d-sm-display-block {
        display: block !important;
    }
}

@media (max-width: 576px) {
    .btn {
        padding: 15px 15px;
    }

    .d-xs-none {
        display: none !important;
    }

    .d-xs-display-block {
        display: block !important;
    }
}

@media (max-width: 375px) {
    .btn {
        font-size: 14px;
    }
}

/* ==========================================================================
   SCROLLING ANIMATIONS
   ========================================================================== */

.scrolling-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
    will-change: opacity, transform;
}

.scrolling-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}
