/*
Theme Name: Linas Portfolio
Theme URI: https://yourwebsite.com
Author: Linas Aninkevičius
Author URI: https://yourwebsite.com
Description: Professional portfolio theme with modern design, SEO optimization, and performance best practices. Features dark/light mode, smooth animations, and security hardening.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: linas-portfolio
Tags: portfolio, one-page, custom-header, custom-menu, featured-images, theme-options, translation-ready, dark-mode
*/

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

:root {
    /* Sleek Dark Theme - Modern & Sophisticated */
    --primary-color: #3b82f6;
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --gradient-start: #3b82f6;
    --gradient-end: #8b5cf6;
    --text-dark: #f8fafc;
    --text-light: #cbd5e1;
    --text-muted: #64748b;
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --bg-card: #1e293b;
    --bg-graphene: #0a101f;
    --nav-bg: rgba(2, 6, 23, 0.8);
    --border-color: rgba(59, 130, 246, 0.1);
    --modal-backdrop: rgba(0, 0, 0, 0.85);
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    --shadow-lg: 0 25px 80px -15px rgba(0, 0, 0, 0.9);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.15);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Light Theme */
[data-theme="light"] {
    --primary-color: #3b82f6;
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --gradient-start: #3b82f6;
    --gradient-end: #8b5cf6;
    --text-dark: #0f172a;
    --text-light: #475569;
    --text-muted: #94a3b8;
    --bg-dark: #f8fafc;
    --bg-darker: #ffffff;
    --bg-card: #ffffff;
    --bg-graphene: #f1f5f9;
    --nav-bg: rgba(255, 255, 255, 0.85);
    --border-color: rgba(59, 130, 246, 0.15);
    --modal-backdrop: rgba(15, 23, 42, 0.75);
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 25px 80px -15px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.2);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--bg-darker);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Hierarchy */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 4vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

p {
    font-size: 1rem;
    line-height: 1.75;
    font-weight: 400;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Styles */
section {
    padding: 100px 20px;
    position: relative;
    z-index: 1;
    transition: background 0.3s ease;
    overflow: visible;
}

section::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg,
            transparent,
            rgba(222, 20, 77, 0.15),
            var(--gradient-start),
            var(--gradient-end),
            rgba(148, 163, 184, 0.15),
            transparent);
    opacity: 0.6;
    box-shadow: 0 0 20px rgba(222, 20, 77, 0.2);
}

section:first-of-type::before {
    display: none;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    margin-top: 1.5rem;
}
