/*
Theme Name: FIKOM - Magister Ilmu Komunikasi
Theme URI: https://fikom.ac.id/magister
Author: FIKOM Team
Author URI: https://fikom.ac.id
Description: Tema modern WordPress untuk Magister Fakultas Ilmu Komunikasi dengan desain Ultra Modern. Dilengkapi dengan desain responsif, keamanan tinggi. Didesain khusus untuk institusi pendidikan tinggi dengan warna profesional - Emerald Green dan Turmeric Gold.
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
Version: 2.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fikom
Tags: custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, threaded-comments, translation-ready, education, university
*/

/* ============================================
   CUSTOM PROPERTIES & RESET
   ============================================ */

:root {
    --turmeric: #E5A100;
    --emerald: #0B633A;
    --darkGrey: #1A1A1A;
    --lightGrey: #C0C1CF;
    --accent: #F3F4F6;
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1A1A1A;
    background-color: #FAFAFA;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 1rem;
    color: #1A1A1A;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.5px; }

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

a {
    color: #0B633A;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #E5A100;
}

/* Focus Styles for Accessibility */
*:focus {
    outline: 2px solid #E5A100;
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

/* ============================================
   TAILWIND INTEGRATION STYLES
   ============================================ */

/* Heading Font */
.heading-font {
    font-family: 'Space Grotesk', sans-serif;
}

/* Body Font */
.font-outfit {
    font-family: 'Outfit', sans-serif;
}

/* Glassmorphism Card */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Glass Navigation */
.glass-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Bento Item Animation */
.bento-item {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bento-item:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(to right, #0B633A, #E5A100);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #0B633A;
    border-radius: 10px;
}

/* ============================================
   WORDPRESS CORE CLASSES
   ============================================ */

.wp-block-navigation .wp-block-navigation-item__content {
    padding: 0.5rem 1rem;
}

.wp-block-button__link {
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Custom Logo Support */
.custom-logo-link img {
    height: 40px;
    width: auto;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* ============================================
   SKIP LINK
   ============================================ */

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #0B633A;
    color: white;
    padding: 8px 16px;
    z-index: 100;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* ============================================
   MOBILE MENU
   ============================================ */

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

@media (max-width: 1023px) {
    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        display: none;
    }
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
.glass-nav:not(#navbar-container) {
    border-radius: 1.5rem !important;
}

    .bento-item {
        min-height: 200px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    body {
        font-size: 12pt;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    .no-print {
        display: none !important;
    }

    .glass-nav,
    .bento-item,
    .glass-card:not(#navbar-container) {
        box-shadow: none !important;
        backdrop-filter: none !important;
    }
}
