/* ============================================
   NETTOOLS - Custom Stylesheet
   ============================================ */

/* Google Fonts Import - Must be at the top */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;700&display=swap');

:root {
    /* Modern Luxury Theme Colors */
    --bg-color: #000000;
    --accent-color: #d4af37;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    
    /* Legacy variables for compatibility */
    --primary-color: #d4af37;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --dark-color: #000000;
    --light-color: #1a1a1a;
    --gradient-primary: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    --gradient-secondary: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

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

*:not(html):not(body) {
    max-width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
    scroll-behavior: smooth;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.7;
    position: relative;
    width: 100%;
    max-width: 100vw;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

* {
    max-width: 100%;
}

/* Global luxury overlay background (same vibe as hero-overlay) */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 20% 10%, rgba(212, 175, 55, 0.10) 0%, transparent 45%),
        radial-gradient(circle at 80% 60%, rgba(212, 175, 55, 0.08) 0%, transparent 55%),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.10)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
}

/* Ensure site content renders above the global overlay */
body > * {
    position: relative;
    z-index: 1;
}

/* Modern Luxury Headings */
h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-color);
    line-height: 1.3;
}

/* Prevent word breaking for specific words */
.no-break {
    white-space: nowrap;
}

/* Override Bootstrap fw-bold for luxury look */
.fw-bold {
    font-weight: 200 !important;
}

/* Body text styling */
p, li, span, div, a {
    color: var(--text-main);
    font-weight: 300;
}

.lead {
    font-weight: 200;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    background-color: rgba(26, 26, 26, 0.95) !important;
}

.navbar.scrolled {
    background-color: rgba(26, 26, 26, 0.98) !important;
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    color: var(--accent-color) !important;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.navbar-toggler {
    z-index: 1050;
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.5);
    padding: 0.5rem 0.75rem;
    margin-right: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(212, 175, 55, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    font-weight: 300;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-main) !important;
    transition: color 0.3s ease;
    margin: 0 0.5rem;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: var(--bg-color);
    background-image: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(26, 26, 26, 1) 100%);
    display: flex;
    align-items: center;
    overflow: visible;
    padding-top: 80px;
    isolation: isolate; /* ensure overlay stays behind hero content */
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
    z-index: -1; /* never cover hero interactive elements */
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Elegant Geometric Pattern Animation */
.hero-visual-container {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 3;
}

.geometric-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
}

.pattern-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    height: 1px;
    animation: lineMove 8s ease-in-out infinite;
}

.line-1 {
    top: 20%;
    left: -100%;
    width: 60%;
    animation-delay: 0s;
}

.line-2 {
    top: 50%;
    right: -100%;
    width: 50%;
    animation-delay: 2s;
}

.line-3 {
    bottom: 30%;
    left: -100%;
    width: 70%;
    animation-delay: 4s;
}

.line-4 {
    top: 70%;
    right: -100%;
    width: 55%;
    animation-delay: 6s;
}

.pattern-circle {
    position: absolute;
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: circlePulse 6s ease-in-out infinite;
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 15%;
    animation-delay: 2s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    top: 60%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes lineMove {
    0% {
        transform: translateX(0);
        opacity: 0;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: translateX(200%);
        opacity: 0;
    }
}

@keyframes circlePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}

.feature-icons {
    position: relative;
    z-index: 10;
    display: flex;
    gap: 3rem;
    align-items: center;
    justify-content: center;
}

.feature-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 140px;
    padding: 1.5rem 1rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    animation: iconFloat 4s ease-in-out infinite;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.feature-icon-item:link,
.feature-icon-item:visited,
.feature-icon-item:active {
    text-decoration: none;
    color: inherit;
}

.feature-icon-item:nth-child(1) {
    animation-delay: 0s;
}

.feature-icon-item:nth-child(2) {
    animation-delay: 1.3s;
}

.feature-icon-item:nth-child(3) {
    animation-delay: 2.6s;
}

.feature-icon-item i {
    font-size: 3rem;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.feature-label {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-main);
    opacity: 0.9;
    transition: all 0.4s ease;
    text-align: center;
    margin-top: 0.5rem;
}

.feature-icon-item:hover {
    transform: scale(1.1) translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
    background: rgba(0, 0, 0, 0.6);
}

.feature-icon-item:hover i {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px var(--accent-color));
}

