/* ============  VARIABLES  ============ */
:root {
    /* Core Analog Palette */
    --color-primary: #4f46e5;      /* Indigo (base)            */
    --color-primary-light: #6366f1;/* Lighter Indigo (hover)   */
    --color-secondary: #6d28d9;    /* Violet (analog)          */
    --color-accent: #3b82f6;       /* Blue (analog)            */

    /* Neomorphism Surfaces */
    --color-surface: #eef2f6;
    --color-surface-dark: #dfe6ee;

    /* Typography & Text */
    --color-heading: #222222;
    --color-text: #333333;
    --color-white: #ffffff;

    /* Shadows & Radius */
    --radius-lg: 16px;
    --radius-md: 12px;
    --shadow-neomorph: 6px 6px 14px rgba(0, 0, 0, 0.10),
                       -6px -6px 14px rgba(255, 255, 255, 0.70);

    /* Gradients / Overlays */
    --gradient-overlay: linear-gradient(
        rgba(0, 0, 0, 0.55),
        rgba(0, 0, 0, 0.55)
    );

    /* Transitions */
    --transition-base: all 0.35s ease-in-out;
}

/* ============  GLOBAL RESETS  ============ */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'IBM Plex Sans', sans-serif;
    color: var(--color-text);
    background-color: var(--color-surface);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    color: var(--color-heading);
    line-height: 1.25;
}

/* ============  UTILITIES  ============ */
.text-shadow-md {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.transition-base {
    transition: var(--transition-base);
}

/* ============  BUTTONS  ============ */
.btn,
button,
input[type='submit'] {
    display: inline-block;
    padding: 0.75rem 2.5rem;
    border-radius: 9999px;
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
    box-shadow: var(--shadow-neomorph);
    transition: var(--transition-base);
}
.btn:hover,
button:hover,
input[type='submit']:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}
.btn:active,
button:active,
input[type='submit']:active {
    transform: translateY(0);
    box-shadow: var(--shadow-neomorph);
}

/* ============  CARDS & GENERIC ITEMS  ============ */
.card,
.item,
.testimonial,
.team-member,
.product-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-neomorph);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition-base);
}
.card:hover,
.item:hover,
.testimonial:hover,
.team-member:hover,
.product-card:hover {
    transform: translateY(-4px);
}

/* Centered Image Wrapper */
.image-container,
.card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}
.image-container img,
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0 auto;
}

/* ============  HERO SECTION  ============ */
#hero {
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
    background-image: var(--gradient-overlay);
}
#hero h1,
#hero p {
    color: var(--color-white);
}

/* ============  NAVIGATION  ============ */
header {
    backdrop-filter: blur(8px);
}
#navMenu a,
#mobileMenu a {
    position: relative;
}
#navMenu a::after,
#mobileMenu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-base);
}
#navMenu a:hover::after,
#mobileMenu a:hover::after {
    width: 100%;
}

/* ============  READ MORE LINKS  ============ */
.link-more {
    color: var(--color-primary);
    font-weight: 600;
    position: relative;
    transition: var(--transition-base);
}
.link-more::after {
    content: '→';
    margin-left: 8px;
    transition: var(--transition-base);
}
.link-more:hover {
    color: var(--color-accent);
}
.link-more:hover::after {
    margin-left: 12px;
}

/* ============  SECTIONS  ============ */
section {
    position: relative;
}
section[data-prompt]::before {
    /* subtle paper texture overlay for hyper-real feel */
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('image/texture-light.jpg');
    background-size: 400px 400px;
    opacity: 0.05;
    pointer-events: none;
}

/* ============  WORKSHOP CAROUSEL  ============ */
#workshops .card {
    flex-direction: column;
}
#workshops button {
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
#workshops button:hover {
    background: var(--color-secondary);
}

/* ============  FAQ  ============ */
details[open] summary {
    color: var(--color-primary);
}
details summary {
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-base);
}
details summary:hover {
    color: var(--color-accent);
}

/* ============  FOOTER  ============ */
footer {
    font-size: 0.95rem;
}
footer a {
    color: var(--color-text);
    transition: var(--transition-base);
}
footer a:hover {
    color: var(--color-primary);
}
footer ul {
    list-style: none;
    padding: 0;
}
footer ul li {
    margin-bottom: 4px;
}

/* Social Links Styling */
footer ul li a[href*="facebook"],
footer ul li a[href*="instagram"],
footer ul li a[href*="x.com"],
footer ul li a[href*="twitter"] {
    position: relative;
    padding-left: 26px;
}
footer ul li a[href*="facebook"]::before,
footer ul li a[href*="instagram"]::before,
footer ul li a[href*="x.com"]::before,
footer ul li a[href*="twitter"]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    background-size: 18px 18px;
    background-repeat: no-repeat;
}
footer ul li a[href*="facebook"]::before { background-image: url('image/icon-facebook.jpg'); }
footer ul li a[href*="instagram"]::before { background-image: url('image/icon-instagram.jpg'); }
footer ul li a[href*="x.com"],
footer ul li a[href*="twitter"]::before { background-image: url('image/icon-twitter.jpg'); }

/* ============  COOKIE POPUP  ============ */
#cookiePopup button {
    border-radius: var(--radius-md);
}

/* ============  SUCCESS PAGE  ============ */
body.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.success-message {
    background: var(--color-surface);
    padding: 3rem 4rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-neomorph);
    text-align: center;
}

/* ============  STATIC PAGES OFFSET  ============ */
body.legal-page main {
    padding-top: 100px; /* privacy.html & terms.html */
}

/* ============  MEDIA QUERIES  ============ */
@media (max-width: 640px) {
    .image-container,
    .card-image {
        height: 200px;
    }
}

@media (min-width: 1280px) {
    .image-container,
    .card-image {
        height: 280px;
    }
}
#menuBtn{
    display: none;
}