/* YD-IT Networks Custom Styles */
/* Brand colors: Primary #A5B6A1 (sage/olive green from logo), Accent #5C6360 (dark grey from logo) */

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

/* Logo blend for dark theme — removes background, keeps design */
.logo-dark {
    filter: invert(1) hue-rotate(180deg) brightness(1.2);
    mix-blend-mode: screen;
}

/* Hero gradient overlay — subtle sage green glow */
.hero-gradient {
    background: radial-gradient(ellipse at 30% 50%, rgba(165, 182, 161, 0.07) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 20%, rgba(165, 182, 161, 0.04) 0%, transparent 50%);
}

/* Hero grid pattern */
.hero-grid {
    background-image:
        linear-gradient(rgba(51, 51, 51, 0.25) 1px, transparent 1px),
        linear-gradient(90deg, rgba(51, 51, 51, 0.25) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

/* Navbar scrolled state */
.navbar-scrolled {
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(51, 51, 51, 0.5);
}

/* Service card hover effect */
.service-card {
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Social icon hover */
.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-2px);
}

/* About section terminal effect */
.about-visual {
    font-family: 'Courier New', Courier, monospace;
}

/* Counter animation */
[data-count] {
    transition: all 0.3s ease;
}

/* Form focus effects — sage green glow */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 2px rgba(165, 182, 161, 0.25);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #444;
}

/* Loading animation for planner */
.spinner {
    border: 3px solid rgba(165, 182, 161, 0.2);
    border-top-color: #A5B6A1;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Calendar grid */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.calendar-day {
    min-height: 80px;
    transition: all 0.2s ease;
}

.calendar-day:hover {
    background-color: rgba(165, 182, 161, 0.05);
}

.calendar-day.today {
    border-color: #A5B6A1;
}

.calendar-day.has-post {
    position: relative;
}

.calendar-day.has-post::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: #A5B6A1;
    border-radius: 50%;
}

/* Post status badges */
.status-concept {
    background-color: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.status-gepland {
    background-color: rgba(165, 182, 161, 0.1);
    color: #A5B6A1;
    border: 1px solid rgba(165, 182, 161, 0.2);
}

.status-gepubliceerd {
    background-color: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

/* Platform badges */
.platform-instagram {
    background: linear-gradient(135deg, rgba(131, 58, 180, 0.15), rgba(253, 29, 29, 0.15));
    color: #e879a8;
    border: 1px solid rgba(131, 58, 180, 0.3);
}

.platform-facebook {
    background-color: rgba(59, 89, 152, 0.15);
    color: #6d8dd6;
    border: 1px solid rgba(59, 89, 152, 0.3);
}

.platform-beide {
    background: linear-gradient(135deg, rgba(131, 58, 180, 0.15), rgba(59, 89, 152, 0.15));
    color: #a78bfa;
    border: 1px solid rgba(131, 58, 180, 0.3);
}

/* Modal overlay */
.modal-overlay {
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Tooltip */
.tooltip {
    position: relative;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #242424;
    color: #e2e8f0;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    border: 1px solid #333;
}

.tooltip:hover::after {
    opacity: 1;
}

/* Tab active state */
.tab-active {
    color: #A5B6A1;
    border-bottom: 2px solid #A5B6A1;
}

/* Hashtag chip */
.hashtag-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background-color: rgba(165, 182, 161, 0.1);
    border: 1px solid rgba(165, 182, 161, 0.2);
    border-radius: 9999px;
    font-size: 13px;
    color: #C1CEC0;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.hashtag-chip:hover {
    background-color: rgba(165, 182, 161, 0.2);
}

.hashtag-chip.selected {
    background-color: rgba(165, 182, 161, 0.3);
    border-color: #A5B6A1;
}

/* Post template card */
.template-card {
    transition: all 0.2s ease;
    cursor: pointer;
}

.template-card:hover {
    border-color: rgba(165, 182, 161, 0.5);
    transform: translateY(-2px);
}

/* Banner sections between content */
section .relative img.object-cover {
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
    section .relative .h-48.sm\:h-64.md\:h-80 img,
    section .relative.h-48.sm\:h-64.md\:h-80 img {
        object-position: center center;
    }
}

/* Portfolio cards */
.portfolio-card {
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    border-color: rgba(165, 182, 161, 0.4);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.portfolio-card:hover .aspect-\[4\/3\] img {
    transform: scale(1.05);
    transition: transform 0.5s ease;
}

.portfolio-card .aspect-\[4\/3\] img {
    transition: transform 0.5s ease;
}

/* Animation utilities */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Print styles for export */
@media print {
    nav, .no-print {
        display: none !important;
    }
}