.feature-icon-item:hover .feature-label {
    opacity: 1;
    color: var(--accent-color);
    letter-spacing: 2px;
    transform: translateY(-2px);
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(42, 42, 42, 0.9);
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    color: var(--accent-color);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.scroll-to-top:hover {
    background: var(--accent-color);
    color: var(--bg-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

.scroll-to-top.show {
    display: flex;
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
}

/* Skill Cards */
.skill-card {
    background: rgba(42, 42, 42, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    color: var(--text-main);
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
    border-color: var(--accent-color);
}

.skill-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    transition: all 0.3s ease;
}

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

.skill-card h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-color);
}

.skill-card p {
    font-weight: 300;
    color: var(--text-muted);
}

/* Feature Sections */
.feature-section {
    margin-bottom: 8rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
    scroll-margin-top: 100px; /* Extra space for fixed navbar */
}

.feature-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-image {
    position: relative;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-visual {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3) 0%, rgba(212, 175, 55, 0.1) 100%);
    border: 2px solid rgba(212, 175, 55, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: var(--accent-color);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.2);
    animation: pulse 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.feature-visual:hover {
    transform: scale(1.1);
    border-color: var(--accent-color);
    box-shadow: 0 20px 80px rgba(212, 175, 55, 0.4);
}

.feature-visual.security {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-color: rgba(212, 175, 55, 0.5);
}

.feature-visual.finance {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-color: rgba(212, 175, 55, 0.5);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    }
    50% {
        box-shadow: 0 20px 80px rgba(0,0,0,0.5);
    }
}

.feature-content {
    padding: 2rem;
}

.feature-content h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-color);
}

.feature-content p {
    font-weight: 300;
    color: var(--text-main);
}

.feature-list li {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--text-main);
    padding: 0.5rem 0;
    line-height: 1.8;
}

/* About Cards */
.about-card {
    background: rgba(42, 42, 42, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    color: var(--text-main);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    border-color: var(--accent-color);
}

.about-card h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-color);
}

