/* 
 * RGB - IT per Healthcare
 * Main Stylesheet
 * 
 * Palette:
 * - Primary Yellow: #FFD700
 * - Primary Black: #000000 / #0a0a0a
 */

:root {
    --primary-yellow: #FFD700;
    --primary-yellow-hover: #e6c200;
    --primary-black: #050505;
    --secondary-black: #121212;
    --card-bg: #1a1a1a;
    --text-white: #ffffff;
    --text-gray: #b3b3b3;
    --text-dark: #111111;
    --border-color: #333333;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --container-width: 1200px;
    --transition: all 0.3s ease;
    
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(255, 215, 0, 0.15);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--primary-black);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-white);
}

/* Utilities */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.text-yellow { color: var(--primary-yellow); }
.text-center { text-align: center; }

.section-padding {
    padding: var(--spacing-lg) 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-yellow);
    color: var(--primary-black);
}

.btn-primary:hover {
    background-color: var(--primary-yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--text-white);
    color: var(--text-white);
}

.btn-secondary:hover {
    background-color: var(--text-white);
    color: var(--primary-black);
}

.btn-outline-dark {
    border-color: var(--primary-black);
    color: var(--primary-black);
}

.btn-outline-dark:hover {
    background-color: var(--primary-black);
    color: var(--primary-yellow);
}

/* Header */
.header {
    background-color: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-yellow);
    transition: width 0.3s;
}

.nav-link:hover {
    color: var(--primary-yellow);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-white);
    transition: all 0.3s ease-in-out;
}

/* Mobile Menu */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        gap: 0;
        flex-direction: column;
        background-color: var(--primary-black);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 20px;
    }

    .nav-item {
        margin: 16px 0;
    }

    .nav-menu.active {
        left: 0;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../img/hero-main.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero h1 span {
    color: var(--primary-yellow);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; }
}

/* Services Section */
.services {
    background-color: var(--secondary-black);
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-gray);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: 8px;
    border-top: 3px solid transparent;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-top-color: var(--primary-yellow);
    box-shadow: var(--shadow-md);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-yellow);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Proxmox Section */
.proxmox-section {
    background-color: var(--primary-black);
    position: relative;
    overflow: hidden;
}

.proxmox-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.proxmox-content h2 {
    font-size: 2.8rem;
    color: var(--primary-yellow);
    margin-bottom: 0.5rem;
}

.proxmox-content .subtitle {
    font-size: 1.2rem;
    color: var(--text-white);
    margin-bottom: 2rem;
    display: block;
    font-weight: 500;
}

.proxmox-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.proxmox-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-gray);
}

.proxmox-features li::before {
    content: '✓';
    color: var(--primary-yellow);
    font-weight: bold;
    margin-right: 15px;
    font-size: 1.2rem;
}

.proxmox-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}

/* EpicSuite Section */
.epicsuite-integration {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border-radius: 12px;
    padding: 4rem;
    margin: 4rem auto;
    border: 1px solid #333;
    position: relative;
}

.epicsuite-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.epicsuite-tag {
    background-color: rgba(255, 215, 0, 0.1);
    color: var(--primary-yellow);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

/* Partners Section */
.partners {
    background-color: var(--text-white);
    color: var(--primary-black);
}

.partners h2 {
    color: var(--primary-black);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 3rem;
    align-items: center;
    justify-items: center;
    margin-top: 3rem;
}

.partner-logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: #555;
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logo:hover {
    opacity: 1;
    color: #000;
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: #000;
    color: #fff;
    padding: 4rem 0 2rem;
    border-top: 1px solid #222;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-yellow);
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-gray);
}

.footer-links a:hover {
    color: var(--primary-yellow);
    padding-left: 5px;
}

.footer-contact li {
    color: var(--text-gray);
    margin-bottom: 1rem;
    display: flex;
    gap: 10px;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #222;
    color: #666;
    font-size: 0.9rem;
}

/* Page: EpicSuite */
.page-header {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('../img/hero-epicsuite.jpg');
    background-size: cover;
    background-position: center;
    padding: 160px 0 80px;
    text-align: center;
}

.epicsuite-details {
    padding: 5rem 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.feature-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-list li {
    margin-bottom: 1rem;
    padding-left: 20px;
    position: relative;
    color: var(--text-gray);
}

.feature-list li::before {
    content: '•';
    color: var(--primary-yellow);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.contact-form-section {
    background-color: var(--secondary-black);
    padding: 5rem 0;
}

.form-box {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 12px;
    background-color: #2a2a2a;
    border: 1px solid #333;
    border-radius: 4px;
    color: #fff;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-yellow);
}

/* Responsive adjustments */
@media(max-width: 900px) {
    .proxmox-container { grid-template-columns: 1fr; }
    .proxmox-image { margin-top: 2rem; }
    .feature-grid { grid-template-columns: 1fr; gap: 2rem; }
}
