/* ========================================
   3D Claymorphism Design System (Premium)
   Add this AFTER main.css in header.php
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Jua&family=Outfit:wght@400;600;800&family=Gaegu:wght@400;700&display=swap');

/* NEW 3D-Style Variables */
:root {
    --shadow-clay:
        10px 10px 20px rgba(166, 180, 200, 0.4),
        -10px -10px 20px rgba(255, 255, 255, 0.9);
    --shadow-clay-hover:
        15px 15px 30px rgba(166, 180, 200, 0.45),
        -15px -15px 30px rgba(255, 255, 255, 1);
    --shadow-clay-inset:
        inset 6px 6px 12px rgba(166, 180, 200, 0.25),
        inset -6px -6px 12px rgba(255, 255, 255, 0.8);
    --shadow-float:
        0 20px 50px rgba(138, 193, 216, 0.4);

    --radius-xl: 40px;
    --radius-lg: 30px;

    /* Premium Pastel Palette */
    --color-mint: #98F6E4;
    --color-lavender: #DCD3FF;
    --color-coral: #FF9EAA;
    --color-lemon: #FFE58F;
    --color-sky: #8AC1D8;
    --color-cream: #FFF6D6;
}

/* ========================================
   Global Enhancements
   ======================================== */

body {
    background: linear-gradient(-45deg, #fff6d6, #ffd6d1, #e4eff6, #f9f3ff);
    background-size: 400% 400%;
    animation: aurora 15s ease infinite;
}

@keyframes aurora {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

h1,
h2,
h3 {
    font-family: 'Jua', sans-serif;
    letter-spacing: -0.02em;
}

/* ========================================
   Floating Header Style
   ======================================== */

.header {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 25px rgba(138, 193, 216, 0.12) !important;
}

.nav-menu a {
    font-family: 'Jua', sans-serif;
}

/* ========================================
   Clay Utility Classes
   ======================================== */

.clay-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-clay);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.clay-button {
    background: linear-gradient(145deg, var(--color-sky), #6eb6d6);
    color: white;
    border: none;
    border-radius: 999px;
    padding: 1rem 2.5rem;
    font-family: 'Jua', sans-serif;
    font-size: 1.3rem;
    box-shadow:
        6px 6px 12px rgba(138, 193, 216, 0.4),
        -6px -6px 12px rgba(255, 255, 255, 0.8),
        inset 2px 2px 4px rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    text-decoration: none;
}

.clay-button:hover {
    transform: translateY(-5px);
    box-shadow:
        8px 8px 16px rgba(138, 193, 216, 0.5),
        -8px -8px 16px rgba(255, 255, 255, 0.9);
    color: white;
}

.clay-button:active {
    box-shadow: var(--shadow-clay-inset);
    transform: translateY(0) scale(0.98);
}

.clay-button--mint {
    background: linear-gradient(145deg, #B8FFF0, var(--color-mint));
    color: #2c5c52;
}

.clay-button--coral {
    background: linear-gradient(145deg, #FFB8B0, var(--color-coral));
    color: #7a2e36;
}

.clay-button--lemon {
    background: linear-gradient(145deg, #FFF0B8, var(--color-lemon));
    color: #7a6b2e;
}

/* ========================================
   Hero Section Premium 3D
   ======================================== */

.hero-3d {
    padding: 6rem 1.5rem 5rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-3d .hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}

.hero-3d h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #506578 0%, #8ac1d8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(2px 2px 0px rgba(255, 255, 255, 0.5));
}

.hero-3d p {
    font-size: 1.2rem;
    color: var(--color-muted-strong);
    margin-bottom: 2rem;
    font-family: 'Gaegu', cursive;
    font-weight: 700;
}

.hero-3d .hero-image {
    position: relative;
}

.hero-3d .hero-image img {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    box-shadow: var(--shadow-float);
    border: 6px solid rgba(255, 255, 255, 0.8);
    animation: morph 8s ease-in-out infinite;
    width: 100%;
    max-width: 500px;
}

@keyframes morph {
    0% {
        border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    100% {
        border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
    }
}

/* ========================================
   Wave Dividers
   ======================================== */

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(138% + 1.3px);
    height: 80px;
}

.wave-divider .shape-fill {
    fill: #FFFFFF;
}

/* ========================================
   Feature Cards Premium
   ======================================== */

.feature-grid {
    gap: 2rem;
}

.feature-card.clay-card {
    background: linear-gradient(160deg, #ffffff 0%, #f0f7fa 100%);
    padding: 2rem 1.5rem;
    text-align: center;
}

.feature-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    box-shadow:
        5px 5px 10px rgba(166, 180, 200, 0.3),
        -5px -5px 10px rgba(255, 255, 255, 0.8);
    border: 3px solid white;
    padding: 8px;
    background: #fff;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-card-icon {
    transform: rotate(10deg) scale(1.1);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--color-text);
}

/* ========================================
   Badges & Chips
   ======================================== */

.hero-tag {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 10px rgba(138, 193, 216, 0.2);
    color: var(--color-muted-strong);
    font-family: 'Jua', sans-serif;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    display: inline-block;
}

/* ========================================
   Responsive Adjustments
   ======================================== */

@media (max-width: 900px) {
    .hero-3d .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-3d h1 {
        font-size: 2.5rem;
    }

    .cta-group {
        justify-content: center;
    }
}