.about-card p {
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Fade In Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 1s ease forwards;
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* AOS-like attributes for scroll animations */
[data-aos] {
    opacity: 0;
    transition: all 0.8s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

/* Contact Form */
.card {
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    background: rgba(42, 42, 42, 0.8);
    color: var(--text-main);
}

.form-control {
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(26, 26, 26, 0.8);
    color: var(--text-main);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-color);
    background: rgba(26, 26, 26, 1);
    color: var(--text-main);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-label {
    font-weight: 300;
    letter-spacing: 1px;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.btn {
    border-radius: 10px;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid var(--accent-color);
    background-color: transparent;
    color: var(--text-main);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    color: var(--accent-color);
    background-color: transparent;
}

.btn-primary {
    border: 1px solid var(--accent-color);
    background-color: transparent;
    color: var(--text-main);
}

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

.btn-outline-light {
    border: 1px solid var(--accent-color);
    background-color: transparent;
    color: var(--text-main);
}

.btn-outline-light:hover {
    background-color: transparent;
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn-lg {
    font-size: 1rem;
    letter-spacing: 2px;
    border: 1px solid var(--accent-color);
    background-color: transparent;
    color: var(--text-main);
}

.btn-lg:hover {
    color: var(--accent-color);
    background-color: transparent;
}

/* Responsive Design */
@media (max-width: 768px) {
    body, html {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    .row {
        margin-left: 0;
        margin-right: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    [class*="col-"] {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
    }
    
    /* Bootstrap gap classes */
    .row.g-4 > * {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    /* Ensure text centering works */
    .text-center,
    .text-center * {
        text-align: center !important;
    }
    
    .navbar {
        width: 100%;
        max-width: 100vw;
        padding-left: 0;
        padding-right: 0;
    }
    
    .navbar .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .navbar-toggler {
        margin-right: 0.5rem;
        z-index: 1050;
    }
    
    .hero-section {
        text-align: center;
        padding-bottom: 8rem;
        padding-top: 100px;
        min-height: auto;
        margin-bottom: 2rem;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .hero-section .row {
        margin-bottom: 4rem;
    }
    
    .hero-section .col-lg-6 {
        margin-bottom: 3rem;
    }
    
    .hero-section .col-lg-6:first-child {
        margin-bottom: 2rem;
    }
    
    .hero-section .col-lg-6:last-child {
        margin-bottom: 0;
        padding-bottom: 4rem;
    }
    
    /* Better heading readability on mobile */
    h1, h2, h3, h4, h5, h6,
    .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
        letter-spacing: 1.5px !important;
        line-height: 1.4 !important;
        word-break: break-word;
        hyphens: auto;
    }
    
    .display-3 {
        font-size: 2rem !important;
        letter-spacing: 2px !important;
    }
    
    /* Smaller font for "Ledenadministratie" on mobile */
    .display-3 .no-break {
        font-size: 0.85em;
        letter-spacing: 1.5px;
    }
    
    .display-5 {
        font-size: 1.75rem !important;
        letter-spacing: 1.5px !important;
    }
    
    .display-6 {
        font-size: 1.5rem !important;
        letter-spacing: 1.5px !important;
    }
    
    /* Center buttons and flex items */
    .d-flex {
        justify-content: center !important;
    }
    
    .d-flex.gap-3 {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        margin: 0.5rem auto;
    }
    
    .hero-visual-container {
        height: 450px;
        margin-top: 4rem;
        margin-bottom: 6rem;
        min-height: 450px;
        padding-top: 2rem;
        padding-bottom: 4rem;
        overflow: visible;
        position: relative;
        z-index: 2;
    }
    
    .feature-icons {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        justify-content: flex-start;
        padding-top: 1rem;
        position: relative;
        z-index: 3;
    }
    
    .feature-icon-item {
        position: relative;
        z-index: 4;
    }
    
    .feature-icon-item {
        width: 140px;
        padding: 1rem 0.75rem;
        gap: 0.75rem;
        margin: 0 auto;
    }
    
    .feature-icon-item i {
        font-size: 2.5rem;
    }
    
    .feature-label {
        font-size: 0.65rem;
        letter-spacing: 1.5px;
    }
    
    /* Smaller font for "Ledenadministratie" on mobile */
    .feature-icon-item[data-icon="people"] .feature-label {
        font-size: 0.55rem;
        letter-spacing: 1px;
    }
    
    .pattern-circle {
        display: none;
    }
    
    .feature-visual {
        width: 200px;
        height: 200px;
        font-size: 5rem;
    }
    
    /* Better text centering */
    .text-center {
        text-align: center !important;
    }
    
    /* Feature sections better spacing */
    .feature-section {
        margin-bottom: 4rem;
    }
    
    .feature-content {
        text-align: left;
        padding: 1rem;
    }
    
    .feature-list {
        text-align: left;
    }
    
    .feature-list li {
        text-align: left;
        display: flex;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .feature-list li i {
        flex-shrink: 0;
        margin-top: 0.25rem;
    }
    
    .feature-list li {
        padding-left: 0;
    }
    
    /* Lead text better on mobile */
    .lead {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Demo section alignment on mobile */
    #demo .row {
        text-align: center;
    }
    
    #demo .col-lg-8,
    #demo .col-lg-4 {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    #demo .col-lg-4:last-child {
        margin-bottom: 0;
    }
    
    #demo .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    /* Footer improvements on mobile */
    footer {
        text-align: center;
        padding: 3rem 1rem 2rem;
    }
    
    footer .row {
        margin-bottom: 2rem;
    }
    
    footer .col-md-4 {
        margin-bottom: 2.5rem;
        text-align: center;
    }
    
    footer .col-md-4:last-child {
        margin-bottom: 0;
    }
    
    footer h5 {
        margin-bottom: 1rem;
    }
    
    footer ul {
        list-style: none;
        padding: 0;
    }
    
    footer ul li {
        margin-bottom: 0.75rem;
    }
    
    footer hr {
        margin: 2rem 0 1.5rem;
    }
    
    footer .col-md-12 {
        text-align: center;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Section spacing */
section {
    padding: 5rem 0;
    background-color: var(--bg-color);
    color: var(--text-main);
    position: relative;
    z-index: 2;
}

/* Extra spacing for first section after hero on mobile */
@media (max-width: 768px) {
    section:not(.hero-section) {
        padding-top: 3rem;
    }
    
    #skills {
        padding-top: 6rem;
        margin-top: 2rem;
        position: relative;
        z-index: 5;
    }
}

/* Text animations */
.text-primary {
    color: var(--accent-color) !important;
}

/* Badges */
.badge {
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.badge.bg-primary {
    background-color: var(--accent-color) !important;
    color: var(--bg-color);
}

.badge.bg-success {
    background-color: var(--accent-color) !important;
    color: var(--bg-color);
}

.badge.bg-warning {
    background-color: var(--accent-color) !important;
    color: var(--bg-color);
}

/* Override Bootstrap bg-light */
.bg-light {
    background-color: var(--bg-color) !important;
}

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

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

.bg-primary {
    background-color: rgba(212, 175, 55, 0.1) !important;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

/* Footer */
footer {
    font-weight: 300;
    letter-spacing: 0.2px;
    background-color: var(--bg-color) !important;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

footer h5 {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-color);
}

footer p, footer li {
    color: var(--text-muted);
}

footer a {
    font-weight: 300;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--accent-color) !important;
    letter-spacing: 0.5px;
}

/* Loading animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading {
    animation: spin 1s linear infinite;
}
